HEAD:dist/assets/index-legacy.37a26c18.js
;(function () {
function ownKeys(e, t) {
var n = Object.keys(e)
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e)
t &&
(r = r.filter(function (t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
})),
n.push.apply(n, r)
}
return n
}
function _objectSpread(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {}
t % 2
? ownKeys(Object(n), !0).forEach(function (t) {
_defineProperty2(e, t, n[t])
})
: Object.getOwnPropertyDescriptors
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
: ownKeys(Object(n)).forEach(function (t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
})
}
return e
}
function asyncGeneratorStep(e, t, n, r, a, o, i) {
try {
var s = e[o](i),
l = s.value
} catch (c) {
return void n(c)
}
s.done ? t(l) : Promise.resolve(l).then(r, a)
}
function _asyncToGenerator(e) {
return function () {
var t = this,
n = arguments
return new Promise(function (r, a) {
var o = e.apply(t, n)
function i(e) {
asyncGeneratorStep(o, r, a, i, s, 'next', e)
}
function s(e) {
asyncGeneratorStep(o, r, a, i, s, 'throw', e)
}
i(void 0)
})
}
}
function _inherits2(e, t) {
if ('function' != typeof t && null !== t)
throw new TypeError('Super expression must either be null or a function')
;(e.prototype = Object.create(t && t.prototype, {
constructor: { value: e, writable: !0, configurable: !0 }
})),
Object.defineProperty(e, 'prototype', { writable: !1 }),
t && _setPrototypeOf2(e, t)
}
function _setPrototypeOf2(e, t) {
return (
(_setPrototypeOf2 =
Object.setPrototypeOf ||
function (e, t) {
return (e.__proto__ = t), e
}),
_setPrototypeOf2(e, t)
)
}
function _createSuper2(e) {
var t = _isNativeReflectConstruct2()
return function () {
var n,
r = _getPrototypeOf2(e)
if (t) {
var a = _getPrototypeOf2(this).constructor
n = Reflect.construct(r, arguments, a)
} else n = r.apply(this, arguments)
return _possibleConstructorReturn2(this, n)
}
}
function _possibleConstructorReturn2(e, t) {
if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
if (void 0 !== t)
throw new TypeError('Derived constructors may only return object or undefined')
return _assertThisInitialized2(e)
}
function _assertThisInitialized2(e) {
if (void 0 === e)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e
}
function _isNativeReflectConstruct2() {
if ('undefined' == typeof Reflect || !Reflect.construct) return !1
if (Reflect.construct.sham) return !1
if ('function' == typeof Proxy) return !0
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
} catch (e) {
return !1
}
}
function _getPrototypeOf2(e) {
return (
(_getPrototypeOf2 = Object.setPrototypeOf
? Object.getPrototypeOf
: function (e) {
return e.__proto__ || Object.getPrototypeOf(e)
}),
_getPrototypeOf2(e)
)
}
function _classCallCheck2(e, t) {
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n]
;(r.enumerable = r.enumerable || !1),
(r.configurable = !0),
'value' in r && (r.writable = !0),
Object.defineProperty(e, r.key, r)
}
}
function _createClass2(e, t, n) {
return (
t && _defineProperties(e.prototype, t),
n && _defineProperties(e, n),
Object.defineProperty(e, 'prototype', { writable: !1 }),
e
)
}
function _typeof2(e) {
return (
(_typeof2 =
'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
}),
_typeof2(e)
)
}
function _defineProperty2(e, t, n) {
return (
t in e
? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
: (e[t] = n),
e
)
}
function _slicedToArray(e, t) {
return (
_arrayWithHoles(e) ||
_iterableToArrayLimit(e, t) ||
_unsupportedIterableToArray2(e, t) ||
_nonIterableRest()
)
}
function _nonIterableRest() {
throw new TypeError(
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
)
}
function _iterableToArrayLimit(e, t) {
var n =
null == e ? null : ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
if (null != n) {
var r,
a,
o = [],
i = !0,
s = !1
try {
for (
n = n.call(e);
!(i = (r = n.next()).done) && (o.push(r.value), !t || o.length !== t);
i = !0
);
} catch (l) {
;(s = !0), (a = l)
} finally {
try {
i || null == n.return || n.return()
} finally {
if (s) throw a
}
}
return o
}
}
function _arrayWithHoles(e) {
if (Array.isArray(e)) return e
}
function _toConsumableArray2(e) {
return (
_arrayWithoutHoles2(e) ||
_iterableToArray2(e) ||
_unsupportedIterableToArray2(e) ||
_nonIterableSpread2()
)
}
function _nonIterableSpread2() {
throw new TypeError(
'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
)
}
function _iterableToArray2(e) {
if (('undefined' != typeof Symbol && null != e[Symbol.iterator]) || null != e['@@iterator'])
return Array.from(e)
}
function _arrayWithoutHoles2(e) {
if (Array.isArray(e)) return _arrayLikeToArray2(e)
}
function _createForOfIteratorHelper(e, t) {
var n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
if (!n) {
if (
Array.isArray(e) ||
(n = _unsupportedIterableToArray2(e)) ||
(t && e && 'number' == typeof e.length)
) {
n && (e = n)
var r = 0,
a = function () {}
return {
s: a,
n: function () {
return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] }
},
e: function (e) {
throw e
},
f: a
}
}
throw new TypeError(
'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
)
}
var o,
i = !0,
s = !1
return {
s: function () {
n = n.call(e)
},
n: function () {
var e = n.next()
return (i = e.done), e
},
e: function (e) {
;(s = !0), (o = e)
},
f: function () {
try {
i || null == n.return || n.return()
} finally {
if (s) throw o
}
}
}
}
function _unsupportedIterableToArray2(e, t) {
if (e) {
if ('string' == typeof e) return _arrayLikeToArray2(e, t)
var n = Object.prototype.toString.call(e).slice(8, -1)
return (
'Object' === n && e.constructor && (n = e.constructor.name),
'Map' === n || 'Set' === n
? Array.from(e)
: 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
? _arrayLikeToArray2(e, t)
: void 0
)
}
}
function _arrayLikeToArray2(e, t) {
;(null == t || t > e.length) && (t = e.length)
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
return r
}
var __vite_style__ = document.createElement('style')
;(__vite_style__.innerHTML =
'._error_1i228_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_1i228_1 ._info_1i228_9{display:flex;align-items:center;margin-bottom:.8rem}._error_1i228_1 ._info_1i228_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_1i228_1 .o-result-container,._error_1i228_1 .van-empty{padding-top:0}._error_1i228_1 .van-button{width:50%}._col-result_uqenj_1{padding:.37333rem;text-align:center;margin:0 auto;box-sizing:border-box;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}._col-result_uqenj_1 ._tips_uqenj_12{font-size:.37333rem;color:#333;padding:.53333rem 0}._col-result_uqenj_1 ._btn_uqenj_17{width:55%;margin:0 auto}._col-result_uqenj_1 .van-empty__image{width:5.6rem;height:5.6rem}._col-result_uqenj_1 .van-empty{padding-bottom:1.6rem}._col-result_uqenj_1 ._SMALL_uqenj_28 .van-empty__image{width:4.29333rem;height:4.29333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__image{width:6.13333rem;height:6.13333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__description{padding:0 .8rem}._error_1aqdy_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_1aqdy_1 ._info_1aqdy_9{display:flex;align-items:center;margin-bottom:.8rem}._error_1aqdy_1 ._info_1aqdy_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_1aqdy_1 .o-result-container,._error_1aqdy_1 .van-empty{padding-top:0}._error_1aqdy_1 .van-button{width:50%}._login_1aqdy_27{min-height:100vh;background:url(./assets/top_bg.a1440929.png) no-repeat top center,url(./assets/bottom_student_bg.47832732.png) no-repeat bottom center;background-color:#fff;background-size:100%}._login_1aqdy_27 ._loginTitle_1aqdy_33{padding-top:2.66667rem;font-size:.69333rem;padding-left:.93333rem;padding-bottom:1.86667rem;line-height:.98667rem;font-weight:500}._login_1aqdy_27 ._codeText_1aqdy_41{color:var(--van-primary-text)}._login_1aqdy_27 ._margin34_1aqdy_44{margin:0 .90667rem}._login_1aqdy_27 ._formTitle_1aqdy_47{font-size:.48rem;color:#000;font-weight:500}._login_1aqdy_27 .van-cell-group{margin-bottom:.93333rem}._login_1aqdy_27 .van-field{padding-left:0;padding-right:0}._login_1aqdy_27 .van-button+.van-button{margin-top:.53333rem;color:#000!important}._login_1aqdy_27 ._wxPopupDialog_1aqdy_63{position:relative;overflow:inherit;margin-top:-4.26667rem}._login_1aqdy_27 ._wxPopupDialog_1aqdy_63:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(./assets/wx-no-top.562db7f2.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._login_1aqdy_27 ._popupContainer_1aqdy_80{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden}._login_1aqdy_27 ._popupContainer_1aqdy_80 ._title_1aqdy_86{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._login_1aqdy_27 ._popupContainer_1aqdy_80 ._popupTips_1aqdy_93{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: .10667rem;--van-padding-xs: .21333rem;--van-padding-sm: .32rem;--van-padding-md: .42667rem;--van-padding-lg: .64rem;--van-padding-xl: .85333rem;--van-font-bold: 600;--van-font-size-xs: .26667rem;--van-font-size-sm: .32rem;--van-font-size-md: .37333rem;--van-font-size-lg: .42667rem;--van-line-height-xs: .37333rem;--van-line-height-sm: .48rem;--van-line-height-md: .53333rem;--van-line-height-lg: .58667rem;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: .02667rem;--van-radius-sm: .05333rem;--van-radius-md: .10667rem;--van-radius-lg: .21333rem;--van-radius-max: 26.64rem}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 1.33333rem}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}:root{--van-badge-size: .42667rem;--van-badge-color: var(--van-white);--van-badge-padding: 0 .08rem;--van-badge-font-size: var(--van-font-size-sm);--van-badge-font-weight: var(--van-font-bold);--van-badge-border-width: var(--van-border-width);--van-badge-background: var(--van-danger-color);--van-badge-dot-color: var(--van-danger-color);--van-badge-dot-size: .21333rem;--van-badge-font: -apple-system-font, helvetica neue, arial, sans-serif}.van-badge{display:inline-block;box-sizing:border-box;min-width:var(--van-badge-size);padding:var(--van-badge-padding);color:var(--van-badge-color);font-weight:var(--van-badge-font-weight);font-size:var(--van-badge-font-size);font-family:var(--van-badge-font);line-height:1.2;text-align:center;background:var(--van-badge-background);border:var(--van-badge-border-width) solid var(--van-background-2);border-radius:var(--van-radius-max)}.van-badge--fixed{position:absolute;transform-origin:100%}.van-badge--top-left{top:0;left:0;transform:translate(-50%,-50%)}.van-badge--top-right{top:0;right:0;transform:translate(50%,-50%)}.van-badge--bottom-left{bottom:0;left:0;transform:translate(-50%,50%)}.van-badge--bottom-right{bottom:0;right:0;transform:translate(50%,50%)}.van-badge--dot{width:var(--van-badge-dot-size);min-width:0;height:var(--van-badge-dot-size);background:var(--van-badge-dot-color);border-radius:100%;border:none;padding:0}.van-badge__wrapper{position:relative;display:inline-block}.van-icon{position:relative;display:inline-block;font:.37333rem/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon:before{display:inline-block}.van-icon-exchange:before{content:"\\e6af"}.van-icon-eye:before{content:"\\e6b0"}.van-icon-enlarge:before{content:"\\e6b1"}.van-icon-expand-o:before{content:"\\e6b2"}.van-icon-eye-o:before{content:"\\e6b3"}.van-icon-expand:before{content:"\\e6b4"}.van-icon-filter-o:before{content:"\\e6b5"}.van-icon-fire:before{content:"\\e6b6"}.van-icon-fail:before{content:"\\e6b7"}.van-icon-failure:before{content:"\\e6b8"}.van-icon-fire-o:before{content:"\\e6b9"}.van-icon-flag-o:before{content:"\\e6ba"}.van-icon-font:before{content:"\\e6bb"}.van-icon-font-o:before{content:"\\e6bc"}.van-icon-gem-o:before{content:"\\e6bd"}.van-icon-flower-o:before{content:"\\e6be"}.van-icon-gem:before{content:"\\e6bf"}.van-icon-gift-card:before{content:"\\e6c0"}.van-icon-friends:before{content:"\\e6c1"}.van-icon-friends-o:before{content:"\\e6c2"}.van-icon-gold-coin:before{content:"\\e6c3"}.van-icon-gold-coin-o:before{content:"\\e6c4"}.van-icon-good-job-o:before{content:"\\e6c5"}.van-icon-gift:before{content:"\\e6c6"}.van-icon-gift-o:before{content:"\\e6c7"}.van-icon-gift-card-o:before{content:"\\e6c8"}.van-icon-good-job:before{content:"\\e6c9"}.van-icon-home-o:before{content:"\\e6ca"}.van-icon-goods-collect:before{content:"\\e6cb"}.van-icon-graphic:before{content:"\\e6cc"}.van-icon-goods-collect-o:before{content:"\\e6cd"}.van-icon-hot-o:before{content:"\\e6ce"}.van-icon-info:before{content:"\\e6cf"}.van-icon-hotel-o:before{content:"\\e6d0"}.van-icon-info-o:before{content:"\\e6d1"}.van-icon-hot-sale-o:before{content:"\\e6d2"}.van-icon-hot:before{content:"\\e6d3"}.van-icon-like:before{content:"\\e6d4"}.van-icon-idcard:before{content:"\\e6d5"}.van-icon-invitation:before{content:"\\e6d6"}.van-icon-like-o:before{content:"\\e6d7"}.van-icon-hot-sale:before{content:"\\e6d8"}.van-icon-location-o:before{content:"\\e6d9"}.van-icon-location:before{content:"\\e6da"}.van-icon-label:before{content:"\\e6db"}.van-icon-lock:before{content:"\\e6dc"}.van-icon-label-o:before{content:"\\e6dd"}.van-icon-map-marked:before{content:"\\e6de"}.van-icon-logistics:before{content:"\\e6df"}.van-icon-manager:before{content:"\\e6e0"}.van-icon-more:before{content:"\\e6e1"}.van-icon-live:before{content:"\\e6e2"}.van-icon-manager-o:before{content:"\\e6e3"}.van-icon-medal:before{content:"\\e6e4"}.van-icon-more-o:before{content:"\\e6e5"}.van-icon-music-o:before{content:"\\e6e6"}.van-icon-music:before{content:"\\e6e7"}.van-icon-new-arrival-o:before{content:"\\e6e8"}.van-icon-medal-o:before{content:"\\e6e9"}.van-icon-new-o:before{content:"\\e6ea"}.van-icon-free-postage:before{content:"\\e6eb"}.van-icon-newspaper-o:before{content:"\\e6ec"}.van-icon-new-arrival:before{content:"\\e6ed"}.van-icon-minus:before{content:"\\e6ee"}.van-icon-orders-o:before{content:"\\e6ef"}.van-icon-new:before{content:"\\e6f0"}.van-icon-paid:before{content:"\\e6f1"}.van-icon-notes-o:before{content:"\\e6f2"}.van-icon-other-pay:before{content:"\\e6f3"}.van-icon-pause-circle:before{content:"\\e6f4"}.van-icon-pause:before{content:"\\e6f5"}.van-icon-pause-circle-o:before{content:"\\e6f6"}.van-icon-peer-pay:before{content:"\\e6f7"}.van-icon-pending-payment:before{content:"\\e6f8"}.van-icon-passed:before{content:"\\e6f9"}.van-icon-plus:before{content:"\\e6fa"}.van-icon-phone-circle-o:before{content:"\\e6fb"}.van-icon-phone-o:before{content:"\\e6fc"}.van-icon-printer:before{content:"\\e6fd"}.van-icon-photo-fail:before{content:"\\e6fe"}.van-icon-phone:before{content:"\\e6ff"}.van-icon-photo-o:before{content:"\\e700"}.van-icon-play-circle:before{content:"\\e701"}.van-icon-play:before{content:"\\e702"}.van-icon-phone-circle:before{content:"\\e703"}.van-icon-point-gift-o:before{content:"\\e704"}.van-icon-point-gift:before{content:"\\e705"}.van-icon-play-circle-o:before{content:"\\e706"}.van-icon-shrink:before{content:"\\e707"}.van-icon-photo:before{content:"\\e708"}.van-icon-qr:before{content:"\\e709"}.van-icon-qr-invalid:before{content:"\\e70a"}.van-icon-question-o:before{content:"\\e70b"}.van-icon-revoke:before{content:"\\e70c"}.van-icon-replay:before{content:"\\e70d"}.van-icon-service:before{content:"\\e70e"}.van-icon-question:before{content:"\\e70f"}.van-icon-search:before{content:"\\e710"}.van-icon-refund-o:before{content:"\\e711"}.van-icon-service-o:before{content:"\\e712"}.van-icon-scan:before{content:"\\e713"}.van-icon-share:before{content:"\\e714"}.van-icon-send-gift-o:before{content:"\\e715"}.van-icon-share-o:before{content:"\\e716"}.van-icon-setting:before{content:"\\e717"}.van-icon-points:before{content:"\\e718"}.van-icon-photograph:before{content:"\\e719"}.van-icon-shop:before{content:"\\e71a"}.van-icon-shop-o:before{content:"\\e71b"}.van-icon-shop-collect-o:before{content:"\\e71c"}.van-icon-shop-collect:before{content:"\\e71d"}.van-icon-smile:before{content:"\\e71e"}.van-icon-shopping-cart-o:before{content:"\\e71f"}.van-icon-sign:before{content:"\\e720"}.van-icon-sort:before{content:"\\e721"}.van-icon-star-o:before{content:"\\e722"}.van-icon-smile-comment-o:before{content:"\\e723"}.van-icon-stop:before{content:"\\e724"}.van-icon-stop-circle-o:before{content:"\\e725"}.van-icon-smile-o:before{content:"\\e726"}.van-icon-star:before{content:"\\e727"}.van-icon-success:before{content:"\\e728"}.van-icon-stop-circle:before{content:"\\e729"}.van-icon-records:before{content:"\\e72a"}.van-icon-shopping-cart:before{content:"\\e72b"}.van-icon-tosend:before{content:"\\e72c"}.van-icon-todo-list:before{content:"\\e72d"}.van-icon-thumb-circle-o:before{content:"\\e72e"}.van-icon-thumb-circle:before{content:"\\e72f"}.van-icon-umbrella-circle:before{content:"\\e730"}.van-icon-underway:before{content:"\\e731"}.van-icon-upgrade:before{content:"\\e732"}.van-icon-todo-list-o:before{content:"\\e733"}.van-icon-tv-o:before{content:"\\e734"}.van-icon-underway-o:before{content:"\\e735"}.van-icon-user-o:before{content:"\\e736"}.van-icon-vip-card-o:before{content:"\\e737"}.van-icon-vip-card:before{content:"\\e738"}.van-icon-send-gift:before{content:"\\e739"}.van-icon-wap-home:before{content:"\\e73a"}.van-icon-wap-nav:before{content:"\\e73b"}.van-icon-volume-o:before{content:"\\e73c"}.van-icon-video:before{content:"\\e73d"}.van-icon-wap-home-o:before{content:"\\e73e"}.van-icon-volume:before{content:"\\e73f"}.van-icon-warning:before{content:"\\e740"}.van-icon-weapp-nav:before{content:"\\e741"}.van-icon-wechat-pay:before{content:"\\e742"}.van-icon-warning-o:before{content:"\\e743"}.van-icon-wechat:before{content:"\\e744"}.van-icon-setting-o:before{content:"\\e745"}.van-icon-youzan-shield:before{content:"\\e746"}.van-icon-warn-o:before{content:"\\e747"}.van-icon-smile-comment:before{content:"\\e748"}.van-icon-user-circle-o:before{content:"\\e749"}.van-icon-video-o:before{content:"\\e74a"}.van-icon-add-square:before{content:"\\e65c"}.van-icon-add:before{content:"\\e65d"}.van-icon-arrow-down:before{content:"\\e65e"}.van-icon-arrow-up:before{content:"\\e65f"}.van-icon-arrow:before{content:"\\e660"}.van-icon-after-sale:before{content:"\\e661"}.van-icon-add-o:before{content:"\\e662"}.van-icon-alipay:before{content:"\\e663"}.van-icon-ascending:before{content:"\\e664"}.van-icon-apps-o:before{content:"\\e665"}.van-icon-aim:before{content:"\\e666"}.van-icon-award:before{content:"\\e667"}.van-icon-arrow-left:before{content:"\\e668"}.van-icon-award-o:before{content:"\\e669"}.van-icon-audio:before{content:"\\e66a"}.van-icon-bag-o:before{content:"\\e66b"}.van-icon-balance-list:before{content:"\\e66c"}.van-icon-back-top:before{content:"\\e66d"}.van-icon-bag:before{content:"\\e66e"}.van-icon-balance-pay:before{content:"\\e66f"}.van-icon-balance-o:before{content:"\\e670"}.van-icon-bar-chart-o:before{content:"\\e671"}.van-icon-bars:before{content:"\\e672"}.van-icon-balance-list-o:before{content:"\\e673"}.van-icon-birthday-cake-o:before{content:"\\e674"}.van-icon-bookmark:before{content:"\\e675"}.van-icon-bill:before{content:"\\e676"}.van-icon-bell:before{content:"\\e677"}.van-icon-browsing-history-o:before{content:"\\e678"}.van-icon-browsing-history:before{content:"\\e679"}.van-icon-bookmark-o:before{content:"\\e67a"}.van-icon-bulb-o:before{content:"\\e67b"}.van-icon-bullhorn-o:before{content:"\\e67c"}.van-icon-bill-o:before{content:"\\e67d"}.van-icon-calendar-o:before{content:"\\e67e"}.van-icon-brush-o:before{content:"\\e67f"}.van-icon-card:before{content:"\\e680"}.van-icon-cart-o:before{content:"\\e681"}.van-icon-cart-circle:before{content:"\\e682"}.van-icon-cart-circle-o:before{content:"\\e683"}.van-icon-cart:before{content:"\\e684"}.van-icon-cash-on-deliver:before{content:"\\e685"}.van-icon-cash-back-record:before{content:"\\e686"}.van-icon-cashier-o:before{content:"\\e687"}.van-icon-chart-trending-o:before{content:"\\e688"}.van-icon-certificate:before{content:"\\e689"}.van-icon-chat:before{content:"\\e68a"}.van-icon-clear:before{content:"\\e68b"}.van-icon-chat-o:before{content:"\\e68c"}.van-icon-checked:before{content:"\\e68d"}.van-icon-clock:before{content:"\\e68e"}.van-icon-clock-o:before{content:"\\e68f"}.van-icon-close:before{content:"\\e690"}.van-icon-closed-eye:before{content:"\\e691"}.van-icon-circle:before{content:"\\e692"}.van-icon-cluster-o:before{content:"\\e693"}.van-icon-column:before{content:"\\e694"}.van-icon-comment-circle-o:before{content:"\\e695"}.van-icon-cluster:before{content:"\\e696"}.van-icon-comment:before{content:"\\e697"}.van-icon-comment-o:before{content:"\\e698"}.van-icon-comment-circle:before{content:"\\e699"}.van-icon-completed:before{content:"\\e69a"}.van-icon-credit-pay:before{content:"\\e69b"}.van-icon-coupon:before{content:"\\e69c"}.van-icon-debit-pay:before{content:"\\e69d"}.van-icon-coupon-o:before{content:"\\e69e"}.van-icon-contact:before{content:"\\e69f"}.van-icon-descending:before{content:"\\e6a0"}.van-icon-desktop-o:before{content:"\\e6a1"}.van-icon-diamond-o:before{content:"\\e6a2"}.van-icon-description:before{content:"\\e6a3"}.van-icon-delete:before{content:"\\e6a4"}.van-icon-diamond:before{content:"\\e6a5"}.van-icon-delete-o:before{content:"\\e6a6"}.van-icon-cross:before{content:"\\e6a7"}.van-icon-edit:before{content:"\\e6a8"}.van-icon-ellipsis:before{content:"\\e6a9"}.van-icon-down:before{content:"\\e6aa"}.van-icon-discount:before{content:"\\e6ab"}.van-icon-ecard-pay:before{content:"\\e6ac"}.van-icon-envelop-o:before{content:"\\e6ae"}.van-icon-shield-o:before{content:"\\e74b"}.van-icon-guide-o:before{content:"\\e74c"}.van-icon-cash-o:before{content:"\\e74d"}.van-icon-qq:before{content:"\\e74e"}.van-icon-wechat-moments:before{content:"\\e74f"}.van-icon-weibo:before{content:"\\e750"}.van-icon-link-o:before{content:"\\e751"}.van-icon-miniprogram-o:before{content:"\\e752"}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAGB8AA0AAAAA4GQAAGAgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCShEICoOYBIK8WAuDdAABNgIkA4N6BCAFhQ4HlRUb2q9VB3KPA4B0jTISIWwcCBIYh2YHatg4ANgvRWT/f0xujIEXol19pDSqSA2bSmi3ecEZvG9yaaFR6U0nSbTR4Uo40nQacEJBjzZLo9a0V+Hlm/xB5aKa+qMOFP7DzuMzsG3kT3KSvMPzbfN9BDz4nCr/KyC3J6IIyv96A4IXnoBn5XUnaGLZYYdpK6172bUy1yZWu2prq3Uudct2Zatt5Urs2NZha612xcS8FvNSWczkCX4MvVP7ZtL0QEqaA0ljaLa7b20u0yILAgtJndR7L4uv99A/0q/0qxEWNxYnBU4a2wUOkOHgl4j/uu27+5NQ4hknCadNEkhscZKFSYs6+29iBeRKqeJYrkPX8gHQ9Hik6c/fW+GpkG+bXMsSm31SBTqkAkPgyuDqeNduhHyg8SULAB8Y/1PzSugfGzz4B+Gmc3pcN0izuUyKohovc1ndhqSqW7Znlg6JLGtgL8PJIvvT+krfgSSL9DwA+C2PzC3nqzkDEdxsxM7HCMOmzgoCy5j7Zdc6BKkuvh/N9VbeFsl9VwJZYb6Vk7e7ucy8TPKBS0S5AilApasqvK+2/f9NtbedYdilfoRWTkHrSP3O4fQhpcpNd3HfG2LmvRlgMANghwOSi7CSQYDrBUDxewhQAQQWHxhyaZAKR/whxyGw2gNSKx8QlPbz6zvQKSbZXU69Xem42nKL0uUvStfrKrWFi9KlSzeliyokEPWACiMoEFRgGehB9NdaUtPcBh255FDERjGpee7jtzZNa0vpTmO9hCALcfXz81z5kTX9jz2c3e7Oj51YdeIBEkgggYS8nBBYoQjbHChDK/aiUrR7SIYAANAZcH0k6B+uW2faPj0HIqkwCWwlnHZ38wpEvB0AYk2gA5DYtRthCgBg8/UK6AFgPJ5/m9Qnu7/kLqnV4Pz9sgf5bj0ugSG3C8DDIQpK7nZ0Lq06Qmi6jih4HRlxR8J99EG/y3Xoftn94+m3tvBzdT6Ahk4noWb6sd0/D2S3H/pdruf/vRR6l7p9S7X7KtM5XKAEvQCaJXE7zorrWP3Om97tYgul7KlsMEqppv1OhzJs1Ymr0IbUSpAmNSGMZC10ZKczwyOD3uKfkb3gKIvrG6AB1TiJZlol8WY5A2wFoaYHDjlfH/dsHeWYLiXQ/wj02OCUW7LDENN0DwwITr4Y/RbJkjsiYJqMJWay7hWjBSild7ylf/eQ9kMYdblMVhYopVmwoPqxoAw4M8qgjfE8OsLs8UD1u1MyKWaQcZ7eYaPMN1Lkor6CFYe7hztvKZYDGHOn1f72JQWxAsSe+TZjRWbeJUZzazrKV6q7GXrQdhlHXdyF8/AC1PQtrBooPZbl2SGwtQknXI2qlBQJBmFsYIyE1wjz26MjxIqjwXALLG/rXPX6ROhx9MWoYxwSfs5oVKf8rQbVTzyNi82CMBGpxuJfJCqkf0+4FYBQJPDl0n+vpEZ+IsVVVc+YtSRA5m0p82TQncZzKWEkcJR8gttF/mCBbIZkun/bMlw2FYADEIpxx+hcXR9hJifvzl8kHKPk8lMw0pLuPtqdzAW8N8YAwNGpR1yj8s4g38t0uu1d06FxMuvtrepxj2V3Oewh+uIqCpD9dLq2LnOb4lKEKDVNc7VFrOWIyJZqEQTbINqotgkKLDVfmKf9KTk0JxCMZdcEOejtK8ZQE/nOZhoPLqHDaI3INg8CsyIbX0pe5pCKUyX4FkprXVNlN74s8xwx2Z7lcVHI4H3DqwImQGGvsUrzzixANBsaj0u//IPNSdmE6QVynCyHkQqD5+vVxYW3aOeB/hvIsBUVJ1918EYldS2zojiSRtdjvAEFj9j0MKUxz3nr72/zzD6/Mmur9oxH1cfhGsDXxkmnc8wO/B0Tx3LZMXeOXMGSrs9WgywmnSMeQVnzwFareRTlRdMjiqiSwIFhE1V6Gopk20/2rGI8JukGbmb/pgfPS2vV0DMLYXaWU521SC1yaeOltWub7Y7Wkk4Ijc9aOOjcOijDupSvREowLo7rZ1d1pscL4ySiAdQ46lokc5TUqQ9jXSzHxy+UUd43Xn6tWosX/cmx6pWtWZlwVdEhGcRUbIjsPcklCK0lG6Cb+RqIZI5IXR3GtnGGADFkCyI5V/JIRmsrJgD2jlgdktmm9Zmk5eOs47NoezfTGnNakyKFHi/rSiBSY2r1z5gex6Ivo6PGVDmUkM87o9KtlLI3bFY+vNosbaLLfFvBK0JHG5c4qnxUPyy63MRNcDGjCMsauztckK6f7xRb0uSqGAxwsMiHsEmxCCd8giD5ArF6cqXECICFlbuHxdhGcOLQHGkmXhlam0Rvguvm5KLKGjyvoV7mk/BgEHmXWUcZj5gZdVlXFs9AsELL3P7Q5TM8QSCjf4/kKBUAAW+dHNrZbm4XVlNVaqopy2bIbL9kWgTI/UeUuqVzGNtHL0b9n7Zb3P3WBeQy7vXJop71KiwJM4KOdEclqG7x6wzckfgghwnVPZ2I2+72z/LCqXn2xF8urPPneqUlTSFspSytJ7qSsHg1XQOBzMkXqQ5D2xjcf/9GGyrVPYkEEQIIBhp/vmfSY1El6BL3nqHVFQzgCpOJAahtki9f9Ks7qdTEObkuNX4G4hOO4d0Uq7qMBvGSMpbDReXnu+a1F/zhwLr+cl6zEetJdFeklRRhuaGmxO6BhY/Ag64vhSGlIdXlObG2S146ty5e+NOZefqYFDj4r9zOtzjrQoY+NzSvJFgQScAWklliDmBfA3B8y7Ur+2YK+fkuINvRXEpG/CWgv8E+tcmFsDWJyMRef7naFGwYv9b/hDvPAGmV9bTKfHL7WKaOHg/TqkjnCX4EkwxLIIait2qfLmljC/k+IZ+69fli8Aw+kkJhK/YcdMjEe8af9Y4qVMN8Nz3owjgfYovlJbYZSE+HXIt2mJnPs2931xVMczcREKXXYSwvJSvoCs2VdG5TlM20e7u5wCE/6LNqQTgUKMCXSMEI8gciye0cVvwmUq59rhxC5/4bEO5cc0lu52j6XISps000wHohjR457POz74runo2fexBiOpiSedc+WRwp/2y54MYpRZes7CQsDlaRBBip1SLc4Cget6M5zYDDgql9iNKlbo73h6MPQMy+Y2Nk50ah+y1ncBvkUwYHNmalL0/LkEMRTSPuRTO9m78qHW0pZQthSllHL5R2QrDW68MmbBYBsSq4JkciI1Llds5wVxZuyHAwlB4igAS7iQiiEpAJnZp2evibEcQp+fJvlhJ8L8axaIh+LUkviy3JtYbWlVUgV5/b9/uQY7OhjIUp7GBQZyi2ejuxPv9p2zgD6Spq+YA613n+b/NpogFSIwlrnKxkHtkWJZmrIzcv/llcsd9hq8j8UlumJFYrvYMVWkE/dxi0+ijP37Mx5YNbh4J8EDfFmJHzc3f3Prfbbx8OC2HCkpJ2MSreOzDfJ7Pd0UG+xVlUjLUx16vOR7/0BuX3bx70c37MEONmPsjP7HvBO+4ciYpR0pYSViEszO5/2au82CNkyroxnyfEUJi9eip/Z84qee7vN2DWMa44QJqiUC1sK4jWUzAQpZjY/s/Qtstn5YN3mwB6oNB2OuZ52ws59AUDEYHfNuSwSe1Uq66F9ujUU6SOqrIloRO68u83BpmpCzqRjuV/pzv0LmyoDLNbs1mq08fIBQyZOa5JlREi4E6ru2Daqc7VD8m9k7fi+C9kQc2A9MJUSq0rOQFzwxIYNa2ekKKs1aj4ut/XgDl2Qg7wHGSRev/36Q+HAy6/VxnJftedxUXJFqcWihcdkvT51AcIkK35GwJkEMJl4qSHBQE/CggN9eomY09f1Esh6xI3SemwRx3u27YHSw8CSVWb3psx47Vzr5lAYmdzvlwIX7GgTU5umUxY+92234WhJdenMNpHP/E5M9P95mZj86ti3CS9dwHeej5xPnnhyr2s9x66gzakkG0Uk2wFKWec/ucOKlbsEioySa5+fqolQkxH8WzJcuWqMbpj/34Q9wJb6mhYtxhiQ+bpWw+yBowWPWcpZ0jTCEI9lvxiehfobanXB0AoVlUJpUkcT3Kro4kFBYzL/umuRUSqJP7we70y9v908vcGuEEUSbFTOh33dq61k6DmSiNl5N+6e9PDhJk0t2U+oDnmWOEOnV2bSq86WEbIc4YlqHMIrWbhOuuRicAT1HIERZgZsJz9UNA99sux7/Oa/V13deOqMzV1xhgQ0aotJDRb8eZAySYSoDIKRg/qnxE6SU6omySsGIi+GJ5OVNoP4aM4e5XdI83IoEb4EdW1bFTiSrpTMYHwfKEMz+1sI70lBW1iqEBZxRSNQQQR5X5+0jSU1HWawzoq65imsWiwNDJc2Qu5djuruhYS6kC58xivDRKb63qrc3M2y385L8+uNo5VxUBBAoeVSGJ4QZcEId0yuoAM+Fr50TwrFddKGl4uS9+1oJLSqBG1XyhQKUrF9F8dldUyGFB/RPZBABpRf1w67LD1uM4sC5RjspyyrvFaDecZZGW+EQQbjGsXPLr2yWJbq7eZfsuk/Bxn+jcTPL3QmoXbO2xiCFJ1If79IcMaN8OkgF62szLrLAkhz0kvA0YFbxgEXOr7/Q+KUWPTFWjhYLgkJSEuiwQgvMhZBVANR28d20afGClu1eKNQHZGbMXg+miQa8B8Vb1dIy2pTL08pFSXebOLEc4JS/qRPb07kVqswAbJSC5+AJFePCJVC+xIJ17JjblKVW8neCGynC3lejX0TG9c6U70FU1Kda0wdKsTwJjsYT8k0g5fGTlIR2/1+giGNjzZpR7eTYTlDUNTUn/LqaxxlU7TmKKwSrEq00IScIWEEK5/TQq6fpoqmaemA9VZ5CKWr5qviNya9e92RBbT6MTdla7qxgqo9mX1YdEchqVRwZiNGpBaRbPW/WMt021t2W6MFXRCl1yZOqqK3DyoxQNFOEIfCochQAm4oaA6KT8ixAKFgaJUPAPltIAAZKgCQzX1dMgNDgb1FAxV0U20MmOqlO5gXmn1rQJpotS1of1qXRP99kfZDJn5e9C2FdVqtHUhgSya0iy0UVSfKVhn8SipbEgDzUiqQLDU4gK0e70ag53abliC7NSpOSjzm/KxhQQdyKZpDhuyoPFbdtvkZ8jrprOI3ByAMt0uPiU1MvFJQYexrbM9rsrQrS5rbjeyZrgxLIFF+arLtEgiiLwIRLYSJUG0MgCKD7AllRV9Bb5Tf+5lAxAE5XyxTXacAQKYiQyt9nBbmhgmRd22+F5lwSDUsrFSKu10SUOdYj5Cinanv4oqkToNxplJTc7ySGpk5hswXqoDrY4UNWX2eBshqVvSBD1qftvbmUghXc64EystjqyieVgsL1TF7FHuxDeKmTchRnytHrPZWEgo5SmhPKxpufdGrOK4yJrJHRr2+Xb1ZiFzOOncxu0rvVTMzzwrSO57cuJ+JTv/N14oXvntw8yWyfrbexPXn5bmCrOPc2P7nx66+lPPf8XyualLH6Q3X6y9dyB+7QlpKur2sbao95GOKPfhlijKaFMMK/lA1AJegVSMeLJGjXc/hVE5poq0qSR1ibH4RO2CRdKJK1wpRa4KQAKVbo091cts9sS4zJ99bMyXC5VNlKlliomiq2JNNkT6D32KUpxIteEm8P7+zhRHpCZkttm7UDu11Rfz09seVC3Kl59ST+OtKzsiqXB5+8PuNdpOtuW7pvKK+cb/We/DSgCUZdINjahvLyZzarcf1NN/42DlxI6Kuqy0Q89AxdxtgwtbG3U4ki+wa0DRjVndduq/i1LfK8cEtsOuQUt3TFRe47+Lo8qaUnD+Xj/nTwFL0zj+oKsP/eJdbrAR0sF4e/2UwrW6Fqtq26bFrVNH5z5eaG3a9GX3UnV9+2Vpx5UTjc+We2Ai1KiAa6o119V1xGhuqlBgfIr0c7ROfiJIs7KQkToTfml3ZnhTPfigcVqD1jRx0vgcNdZVlDhPp510kLcj/eeKX0U6ipL0rjDdN5AR4gpf3x4mrKSOUMrP3d06tfniLiBycb5d34Z2z40T0WfLkcaOGxPKurCSoBHSNqpFNeVnAhRlsSw0a5+02pEvP7cYRpMP/OrLkS++IvC6aUhWFkl8WJjKvWzZobOHmYvNyrmPqZXoXBMAF6XN3uDoiOc5JqVSZ/unv6i1cjtDuufQwbYWkBGKcNpPTONcf0Wdv5Zxk2BDJWhFm7ah7dQ0BLScaHQ8ukc76Rdlq3UtsPXEy3BhdjbzEg90mpy0k08HM+lb2eHbIwPKoTds7r2X7ZBbh5xDQdr+NLbYwBx/+7B7OGTCzNOqs/VCM41pksWsjDgRdO5MGrSHEgFlUqDWqaGeRGyoDA+T6FVGMU25+KoiB6o+R9RmicEMkXOP8sSQ5rn9LVn0jnCnox0dz91UNeMmChYTZhhNoVRqaqvRfrPQ3MzF8S4Kn3yqlLvtsNP4kEM76MqORwHlWPAGjbN61kOeE7/EXmyKRvb9tvLKOZWijquoqKMG+U+LSBgUoTavmPQJeWFJOYbpPGawg96L0ZiQONHEcKg+FEOL4JXOipGJjrUvojMDQ339Zk99tswSBhOtTOKhVsXWZyd/fyuEhMtBghPxKvMvXqq9w6qG6SChi0M98myL+YNw4qPtsa36uPDCJI8v9d9+msJArGKRTkuzFbruwgiCpVyBX/nG/q/xrMYKfd+KLjcJ6ULy0TbeAr8/bM2DP9cYQLFSJDzSjBy1NuROEQPElTrr5r8AWf5hdxvRxWZtE5AqyShfQoKwARJh4wX7Nss7rcYsPWk1vP2ucNEEDEe1rCVpnJgiNs2aXA/1HbqKz3vIvniPBR094nX4XIxVMcnEfhUINWAs2IAtUgfC9tB/I7gXQK6gJbRkh0ltJ9vEA2RIaxdn5bsx4mjH8C9C0TyLtVzAK2BJlgCYkfB5T892c6yPuPBl4gybajEQMjMUcaOEec7fuIaAewsa7m6MXJwlVlV7uY7jHDaNKsN3UZg7DDYWnh7/mSxGpE9DBjKTDy5dnCNuW/yk6Pxvgnpx851nqUQ/o9GNBAkp+6Xa9EYZ9HheCFg2cDmQYbctFUudw6MBgLIr5ZfyMl6iUtTUUT9HicdsWFjLYbj9puuGd2jdOy0vZJEHlkahyS7HcTOvsvpae+9ZB9d1eCvfktmXMBMfrKZcwi0IAAtxgNDqJwMix245FU6JZBiGkvXNjoBOoagH9XmUbSR2RLOw/ChG7Gso+yKgaib6rfdfXFp5sQdAYiqFJERJ4OpTB/1cSkWqzEAcMZmwUC9oDCNz+7sxz0PRLjmWK4TyFAAUGoxoazan8VmAkA5R3hiXR3gi8hs2LPVQCrKh7s1piIl60C5tnSUg14C1IdEUkLrGVuJaak4fF1Os6pDL5+UEDyiKihNSVoBsOo+BkYGQMSO7xoFMUfPykZaG6qYiUDxVgx0+TQAHrl3WaKGItereIaK8UG6yKuISzcLRCiv6MxvqTuKu1l8nq4RBScFsELScIjm0Wd5sgsLpib2PNpWtMP0lRnbUVNKAIUUCLXvRlnvZfpctdCKIQD6TKd46FCMnCBpge3Zu3+b9dvLJ73eef3UoN7t/KD2VK0TCdDwXbufN/r3nE8IS07eXOFZseMdZSiVOMOpZ8b5YkM+FzMvMFo0ppm/E84wv+BQ8DkLQjY4C8fFXvGz2K7K2KcnjAJeilukZ5d4V6MXln+iGiGVTAPWdh73GmtJmtOyj0bqWL6LoHaveTkBnjXeRIq/se2sFVNeKNG0eC/I0VhDyio0k0mEOei6cbNDJrWZJmGhqw4RiawCBsrwSV250lBktKj//st4W62VV+f4aj9SitRNeTeoLRVw3uz/n5AngZT6b71S8aCu+bEck0gTxvobcfGzfhS1fLMrvJlZxdgi88tEOITedL1r8XogfOP/ROjJEpM1mcpg++3cZi63Cgr2FBMnjtIL0LRlQjxJDylg/lvrmcwEiZ/pJD/Ep+DjkdnE8kDHKv534P+hYQi0+PP7/yqUb5rN6iI+SlK0PHBl51y4aVDN7bnQ65vnd3vWnxOlgRrkXXZEuh7N/djKzRADI7DEcRoxhs9oMEO9M4AhOL9EyHJAOgpN4KAWIJNjzzgZlnEa9NSKQepj4iO9LiJfDOY3YGW04bZ5NqSzBbZTHv30S5PFRHhWXGzigsAU57J1TJ8W1niuobH37w/j1ogSJXrNgXVnN5jgn4As/GOSwKKyQUDi4SyvZc6sbZgz4l5FcEVodnEBNBWo2LD11pIjBBIzxjE/RHJYxxKxio97TiPeMwCa+gaqJutqd2jdNkApH5YDwBMmFTp7WkW7pjDYAgXQvMsiwUDlCyyspSRrRfLAHWHrCoellyTFWFeOcqSQ/tsR891j6/P8UElxsPc4f6sBB62hDrw7ellyzrmojfBjr2xjmvUm2Sg0Qnrr4GA+zshVglymkqsFqW/P5hLwNA176SyF3em6xrmXi+51NlMbr0yDD7MxE2qBIboG81rgWt2aJn593kcmacXKvEL/5Nuj7yuFibeGKAP/hEuC1JE6277i4Fc2ei6esBNRSjGcF5/WnZHeBJqed85iZ8EifpiHD8bQAFeiTWcjQ4RiBauH3iR5eA30EDG5FsXDMLDW7hEs1Re5VXS/b1eJseZim0+7rLMsJPIfFWB+wkSUhwVYq3TL94sfy+R0Yb8giaY4SMRQcacV1L28UhPxYqZMmJwqUm1f/UScr+ZPCCgbu7rjVRx9FlQ6ycdu81KtFUrD2oC8nsZT2Oiz+gjuYbqZCIn12w4BWSAIssuuyOK3zcuKsMGxSsInAG84syrMacqZafCt6orMIIyzszMeIxUQKxwlBBq8HGEmqd6RJUnjeCC5G849Yn4qHjH8ONCsmNRPrG/bdLrzyupAy41mrRNggskC6+zimwVFk8Qx34xk6Y3JtOH269elUVsCVAA/k2pbKXuido5Nlc7IYeJHvAmFeY4wb/YgaUyS/z7aC6oYCo2NCSazcGmcaVOuZSECJF8PQBcMiGkOQ3y8kgXTBj/DCKJktwGUItMslvWZS2UhKmqCZCgz1Jxsp2jlGIK04oF/1waSxu21sN00V1WOqu/qT/9ad3NSgNVKHKbWlNpGJ3ISyCqLRLU8Q2/WPkbosKaXnisUKfT260e6qbBhdEC0rYGeoum6MvNtmSIN2HqUhYjPM/itQkrKiPpBI+GxWaAfIfpnhNTQcK5RW5vvCaaslktQHFmY5FmpQr9E8Cesyo9n+oPMp1QDS6qNXpeE9pEfQHkzNzhJ+yBSmTEYrhGtOZxJ9LGxbYFlmrb5tNURZz4DbEtfiJpCcStFBLU/rSNvUnRoGAoOEvjoWbLq0LBH05ecr5BL3oC/Iw9P51a5WU6th3WFfLtQfR42UmrrZVspx4ci9yeP1f0M0NbsWb0f5A43lwJ1DzmuHwFVKjU+3jtFIRx1NguM3G/crV9ZhCnqpVm0VfIcLVU+xDf7KXLEf+gZE2q59uCcwkztpmhM4CGYkmNF8/t82nonT3eKnqB7TEOynOxvcoB5jlfRmzrhrvUtgOqBNARjFVMqYYMzf2wnjttvbil5vZ5zfceUI8pCedfsxepwUSMjcwF9GTcFhFTL0NS44ZBkmcXyHjiI4UnT6UBkkISgMuI6vuslQzg3wrpxiN1S7oIJGB88yh8c3UmT1ThMcVk9u8EGQrYypruVhJRr7qSm1bxiF5VQ1dz/zoI9e7ZrsniipNRYxWj3jEm6zg0xYLzCXFEGbsOqM5r4q0ZjG09MALY1k4jgfrLoInY5ShJ+ZOXnpUHxKrRKu3c+sKWhtpEcV89LVHCVxhKlFbSXb5BXh9cnGs7tQrZ++cCKav0r2BMmcv3FWQdL74moMY6qBPeQ1krqtVanqKdWkzVoaO7rFWPWM5v7ZTxGTgLQLZHUPG5TBuvWEZulMmYubNNcVksOyu+ZU2PipP48j6UGzEqGZVA8SeNDaXcmSP7cj0bO7VRaHPLRLYbQyA92sqg1f+1WvJeYy8x6p014dkxoCUw16zG3eMMEU7+OxW8gKt5wBjL5Ng4LyBaRAkNw8kz91JWEQ5GyRWiFu8eNS2engRg42XyA/xuXMqS/ATbCZX6ZA+nS2NfiTrsjmIuVTVnVc9VJjX+ukduaw3AQgBwy0tq22NSA5aiVNjak0PFSMkI7sbINOZ9pJmVKdBIkyNqkjUWUY3o1DuEr4/6txv4Ul78WwsXJYR6j3i/yQq8Tg2zzV1SBebvb+rzueyeSpYmYnkYR0d71pbA4GJ+IKUPT+6tBC4zCoWhVWx1NzPRATayJvCFs3FbTf22IDiYOexl6qt9bQaLlWaggbleaIMk1QCj2SuSYiPDqd6xVoUX02wgfKV05RuwnEP5tUGY3pH+o5NG1BS3NeggSgj1ACf4YA71DDkT5JAniD51vVlOYAr7x1KQnTpVDHHgTMacltCaCJn4GkkuENCQjig3VGVDYKfdhPYb6iKmjynxuTHg+eau9CdGyz9Xnp3Zyf6xHaUUk7eWHL5I4bJx4NiZ2aVYLqXp/sFiIo8g0UZTMUGF0Zx+dutKB3bqcRS06+PocAx6EiL8Ly6jF09q9/fOM0MGVL9vkXr70ItEzsPt/9nV8RGC4u2Y9p8HK7P5q8/tLbtpgzf/CnsK4ZXFjkL5kDMwq6y+3uJatnWXPZtWh2LggqkCqQ5fBrMWnRXXfnwAYPlkC7Vr7nhQRn4VVwXqNDTr2fS2Tg3Y1UAbHOm0lP4fvGGSWIc2Ydyjk75DNYYVKwI3Jw6l4OBwdyma4sPEZULXN9I/jrdk334U35PJDpGdKvOyDD/tU0CLlhYWtJDN3SIEsHsLBMATxNQUtF1+VGCvB9zCoG8OFCMADsSZ6B+0rOmIpi2Ztdzl786czFwFU5BG19CMnm1WcS4xdkZBJ9YLyPPoZp3phL9QA7q0pdPZepfM2tGvS1Jj1SoFunrMjB3g38aC9m90sU9CY8vJ/6oR9jsvluXcr5VtM667Nb3zi86XMLBelJg9VPbGerChKjV+/I5hFNBj1BiwTwzcuHNzOMdj6Jxe/MCIofgYTl+FyMYn15NjFfbKHA8yzLsQI3PcZAw8JrXEclNU1jmhvVb61S7GC5zJR64zRiGJtKaX2sv480ePYLcvhAGLqQKdsVO8WFkEMGe72R0Ylee9+QMidIV3rQhwl1Ch1cmemzXJdILVnWOdez8asF5/mi+Tm61uJ6mgyFKjOsWajYy+Owh8r6NxodglOLkTdRBeBRD0OUrAztUaJGzHgcLBOP0vix8WvfOxlnJDqCl/pOptgaBxybWDLPZthj7Nuv09yzx1ATgt5WZjet+eY8znIYq2pA62q9zHi3d5rTz/3Vzgcg+S+wokvMl9CGc5gWsoJXi1GUCEwJWYxEo5gNli9MpUaqHpc8JOhXtthWtouMBtux4Ck0QxUMY2dD8MtSwHgdrtCUch1JWbHZiM5g0qFrFFsNkwLUyzyu7lAttuspSvWN+1lTFFuwRnPZkncl0QJBGowWH7QZRoL+QQfLgsfRTDCzjSC7wBLZNI3/FwwGFviuRFSJHE8Wo6rZSNKdLxHUmbxCJ7cAj2OfNf+pfQKHl8Wo+pTOGlQadEMao5g0L1Uaww9pmhatHQvwlXRyOgan/jOc+JAeb8InCtmZfxlOXwpWOMwy1Gj2W7/pi9PBXEN/TzJb6jbpZwLTg8y+79Twek4grdwS5aXIR4jcDg5bU9wBmvrkfE0jurR1LkvwIiS9SFDSINx3bJZHCLi7oqG2iKEdj7we9hLxPj6CZSfdKl6vAsFI8NIc1mHrkf1TC1XLIetQBlZOERA8Z7cPmaNnu/E7YLEcbntciduYU6DJK9PB+BkwJXeJteeIFu89vo5dq5+t1QlReTwSUyo8GJR/8vh8ptErQPDbMH1a2YEsUA3ZQLTgV61m2NNwN53GS5XB+OB4ZW7mgMcnK3wKlLh458QBkVSzIKlICuJ/woajkyTnrWtL9WsSixD0CVUrDSJU16CPBAaO0Racqo8w6RaWm0tTicGbpodzmr4kjHnfBDi/ZWM6H8xkdVRq07kNDDzNYVWMPGEKgQz5Sv0PA0tjvIZqIcYWl/2z0qp74O3a9GOK46nHyH34Ulm6Y57SL5DLJdzHCwJIf5VwGS2TYYWl/IfQvvVIz1YySG7cf9r7EvruXPP0sfCs2H9r8UxmtUg0z+9CHXa+c/FSckF65fbSuXK0KfQ6VXMazJPHao/4uMzkaLsNRrskdnHrfdzEsOP6y7+zYNi7yktjGg+AEUbvwdeHnCCAUXMFL1hwonIhY4cpVi2KIFJIVSkuXhabSk1837dmtc9wMH0hJuw7acxiU4A3WJK9VAn6cOsrC83PiJzwARacQYjInKmrrNeOij1dc3mwj4pImrJwUKWo3MHURn69l71VObNfYxg7c7iwQfpaRf6gw07uvHqSMXIP86//+Ihl6DtKUUWyi3bSNDhh6V8P4yhZ5CFFzwBLLtttzuH6gJ9e5x3D86DBmsxru7LjTINA2BW8MIy+ebu73d+Gob2SLXnAUSNqf4MvalyLdFin5pFKMSMKnpf/MUxRDWiffQ1TqmHSo4PY8dCEbrkU+z3fTYIVQ72klopzcRoDcODa85WDpx/1ZDTBJywLJR9paLK//6GI9tHcV0NFPR4moGy9evRWeiamvv2YPi2++Xaz+WmKdcQ7UN99Gd7tx3xGS1hbLuy5sMXes8Uecj/R4WSVtHB/y3Wt/1zMKONx+O/b8Bjh9meGVAAL8PvjLlPfzmjMz1NHjdjcQUqleEzODln2+u/gIrSvJ3++9hpcAPJqrGdS5meOOfnaNhrTrA4L/066a8zz8y3wJMtpRP7FDh2hxhF9QqUMMMLZrJe9k3bywWboBEym9+xM/7mdV8mCWMirXqOMnbSZKzuKUfGbDo0Dnapg8Le2EnTXj+6Y11PPyma2mc2g3yy+fdhN1LqSfH1l2YiTwlTVF4M7kaBpqoGxbpefVC3mtbDq0EDSOZNocvflQphxLaFaGV7RBdoGCrncI78aBMNmnn2VzViZcO9AW+IqL+3YsrhZbnSkjE0tvQA8s6Rug6zflG9SR5TtsEjVs20Vrrd1zVnjUlSuOURft+MwPQNPL8qHd0dHHfWuRBCS1ElYOsbPNYOUqmoGRcNeWiHj3o2xZ1fEs9IR3aHhyKDg0DCDO1FSuLCun/5/vTW8KtBROmUy+ubR+cqd54uNOlCAvhaA8aqxMRhXYOofaoZ3PL+fXd6QUBsXV5vQ8MoBhR1q91erjcHfWz7sM5mnxP3iK2qjnM6OM2azPRXApeh+s/nMwGnxysiUaZQZ3LCHdZHddIw6JuYyZl50i9kyG1ORlvtvvnxRKciRxXYL314ESsNz5PkjC/eE8H4j8ijqRYtiylRNLeBca8wiVVkTaGk995/VCFphuse0cGCV+BzcfZM36DYGz6MulI6CRN+PckDo5v6k3qSd5hJ5XiKMdIJtmA0GKB222bAFsfKIHDziUWLeCXbWFCe1Rrn84hrg3DsBAwOv4+NfUt6VUL4EExQX8rRZ/OPeFOdoc1l0sUpVHF1200GEHWr3m6szb8Lq45tX5HOa6JC/6MCh52/GCnbr0E9D0tCF+7HzgvMLsz1jWMT8i4KLMYcE+NzNQu7v2dTfH7RkfnPQM0diqF6P6zWSZLEqpS7qGwtJ5H9IFJAJC3i7Es17PoeO6kUT8lxVuOvrLdurfu7TA8XFII32SnN79fdtdB7SuQr8fFki18+qpFtj8ryK6UyIs6IEo57B9LToUGhq6HDqsH+q/6FgZYFCUVCjMHFfjUkh1xAAr5cYAMCFAYSB+huZCEChOEBmj9A9kYHLKHThPHpaQ89/ioHAzUC0y3sTH4BdqAseqCDnReUqFLlReeSK95ChggYQQM+4gnxGbkUWCiJ/egNHxxEYwOSUZnlRkeztcBEuJR/JDTxRfGtBtjxLFp4VnvMpgxV2qN0/W2XKnPxEp00mJCY402wgt/uZ7aaOI59hplrdtYB07weuaaMm8MUiqWaPNEWa/Och75nkPzPMMFmaRS9oJAu70yHG8OzPwrP9AcCvAOgeN0a7oPF2xw3FDsXtnhQf8tf7DeuH/fT+h3ZUWiNs2+F1tnVYmRkbM2GhpbE0a2LglR8pipWQgXVVM83+dDdzUYDiCECdKEDwBTmGFhzHRsq4h4owhfN4NRrAu8bH5TLjo1wKEDeVV9JNdGkZ3TBfyrAwpAtP3jb+tXDg1MuN4eHGBQRIaMHqcmrHUYAuWRSXWB8fX58YFVKY0yTq8pO9zSyzKCrIp+mdOPw8p5hTnqHc0Kf5qOcV5hVPNMzjNOERxo028XeYWas22mCAANhGEfEaqzMBQCJu7ubM3OkdAKx+v9/Pzy7zEPtvv7nD0aLD7lK2g47asXh/8PJrOL6eAqaqkgnhD61gDNaOM3bM8M3jw6+BSDHN67cQ6SDie9sX9uLHX5Kw90bmvv01zJq8/JziSPMtB3DU7u+q3nG2xWLuF5/9ldJXV9eHAKT/NlsY+cK4YQyJiYgK7PCwqBv7dj8CgKI8vDslQEqVBu+XrNQCZNArxdi4JK5P6NmNu8UeLEA8kvxDU2LeINWTUa+TlpFvCWHJR5ABqjlGq0rJFlx6o0r1F9sXZbP/UrUvu2QURKdEa2lm9oCX5qhD26Gj6joK9pwJtMMudB5m37ajLtRe20kW87YvCvFQXiiiRiiXaIigbx51nYcHHOMOq6MNs9afFG+qxLg2rhWzIQyUizIQW0fkvrV1wjaRRCFk4uJtQwA6gUBgvAphRFgBxNdVOjnQoPOBHCdZtzK5R/U3Tg2LkUciAcK5LAtoWhpGoWHKvE8DzDHBsdUJVB6lcC2XDvlD9pO7JyCh7rcL3fW67TPj5T1U6/PYpxZifkoMsbye8LfzkqAS2e8553vby0+a7vGl6MUvmayJwn5QEZbkFPYsAQ4918EdxbAkcqW4Tb/VNmmbwCYRKJIRQLzkQ/+0wS7Y5jm67BxSiiRzkyNyuDm8WFBHDBDfCUzPIsKN2eFlDuJ4BEwftPjORBN28p9telsaMbw4CEB9fp8++l/wf2GrgLm753w4KADgFICAnQr39131FejvP0/giXTT5+p5G1F0ABq34ggTmfMMr2vFCRoWmxMOBmEOQjiBiSpm6pli0wKyY4CFPLggOD0kq4hrqRVu6V8tC7eoBQzwv0Us5ADYBVzUh73vtsaAA8X39kinD3psmY5+4176cdAKjqffeyN6eovHwWnpnnvFB0BRdZZ2CYJ2ZGq/cokOFFlSx6owiYDy6Pbn84HnYA+BNYOR9jB7wrJ5nGvHXuU9DI8eR43VVu4CBtNhgZT61k2evWyC6robgOngiLNXEqE3rS9cb4rdJL0D685OnI1KKA9fuHRheCyf7aHQYRymI49fAifVO2uLLxSbMy3F7xfXbO/sQuz9dnQe6bL3IYalMB0GkNQTwPSGpztqis+nW+LA+UGxpa2pD+mzvwzPo9IDAYqL91I//cPyR8hgX36FgsVzAvvAiUKIBYFQ5/5llnnlRDPPm6AWjcbsn5iU8w/od1XnktQ+fysjHo9tBqiThs/ho5iVlj6D1Ylhs+NWlIEqjHQLKIiqo9QPrM+QrxM49lod1gErfGG8bxUcyrTycKfzLOlrzpXeOdOe1lpwHRSaD3/u5UWP7Bbz/aOKl2Utu+iX7BfRw2NF+kX6Yn6b/NS+EX4R2nEH7nCN4tyr9UGOxpb2fQ8GiksGHB/0/ie6kWrOWH2L6rYqwZ2rsluu1l612FVc94RVbtRbqzPMjdTof7wHcVw9i129Vn2BvesBvkqRwKXoTeEffiFgLz7JN+kp3ATFKvzBLvaF6mt2zIYBbJ4yD49RAAIoY/C8K3xwgoMchc1i2CCW6AGYQnHG3wf4B37l//oW/62/J2jy+l938evF4NAOL6rXC6///OLNodcOkVdiqzza2BsqWGfjS/4LgZcg+prX/5RcMsq55N4T0RqvYJH1Lgxgone0I/g3Lwfm4DLOfSP85pyVwasQ/jQH1nCEWTyEifCsBcBGuvfwPj+fhQ6EibyzamnD75LGoTnu3V/469YeW1mZE7nbhd0zmawgZS+OKtyBF05WTyYF57e8z6hmvN+SAzR5lgfvsvdfP8ZYjFuErbw4JgDWSmvqe6RYWY9BIYLpMFdCCNxHPU4xG2hO85YdO80l+mWwSxbXvCBpsu1YYgbWacAFVsw6dgkfTDs5ZrVpEipXv5hGN71Z29+s75vyUaTMMB4Cq3lhSteOfKf6UID0g4dzFBfiorTCLrj1zVlg/4TVymqJaZVhhOWleDokpqe1pyOwhR6RjVFBcMyT1ifqgz05K8ymk1876ey139ZL1/PmjkS779thOpy6k/vusIr8/fpKgH1wMoTTTMknNpfmBa5JFWQvgP5V1PIUEvgeVPgcOo/Mn8en/9hLegCSSlPN6r4vWGnS3FFm00x3dHYd3Vxba0f7gcCNtrwhulYVV5xQdtNBhB3qe7Bct0q4eKt8O9aLR3UnSVvjmo/Guk19VPg/JKCyZbyPburVM+ZHMvuQvo2bjG1HwcK3cVPffrRrE9aPYd90uCcE7DUuFpdV4ctayuTFMqUxOvuUgwg71MGfVi++suqEAizuDKLuryrVoXsAp/92POD4bwFry0HDat8B/gESrXPR8GisNEL82yU2vEzUE186ADFeeCnEC/E9bxQov9WGO5VUhc2guaD6WgdrN63t9F1yhbIiKoLMWTQLAxjIWPBPjTknDHjc44Z8yXxz+52NmzgGJTeyOzaJ0DWEkrq4t2gcHH8ltvCufvDP1eMntl/fFrUztF+6fPEt+K1bv72MaW6TMdviOsps68PaKzqlFaGLk1nJBNDn/WTGu+/PSwL50grpkgr5Mh873bDoDUvZsqUZVR8DF7mxRFWkVBapSqZVJcqiImWJanrvzBuS0JoZn7barPqJaJXiaIL1iAgEwNHolM3YeVrTgp7W0PM9a9ipCxev0WYQt2BbAmSooPGI5+cNNBW7j2PjFChQBHzHTCAM1IEyEOMk1wK74DkVArY4/fkor6I8UuX0Tpz7QBMSCKiPanqHsebcZvsoVUQtoAmpoXRs3cm+JjqHKqQVXO/yCDYokg4PKwEntLAyLvISRxGPyrnw8BNFeJV18cBmDJUTyLXwbA9g3aupLO6Nv3kpunF5eqtpQuCbAw488MH1jxrgKsxfHge4IG713gsfj4tNDC4/BsUxWBcsTpbOnifPe+fQm/pOrsPooVaRSKlmSUVAcYkGWyfnURy+fhFzMe3/DCZkBhBD7KH855/aHrJy8eIoIkQS71NujSqKFVJEv34u7Enl4A4c8w0TxlM5PIo5JEwDU7I+DLDZ62qxxo2LFecd3Aku9jM0qBbehswD7Jl+STUON/5ukz89NTq+1Z6D89hxO2rv6kPpW5G9Hxn26LIS4J8kQJa5yxvpiL2vaz7Axmn7aNgdGgWBZnoUcd7Mxblj4U6ul/4OseLhHBPGLVIrxZEIyqrD8VQT2B18o+KHvmSBK9R6Moal08t1CWqJWhcfkaoTnVQvxir2ygqNCiRMIBHI2FEW496winEjii8wngNv+TcT6+IT6rsdxNDyRTsQyfhRqz0t6RdPQeJAfehW04Eqim3IVvFdnBUlJNqR4oJhApsYtc7hc2brpGPSba0ZdX3YqBV3sIkObTKGRrO6RyKItzLKcVbIgM47/R/Y7ss/Q9//YYNfY/9UcTosgtOL8w+y0W/D0KWvZV8fDmHvDsDqsX27YJSL4QMJUzSluUnlzrXDxQsutAQFbzu4UJKsz6G0cbnOgRVWB4nywOaLAHgZH4MKpYEXBC0LAIQBQLpEScT4gBuA9BB3PgLczd+uGvqdeGpUhKr8WKiaZ7nQXQ6uwjoTbCkQDIP8OJIYWrsPdaXmv58dVCelsqxXsK6XFMIYBlpujJb5EYNmeMehAUXlZ9SYWT2nJH6mGmX5oRx3PXUV7AaAzpsM+H+Ovtf2JEi06jOsKF4JK4mkK5J+yRkS0YyaEvdLTpMM4pnhFIVYCEV5g7Br5K4uO2qvrj540EMuo2i7cnL67May8zmM6UuNeN8pKQf4H8jCiCT+gZRnMNW7qsqbCoNT0/bgz4rbENdf4xYerw7oP/szirWeWBtY0zdvno6cAlOS06gffR6gqLZ2C6aQ35NPs4bAHc/Z2ceDW10pFUNsH5ffwxm5fOahn8uHPVSR4to6+PhEL0amNqyBK9HnErKyCLkGCachrMlouQ16iQINHejCAzT+508wR2K4TPnNwFi2EcnIzECyfTPIQ9KTeVJyxvdfmtigbGks/QOWdYFyYZvYuihyofWfbTu1i6zorKOfUHGpoQ3WjeAohOcoAFj3voDRNXDu1V6+2bI+bInPkl5M5soq4iuA6s7HvjexmYUWEVdi7+0d4g319VlNUvaEel+xC33R8s7zaFfvul30IXS0D7imLdkBWr/3yWv+svCpdMv9bS/P1cmcgOM5He9zL7fdt9CpfMtfa8jv/4GhU5pnRVJhuEvMNDD1vgzspbL6mfv38Zl5p1CAfsrsv3lRP/2jiPvyfmI+cZ1q2JdGcYB66gDfv0gAx7TDUGvkya/xC9Yxxmdj7h/jY3iDnkk/Yr/xk73KpsMh9M9Cvfs5HiBqjcertIAs/oiD2NOrdwdKznhA3oTWawJjCm4IyOBvAwDY98AouNZK8IaoE3D2dG6WfwrymeoAVqiUVHU2fK376mW6/xbS18uvdF83dFZJlIXYAdVnKUiWf84AofTsMqARfWu66WhLA8WF68WK165ZjYy9ek0tuljMdbCpfKdp7Jw1e+/7YjOcSpcVc38HSKxtSmhJN817yLua9slv1cehJbtHawC33VCR/wLpXnCo4524lZfuh0V89Obpq273/xf67I+wT7oiT4T3+FVvLV1QUMBrsUgDstKbD67jlk9u/CSMrUsyUIt5mvD0yMWhqfnGN5L3bOgu7rSXjYDx1+Qud5O73Z3i595Pjif3u8s+Rc0v0FTZqHS/vhAO3OHEnCBik9CBJ/0oE+1/4rKjdqZ3c+2uOrteyfifEGrBk8rURWVDH4282XEtLPjDzYvjDgs6gnL00H7h3dkgrjm5BE/H0hoiUhp8qpl5abqvpJyNTV3LIJ8PXvIKxmhNR59Yt000rE16fXt1bsuSiaS+YT/Ka0m9LJlYZfl/UyP61ZVPqMnsptbuerILpq7eq7SUFZevzBDVtWCp0aJj33oHGA3UhdeIG0mbnwWIU7LBV68/Dr084jG56/0UtwzUAL1+eW7/r0n/fPLxpzsyfHv++DyVEL981434xAegqtPkn5xJSGU1RJfFv/K88HGWdxaracudBb679VnGX//54AcXiC6gNamBcnqPX07sX7aSHDaYzv7Pj2Qbg13I11vTWaOYw/ABN0ccHrPJL9Vm8/77AVBV0Tx+Dap+Hcg3jznrrH2Oe6kRgZWvg371nMAYm0qbSo+uzPPKe0uanZZ9xDj+GRjfhI/T3hs/Yxi/BILPxQQna4IqhtPcrNrgEA3ibqcD309qev8KvbAvi1ajhWrPNBwMmnq368aHaaVUkAbhwKopjsYKtd7X7lXWfM94+mFqy4Lr7Xc4+5emNm7UX/pl3+GgIt8grw+kWElJTOXuB3mcvPicu4xq+9KGE3VMdZdySWCeuWpJFQxQOupC58vp8DzyAf9luPJkYE1Ul1qs0nvCAKZtXNpgr2bcjc/h5IHg39nzMMkHiKrNVdJEisNhd6B3ev29zffSarYv3j7QuaV8C4alu15GLtBrcdFK3h4I1LggvifAXJax6/p11WsZf8sn2Mdv8WVPVPfu7cpIl4zUjlh2NKjoGD2Ed1jWtWT7ePH39BuPn4RMBd2q5RIEwwuJpmEBgVt7K2gqBAQpaTGlKlVpTFxieRBIY7UvEmgFqdkQBNMp7RRAIUNZQp0gpX1hGhMEJy6Ki4kuLVEdS6F990ZaVHBxzoKgznfcaxq9rnqS6Oq28uyzYLsyVxEelpkpA5pr+JuLNDH18RABWm8FZYlT+EvzDb9DB+koHf66SzEemCKVphilySmBHL+yHHmWTJYlz1mAGwM1i15cC42kTKgnK/tRxxesgMMd3Md2R7tsjJhW1YghUEuDN46wgqBkqTQ528Ecyl61rY8pjVaVNKtKS1XNJQWQS5rHGLj0OsvkCY7Zpib5SbmNw2m2Hcn+Zhfk5Vljwl1VhndZw9Ycn34P6o4WZHJfGZh1H3zXMz3b/fGzRWS7jaVHV6LdaYO1wbK9bt6EDRAruDPIIyJC0YqJClCADqIAHU3sH/Xi+mORHBFVDdWL1L8wA8xoESNFXkC5hOQHt3QGfjpgHbSCmb0bzqrPbojbakxSio/Fxh4TK41JW4tQgIxp0axh8cgYYnQeOvPlVvo5bA7gpB50LbpWoc/WMxTSnedRp9WG2xwmh9kx8PsQzDnmHHd0mOVwz244tOGsi7OsCXo8in/taR3i9U+XZOy6d0/1RMZ/awW2cgtf9lp1/fquMytn2sXHWEDUPaYmKiBcdNb65GkF1lNd7L6aqP9D/w/JPvZd6+FX3a2Np7dgWziPTI/8I7mPHoc+JpOR/luK+l0JKHuuiwhSIsXo42sQ/dp5AkR5RYFX7wrmwEIqSUoQMR8fPfM4xRX8dGRu5KliAAAAwKKDL9/YhQJUyCfR2Eo73SANcQtNl0Qm21PZNF/vBE3I5/zAv6SaIDK5D4IgMPoUYSK4jztRxkiEkoFR2AXzKPPa+2wKD6bDA+PQixr05oBVWeZzHLov8EsokUggiE1e98lU5BRCJfMJOM7gXL7r1HUZa1bfXAvzAiKmBSRmBbuJBQAA0JYwum5dTpTwFO8TCDCjknZoIdlAFmj3JgmmIxI/OPSK/Uyvh2R/+LkTPHBIXXx/SmT79Msq4ZX7RQuCyBBEJPj9oRpABsWs8VQNNxTEZ547InLlzDsSF/y1OGXxXwIsUp7boJ020dExMuIXXeYDrKpqPnKesQEcQLyZHknfVj/2BzvRr2WxitjwI+FahVZ2KD+42dAUzCM+V8wHnvF7wZvjIi+4L9rw/hD5CtkKeQiOw1SFhwEcdziDM65OKhJfBBzPJhwTqqQGubSIcVs+g1EAjFMAYsLGKU5KzJF9a7kVBobt4JdzvZywh/KYG+MOs8OEmTOR4mvII2W6eDTDbes4D9AR1MPgI81ZFcYsEfgckGt7kM4RRSbj/1BzApscnPzMA6PJmkVLVX8UJR74KKeAKTcxJmqXi7K/+9sjE7qPJXIxr06kXFjO7kKsFzy2L38m7GZXCiuRZFsa8BSGsGq+JndPb3gcdO2/L2hfNBL61wXn7a+jPN0W1Pso+O+QVL26MpiUQD8m21TkKfi8PkcsIjQnixKYjwg/7Lrs/PIBJ07hLhaLQ/JAUKA4MDhEFCIXCwWrmT4w71TP8E6FTCwLAu3f0YoDfX0kSqvWRs17H6uOXZvPs0SqlRJe8OncM4ifNECKcH0EvquaQpQrolYoQ0BX2l9EgqBPsr6qqldkE8yhISb8LFsnqq4Sr+f3uRU20e88M8si46O6GHneS9MAF+OCAYNXJjjdq90GhB5CkBOZ8s+KWE8it06tVKrruGbb19072TvDnP8m29pwa1NErbiTb8jRIzi4eGGNqaHer5HbkJ1d71/nX8sU1m5QdGP2BTqvuDAza2iIuU7Ui+DqhdWlqNbc/8SBPxdh3ETsPpTp8fd32aLltRMmhryAmfPRgcSiP1RLRc0yGvu4CKkUVrK7hc+Wb/e4YEW62OXC8spS9xChJ0izEDZMd5PPeV/4gvbFf2/7kPfnBa+7jTzqDdrmzhSHiMVid0Uc58GXzsu7fiA8YiaIkpsJInFO/ecCz6JNsmP0BFJwpVqf2hEkCZKJZYqdwz2neLAPc7VAKJaHiEKCA8WBQOCWtiAnPCtMlinPKv1PpgTgzrxM9W+pPEuWmRWWE16KGVOkyZLMlZlzHAlXfC8za+WfKVLjeGAKyPAfsMqBMwuEG1xiaHJ9WF5J6j+TC0r3HtNlJ7oyyn91x/ZeNpv8RzeLbH3tKfd0bZVvdaVbX28FA6HePeR0Abcddq7+Vo/jCAPF6QfvM/tPck6y+n84SMd1qptP2RKsbVaCzfCgs2x+H9PCbHruDNcWKE2BQu1TAoHivO/f2N+cAc5hNlL+9gnqScJqMZ1+dUcZtW59e9aGVek2/BIF/1Fpm7p3Oy8OxP/ICkMByhzY5ezeRK/4cMXkhwCADydXfJg6i0/iztnEYuwgemlSyoRlbLK9fXLMMpGStDQaxZsSBszwuwmuooXM2qXn14b5Glkyi2ZH2XC07K7yoe/POGcgZ25et5gcAUJxWD0KH5f584Xp8XGEObJpFdSlySaPYgiEkOWs7GuJ17IT1t38zDgPB1t//aRwhBpPHeGH71MYl1tEyWUG5WQlTKcMrAr0J0mhY88tnPUZSljugE8wezJ/686d9uBUf0vLWdFP7k9j+XRLVMlfW2RTTFY9sr69tJM9D3/qdd66Hjg+vuy4/LEl/htx4c/O8uuW2hjbWUr/9hgDV1X4pnPdrfnI+dxcV0RgOW8A3SJcCgbCQG1Xjmk8O22dwT52xTY0cc0MQJ2t7nHv5DXkHfyLkGMOg8/tkFs+Bt+pkKtnP+nQVHu4eT3yBEXL/Q08+HzseQrPwKOc55GhZZlhVfTxmGILa5zRkCOTop0dmurCvXdVfRHoBJx7jSnSF4sCNXt0pm5S4xzmVI9NjiXUJ8TXLXcQ9/jF0i/zVokDkvmxvNiyACGrpcId9jLF8+L5mgBJxcrP1tUKek9m/3u8QN3AF3xktx8iJhSn1n8FZe749lnvHj4ziSnYw9sjYGr0V/Zd1eUTpoNV7bLv6kcHz5r9k7KS9mdqsjTwv10Xuw4GrI5d/XOdNT4pYF9AQlk3mFw4wmXnX3gP/1yNp7eWT5arn6EQw+f4e4SEZLlYL00vGDV7vgJJuiTVZWgeYJX3H1dZOWugfi9Y0pv3APJG8jVeLdm/P9Ibg4DnG1Mf/TjTmJObY9YK6mJFqKHsBtC0hmy/H3G+hY//6Jfdhjn6QsK1xiC5RR4ge4RsHxaPBcRXQlXCyUuohq6liKvGjl4TRXGCOPFRA9IoljoCvW0QYuMhNojIgassRq4hL2LPN09SnlASEvjvBozxRvkj/E95YwGn+KoE7RFv4dXzCryeeMmPzr5PKD64xx53hfsej9Or39FO87q4/h/ok0m7PVQ9xuzsBPfdpJ5TKo83yWr9Yl1Caraa/CZQnA/DHXi/O4bh40jDbbPdNm3jtjEbxwnPw6/mGCUEM05xmE0BqmS0WK3jMaskVJRHAlSlx55DLpk6AurL/11eLg5I4cTz442eMGn1Spb+nmPG+BgnMUC4oHxbiujOAKSf3K0hmPmSUckoX1CnjDpz3LZ6h5gRxxC/tb13h4iRxJDUl9vzLxQcyvaYOLrip9qQKH2c/id9kl717uWOy+IC1QpVqUzXWBrH389PbAfS4iFGjaCGcX+dAoprhgAp/4zAB1I5hGIYzsNdThWWj30xuY7YVIQOtkS4o2FV1Bh6JNEFPTTj1TeIBYyJa6CEal5MV0F7K19E8YQoMYpC3CDKKQHW0AnuhHUUzmk42Be5c4DTYcW5w3Myt0QijO5YiHYEdZUfDH/uOG8c0A8sDza04FmqUg2h5UzoWINbp/ZdV/Jl4JyFEoOYzqAeKJ0A0blhVqs3SLP4i6A5bWx0NB+69cnY24AuWJHgTgbgY6SorpYyfMAg+EKj0T9nBvIpeoa1qYfNJe+Gla6j0zznLVsdtEQ+MD2TMCUY4YZF61LxYh04HJquaeIG9xUj5lR51bHZsAnuhOK81faQbb+9wdXVh8/LybGj9pzcvsPuer2BdWpyVmSjGRM4DhhlSWzALVhTQfpTdf6vL0BBCOzUwToN1ulr39Sng1XfqL7TWNOjvo2SPdJ+S1GXrYO02MiwCCwMo7G9NBt3rh0N8h9bk3FbP5lK1QJA1L5x7hcqJ6kecjDqkzjU//99V0UEQGWa6maSoNSyzEDlMbfnHzqhhLCkyJ+UtpHLJogUPuuw4EHJRfk4nMimDVx10Ud+9+YNV69VeQ5t0WL6UJ732Yx5162bNLbz/HZpUXLQdhA+DSBIYIK8jCvlRnevA0xgunmwLUt2w+g5r2MBZc2Ztx+fCLsBScyKtsWRFoWhdib9zO6KH7IWKHRiPb6QeTFGK05WFBPTSWVPRN9/KyC0DLm8FuvCPeCAH3W1ddr98x8MylNbKUnJQz8oIDhc2Q+ic6sdDgeOgsBeDKxQLHL/6Cj28FaHFQXLBtrLVK4D82V7gsHpYK/B9LSnh2DdlqhfsfRjfLNB9n++JJz9TT6Z5wv7kMsV5eXyMMdRQlrhsz/4unm09xA6bkXjHoXrDtvREeTfD4Gq/F+Tbt3e+m5ogXdAWcXsualHB1RSz7ZrFhG8OPnISHLrebElwdBoyNHyd/3Dvu5/4uS6dyPR2Jt8R5CxzDHaW3Wklw3u42H+gRuzMp+UbFdVuXtx0zI2F6ey9t9b40XdkbkRYM9gOgrQedRFsar2nilKt2i3Z8K0dHoEPTgGuetOcEusVvpKMVl/zAs4Gb70Xw++sPuI95nMrqD1379bwwZwrte3leuBQlg9kLir8luvFTCdvWR/qqwP7GLJ5O/htHF2IoznFwUl4xZHzfbkoCLp9vNONu3mLdc8edabF6rHtFuGPFVrq4d53r+P0F1XB24CoE2d+oRJApDp8ohN+VNkUlgC5PzwudsxZWBmWSpEYnZPmVQAEFXv/vs/lVOfxHBASfUc6i/n3tAC+XbKPGnGUbMXhRCbtfNkZyk0VwCh582fzZBA+W1H/+fQ8SHH4/I/9wAzUJt+H+LCbXib1WsOuIbfKjbvfBUKTb4iyy5PDqKs3zwMhb7aaS5OAqP7etC7VtQdxG07oWSGPlxnNnT6+iOyWze82aAiwWhT/4keGHEOAopkjvtuAwzm5vefOdM/dTt3votRkM54Cy+IRebb8DErbbd5sJhl6ge5V8FYw/fvrq/81isXBuwa9iYS1MU8tlQk1OJbnSBzaiV0mgIoY26ueO3SpT7J0zq24Og5AKtixg/tE+n+Ofs5qzabN6MQsnkiMXx/cu9rlh0repC5eSGOtAEArLPyDNT11OycwBdwqATRryTFFJimZrJRyzjeL6us5YT2T6noOHbfjUuam0XCvn9K+t9/r/9hc1cYhjDQh/3vvd+/bfJfZZZLb5soeA2ZO/9I65jVZ+foIFoUJ4oGhZL8w0SpApQ01vb7ZhZKAlQlBwoICzO00U5sXCHH0jWGFp8zPwcNBY0G9YPeqU6iQVmbsiTq6NEYtgeR7OMtcozZUZdbmnLp0ofleeE5MrkxMvuU3CjLzArPlpcRYil05OutyeF5OqlGGpgcnLI7MDl7jdFI+BNIrqlGrRMBk6PWXs0vlLo08gZFlNZPH2CiF9LNMRpMNxpfSDfRNOpUjGcaynBzc8vaOHQqM+d9SU2+NldTw2pgfZWuy9fkMGu9GyQ1AQWPp4bjLKRYyowGOE8hAJ1DAIKjAOFxeQg0DiNzp07mcXgeri/MLcua1o5PnFZSkuthUGMi79LNEwADo5Trwo1usucS7ex5tpDbCfbe0S/RaZdsdL4l2o2yrgi6nC4Gd7lawUau1/86KW42hOhDSMLgCEkjfjES4iB7rw1pZrWkBoi309rwUQuyw43hstBqiEFjVBls3RqwakrxAStmFawfWPBG/yXc0VmsqLYVcIyxbw9/8UmU0tJeHyivqj8W4rcKa8swp/Wm0vnlKlVF0SVQo7ihesPLZNmyzMxwo7wEwMXAGJ4hk2WcbFBCOvnZ7iHzqM3cKMXnx/E5vM35m/uAYBddHdvAqh/cUQdNIDb490ls9WBglXRwbfronoAtdkXEpcdFkfX/MwCyn7LYVzITroimspJPI8x3CzO9tJ7bBEd0X/YGO0dajaFkTnbJl3ML30namXY2PSBXUE4FStG96lPJwfkrDjKqGQdbgvPbUIA4EAbadqtuzDya4kgxOzCHU+0kWEPbQkGgk5SlO024kmW4QmaNvd0VWM7/60bPlwoo5Am7Up6b0Fih68w/ghxlkeXrE9E/K3f61ukrtbFtT3Zuz/2V6I8mo+7xjx6CQG2mgb4ijeRJe9lyx1e3zVd3p+UlzZO0Is1ABz/nJuf+DE6t/6mqMJzEw7W345Ky+7jtWHdUHk77j9mOe7Rj1RaffO+qFIMDAnvz5Krwm5g1279mS5jKOiywuklQxrWqn7TpMvzY8ktRD90PffkxPDRBj0+0b7+KiDNwiFH6F1VXNGljgRwBzptoAEHbafRN3bFFjlm6YzN6ZUfr1b2J3jWbWJeQULfcEQsZfYOm2VqR80dpPvV5oBENPtHPjOjtrpZ+ZOb0hRAPah54HygudaU/LS19KvVV+eF+Kh+pa+zB8A1sdb502zvi0yU73kb9933pH9znDkVC7n25fcGQIr28YP8v9/mjb4cnZX0/RwGKCzR+whyfyKggBBaLAQBgS1iAZq1VxHyH9w4AkA0c1kXI9mWBDhaJP53AF174gHPM+4ZGtPG2KCQ4VRccInmakfFL2i8lGb9IfKJ9lBSA0CkpzD5W4s6p1NuijZob3po5FFKpmBFMdw/IHYfURfcfKWw//W6N+upFcVkQkYyyuEcTJdtGkGB7TieZEEEgd2Z3BhEio7b2YGQkDKe4kHmK/LYVyH48UGDJJzNj12+t0a13q8+8A8f9jxrjMmrTVrovYEZcY92ROFaasTKspSIs3ciKO7Lpgs/p4DMhZ4JPB23eCOCxlib0EkTvQQHiyTYJkt8GnCiF12uKpFkKJEKKIIZS8xxB0/Hb/zgKk2BHixWn/2O5pLOkAm5MEtFZUFOzaq7+bp6b/RpKmhd1phRuwPQVK8D4z+4OFMj/8yELV692bYVNT/zPq5xO1/vcYxxf+MioNU8OwVpXsW52Fsgo0rRO8C1h9OzfMT23LGxQkn6vf6sjuwhxtY0UZgSSOexPv+0i9+msjNhNz4prdlZFR9gzH37kz05FL5PD9rp7yKMSLNj7EnfgVpXZbcBqw7vcsKPN+yZIHp6dFV6aOSXXBhTw5Lwmj+d9TyNQ5quY4sAsqWBw2M3zB6VZaUw789UGg9SBUG3OfvWmMgfTl3PUUk8Xs8qsyIuMzFOYxx1E2KF2H195VsZ3VMaWq9XlsZUPHUTYoXZ/uNoJA42kjpf5N4/7X272L7vcBEf6UE0fIaeNJ+Ia7UfiWOnGirCWyrA05grWMd4PC3DFutpGitID3Tm++H5gZcwDP+Qc9KXcPdj2G4qltXU+hemFmiUfLKmOrLnWvSS3ZsxO7Pzrr8+Ep02uNR6ZiHkJMBBeoiX4PmH/zn7i68meYQvG79rAiT1PaLGxyWUKpRrxagtYjb4cXs1S+n64YWZzWxJINLfIFp419cYPdtSem2un6PrOft56v8W8+u5BUMdGCEqObi2PPeYlbju5ypaNkzpJrAtLs6JC8O0pJ3DkMak2g9N26vuPFxa6AAzgdATUzvx/LqTDQGv7UIV/lyQ3kjy6nG/ul9jNbE+CST84mQQfD2LnSfu1c3NL/bAmLJJ1xNujBX6np3648fDyAmGo4VryH/X/KPL5bZMTgIE35s0zaOgb+clDrDVuJcIu0IdMhI6YkfpS2W6hnhyUQLorz/QQ7mZtLJjOoGWtoC4C83v+lC/f8UfyP0OosGD54Y0f6qnfBdLe8XZZxUjNsE+Xm9ll0jw7oocnZPaJBLcUQzP7ksH9y85hn0vHf92dMbLfbrfwI4/yOxIhcjxD3dhUX0IG+BOJuQ+UEj1LY/6Hn8QjfVxiZrNZXIWDoSjw/6r/qG6we3Jqc6s2hcxXuGR+hgoaQNKw2xPn1Hpq6+S8f3nwN2YM47iq+y88XQ6PUbLQBOVXXJeCwISqY83+bPKo22xyqcM+Dy1utSZ3DDXeQ3gv6fswB7M4hm61dLp+KgBk4MxHNUx5fUQzfN3w2aZDuDeCOYBjyv38oh21GdL4zx0YwOT88+U7lmQYCLTtlbMeo2R/9rHmqoSW6xVQvtBEHgUDeqtZQuYnZff9p+k0348t/tQn6dvff3GAdMmb32oPoc97c0+YZhxyzjDL88iDz4P/DE73rKZ4V3HCwuCg7/JjOWtkazgg3lY9eGXUOvE5MXGmwjwOE71Unlr1PyPm8MIEpl645LZYgM1WS08vDLPoyTuTN4T7+vpc8k7y+mDOpnK5mi0q8ApLK3xW0Ufdg0Cvi5jImHUM+iMgO9pDtVvvkvtqo/4PBYf3nvKdCpnyXes+L7l2NeG76vNqZCqULPJA6Klf9n/ldvnp4ClsgtXLOMHoZU3MOlB3BpnhjiofPRHmiQs+cxAdT+x1PH1A+jAA5Nfl5naG1nXAqE77U3F+2dRTb1tAZ8yr4S3deBd2SfkpOqU0TBarGeDkIYd9JTM6irfhTrdh0zD2K1LUpfa09M4d5xflk2E6fIEszajdMT7vKOM6lIE4xg8wR4yT6UBPXcOv3eWiNkB9fvMb5inmNzedfTfoez+iwXsvY+J+Qx9i1+nS3rvoIJKPfElMJe11EM8pO7q4rQvpPy23rnT8dJdMKAMX1MJjRdmHCpBftSuXMuuEtcJOoR0+GUc0k9y73MzEUKKZ6NFFMgPX9Nj9VYuwp6a4xDccWMF69rrPK2l3v+j9jh8+0lvP24Yvx2aUhJaFNXZUKRdFYWa8qL44LCckK1PFWuy+6/KynOhM//z240LJfecTWtfMO3iWZCbG+TTJo4tYrW/ObvzVzFphndAu7AQngWFloq42STl/OpCJ5BRGrB7gZ7pm0hpXpTXOuJ7MZ78Ru6D2F4iWNfttWkeqaCugImvvvvBuU/MX/fxnUHLmN/u3p8W30HUBqQHmANPwRubLQh3rAWu3ZMjGdn+z6AYeHu9x18m60I1lG9EuGfHo0SYWcrr+1f/bNQPUePz0YsrMXqIX137iDM1uky96kXrHxS8aCinbPtOkVxYkrFb0KDYo33ObZg5nhQxpym0N1vnrthfnLkp25CI/Nq42TTwK/O4vmEgiuQWWUDwE9OAM3/gQkgdC1EQzsz17TnuQi9D/2yNXz3gk5K90/MS0gP/25rW8LdiQ3zoylfEx/W0UoLTmvNaPrmbe0PxCVLqFEpVEEuymdQtwU7r5lo1yR/5+amuV6o7WjhIKgfY9L15+TerOBhQQEW7M/HdQR7LlUQ7IHmSA+HXAdeofgK3faJVzVfq2d+2bO6f6Xvp4nKycvlfxfK6tJiVEUdM297zi3nTlSQ+fl31X7Ex5xm7Thw7iqY4zP6rLKzEMEcZkF8gs8kkCBPYfdiES9vynn1C9X1r2ctbUl2djgP/aU9b5Kso/+G33F9NzxOffR90djhy+G/X9c+Lc9Av3t4P9o165qI9GRh24Y8pPrr0N+QJMh8q7Mz1N72vFbI5ZHG+zwAWMW1e7A0JtsrpKv429T5Oe/ma5elrL2+G7Xcv5vjy6P33+y3Gf7zZ9TFVMIgTUVXmk/ZH2xznhKVI9r0Cql2XKjz4L2k/Ki1VSXDDYthOeZ7vgnWAH5SnbRdm5HXax5+Ht22E6qPksamfqRx+GZ2SEy0pqSxOuZK4rPhGaSkzCHvlkXnqsnsF/NXenha3fkLqLq2mPXeRF/eK73L7uqfy9LMOay2KKlcrimLLmRmVpVKEleu9eT2gH5dyU9bnMogsK6ZKk5htLWVzCy2NIO95uKIkuC1EAombrFD9pGrE0s0wCxvfTIaqy4pj1mp1V9WL90tSljeuBOrf0fADyAIQvbD8R2ux9sPhDgp5wVyy+qycQPize4tYceqJ9YbhH2HeGnlyhVFOGbL3XV+gkNHELAoq+1aq+0CjvBBRyTYTml8GVd9zLNFIhWCVspLoDZSq4SFf/1xcwSD5xDIZevM91sb6BlgdeY0aEfTsvfMSYsE1Mlp8AfO36vt71kWYgo6su1v/mHWkBMnrM+S7uLk/4u59mL8KAeYnn5IT7uQM/q+H1HHPfcME6txpw8TDy9+zy85+DdV8Uzuxh/fcQvIggopFkD2e0ekMHefUfzA0W8aBUqor+o2Or+vCT0zMGeXKIxTvfO4tUQE72zvP7f6d7HhVSlk4RtwWvcFgyZs8WcAU1H2eDtLRlku3kbqUhvyottzt0K/n/qbSS8H69FkC3ianklQZRz/k3Nw0tpNK9FWkXH26+oN7q/UNFyjHp9bW3ZJnRd/8RLH/2VXL+rbLLWUnsDP9SXpViazmRbhRWEB4cFUyv/rHTyjiRC4a3ALqODn//IYAgoXdAW5a7m8ctnxkvSMjn0vJ/9Zrxue01L2Ct5S7c8zUI+JFRJFhIyg8fXxa0yLYMxH6gdXu5vq39qk+eb+7pbN8c1q0UTX/PO/1of1LK6+wASw7f1cdd7Le4obVxdDGnlZeXxzv9m55i25KZXGEYazY//IfGoBzbMhB3Xuv2stPaftU7zyf3dI5vNuuRRtPvx0S7+qK91yV84K39AlTfubeJ3lJwak+ZdlZEVgo+r0o2kMZRHVt3LU27qhtA/bQL3Hzr+EGoV4CPFOSe2WXwQ4VWP+zn7z/LcXr8iz2YrBUjsBC4ZIDbKojqAVkQ0f/qMuYgcZ2qTd3S8ZQNbq04HDkoK3ttBmunxxIOxqA3NmQCdDxMl3XiewzYDDAJXJxpU2Hb5LG9Y/xcfjzQJiemoxjhR7W9H5AP3RzFuToEloRyXWTfO0hDZpU+SxtfuEM/2HQOGDnUiMObiMi1CuYk6pshGKB+AIDaALKX0q7WejYPuWT4mMHyLgvrVp9X86M9zE3ap/drZ6sotijVXGiVBe7j71VfHL31PWJdWmIYI01nexVIruprkyeEKbihjgrEb4t62ZEAuMCxzPTXW3AQ4ilXAneNufVYHxEYkYRiPDJwXy9hSXspvLMPuMkp3EBgIIQlXgKaktwItojAFknYjkcGvteLxfyPIjAdEy2bGhU6NrPtXE2g0tI9G1RZrFWt9DsAXRsIkUCcPAtAp4ppG86VtppRC4/+GYB8Neos0azi25J/o+xzCJ4rMmtRQ7R9xuR+AQW5SABx9ocU8khxMLBV4Yl+tf2ndXWiRGrtebaWbdGWQr0CmNpsdfHMNlobL1rV+0IOIHJf2d5ZF9XRUZsZPf4NHuDJ5v9UcS8A9fqn28SKsK+qVabccK8lY6t6bWtkfvkIUOSbeE34N/EflpA0MQncdEXVdMO0bMf1fJhYvPnwxYZA+fHHwcUTgE9ASERMQipQkGAhQoWRCScXIZJCFCWVaDHUMLhYceIlSJQkGQAEgSFQGByBRKEx2DQgPIFIIlOoNDqDyWJzuDy+QCgSS6QyuUKpUmu0Or3BaDJbrDa7w+lye7w+PzAECoMjkCg0BovDE4gkcp4CFCqNzmCy2BxuaH6+QCgSS6QyuUKpUmu0Or3BGJEPzBarze5wutwer4+vnz8IwQiK4QRJMZgsNofL4wuEIloskcrkCqVKrdHq9AajyWyx2uwOp8vt8fow4DlVWKP5e+p9r6w68tg/CttZm/7edeCEFuPTFHfUkD9C0veMR/kTyTr3T2lm4si9s3epK2ZamjqKCKfkgdwQ0UMPoUp/uIcFNYUGNYP4eVrnftw/jZtAuxwqO+MPzetUIMBHObaWa5NQSGVgtJzfNgZJ1ACX1CAz1Prvn5E4Pm69IoeKfmVRbWwb6Z8iXUsVgx1Zho9uF3RTQJmn6LxLWMcrD7wHRx8NFWN0l/zfVnRDSIylzwT25KZotSzK8b8rnyikJqdqRPcpi7pOzEfzCu06CVSFm/EnQkqNnqKd+bJEYiv5Ih2Y9ubWHq9pFL+WiuJCkZXHmgRMvVBE7RfV+eDs2MjfJxiDtfITChJCFd1W0QrF02NiqCwLTfEv8/eiFbwcOS7qqTK5qMpK6Toaak2kVWeP2hhRsd4Yy5AfYciW+NYxQW/E4TMDf79Eso0hpZ6647aMRX5qIWQAWSkS2Woy1oafKtwAumqAlXWWZFWSCAQ6a/GE9dXoLMchfLBq+W79v3/0XpswYE2L4QxddbkJlf5aLs3JfdzcQzo929tnvr3SBhGNznK0LhGBxngbCbMKsWCezAqWdebaDiQXlEwGMW0AeiVDaKWaTwJqlzitZQ93A/FWwc0ycvs/NbBsfjgJaUzAxgq+FtfySWS/EoZePAhctE0O/RoTlE+Hq/Kb/XVmDKwB+tVgCrjYZPhybGjKhboYfhEBCwfczgfHR9nFcEegAuAyRg+G3auxy8m2DiorU9dFqA2xVli4G+jVGpNm0RGRMYuxUnm//5XbUU00dKMV1Z8IBJtMMSmzGG5NYrSMmNlHphCMuOVvVBzlbE2HEtG5ZssYHX42RzF4DfhE6Em0tQ6FjjV0QgwMyZl8H93xGZM7dOvDukrP8XcxlMTa4sXjv3xrdG4jIjrzamsStXXzo7AxG2pxw6JVJR/fUNzWHC83l4BsK1Km5pJKVOfKxSFoIJ1rdJYXjNf+WBzwxjFMYeEm6eEKTWs8FHINBICN5HgLFYO0ugYZCO9aOD/S0tE7OstrZ0Bu1x2d2b2DIaOKZlTKBHkcdxNGiG8/yQFv1LTbg4ycTzTau1d9yh+vQPo2LgmUb2Tu0Fhf2Y1AvMXlwK7HXC6PrbRrZcakxcw2vs94+X7G+ozVLv4Kh+yH3k6uzsTfGTngMXhlC/aEuP5lj+JlcqD0Fix3hMvXf7npdjO3NBSoQB5vY4bS9hs3Zi5Qm9BFA+ViFCJtasdvvcdck1bwDhkPxgrYYLmzAEHOJOAxJQAAAA==) format("woff2"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.woff?t=1649083952952) format("woff"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.ttf?t=1649083952952) format("truetype")}.van-icon__image{display:block;width:1em;height:1em;-o-object-fit:contain;object-fit:contain}:root{--van-skeleton-paragraph-height: .42667rem;--van-skeleton-paragraph-background: var(--van-active-color);--van-skeleton-paragraph-margin-top: var(--van-padding-sm);--van-skeleton-title-width: 40%;--van-skeleton-avatar-size: .85333rem;--van-skeleton-avatar-background: var(--van-active-color);--van-skeleton-image-size: 2.56rem;--van-skeleton-image-radius: .64rem;--van-skeleton-duration: 1.2s}.van-skeleton{display:flex;padding:0 var(--van-padding-md)}.van-skeleton-avatar{flex-shrink:0;width:var(--van-skeleton-avatar-size);height:var(--van-skeleton-avatar-size);margin-right:var(--van-padding-md);background:var(--van-skeleton-avatar-background)}.van-skeleton-avatar--round{border-radius:var(--van-radius-max)}.van-skeleton__content{width:100%}.van-skeleton-avatar+.van-skeleton__content{padding-top:var(--van-padding-xs)}.van-skeleton-paragraph,.van-skeleton-title{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-paragraph--round,.van-skeleton-title--round{border-radius:var(--van-radius-max)}.van-skeleton-title{width:var(--van-skeleton-title-width);margin:0}.van-skeleton-paragraph:not(:first-child){margin-top:var(--van-skeleton-paragraph-margin-top)}.van-skeleton-title+.van-skeleton-paragraph{margin-top:.53333rem}.van-skeleton--animate{animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}.van-skeleton-image{display:flex;width:var(--van-skeleton-image-size);height:var(--van-skeleton-image-size);align-items:center;justify-content:center;background:var(--van-active-color)}.van-skeleton-image--round{border-radius:var(--van-skeleton-image-radius)}.van-skeleton-image__icon{width:calc(var(--van-skeleton-image-size) / 2);height:calc(var(--van-skeleton-image-size) / 2);font-size:calc(var(--van-skeleton-image-size) / 2);color:var(--van-gray-5)}@keyframes van-skeleton-blink{50%{opacity:.6}}:root{--van-rate-icon-size: .53333rem;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}:root{--van-notice-bar-height: 1.06667rem;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: .64rem;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: .42667rem;--van-notice-bar-icon-min-width: .64rem}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}:root{--van-nav-bar-height: 1.22667rem;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: .42667rem;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}:root{--van-image-placeholder-text-color: var(--van-text-color-2);--van-image-placeholder-font-size: var(--van-font-size-md);--van-image-placeholder-background: var(--van-background);--van-image-loading-icon-size: .85333rem;--van-image-loading-icon-color: var(--van-gray-4);--van-image-error-icon-size: .85333rem;--van-image-error-icon-color: var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image--block{display:block}.van-image__img,.van-image__error,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background:var(--van-image-placeholder-background)}.van-image__loading-icon{color:var(--van-image-loading-icon-color);font-size:var(--van-image-loading-icon-size)}.van-image__error-icon{color:var(--van-image-error-icon-color);font-size:var(--van-image-error-icon-size)}:root{--van-back-top-size: 1.06667rem;--van-back-top-right: .8rem;--van-back-top-bottom: 1.06667rem;--van-back-top-icon-size: .53333rem;--van-back-top-text-color: #fff;--van-back-top-background: var(--van-blue)}.van-back-top{position:fixed;display:flex;align-items:center;justify-content:center;width:var(--van-back-top-size);height:var(--van-back-top-size);right:var(--van-back-top-right);bottom:var(--van-back-top-bottom);cursor:pointer;color:var(--van-back-top-text-color);border-radius:var(--van-radius-max);box-shadow:0 .05333rem .21333rem rgba(0,0,0,.12);transform:scale(0);transition:var(--van-duration-base) cubic-bezier(.25,.8,.5,1);background-color:var(--van-back-top-background)}.van-back-top:active{opacity:var(--van-active-opacity)}.van-back-top--active{transform:scale(1)}.van-back-top__icon{font-size:var(--van-back-top-icon-size);font-weight:var(--van-font-bold)}:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: .05333rem;--van-tag-line-height: .42667rem;--van-tag-medium-padding: .05333rem .16rem;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:.02667rem solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:.05333rem;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:.05333rem}:root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 2.34667rem;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: .42667rem;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:.85333rem;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:.13333rem;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:.05333rem;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:.13333rem}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: .64rem;--van-cell-vertical-padding: .26667rem;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: .42667rem;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}:root{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 1.06667rem;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:.13333rem;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:.05333rem;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:2.13333rem;content:""}:root{--van-collapse-item-duration: var(--van-duration-base);--van-collapse-item-content-padding: var(--van-padding-sm) var(--van-padding-md);--van-collapse-item-content-font-size: var(--van-font-size-md);--van-collapse-item-content-line-height: 1.5;--van-collapse-item-content-text-color: var(--van-text-color-2);--van-collapse-item-content-background: var(--van-background-2);--van-collapse-item-title-disabled-color: var(--van-text-color-3)}.van-collapse-item{position:relative}.van-collapse-item--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:var(--van-padding-md);left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon:before{transform:rotate(90deg) translateZ(0);transition:transform var(--van-collapse-item-duration)}.van-collapse-item__title:after{right:var(--van-padding-md);display:none}.van-collapse-item__title--expanded .van-cell__right-icon:before{transform:rotate(-90deg)}.van-collapse-item__title--expanded:after{display:block}.van-collapse-item__title--borderless:after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--van-collapse-item-title-disabled-color)}.van-collapse-item__wrapper{overflow:hidden;transition:height var(--van-collapse-item-duration) ease-in-out;will-change:height}.van-collapse-item__content{padding:var(--van-collapse-item-content-padding);color:var(--van-collapse-item-content-text-color);font-size:var(--van-collapse-item-content-font-size);line-height:var(--van-collapse-item-content-line-height);background:var(--van-collapse-item-content-background)}:root{--van-field-label-width: 6.2em;--van-field-label-color: var(--van-text-color);--van-field-label-margin-right: var(--van-padding-sm);--van-field-input-text-color: var(--van-text-color);--van-field-input-error-text-color: var(--van-danger-color);--van-field-input-disabled-text-color: var(--van-text-color-3);--van-field-placeholder-text-color: var(--van-text-color-3);--van-field-icon-size: .42667rem;--van-field-clear-icon-size: .42667rem;--van-field-clear-icon-color: var(--van-gray-5);--van-field-right-icon-color: var(--van-gray-6);--van-field-error-message-color: var(--van-danger-color);--van-field-error-message-font-size: .32rem;--van-field-text-area-min-height: 1.6rem;--van-field-word-limit-color: var(--van-gray-7);--van-field-word-limit-font-size: var(--van-font-size-sm);--van-field-word-limit-line-height: .42667rem;--van-field-disabled-text-color: var(--van-text-color-3);--van-field-required-mark-color: var(--van-red)}.van-field{flex-wrap:wrap}.van-field__label{flex:none;box-sizing:border-box;width:var(--van-field-label-width);margin-right:var(--van-field-label-margin-right);color:var(--van-field-label-color);text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field__label--top{display:flex;width:100%;text-align:left;margin-bottom:var(--van-padding-base)}.van-field__label--required:before{margin-right:.05333rem;color:var(--van-field-required-mark-color);content:"*"}.van-field--disabled .van-field__label{color:var(--van-field-disabled-text-color)}.van-field__value{overflow:visible}.van-field__body{display:flex;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--van-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.van-field__control::-moz-placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control::placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control:disabled{color:var(--van-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--van-field-input-disabled-text-color)}.van-field__control:-moz-read-only{cursor:default}.van-field__control:read-only{cursor:default}.van-field__control--center{justify-content:center;text-align:center}.van-field__control--right{justify-content:flex-end;text-align:right}.van-field__control--custom{display:flex;align-items:center;min-height:var(--van-cell-line-height)}.van-field__control--error::-moz-placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--error,.van-field__control--error::placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--min-height{min-height:var(--van-field-text-area-min-height)}.van-field__control[type=date],.van-field__control[type=time],.van-field__control[type=datetime-local]{min-height:var(--van-cell-line-height)}.van-field__control[type=search]{-webkit-appearance:none}.van-field__clear,.van-field__icon,.van-field__button,.van-field__right-icon{flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:calc(var(--van-padding-xs) * -1);padding:0 var(--van-padding-xs);line-height:inherit}.van-field__clear{color:var(--van-field-clear-icon-color);font-size:var(--van-field-clear-icon-size);cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:var(--van-field-icon-size);line-height:inherit}.van-field__left-icon{margin-right:var(--van-padding-base)}.van-field__right-icon{color:var(--van-field-right-icon-color)}.van-field__button{padding-left:var(--van-padding-xs)}.van-field__error-message{color:var(--van-field-error-message-color);font-size:var(--van-field-error-message-font-size);text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:var(--van-padding-base);color:var(--van-field-word-limit-color);font-size:var(--van-field-word-limit-font-size);line-height:var(--van-field-word-limit-line-height);text-align:right}:root{--van-search-padding: .26667rem var(--van-padding-sm);--van-search-background: var(--van-background-2);--van-search-content-background: var(--van-background);--van-search-input-height: .90667rem;--van-search-label-padding: 0 .13333rem;--van-search-label-color: var(--van-text-color);--van-search-label-font-size: var(--van-font-size-md);--van-search-left-icon-color: var(--van-gray-6);--van-search-action-padding: 0 var(--van-padding-xs);--van-search-action-text-color: var(--van-text-color);--van-search-action-font-size: var(--van-font-size-md)}.van-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--van-search-padding);background:var(--van-search-background)}.van-search__content{display:flex;flex:1;padding-left:var(--van-padding-sm);background:var(--van-search-content-background);border-radius:var(--van-radius-sm)}.van-search__content--round{border-radius:var(--van-radius-max)}.van-search__label{padding:var(--van-search-label-padding);color:var(--van-search-label-color);font-size:var(--van-search-label-font-size);line-height:var(--van-search-input-height)}.van-search__field{flex:1;align-items:center;padding:0 var(--van-padding-xs) 0 0;height:var(--van-search-input-height);background-color:transparent}.van-search__field .van-field__left-icon{color:var(--van-search-left-icon-color)}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:var(--van-search-action-padding);color:var(--van-search-action-text-color);font-size:var(--van-search-action-font-size);line-height:var(--van-search-input-height);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-search__action:active{background-color:var(--van-active-color)}:root{--van-action-bar-icon-width: 1.28rem;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: .48rem;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}:root{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: .8rem;--van-loading-spinner-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:.05333rem;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}:root{--van-pull-refresh-head-height: 1.33333rem;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: .42667rem}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}:root{--van-number-keyboard-background: var(--van-gray-2);--van-number-keyboard-key-height: 1.28rem;--van-number-keyboard-key-font-size: .74667rem;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background: var(--van-background-2);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: .90667rem;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-theme-dark{--van-number-keyboard-background: var(--van-gray-8);--van-number-keyboard-key-background: var(--van-gray-7);--van-number-keyboard-key-active-color: var(--van-gray-6)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:.58667rem;background:var(--van-number-keyboard-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:.53333rem .53333rem 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:.16rem;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:.16rem 0 0 .16rem}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background);border-radius:var(--van-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:.16rem;bottom:.16rem;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 .16rem .16rem 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:.85333rem;height:.58667rem}.van-key__collapse-icon{width:.8rem;height:.64rem}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}:root{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 1.33333rem;--van-list-loading-icon-size: .42667rem}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}:root{--van-switch-size: .69333rem;--van-switch-width:calc(1.8em + .10667rem);--van-switch-height:calc(1em + .10667rem);--van-switch-node-size: 1em;--van-switch-node-background: var(--van-white);--van-switch-node-shadow: 0 .08rem .02667rem 0 rgba(0, 0, 0, .05);--van-switch-background: rgba(120, 120, 128, .16);--van-switch-on-background: var(--van-primary-color);--van-switch-duration: var(--van-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity)}.van-theme-dark{--van-switch-background: rgba(120, 120, 128, .32)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-duration)}.van-switch__node{position:absolute;top:.05333rem;left:.05333rem;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background);border-radius:100%;box-shadow:var(--van-switch-node-shadow);transition:transform var(--van-switch-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size) - .10667rem))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}:root{--van-button-mini-height: .64rem;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: .85333rem;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 .4rem;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 1.33333rem;--van-button-default-height: 1.17333rem;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: .53333rem}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}:root{--van-submit-bar-height: 1.33333rem;--van-submit-bar-z-index: 100;--van-submit-bar-background: var(--van-background-2);--van-submit-bar-button-width: 2.93333rem;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: .53333rem;--van-submit-bar-price-font: var(--van-price-font);--van-submit-bar-currency-font-size: var(--van-font-size-md);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background: var(--van-orange-light);--van-submit-bar-tip-icon-size: .32rem;--van-submit-bar-button-height: 1.06667rem;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-bold);font-size:var(--van-submit-bar-price-font-size);margin-left:var(--van-padding-base)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}:root{--van-contact-edit-padding: var(--van-padding-md);--van-contact-edit-fields-radius: var(--van-radius-md);--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;--van-contact-edit-button-margin-bottom: var(--van-padding-sm);--van-contact-edit-button-font-size: var(--van-font-size-lg);--van-contact-edit-field-label-width: 4.1em}.van-contact-edit{padding:var(--van-contact-edit-padding)}.van-contact-edit__fields{overflow:hidden;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__fields .van-field__label{width:var(--van-contact-edit-field-label-width)}.van-contact-edit__switch-cell{margin-top:.26667rem;padding-top:.24rem;padding-bottom:.24rem;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__buttons{padding:var(--van-contact-edit-buttons-padding)}.van-contact-edit__button{margin-bottom:var(--van-contact-edit-button-margin-bottom);font-size:var(--van-contact-edit-button-font-size)}:root{--van-action-bar-button-height: 1.06667rem;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:.13333rem;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:.13333rem;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:.34667rem}}:root{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}:root{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: .42667rem;--van-popup-close-icon-size: .58667rem;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: .42667rem;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-moz-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: .42667rem;--van-share-sheet-icon-size: 1.28rem;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 1.28rem;--van-share-sheet-cancel-button-background: var(--van-background-2)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:.69333rem}.van-share-sheet__icon--weapp-qrcode{font-size:.74667rem}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:.8rem;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}:root{--van-popover-arrow-size: .16rem;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 3.41333rem;--van-popover-action-height: 1.17333rem;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: .53333rem;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 .05333rem .32rem rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background: var(--van-primary-color);--van-notify-success-background: var(--van-success-color);--van-notify-danger-background: var(--van-danger-color);--van-notify-warning-background: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background)}.van-notify--success{background:var(--van-notify-success-background)}.van-notify--danger{background:var(--van-notify-danger-background)}.van-notify--warning{background:var(--van-notify-warning-background)}:root{--van-dialog-width: 8.53333rem;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: .42667rem;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: .64rem;--van-dialog-header-padding-top: .69333rem;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 1.28rem;--van-dialog-round-button-height: .96rem;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:2.77333rem}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:.69333rem var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}:root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: .96rem;--van-toast-text-min-width: 2.56rem;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 2.34667rem;--van-toast-default-min-height: 2.34667rem;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;word-break:break-all;text-align:center;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--break-normal{word-break:normal;word-wrap:normal}.van-toast--break-word{word-break:normal;word-wrap:break-word}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-moz-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 1.28rem;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: .58667rem;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: .58667rem}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:.37333rem var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:.53333rem var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}:root{--van-swipe-indicator-size: .16rem;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 .02667rem .02667rem var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: .58667rem;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image,.van-image-preview__image-wrap{width:100%;transition-property:transform}.van-image-preview__image--vertical,.van-image-preview__image-wrap--vertical{width:auto;height:100%}.van-image-preview__image img,.van-image-preview__image-wrap img,.van-image-preview__image video,.van-image-preview__image-wrap video{-webkit-user-drag:none}.van-image-preview__image .van-image__error,.van-image-preview__image-wrap .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon,.van-image-preview__image-wrap .van-image__error-icon{font-size:.96rem}.van-image-preview__image .van-image__loading,.van-image-preview__image-wrap .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}:root{--van-uploader-size: 2.13333rem;--van-uploader-icon-size: .64rem;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: .37333rem;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: .53333rem;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: .58667rem;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: .58667rem;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 .32rem}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:.16rem;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 1.17333rem;--van-tabs-card-height: .8rem;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 1.06667rem;--van-tabs-bottom-bar-height: .08rem;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:.4rem}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:.4rem;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-cascader-header-height: 1.28rem;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: .53333rem;--van-cascader-close-icon-size: .58667rem;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: .48rem;--van-cascader-tabs-height: 1.28rem;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 10.24rem;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:.26667rem var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:.16rem;overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 1.17333rem;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:.42667rem}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 .05333rem .26667rem rgba(125, 126, 128, .16);--van-calendar-header-title-height: 1.17333rem;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: .8rem;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 4.26667rem;--van-calendar-day-height: 1.70667rem;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: .10667rem;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 1.44rem;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: .96rem;--van-calendar-confirm-button-margin: .18667rem 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:.29333rem}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:.24rem}}.van-calendar__top-info{top:.16rem}.van-calendar__bottom-info{bottom:.16rem}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}.van-radio-group--horizontal,.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}:root{--van-checkbox-size: .53333rem;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 2.24rem;--van-coupon-content-padding: .37333rem 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 .10667rem rgba(0, 0, 0, .1);--van-coupon-head-width: 2.56rem;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: .8rem;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:.16rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:.05333rem}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:.42667rem;white-space:pre-wrap}.van-coupon__body{position:relative;flex:1}.van-coupon__name{margin-bottom:.26667rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:.02667rem dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - .26667rem)}.van-coupon--disabled .van-coupon__head{color:inherit}:root{--van-radio-size: .53333rem;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}:root{--van-contact-list-edit-icon-size: .42667rem;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:2.13333rem}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:1.06667rem;margin:.13333rem 0}:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 2.13333rem;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: .34667rem;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: .53333rem}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:1.06667rem;margin:.13333rem 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:1.17333rem}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: .42667rem;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-circle-size: 2.66667rem;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}.van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:.02667rem}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 4.26667rem;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 1.6rem;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: .64rem}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: .13333rem 0 .13333rem var(--van-padding-md);--van-coupon-list-exchange-button-height: .85333rem;--van-coupon-list-close-button-height: 1.06667rem;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:.90667rem;padding-left:var(--van-padding-sm);line-height:.90667rem;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-moz-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - .05333rem);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 .16rem .32rem -.32rem var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:1.33333rem}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:.13333rem var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: .64rem;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:.02667rem;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}:root{--van-dropdown-menu-height: 1.28rem;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 .05333rem .32rem rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: .4rem;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-.10667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-.02667rem;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}.van-grid{display:flex;flex-wrap:wrap}:root{--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background: var(--van-background-2);--van-grid-item-content-active-color: var(--van-active-color);--van-grid-item-icon-size: .74667rem;--van-grid-item-text-color: var(--van-text-color);--van-grid-item-text-font-size: var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background)}.van-grid-item__content:after{z-index:1;border-width:0 var(--van-border-width) var(--van-border-width) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround:after{border-width:var(--van-border-width)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: .85333rem;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}:root{--van-pagination-height: 1.06667rem;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: .96rem;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background: var(--van-background);--van-pagination-background: var(--van-background-2);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:after{border-width:var(--van-border-width)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}:root{--van-password-input-height: 1.33333rem;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: .53333rem;--van-password-input-radius: .16rem;--van-password-input-background: var(--van-background-2);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: .26667rem;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: .02667rem;--van-password-input-cursor-height: 40%;--van-password-input-cursor-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}:root{--van-progress-height: .10667rem;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 .13333rem;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}:root{--van-sidebar-width: 2.13333rem}.van-sidebar{width:var(--van-sidebar-width);overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-sidebar-font-size: var(--van-font-size-md);--van-sidebar-line-height: var(--van-line-height-md);--van-sidebar-text-color: var(--van-text-color);--van-sidebar-disabled-text-color: var(--van-text-color-3);--van-sidebar-padding: .53333rem var(--van-padding-sm);--van-sidebar-active-color: var(--van-active-color);--van-sidebar-background: var(--van-background);--van-sidebar-selected-font-weight: var(--van-font-bold);--van-sidebar-selected-text-color: var(--van-text-color);--van-sidebar-selected-border-width: .10667rem;--van-sidebar-selected-border-height: .42667rem;--van-sidebar-selected-border-color: var(--van-primary-color);--van-sidebar-selected-background: var(--van-background-2)}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:var(--van-sidebar-padding);overflow:hidden;color:var(--van-sidebar-text-color);font-size:var(--van-sidebar-font-size);line-height:var(--van-sidebar-line-height);background:var(--van-sidebar-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-sidebar-item:active{background-color:var(--van-sidebar-active-color)}.van-sidebar-item:not(:last-child):after{border-bottom-width:.02667rem}.van-sidebar-item__text{word-break:break-all}.van-sidebar-item--select{color:var(--van-sidebar-selected-text-color);font-weight:var(--van-sidebar-selected-font-weight)}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:var(--van-sidebar-selected-background)}.van-sidebar-item--select:before{position:absolute;top:50%;left:0;width:var(--van-sidebar-selected-border-width);height:var(--van-sidebar-selected-border-height);background-color:var(--van-sidebar-selected-border-color);transform:translateY(-50%);content:""}.van-sidebar-item--disabled{color:var(--van-sidebar-disabled-text-color);cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:var(--van-sidebar-background)}:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: .37333rem var(--van-padding-sm);--van-tree-select-item-height: 1.28rem;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: .42667rem}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 .85333rem 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}:root{--van-slider-active-background: var(--van-primary-color);--van-slider-inactive-background: var(--van-gray-3);--van-slider-disabled-opacity: var(--van-disabled-opacity);--van-slider-bar-height: .05333rem;--van-slider-button-width: .64rem;--van-slider-button-height: .64rem;--van-slider-button-radius: 50%;--van-slider-button-background: var(--van-white);--van-slider-button-shadow: 0 .02667rem .05333rem rgba(0, 0, 0, .5)}.van-theme-dark{--van-slider-inactive-background: var(--van-background-3)}.van-slider{position:relative;width:100%;height:var(--van-slider-bar-height);background:var(--van-slider-inactive-background);border-radius:var(--van-radius-max);cursor:pointer}.van-slider:before{position:absolute;top:calc(var(--van-padding-xs) * -1);right:0;bottom:calc(var(--van-padding-xs) * -1);left:0;content:""}.van-slider__bar{position:absolute;width:100%;height:100%;background:var(--van-slider-active-background);border-radius:inherit;transition:all var(--van-duration-fast)}.van-slider__button{width:var(--van-slider-button-width);height:var(--van-slider-button-height);background:var(--van-slider-button-background);border-radius:var(--van-slider-button-radius);box-shadow:var(--van-slider-button-shadow)}.van-slider__button-wrapper{position:absolute;cursor:grab;top:50%}.van-slider__button-wrapper--right{right:0;transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper--left{left:0;transform:translate3d(-50%,-50%,0)}.van-slider--disabled{cursor:not-allowed;opacity:var(--van-slider-disabled-opacity)}.van-slider--disabled .van-slider__button-wrapper{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:var(--van-slider-bar-height);height:100%}.van-slider--vertical .van-slider__button-wrapper--right{top:auto;right:50%;bottom:0;transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper--left{top:0;right:50%;left:auto;transform:translate3d(50%,-50%,0)}.van-slider--vertical:before{top:0;right:calc(var(--van-padding-xs) * -1);bottom:0;left:calc(var(--van-padding-xs) * -1)}.van-space{display:inline-flex}.van-space--horizontal .van-space-item{display:flex;align-items:center}.van-space--vertical{flex-direction:column}.van-space--align-baseline{align-items:baseline}.van-space--align-start{align-items:flex-start}.van-space--align-end{align-items:flex-end}.van-space--align-center{align-items:center}.van-space--wrap{flex-wrap:wrap}.van-space--fill{display:flex}:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:.26667rem .26667rem 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 .26667rem;padding-bottom:.58667rem}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}:root{--van-step-text-color: var(--van-text-color-2);--van-step-active-color: var(--van-primary-color);--van-step-process-text-color: var(--van-text-color);--van-step-font-size: var(--van-font-size-md);--van-step-line-color: var(--van-border-color);--van-step-finish-line-color: var(--van-primary-color);--van-step-finish-text-color: var(--van-text-color);--van-step-icon-size: .32rem;--van-step-circle-size: .13333rem;--van-step-circle-color: var(--van-gray-6);--van-step-horizontal-title-font-size: var(--van-font-size-sm)}.van-step{position:relative;flex:1;color:var(--van-step-text-color);font-size:var(--van-step-font-size)}.van-step__circle{display:block;width:var(--van-step-circle-size);height:var(--van-step-circle-size);background-color:var(--van-step-circle-color);border-radius:50%}.van-step__line{position:absolute;background-color:var(--van-step-line-color);transition:background-color var(--van-duration-base)}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child{position:absolute;right:.02667rem;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-.24rem;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:.8rem;left:calc(var(--van-padding-xs) * -1);z-index:1;padding:0 var(--van-padding-xs);background-color:var(--van-background-2);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:.08rem;font-size:var(--van-step-horizontal-title-font-size);transform:translate(-50%)}.van-step--horizontal .van-step__line{top:.8rem;left:0;width:100%;height:.02667rem}.van-step--horizontal .van-step__icon{display:block;font-size:var(--van-step-icon-size)}.van-step--horizontal .van-step--process{color:var(--van-step-process-text-color)}.van-step--vertical{display:block;float:none;padding:.26667rem .26667rem .26667rem 0;line-height:var(--van-line-height-sm)}.van-step--vertical:not(:last-child):after{border-bottom-width:.02667rem}.van-step--vertical .van-step__circle-container{position:absolute;top:.50667rem;left:-.4rem;z-index:1;font-size:var(--van-step-icon-size);line-height:1;transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:.42667rem;left:-.4rem;width:.02667rem;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:var(--van-step-finish-text-color)}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:var(--van-step-finish-line-color)}.van-step__icon,.van-step__title{transition:color var(--van-duration-base)}.van-step__icon--active,.van-step__title--active,.van-step__icon--finish,.van-step__title--finish{color:var(--van-step-active-color)}:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: .85333rem;--van-stepper-input-height: .74667rem;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:.02667rem}.van-stepper__minus:after,.van-stepper__plus:after{width:.02667rem;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 .05333rem;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:.02667rem 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:-moz-read-only{cursor:default}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:.02667rem solid var(--van-stepper-button-round-theme-color)}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}:root{--van-tabbar-height: 1.33333rem;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: .58667rem;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:.53333rem}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:.02667rem dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05333rem}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:0 auto}@font-face{font-family:iconfont;src:url(data:font/woff2;base64,d09GMgABAAAAAAQEAAsAAAAACMAAAAO1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDKgqERINyATYCJAMUCwwABCAFhGcHWhueB8gekiRFggQUiKBKgSFABNXavz0L95kcQqIIHZGKIjAGwUZYAhXlU5GsItT735yq1CkAqx0Bnkqs2l+KY5ysATCcAOi4l2oQ+eNe1cxp33PPIpwL4lwDg8FYLhqggO3VtUEK3itQRbGL7K5ALPI5Ap02deZ3qPfAPBRxiwgTpXAze4OkNm6pjKAgwaw0sEO7roFuLVOueSrpcboFeRn8fPzTPIJIamaecuJKLwWdex/38as0rjWO/J3XI+DpCRUZqyuzxo1m9yVSlF4l6axKum2D6Oh2iZ/x7xM/fvX5CCFOuitnu07rHx5ZERLRMNXdBL8vU/gZ53DJ/IwXV2kSMZfg91ezRLF1difa8Qm/EX5WnU+7KMVETFhTq4BFjDv7+LGNzCx8+hQZX/DkCTIj79GjjzKqFh3ascMl3X679XA8Wbx83LKRETNexcPimYls6YqRW9fuqV2wZEeCw5mxLS5vUdGq1fH5i5dHhcu3H04sXDoz8yc3H92bUrBkZWJeyIw343eGhj59PW5bP15sWuYby7NQUbt09uzS2hV17tkCXxAL0v3rVNyr+K6356QcfuZeWLQ3OuyFZymHrv7DX1DLO3nzIq8+6TuKJQztM2rGVd32341MP+j8fN8u056NPZ99fqz3mU5e/fxr8zz75u5tK2Zk1PueefZg9Icn9uWMy+4jS05Obl33e+OZ278cnhXNsmj0rCiaxVCXk3cjw79eHASl4y3SoPsk12LayT18Te4G+p9c3LrgyJi5HGNnCjwRTgyDtEzjuHL4GyFf9stDqHW01JGcAB30GheCW//Vrozs+C8otIAfM+7fQ+L+2DriHykBi3978Hzp6TO7uRc0ISkqKKpFiuaQIzbY1S6ttyb5wbI/nWfQ83G0Q2C1v64dSiBpMwVZu2l0wS9D1WUrNNrthk4reu3uMsQmidKBeRMRhH7bIen1DbJ+V9EF/xSqUR+g0e8/dDoX4cd1mQ+5BwciQMHVw7EqWya1dSIYNgfYYJ3wskQBcEfFMdyscdN8rg+YwIdY4QxhzYWgmHLLwL25m4GuW9jmlhdk0dgjhN2+SRNa9SWNZctAPXCAEIACqzYcppJZTNTrLLK/LwdgBtMRHIgucHIOFZHhsWYaawpA91GboLYrGe0YgmlOECidRXEWA9ZbcwLdSlswu3qSF5AJjXl6JG3tNSGdKFTdeH6t8YAHoJP5lTVS5ChRo9FcUIk5YnCITDiIRoo11Ax1BOGVRBbqEAhLWhWgZLAuEAIAAAA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAWUAAsAAAAACMAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8KUvXY21hcAAAAYgAAABpAAABquvouiNnbHlmAAAB9AAAAYQAAAJEpOj6BGhlYWQAAAN4AAAAMQAAADYgWucGaGhlYQAAA6wAAAAeAAAAJAgFA8lobXR4AAADzAAAABQAAAAUFIj//2xvY2EAAAPgAAAADAAAAAwBDgGIbWF4cAAAA+wAAAAfAAAAIAESAEhuYW1lAAAEDAAAAUAAAAJnEKM8sHBvc3QAAAVMAAAARgAAAFqzdzoJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGGRZpzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnom8eMPc8L+BgYH5DgOQZGBEUcQEAIl0DX14nO2QwQ2AIBAE9wCNIT4lNGEBPi3Gl4UTHvSAe4d24ZIhtwv3WQATAE92EgC5IVBdTMVyj2h5wEG/8DigpJJr653T9k0m4XvUDe4FOv6VGb9Wu8/XBe1toO2XNLA8D7T92gZwD3aKF6YAAAB4nKXOMUvDQBgG4Psu8XJJekmuxFy0aTSpJLVKhVLTQahrBceOhU6CqIPiLCiOlvo7XHRS/4W6iT/ATZAOjrZeFEEcdfg+3uF94UHKZDI5VkE5QQjNoCWEIHJFCMJrtNrQypppHdIk1izQCAML6rDKm23wxFQILsFojKrpsNd/6PeGafVHxHfjZysKOQ8jC0rMtuF4+3fnM57f6MDLHHZ42QH9mgbzAQJpQcoW7iIz98REgORAliid932b6bCheRQ6OsNd3xyfUgpHpi8nGKHJrZoqh2gFrcllG5IVKc4vJrbUy8PeHIQykBCvQ9aYA68tC0nW0ipx0szWoOG5RHU5DvyR5ZM9Wo7LdFcT9sgpGZRdGjqu4UIQ248sZI/e8oy6qOjmy4ALwQeOEHDv1BfUCubsySkWnSdWxBXsRVHhwizZr868i+kBIQdmIRGvdmBs+pEQkf9tp/+3K28cAiHt2p72ZfetEZ81aOEqtyvs2z69PKvWsG68nOX2/P3R/gFepmFIeJxjYGRgYADimo+8avH8Nl8ZuFkYQOBe18UWGP3///8GFnXmRiCXg4EJJAoAVioNAQAAAHicY2BkYGBu+N/AEMPi8h8IWNQZgCIogBUAqjoG1QAABAAAAAQA//8EAAAABEQAAAREAAAAAAAAAEoAZgDEASJ4nGNgZGBgYGWwYWBmAAEmIOYCQgaG/2A+AwAO8gFbAHichZE9bsJAEIWfwZAElChKpDRpVikoEsn8lEipUKCnoAez5ke211ovSNQ5TY6QE+QI6Whzikh52EMDRbza2W/evpkdyQDusIeH8rvnLtnDJbOSK7jAo3CV+pOwT34WrqGJnnCd+qtwAy94E26yY8YOnn/FrIV3YQ+3+BCu4AafwlXqX8I++Vu4hgf8CNep/wo3MPGuhZtoeeHA6qnTczXbqVVo0sik7niO9WITT+2pPNE2X5lUdYPOURrpVNtjm3y76DkXqciaRA15q+PYqMyatQ5dsHQu67fbkehBaBIMYKExhWOcQ2GGHeMKIQxSREV0Z/mY7gU2iFlp/3VP6LbIqR9yhS4CdM5cI7rSwnk6TY4tX+tRdXQrbsuahDSUWs1JYrLiDzzcramE1AMsi6oMfbS5ohN/UMyQ/AHYk29XeJxjYGKAAC4G7ICVkYmRmZGFkZWRjYEtKTMxr6qUKzmxKLVENyW/PI+7uCSxKD4xuSSzLJUHzE5JTUsszSlhYAAAgoEQYgAA) format("woff"),url(data:font/ttf;base64,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) format("truetype")}.iconfont{font-family:iconfont!important;font-size:.42667rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconfont-upload:before{content:"\\e617"}.iconfont-down:before{content:"\\e8ec"}.iconfont-star_active:before{content:"\\e614"}.iconfont-star_default:before{content:"\\e615"}:root{--van-gray-8: #333;--van-primary: #ff8057 !important;--van-picker-confirm-action-color: #ff8057 !important;--van-primary-text: #f67146 !important;--van-primary-color: var(--van-primary) !important;--van-cell-group-inset-padding: 0 .34667rem;--van-tag-default-color: #f8f8f8 !important;--van-tag-text-default-color: #c0c0c0;--van-tabs-bottom-bar-width: .53333rem;--col-background-color: #f6f8f9;--white: #fff;--tips-color: #999;--strong--color: #ff4e19;--box-shadow-color: rgba(0, 0, 0, .05);--tag-border-color: #2dc7aa;--tag-bg-color: #e9fff8;--tag-color: #2dc7aa}*{padding:0;margin:0;border:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh}body{background-color:#f6f6f6;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:0!important}.mb12{margin-bottom:.32rem!important}.btnGroup{padding:0 .66667rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom))}.btnGroup .van-button{font-size:.48rem!important;font-weight:500}.btnMore{padding-left:.34667rem;padding-right:.34667rem;display:flex!important;justify-content:center!important}.btnMore .van-button{width:100%!important}.btnMore .van-button+.van-button{margin-left:.4rem}.form-control-icon .van-cell__right-icon{color:#fff!important}.sticky{position:relative}.sticky .van-sticky{height:inherit!important;top:var(--van-sticky-z-index)!important;position:fixed;width:100%}.sticky :global(.van-sticky--fixed){box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}.van-toast{z-index:9999!important}.van-sticky--fixed{position:fixed;z-index:1999}:root{--music-list-item-background-color: #fff;--music-list-item-title-color: #333;--music-list-item-desc-color: #333;--music-list-item-mate-color: #6a6a6a;--music-list-item-border-color: #f1f1f1;--music-list-item-vip-bg: #fff1cd;--music-list-item-vip-color: #ff6c00;--music-list-item-free-bg: #fff1e7;--music-list-item-free-color: #ff4700;--music-list-item-charge-bg: #e1f0ff;--music-list-item-charge-color: #0086ff;--van-overlay-background: rgba(0, 0, 0, .4)}.appRootToast .van-overlay{background:#fff;z-index:2999!important}.appRootToast .van-fade-enter-from,.appRootToast .van-fade-enter-active{animation:none}.appRootToast .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToast .van-toast--text{background-color:transparent;z-index:2999!important}.appRootToast .toastAnimate{width:1.86667rem;height:1.86667rem}.appRootToastCenter .van-overlay{background:rgba(0,0,0,.4);z-index:2999!important}.appRootToastCenter .van-fade-enter-from,.appRootToastCenter .van-fade-enter-active{animation:none}.appRootToastCenter .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToastCenter .van-toast--text{background-color:#fff;z-index:2999!important}.appRootToastCenter .toastAnimate{width:1.86667rem;height:1.86667rem}.cell-section{width:auto;border-radius:.16rem;margin:0 .34667rem;padding:.4rem .32rem}.van-cell__right-icon{font-size:.34667rem;font-weight:700;color:#d8d8d8}.van-field__control{font-size:.42667rem}@font-face{font-family:DINA;src:url(./assets/DIN_Alternate_Bold.a17c25bc.ttf)}.emptyRootContainer{display:flex;align-items:center;justify-content:center;min-height:100vh;flex-direction:column}.emptyRootContainer .o-result-container{flex:1 auto;display:flex;align-items:center}input{caret-color:#ff8057}.emptyFixedHeightContainer{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;justify-content:center;align-items:center;padding:0}.emptyFixedHeightContainer .van-empty{transform:translateY(-15%)}.gridBorderRight:after{content:" ";position:absolute;box-sizing:border-box;height:1.06667rem;pointer-events:none;top:50%;margin-top:-.53333rem;right:0;border:.02667rem solid var(--van-border-color);transform:scale(.5)}.popupBottomSearch{--van-picker-toolbar-height: 1.17333rem !important}.popupBottomSearch .van-picker__toolbar{position:relative}.popupBottomSearch .van-picker__toolbar:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.popupBottomSearch .van-picker-column{position:relative;z-index:1}.popupBottomSearch .van-picker__frame{z-index:0}.popupBottomSearch .van-picker__frame:after{background:#f2f2f2;border-radius:.21333rem}.searchGroupInput .van-search{padding-bottom:0!important}.searchGroup{padding:0 .34667rem!important;line-height:1.17333rem;background-color:#fff;display:flex;align-items:center;justify-content:space-around}.searchGroup .searchItem{display:inline-block;font-size:.37333rem;font-weight:400;color:#333;display:flex;align-items:center;justify-content:center}.searchGroup .searchItem.searchItem-active{color:var(--van-primary)}.searchGroup .searchItem.searchItem-active .arrow{margin-top:-.02667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAP5JREFUKFOV0TEvQ1EYxvH/c6WdiI2Y+QSMXbow1agtSVdmMUiI3HMjJJburE1oGZlYuhj5BMzCJkxt3Feu2ytKb6+e4SzP8/6Sc16RcSwoL0cV+eeXw6oaFpqrroE14o5qcs3TtH4qZMHqIhZeAfnecAd5JflnN4OwgZAdVObpWhs00T9kb+RU1G7r/jf2B7L9yiwf3ALTKc94ZoyC9lqPP/M+yFxtCjoRMpexgwfIF+QaL0nvGzK3Mg5eG1jI2mQvv4OwKHfx/rWK6LLj9RxPr9HHLv0TSWrXzEyWtHHSjaGgXMe0OSKS1Otyra0YctVDsG3AGxELkY7kN3c+AXzSRQveG9tuAAAAAElFTkSuQmCC) no-repeat center center;background-size:100%}.searchGroup .searchItem span{max-width:2.13333rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchGroup .searchItem.searchItem-large span{max-width:3.2rem}.searchGroup .searchItem.searchItem-normal span{max-width:2.66667rem}.searchGroup .arrow{display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAARBJREFUKFOV0a1Ow1AUB/D/aQuKmQp4AHgCkDMzQw3Tpvc2JOhqMEt4ABIM09UkpLdNa5gCg0HCE8ADgKgBNdre5SxlgW0d9Jibc+85v/tFAKCUuiCiIQCD8xZRaa0vpZTnxE1JklxprU9bAPNSIhp5nnc2g8Iw3LBte6y1PmyDEdFdnueDIAi+ZhBHHMdbAB4AHPwTewLQE0J8cv0c4iTLsu2iKB4B7P2BvViW1XUc5/277hfEk1EU7RqGwdhOA/ZWVVXX9/3Xn+tLEC+mabpfliVfs7OAfZim2XNd93lxk5VQ/WZ9AGMAm3XTBMBACHG/6qSNUI0dA7iuG0+EEDdNb7cW4ial1BGPUsrbdR8wBQqHTQv5JatLAAAAAElFTkSuQmCC) no-repeat center center;background-size:contain;width:.24rem;height:.13333rem;margin-left:.08rem}.searchGroup-single{padding:.32rem .34667rem!important}.searchGroup-single .searchItem{position:relative;box-sizing:border-box;max-width:100%;padding:0 .64rem 0 .34667rem;background-color:#fff;border-radius:.42667rem;font-size:.37333rem;color:#333;height:.85333rem;line-height:.85333rem;display:inline-flex;align-items:center}.searchGroup-single .searchItem:after{position:absolute;top:50%;right:.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchGroup-single .searchItem.searchItem-active{color:var(--van-primary-color)}.searchGroup-single .searchItem.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.searchGroup-single .searchItem span{max-width:4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left{position:relative;display:inline-block;font-size:.37333rem;color:#333;margin-right:.56rem}.searchItem-left:after{position:absolute;top:50%;right:-.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchItem-left span{max-width:1.86667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left.searchItem-active{color:var(--van-primary-color)}.searchItem-left.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.van-sheet_content{margin:0 .34667rem;padding-top:.26667rem}.van-sheet_content .van-sheet-item{line-height:1.38667rem;font-size:.42667rem;font-weight:500;color:#333;text-align:center}.van-sheet_content .van-sheet-item-active{background:#f2f2f2;border-radius:.21333rem}.van-action-sheet_bottom__cancel{margin:0 .34667rem;width:calc(100vw - .69333rem);line-height:1.38667rem;padding:0;color:#aaa}\n'),
document.head.appendChild(__vite_style__),
System.register([], function (exports, module) {
'use strict'
return {
execute: function execute() {
var _window$webkit, _window$webkit$messag
exports({
C: useParent,
D: withInstall,
E: mergeProps,
H: getRootScrollTop,
I: setRootScrollTop,
Q: useId,
R: ref,
U: addUnit,
W: useExpose,
X: provide,
Z: watch,
_: nextTick,
a: resolveComponent,
a0: useEventListener,
a3: formatNumber,
a4: preventDefault,
a6: resetScroll,
a7: padZero,
a8: useCountDown,
aD: inject,
aE: raf,
aF: setScrollTop,
aJ: onActivated,
aK: onPopupReopen,
aL: onMountedOrActivated,
aM: getElementTop,
aN: callInterceptor,
aO: route,
aP: doubleRaf,
aS: usePageVisibility,
aT: onDeactivated,
aU: getZIndexStyle,
aV: useRoute,
aX: usePlaceholder,
aZ: useLazyRender,
ac: withDirectives,
ad: resolveDirective,
af: useRoute$1,
ag: useRouter,
ak: isVNode,
al: pick,
an: useScrollParent,
ao: useTouch,
ap: getScrollTop,
at: isHidden,
ax: watchEffect,
az: unitToPx,
b$: toRef,
b1: useCustomFieldValue,
b5: unref,
b7: isRef,
b8: getCurrentScope,
b9: onScopeDispose,
bD: useToggle,
bH: toRefs,
bJ: addNumber,
bN: customRef,
bO: effect,
bP: effectScope,
bQ: isProxy,
bR: isReactive,
bS: isReadonly,
bT: markRaw,
bU: proxyRefs,
bV: readonly,
bW: shallowReactive,
bX: shallowReadonly,
bY: shallowRef,
bZ: stop,
b_: toRaw,
ba: mountComponent,
bb: usePopupState,
bj: useClickAway,
bn: showDialog,
bo: openBlock,
bp: createElementBlock,
bq: createBaseVNode,
br: normalizeStyle,
bs: createCommentVNode,
bt: normalizeClass,
bx: getSizeStyle,
c$: withAsyncContext,
c0: triggerRef,
c3: normalizeProps,
cD: popScopeId,
cE: pushScopeId,
cF: queuePostFlushCb,
cG: registerRuntimeCompiler,
cH: renderList,
cI: renderSlot,
cJ: resolveDynamicComponent,
cL: resolveTransitionHooks,
cM: setBlockTracking,
cN: setDevtoolsHook,
cO: setTransitionHooks,
cR: toHandlers,
cS: transformVNodeArgs,
cT: useAttrs,
cV: useSlots,
cW: useTransitionState,
cY: warn,
cZ: watchPostEffect,
c_: watchSyncEffect,
cb: callWithAsyncErrorHandling,
cc: callWithErrorHandling,
cd: cloneVNode,
cf: createBlock,
cg: createHydrationRenderer,
ch: createPropsRestProxy,
ci: createRenderer,
cj: createSlots,
ck: createStaticVNode,
cl: defineAsyncComponent,
cm: defineEmits,
cn: defineExpose,
co: defineProps,
cq: getTransitionRawChildren,
cr: guardReactiveProps,
cs: h$1,
ct: handleError,
cu: initCustomFormatter,
cv: isMemoSame,
cx: mergeDefaults,
cz: onErrorCaptured,
d: defineComponent,
d0: withCtx,
d1: withDefaults,
d2: withMemo,
d6: defineCustomElement,
db: useCssModule,
dc: useCssVars,
dl: getAugmentedNamespace,
dm: getDefaultExportFromCjs,
o: showToast,
q: createTextVNode,
r: reactive,
t: createNamespace,
x: useChildren,
y: computed
})
var p$1 = function () {
var e = document.createElement('link').relList
if (!(e && e.supports && e.supports('modulepreload'))) {
var t,
n = _createForOfIteratorHelper(
document.querySelectorAll('link[rel="modulepreload"]')
)
try {
for (n.s(); !(t = n.n()).done; ) {
r(t.value)
}
} catch (a) {
n.e(a)
} finally {
n.f()
}
new MutationObserver(function (e) {
var t,
n = _createForOfIteratorHelper(e)
try {
for (n.s(); !(t = n.n()).done; ) {
var o = t.value
if ('childList' === o.type) {
var i,
s = _createForOfIteratorHelper(o.addedNodes)
try {
for (s.s(); !(i = s.n()).done; ) {
var l = i.value
'LINK' === l.tagName && 'modulepreload' === l.rel && r(l)
}
} catch (a) {
s.e(a)
} finally {
s.f()
}
}
}
} catch (a) {
n.e(a)
} finally {
n.f()
}
}).observe(document, { childList: !0, subtree: !0 })
}
function r(e) {
if (!e.ep) {
e.ep = !0
var t = (function (e) {
var t = {}
return (
e.integrity && (t.integrity = e.integrity),
e.referrerpolicy && (t.referrerPolicy = e.referrerpolicy),
'use-credentials' === e.crossorigin
? (t.credentials = 'include')
: 'anonymous' === e.crossorigin
? (t.credentials = 'omit')
: (t.credentials = 'same-origin'),
t
)
})(e)
fetch(e.href, t)
}
}
}
function makeMap(e, t) {
for (var n = Object.create(null), r = e.split(','), a = 0; a < r.length; a++)
n[r[a]] = !0
return t
? function (e) {
return !!n[e.toLowerCase()]
}
: function (e) {
return !!n[e]
}
}
var GLOBALS_WHITE_LISTED =
'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt',
isGloballyWhitelisted = makeMap(GLOBALS_WHITE_LISTED),
specialBooleanAttrs =
'itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly',
isSpecialBooleanAttr = makeMap(specialBooleanAttrs)
function includeBooleanAttr(e) {
return !!e || '' === e
}
function normalizeStyle(e) {
if (isArray$5(e)) {
for (var t = {}, n = 0; n < e.length; n++) {
var r = e[n],
a = isString$1(r) ? parseStringStyle(r) : normalizeStyle(r)
if (a) for (var o in a) t[o] = a[o]
}
return t
}
return isString$1(e) || isObject$2(e) ? e : void 0
}
var listDelimiterRE = /;(?![^(]*\))/g,
propertyDelimiterRE = /:(.+)/
function parseStringStyle(e) {
var t = {}
return (
e.split(listDelimiterRE).forEach(function (e) {
if (e) {
var n = e.split(propertyDelimiterRE)
n.length > 1 && (t[n[0].trim()] = n[1].trim())
}
}),
t
)
}
function normalizeClass(e) {
var t = ''
if (isString$1(e)) t = e
else if (isArray$5(e))
for (var n = 0; n < e.length; n++) {
var r = normalizeClass(e[n])
r && (t += r + ' ')
}
else if (isObject$2(e)) for (var a in e) e[a] && (t += a + ' ')
return t.trim()
}
function normalizeProps(e) {
if (!e) return null
var t = e.class,
n = e.style
return (
t && !isString$1(t) && (e.class = normalizeClass(t)),
n && (e.style = normalizeStyle(n)),
e
)
}
function looseCompareArrays(e, t) {
if (e.length !== t.length) return !1
for (var n = !0, r = 0; n && r < e.length; r++) n = looseEqual(e[r], t[r])
return n
}
function looseEqual(e, t) {
if (e === t) return !0
var n = isDate$3(e),
r = isDate$3(t)
if (n || r) return !(!n || !r) && e.getTime() === t.getTime()
if (((n = isArray$5(e)), (r = isArray$5(t)), n || r))
return !(!n || !r) && looseCompareArrays(e, t)
if (((n = isObject$2(e)), (r = isObject$2(t)), n || r)) {
if (!n || !r) return !1
if (Object.keys(e).length !== Object.keys(t).length) return !1
for (var a in e) {
var o = e.hasOwnProperty(a),
i = t.hasOwnProperty(a)
if ((o && !i) || (!o && i) || !looseEqual(e[a], t[a])) return !1
}
}
return String(e) === String(t)
}
function looseIndexOf(e, t) {
return e.findIndex(function (e) {
return looseEqual(e, t)
})
}
var toDisplayString = exports('bu', function (e) {
return null == e
? ''
: isArray$5(e) ||
(isObject$2(e) && (e.toString === objectToString$2 || !isFunction$1(e.toString)))
? JSON.stringify(e, replacer, 2)
: String(e)
}),
replacer = function e(t, n) {
return n && n.__v_isRef
? e(t, n.value)
: isMap$1(n)
? _defineProperty2(
{},
'Map('.concat(n.size, ')'),
_toConsumableArray2(n.entries()).reduce(function (e, t) {
var n = _slicedToArray(t, 2),
r = n[0],
a = n[1]
return (e[''.concat(r, ' =>')] = a), e
}, {})
)
: isSet$1(n)
? _defineProperty2({}, 'Set('.concat(n.size, ')'), _toConsumableArray2(n.values()))
: !isObject$2(n) || isArray$5(n) || isPlainObject$2(n)
? n
: String(n)
},
EMPTY_OBJ = {},
EMPTY_ARR = [],
NOOP = function () {},
NO = function () {
return !1
},
onRE = /^on[^a-z]/,
isOn = function (e) {
return onRE.test(e)
},
isModelListener = function (e) {
return e.startsWith('onUpdate:')
},
extend$2 = Object.assign,
remove = function (e, t) {
var n = e.indexOf(t)
n > -1 && e.splice(n, 1)
},
hasOwnProperty$2 = Object.prototype.hasOwnProperty,
hasOwn$2 = function (e, t) {
return hasOwnProperty$2.call(e, t)
},
isArray$5 = Array.isArray,
isMap$1 = function (e) {
return '[object Map]' === toTypeString(e)
},
isSet$1 = function (e) {
return '[object Set]' === toTypeString(e)
},
isDate$3 = function (e) {
return e instanceof Date
},
isFunction$1 = function (e) {
return 'function' == typeof e
},
isString$1 = function (e) {
return 'string' == typeof e
},
isSymbol$1 = function (e) {
return 'symbol' === _typeof2(e)
},
isObject$2 = function (e) {
return null !== e && 'object' === _typeof2(e)
},
isPromise$1 = function (e) {
return isObject$2(e) && isFunction$1(e.then) && isFunction$1(e.catch)
},
objectToString$2 = Object.prototype.toString,
toTypeString = function (e) {
return objectToString$2.call(e)
},
toRawType = function (e) {
return toTypeString(e).slice(8, -1)
},
isPlainObject$2 = function (e) {
return '[object Object]' === toTypeString(e)
},
isIntegerKey = function (e) {
return isString$1(e) && 'NaN' !== e && '-' !== e[0] && '' + parseInt(e, 10) === e
},
isReservedProp = makeMap(
',key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted'
),
cacheStringFunction = function (e) {
var t = Object.create(null)
return function (n) {
return t[n] || (t[n] = e(n))
}
},
camelizeRE$1 = /-(\w)/g,
camelize$1 = exports(
'c1',
cacheStringFunction(function (e) {
return e.replace(camelizeRE$1, function (e, t) {
return t ? t.toUpperCase() : ''
})
})
),
hyphenateRE = /\B([A-Z])/g,
hyphenate = cacheStringFunction(function (e) {
return e.replace(hyphenateRE, '-$1').toLowerCase()
}),
capitalize = exports(
'c2',
cacheStringFunction(function (e) {
return e.charAt(0).toUpperCase() + e.slice(1)
})
),
toHandlerKey = exports(
'c4',
cacheStringFunction(function (e) {
return e ? 'on'.concat(capitalize(e)) : ''
})
),
hasChanged = function (e, t) {
return !Object.is(e, t)
},
invokeArrayFns = function (e, t) {
for (var n = 0; n < e.length; n++) e[n](t)
},
def = function (e, t, n) {
Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n })
},
toNumber = function (e) {
var t = parseFloat(e)
return isNaN(t) ? e : t
},
_globalThis,
getGlobalThis = function () {
return (
_globalThis ||
(_globalThis =
'undefined' != typeof globalThis
? globalThis
: 'undefined' != typeof self
? self
: 'undefined' != typeof window
? window
: 'undefined' != typeof global
? global
: {})
)
},
activeEffectScope,
effectScopeStack = [],
EffectScope = (function () {
function e() {
var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
_classCallCheck2(this, e),
(this.active = !0),
(this.effects = []),
(this.cleanups = []),
!t &&
activeEffectScope &&
((this.parent = activeEffectScope),
(this.index =
(activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1))
}
return (
_createClass2(e, [
{
key: 'run',
value: function (e) {
if (this.active)
try {
return this.on(), e()
} finally {
this.off()
}
}
},
{
key: 'on',
value: function () {
this.active && (effectScopeStack.push(this), (activeEffectScope = this))
}
},
{
key: 'off',
value: function () {
this.active &&
(effectScopeStack.pop(),
(activeEffectScope = effectScopeStack[effectScopeStack.length - 1]))
}
},
{
key: 'stop',
value: function (e) {
if (this.active) {
if (
(this.effects.forEach(function (e) {
return e.stop()
}),
this.cleanups.forEach(function (e) {
return e()
}),
this.scopes &&
this.scopes.forEach(function (e) {
return e.stop(!0)
}),
this.parent && !e)
) {
var t = this.parent.scopes.pop()
t &&
t !== this &&
((this.parent.scopes[this.index] = t), (t.index = this.index))
}
this.active = !1
}
}
}
]),
e
)
})()
function effectScope(e) {
return new EffectScope(e)
}
function recordEffectScope(e, t) {
;(t = t || activeEffectScope) && t.active && t.effects.push(e)
}
function getCurrentScope() {
return activeEffectScope
}
function onScopeDispose(e) {
activeEffectScope && activeEffectScope.cleanups.push(e)
}
exports('bL', EffectScope)
var createDep = function (e) {
var t = new Set(e)
return (t.w = 0), (t.n = 0), t
},
wasTracked = function (e) {
return (e.w & trackOpBit) > 0
},
newTracked = function (e) {
return (e.n & trackOpBit) > 0
},
initDepMarkers = function (e) {
var t = e.deps
if (t.length) for (var n = 0; n < t.length; n++) t[n].w |= trackOpBit
},
finalizeDepMarkers = function (e) {
var t = e.deps
if (t.length) {
for (var n = 0, r = 0; r < t.length; r++) {
var a = t[r]
wasTracked(a) && !newTracked(a) ? a.delete(e) : (t[n++] = a),
(a.w &= ~trackOpBit),
(a.n &= ~trackOpBit)
}
t.length = n
}
},
targetMap = new WeakMap(),
effectTrackDepth = 0,
trackOpBit = 1,
maxMarkerBits = 30,
effectStack = [],
activeEffect,
ITERATE_KEY = Symbol(''),
MAP_KEY_ITERATE_KEY = Symbol(''),
ReactiveEffect = (function () {
function e(t) {
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
r = arguments.length > 2 ? arguments[2] : void 0
_classCallCheck2(this, e),
(this.fn = t),
(this.scheduler = n),
(this.active = !0),
(this.deps = []),
recordEffectScope(this, r)
}
return (
_createClass2(e, [
{
key: 'run',
value: function () {
if (!this.active) return this.fn()
if (!effectStack.includes(this))
try {
return (
effectStack.push((activeEffect = this)),
enableTracking(),
(trackOpBit = 1 << ++effectTrackDepth),
effectTrackDepth <= maxMarkerBits
? initDepMarkers(this)
: cleanupEffect(this),
this.fn()
)
} finally {
effectTrackDepth <= maxMarkerBits && finalizeDepMarkers(this),
(trackOpBit = 1 << --effectTrackDepth),
resetTracking(),
effectStack.pop()
var e = effectStack.length
activeEffect = e > 0 ? effectStack[e - 1] : void 0
}
}
},
{
key: 'stop',
value: function () {
this.active &&
(cleanupEffect(this), this.onStop && this.onStop(), (this.active = !1))
}
}
]),
e
)
})()
function cleanupEffect(e) {
var t = e.deps
if (t.length) {
for (var n = 0; n < t.length; n++) t[n].delete(e)
t.length = 0
}
}
function effect(e, t) {
e.effect && (e = e.effect.fn)
var n = new ReactiveEffect(e)
t && (extend$2(n, t), t.scope && recordEffectScope(n, t.scope)),
(t && t.lazy) || n.run()
var r = n.run.bind(n)
return (r.effect = n), r
}
function stop(e) {
e.effect.stop()
}
exports('bM', ReactiveEffect)
var shouldTrack = !0,
trackStack = []
function pauseTracking() {
trackStack.push(shouldTrack), (shouldTrack = !1)
}
function enableTracking() {
trackStack.push(shouldTrack), (shouldTrack = !0)
}
function resetTracking() {
var e = trackStack.pop()
shouldTrack = void 0 === e || e
}
function track(e, t, n) {
if (isTracking()) {
var r = targetMap.get(e)
r || targetMap.set(e, (r = new Map()))
var a = r.get(n)
a || r.set(n, (a = createDep())), trackEffects(a)
}
}
function isTracking() {
return shouldTrack && void 0 !== activeEffect
}
function trackEffects(e, t) {
var n = !1
effectTrackDepth <= maxMarkerBits
? newTracked(e) || ((e.n |= trackOpBit), (n = !wasTracked(e)))
: (n = !e.has(activeEffect)),
n && (e.add(activeEffect), activeEffect.deps.push(e))
}
function trigger$1(e, t, n, r, a, o) {
var i = targetMap.get(e)
if (i) {
var s = []
if ('clear' === t) s = _toConsumableArray2(i.values())
else if ('length' === n && isArray$5(e))
i.forEach(function (e, t) {
;('length' === t || t >= r) && s.push(e)
})
else
switch ((void 0 !== n && s.push(i.get(n)), t)) {
case 'add':
isArray$5(e)
? isIntegerKey(n) && s.push(i.get('length'))
: (s.push(i.get(ITERATE_KEY)),
isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
break
case 'delete':
isArray$5(e) ||
(s.push(i.get(ITERATE_KEY)), isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
break
case 'set':
isMap$1(e) && s.push(i.get(ITERATE_KEY))
}
if (1 === s.length) s[0] && triggerEffects(s[0])
else {
var l,
c = [],
u = _createForOfIteratorHelper(s)
try {
for (u.s(); !(l = u.n()).done; ) {
var p = l.value
p && c.push.apply(c, _toConsumableArray2(p))
}
} catch (d) {
u.e(d)
} finally {
u.f()
}
triggerEffects(createDep(c))
}
}
}
function triggerEffects(e, t) {
var n,
r = _createForOfIteratorHelper(isArray$5(e) ? e : _toConsumableArray2(e))
try {
for (r.s(); !(n = r.n()).done; ) {
var a = n.value
;(a !== activeEffect || a.allowRecurse) && (a.scheduler ? a.scheduler() : a.run())
}
} catch (o) {
r.e(o)
} finally {
r.f()
}
}
var isNonTrackableKeys = makeMap('__proto__,__v_isRef,__isVue'),
builtInSymbols = new Set(
Object.getOwnPropertyNames(Symbol)
.map(function (e) {
return Symbol[e]
})
.filter(isSymbol$1)
),
get$1 = createGetter(),
shallowGet = createGetter(!1, !0),
readonlyGet = createGetter(!0),
shallowReadonlyGet = createGetter(!0, !0),
arrayInstrumentations = createArrayInstrumentations()
function createArrayInstrumentations() {
var e = {}
return (
['includes', 'indexOf', 'lastIndexOf'].forEach(function (t) {
e[t] = function () {
for (var e = toRaw(this), n = 0, r = this.length; n < r; n++)
track(e, 'get', n + '')
for (var a = arguments.length, o = new Array(a), i = 0; i < a; i++)
o[i] = arguments[i]
var s = e[t].apply(e, o)
return -1 === s || !1 === s ? e[t].apply(e, _toConsumableArray2(o.map(toRaw))) : s
}
}),
['push', 'pop', 'shift', 'unshift', 'splice'].forEach(function (t) {
e[t] = function () {
pauseTracking()
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
n[r] = arguments[r]
var a = toRaw(this)[t].apply(this, n)
return resetTracking(), a
}
}),
e
)
}
function createGetter() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
return function (n, r, a) {
if ('__v_isReactive' === r) return !e
if ('__v_isReadonly' === r) return e
if (
'__v_raw' === r &&
a ===
(e
? t
? shallowReadonlyMap
: readonlyMap
: t
? shallowReactiveMap
: reactiveMap
).get(n)
)
return n
var o = isArray$5(n)
if (!e && o && hasOwn$2(arrayInstrumentations, r))
return Reflect.get(arrayInstrumentations, r, a)
var i = Reflect.get(n, r, a)
return (isSymbol$1(r) ? builtInSymbols.has(r) : isNonTrackableKeys(r))
? i
: (e || track(n, 'get', r),
t
? i
: isRef(i)
? !o || !isIntegerKey(r)
? i.value
: i
: isObject$2(i)
? e
? readonly(i)
: reactive(i)
: i)
}
}
var set = createSetter(),
shallowSet = createSetter(!0)
function createSetter() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
return function (t, n, r, a) {
var o = t[n]
if (
!e &&
!isReadonly(r) &&
((r = toRaw(r)), (o = toRaw(o)), !isArray$5(t) && isRef(o) && !isRef(r))
)
return (o.value = r), !0
var i = isArray$5(t) && isIntegerKey(n) ? Number(n) < t.length : hasOwn$2(t, n),
s = Reflect.set(t, n, r, a)
return (
t === toRaw(a) &&
(i ? hasChanged(r, o) && trigger$1(t, 'set', n, r) : trigger$1(t, 'add', n, r)),
s
)
}
}
function deleteProperty(e, t) {
var n = hasOwn$2(e, t)
e[t]
var r = Reflect.deleteProperty(e, t)
return r && n && trigger$1(e, 'delete', t, void 0), r
}
function has$4(e, t) {
var n = Reflect.has(e, t)
return (isSymbol$1(t) && builtInSymbols.has(t)) || track(e, 'has', t), n
}
function ownKeys$1(e) {
return track(e, 'iterate', isArray$5(e) ? 'length' : ITERATE_KEY), Reflect.ownKeys(e)
}
var mutableHandlers = {
get: get$1,
set: set,
deleteProperty: deleteProperty,
has: has$4,
ownKeys: ownKeys$1
},
readonlyHandlers = {
get: readonlyGet,
set: function (e, t) {
return !0
},
deleteProperty: function (e, t) {
return !0
}
},
shallowReactiveHandlers = extend$2({}, mutableHandlers, {
get: shallowGet,
set: shallowSet
}),
shallowReadonlyHandlers = extend$2({}, readonlyHandlers, { get: shallowReadonlyGet }),
toShallow = function (e) {
return e
},
getProto$1 = function (e) {
return Reflect.getPrototypeOf(e)
}
function get$1$1(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = toRaw((e = e.__v_raw)),
o = toRaw(t)
t !== o && !n && track(a, 'get', t), !n && track(a, 'get', o)
var i = getProto$1(a),
s = i.has,
l = r ? toShallow : n ? toReadonly : toReactive
return s.call(a, t)
? l(e.get(t))
: s.call(a, o)
? l(e.get(o))
: void (e !== a && e.get(t))
}
function has$1$1(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
n = this.__v_raw,
r = toRaw(n),
a = toRaw(e)
return (
e !== a && !t && track(r, 'has', e),
!t && track(r, 'has', a),
e === a ? n.has(e) : n.has(e) || n.has(a)
)
}
function size(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
return (
(e = e.__v_raw),
!t && track(toRaw(e), 'iterate', ITERATE_KEY),
Reflect.get(e, 'size', e)
)
}
function add(e) {
e = toRaw(e)
var t = toRaw(this)
return getProto$1(t).has.call(t, e) || (t.add(e), trigger$1(t, 'add', e, e)), this
}
function set$1(e, t) {
t = toRaw(t)
var n = toRaw(this),
r = getProto$1(n),
a = r.has,
o = r.get,
i = a.call(n, e)
i || ((e = toRaw(e)), (i = a.call(n, e)))
var s = o.call(n, e)
return (
n.set(e, t),
i ? hasChanged(t, s) && trigger$1(n, 'set', e, t) : trigger$1(n, 'add', e, t),
this
)
}
function deleteEntry(e) {
var t = toRaw(this),
n = getProto$1(t),
r = n.has,
a = n.get,
o = r.call(t, e)
o || ((e = toRaw(e)), (o = r.call(t, e))), a && a.call(t, e)
var i = t.delete(e)
return o && trigger$1(t, 'delete', e, void 0), i
}
function clear() {
var e = toRaw(this),
t = 0 !== e.size,
n = e.clear()
return t && trigger$1(e, 'clear', void 0, void 0), n
}
function createForEach(e, t) {
return function (n, r) {
var a = this,
o = a.__v_raw,
i = toRaw(o),
s = t ? toShallow : e ? toReadonly : toReactive
return (
!e && track(i, 'iterate', ITERATE_KEY),
o.forEach(function (e, t) {
return n.call(r, s(e), s(t), a)
})
)
}
}
function createIterableMethod(e, t, n) {
return function () {
var r = this.__v_raw,
a = toRaw(r),
o = isMap$1(a),
i = 'entries' === e || (e === Symbol.iterator && o),
s = 'keys' === e && o,
l = r[e].apply(r, arguments),
c = n ? toShallow : t ? toReadonly : toReactive
return (
!t && track(a, 'iterate', s ? MAP_KEY_ITERATE_KEY : ITERATE_KEY),
_defineProperty2(
{
next: function () {
var e = l.next(),
t = e.value,
n = e.done
return n
? { value: t, done: n }
: { value: i ? [c(t[0]), c(t[1])] : c(t), done: n }
}
},
Symbol.iterator,
function () {
return this
}
)
)
}
}
function createReadonlyMethod(e) {
return function () {
return 'delete' !== e && this
}
}
function createInstrumentations() {
var e = {
get: function (e) {
return get$1$1(this, e)
},
get size() {
return size(this)
},
has: has$1$1,
add: add,
set: set$1,
delete: deleteEntry,
clear: clear,
forEach: createForEach(!1, !1)
},
t = {
get: function (e) {
return get$1$1(this, e, !1, !0)
},
get size() {
return size(this)
},
has: has$1$1,
add: add,
set: set$1,
delete: deleteEntry,
clear: clear,
forEach: createForEach(!1, !0)
},
n = {
get: function (e) {
return get$1$1(this, e, !0)
},
get size() {
return size(this, !0)
},
has: function (e) {
return has$1$1.call(this, e, !0)
},
add: createReadonlyMethod('add'),
set: createReadonlyMethod('set'),
delete: createReadonlyMethod('delete'),
clear: createReadonlyMethod('clear'),
forEach: createForEach(!0, !1)
},
r = {
get: function (e) {
return get$1$1(this, e, !0, !0)
},
get size() {
return size(this, !0)
},
has: function (e) {
return has$1$1.call(this, e, !0)
},
add: createReadonlyMethod('add'),
set: createReadonlyMethod('set'),
delete: createReadonlyMethod('delete'),
clear: createReadonlyMethod('clear'),
forEach: createForEach(!0, !0)
}
return (
['keys', 'values', 'entries', Symbol.iterator].forEach(function (a) {
;(e[a] = createIterableMethod(a, !1, !1)),
(n[a] = createIterableMethod(a, !0, !1)),
(t[a] = createIterableMethod(a, !1, !0)),
(r[a] = createIterableMethod(a, !0, !0))
}),
[e, n, t, r]
)
}
var _createInstrumentatio = createInstrumentations(),
_createInstrumentatio2 = _slicedToArray(_createInstrumentatio, 4),
mutableInstrumentations = _createInstrumentatio2[0],
readonlyInstrumentations = _createInstrumentatio2[1],
shallowInstrumentations = _createInstrumentatio2[2],
shallowReadonlyInstrumentations = _createInstrumentatio2[3]
function createInstrumentationGetter(e, t) {
var n = t
? e
? shallowReadonlyInstrumentations
: shallowInstrumentations
: e
? readonlyInstrumentations
: mutableInstrumentations
return function (t, r, a) {
return '__v_isReactive' === r
? !e
: '__v_isReadonly' === r
? e
: '__v_raw' === r
? t
: Reflect.get(hasOwn$2(n, r) && r in t ? n : t, r, a)
}
}
var mutableCollectionHandlers = { get: createInstrumentationGetter(!1, !1) },
shallowCollectionHandlers = { get: createInstrumentationGetter(!1, !0) },
readonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !1) },
shallowReadonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !0) },
reactiveMap = new WeakMap(),
shallowReactiveMap = new WeakMap(),
readonlyMap = new WeakMap(),
shallowReadonlyMap = new WeakMap()
function targetTypeMap(e) {
switch (e) {
case 'Object':
case 'Array':
return 1
case 'Map':
case 'Set':
case 'WeakMap':
case 'WeakSet':
return 2
default:
return 0
}
}
function getTargetType(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : targetTypeMap(toRawType(e))
}
function reactive(e) {
return e && e.__v_isReadonly
? e
: createReactiveObject(e, !1, mutableHandlers, mutableCollectionHandlers, reactiveMap)
}
function shallowReactive(e) {
return createReactiveObject(
e,
!1,
shallowReactiveHandlers,
shallowCollectionHandlers,
shallowReactiveMap
)
}
function readonly(e) {
return createReactiveObject(
e,
!0,
readonlyHandlers,
readonlyCollectionHandlers,
readonlyMap
)
}
function shallowReadonly(e) {
return createReactiveObject(
e,
!0,
shallowReadonlyHandlers,
shallowReadonlyCollectionHandlers,
shallowReadonlyMap
)
}
function createReactiveObject(e, t, n, r, a) {
if (!isObject$2(e)) return e
if (e.__v_raw && (!t || !e.__v_isReactive)) return e
var o = a.get(e)
if (o) return o
var i = getTargetType(e)
if (0 === i) return e
var s = new Proxy(e, 2 === i ? r : n)
return a.set(e, s), s
}
function isReactive(e) {
return isReadonly(e) ? isReactive(e.__v_raw) : !(!e || !e.__v_isReactive)
}
function isReadonly(e) {
return !(!e || !e.__v_isReadonly)
}
function isProxy(e) {
return isReactive(e) || isReadonly(e)
}
function toRaw(e) {
var t = e && e.__v_raw
return t ? toRaw(t) : e
}
function markRaw(e) {
return def(e, '__v_skip', !0), e
}
var toReactive = function (e) {
return isObject$2(e) ? reactive(e) : e
},
toReadonly = function (e) {
return isObject$2(e) ? readonly(e) : e
}
function trackRefValue(e) {
isTracking() && ((e = toRaw(e)).dep || (e.dep = createDep()), trackEffects(e.dep))
}
function triggerRefValue(e, t) {
;(e = toRaw(e)).dep && triggerEffects(e.dep)
}
function isRef(e) {
return Boolean(e && !0 === e.__v_isRef)
}
function ref(e) {
return createRef(e, !1)
}
function shallowRef(e) {
return createRef(e, !0)
}
function createRef(e, t) {
return isRef(e) ? e : new RefImpl(e, t)
}
var RefImpl = (function () {
function e(t, n) {
_classCallCheck2(this, e),
(this._shallow = n),
(this.dep = void 0),
(this.__v_isRef = !0),
(this._rawValue = n ? t : toRaw(t)),
(this._value = n ? t : toReactive(t))
}
return (
_createClass2(e, [
{
key: 'value',
get: function () {
return trackRefValue(this), this._value
},
set: function (e) {
;(e = this._shallow ? e : toRaw(e)),
hasChanged(e, this._rawValue) &&
((this._rawValue = e),
(this._value = this._shallow ? e : toReactive(e)),
triggerRefValue(this))
}
}
]),
e
)
})()
function triggerRef(e) {
triggerRefValue(e)
}
function unref(e) {
return isRef(e) ? e.value : e
}
var shallowUnwrapHandlers = {
get: function (e, t, n) {
return unref(Reflect.get(e, t, n))
},
set: function (e, t, n, r) {
var a = e[t]
return isRef(a) && !isRef(n) ? ((a.value = n), !0) : Reflect.set(e, t, n, r)
}
}
function proxyRefs(e) {
return isReactive(e) ? e : new Proxy(e, shallowUnwrapHandlers)
}
var CustomRefImpl = (function () {
function e(t) {
var n = this
_classCallCheck2(this, e), (this.dep = void 0), (this.__v_isRef = !0)
var r = t(
function () {
return trackRefValue(n)
},
function () {
return triggerRefValue(n)
}
),
a = r.get,
o = r.set
;(this._get = a), (this._set = o)
}
return (
_createClass2(e, [
{
key: 'value',
get: function () {
return this._get()
},
set: function (e) {
this._set(e)
}
}
]),
e
)
})()
function customRef(e) {
return new CustomRefImpl(e)
}
function toRefs(e) {
var t = isArray$5(e) ? new Array(e.length) : {}
for (var n in e) t[n] = toRef(e, n)
return t
}
var ObjectRefImpl = (function () {
function e(t, n, r) {
_classCallCheck2(this, e),
(this._object = t),
(this._key = n),
(this._defaultValue = r),
(this.__v_isRef = !0)
}
return (
_createClass2(e, [
{
key: 'value',
get: function () {
var e = this._object[this._key]
return void 0 === e ? this._defaultValue : e
},
set: function (e) {
this._object[this._key] = e
}
}
]),
e
)
})()
function toRef(e, t, n) {
var r = e[t]
return isRef(r) ? r : new ObjectRefImpl(e, t, n)
}
var ComputedRefImpl = (function () {
function e(t, n, r) {
var a = this
_classCallCheck2(this, e),
(this._setter = n),
(this.dep = void 0),
(this._dirty = !0),
(this.__v_isRef = !0),
(this.effect = new ReactiveEffect(t, function () {
a._dirty || ((a._dirty = !0), triggerRefValue(a))
})),
(this.__v_isReadonly = r)
}
return (
_createClass2(e, [
{
key: 'value',
get: function () {
var e = toRaw(this)
return (
trackRefValue(e),
e._dirty && ((e._dirty = !1), (e._value = e.effect.run())),
e._value
)
},
set: function (e) {
this._setter(e)
}
}
]),
e
)
})(),
devtools
function computed(e, t) {
var n,
r,
a = isFunction$1(e)
return (
a ? ((n = e), (r = NOOP)) : ((n = e.get), (r = e.set)),
new ComputedRefImpl(n, r, a || !r)
)
}
Promise.resolve(), exports('cp', devtools)
var buffer = []
function setDevtoolsHook(e, t) {
var n, r
if ((exports('cp', (devtools = e)), devtools))
(devtools.enabled = !0),
buffer.forEach(function (e) {
var t,
n = e.event,
r = e.args
return (t = devtools).emit.apply(t, [n].concat(_toConsumableArray2(r)))
}),
(buffer = [])
else if (
'undefined' != typeof window &&
window.HTMLElement &&
!(null ===
(r = null === (n = window.navigator) || void 0 === n ? void 0 : n.userAgent) ||
void 0 === r
? void 0
: r.includes('jsdom'))
) {
;(t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push(
function (e) {
setDevtoolsHook(e, t)
}
),
setTimeout(function () {
devtools || ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null), (buffer = []))
}, 3e3)
} else buffer = []
}
function emit$1(e, t) {
for (
var n = e.vnode.props || EMPTY_OBJ,
r = arguments.length,
a = new Array(r > 2 ? r - 2 : 0),
o = 2;
o < r;
o++
)
a[o - 2] = arguments[o]
var i,
s = a,
l = t.startsWith('update:'),
c = l && t.slice(7)
if (c && c in n) {
var u = ''.concat('modelValue' === c ? 'model' : c, 'Modifiers'),
p = n[u] || EMPTY_OBJ,
d = p.number,
f = p.trim
f
? (s = a.map(function (e) {
return e.trim()
}))
: d && (s = a.map(toNumber))
}
var h = n[(i = toHandlerKey(t))] || n[(i = toHandlerKey(camelize$1(t)))]
!h && l && (h = n[(i = toHandlerKey(hyphenate(t)))]),
h && callWithAsyncErrorHandling(h, e, 6, s)
var v = n[i + 'Once']
if (v) {
if (e.emitted) {
if (e.emitted[i]) return
} else e.emitted = {}
;(e.emitted[i] = !0), callWithAsyncErrorHandling(v, e, 6, s)
}
}
function normalizeEmitsOptions(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = t.emitsCache,
a = r.get(e)
if (void 0 !== a) return a
var o = e.emits,
i = {},
s = !1
if (!isFunction$1(e)) {
var l = function (e) {
var n = normalizeEmitsOptions(e, t, !0)
n && ((s = !0), extend$2(i, n))
}
!n && t.mixins.length && t.mixins.forEach(l),
e.extends && l(e.extends),
e.mixins && e.mixins.forEach(l)
}
return o || s
? (isArray$5(o)
? o.forEach(function (e) {
return (i[e] = null)
})
: extend$2(i, o),
r.set(e, i),
i)
: (r.set(e, null), null)
}
function isEmitListener(e, t) {
return (
!(!e || !isOn(t)) &&
((t = t.slice(2).replace(/Once$/, '')),
hasOwn$2(e, t[0].toLowerCase() + t.slice(1)) ||
hasOwn$2(e, hyphenate(t)) ||
hasOwn$2(e, t))
)
}
var currentRenderingInstance = null,
currentScopeId = null
function setCurrentRenderingInstance(e) {
var t = currentRenderingInstance
return (
(currentRenderingInstance = e), (currentScopeId = (e && e.type.__scopeId) || null), t
)
}
function pushScopeId(e) {
currentScopeId = e
}
function popScopeId() {
currentScopeId = null
}
var withScopeId = exports('d3', function (e) {
return withCtx
})
function withCtx(e) {
var t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: currentRenderingInstance
if (!t) return e
if (e._n) return e
var n = function n() {
n._d && setBlockTracking(-1)
var r = setCurrentRenderingInstance(t),
a = e.apply(void 0, arguments)
return setCurrentRenderingInstance(r), n._d && setBlockTracking(1), a
}
return (n._n = !0), (n._c = !0), (n._d = !0), n
}
function markAttrsAccessed() {}
function renderComponentRoot(e) {
var t,
n,
r = e.type,
a = e.vnode,
o = e.proxy,
i = e.withProxy,
s = e.props,
l = _slicedToArray(e.propsOptions, 1)[0],
c = e.slots,
u = e.attrs,
p = e.emit,
d = e.render,
f = e.renderCache,
h = e.data,
v = e.setupState,
m = e.ctx,
g = e.inheritAttrs,
y = setCurrentRenderingInstance(e)
try {
if (4 & a.shapeFlag) {
var b = i || o
;(t = normalizeVNode(d.call(b, b, f, s, v, h, m))), (n = u)
} else {
var _ = r
0,
(t = normalizeVNode(
_.length > 1 ? _(s, { attrs: u, slots: c, emit: p }) : _(s, null)
)),
(n = r.props ? u : getFunctionalFallthrough(u))
}
} catch (k) {
;(blockStack.length = 0), handleError(k, e, 1), (t = createVNode(Comment))
}
var A = t
if (n && !1 !== g) {
var x = Object.keys(n),
w = A.shapeFlag
x.length &&
7 & w &&
(l && x.some(isModelListener) && (n = filterModelListeners(n, l)),
(A = cloneVNode(A, n)))
}
return (
a.dirs && (A.dirs = A.dirs ? A.dirs.concat(a.dirs) : a.dirs),
a.transition && (A.transition = a.transition),
(t = A),
setCurrentRenderingInstance(y),
t
)
}
function filterSingleRoot(e) {
for (var t, n = 0; n < e.length; n++) {
var r = e[n]
if (!isVNode(r)) return
if (r.type !== Comment || 'v-if' === r.children) {
if (t) return
t = r
}
}
return t
}
var getFunctionalFallthrough = function (e) {
var t
for (var n in e)
('class' === n || 'style' === n || isOn(n)) && ((t || (t = {}))[n] = e[n])
return t
},
filterModelListeners = function (e, t) {
var n = {}
for (var r in e) (isModelListener(r) && r.slice(9) in t) || (n[r] = e[r])
return n
}
function shouldUpdateComponent(e, t, n) {
var r = e.props,
a = e.children,
o = e.component,
i = t.props,
s = t.children,
l = t.patchFlag,
c = o.emitsOptions
if (t.dirs || t.transition) return !0
if (!(n && l >= 0))
return (
!((!a && !s) || (s && s.$stable)) ||
(r !== i && (r ? !i || hasPropsChanged(r, i, c) : !!i))
)
if (1024 & l) return !0
if (16 & l) return r ? hasPropsChanged(r, i, c) : !!i
if (8 & l)
for (var u = t.dynamicProps, p = 0; p < u.length; p++) {
var d = u[p]
if (i[d] !== r[d] && !isEmitListener(c, d)) return !0
}
return !1
}
function hasPropsChanged(e, t, n) {
var r = Object.keys(t)
if (r.length !== Object.keys(e).length) return !0
for (var a = 0; a < r.length; a++) {
var o = r[a]
if (t[o] !== e[o] && !isEmitListener(n, o)) return !0
}
return !1
}
function updateHOCHostEl(e, t) {
for (var n = e.vnode, r = e.parent; r && r.subTree === n; )
((n = r.vnode).el = t), (r = r.parent)
}
var isSuspense = function (e) {
return e.__isSuspense
},
SuspenseImpl = {
name: 'Suspense',
__isSuspense: !0,
process: function (e, t, n, r, a, o, i, s, l, c) {
null == e
? mountSuspense(t, n, r, a, o, i, s, l, c)
: patchSuspense(e, t, n, r, a, i, s, l, c)
},
hydrate: hydrateSuspense,
create: createSuspenseBoundary,
normalize: normalizeSuspenseChildren
},
Suspense = exports('c9', SuspenseImpl)
function triggerEvent(e, t) {
var n = e.props && e.props[t]
isFunction$1(n) && n()
}
function mountSuspense(e, t, n, r, a, o, i, s, l) {
var c = l.p,
u = (0, l.o.createElement)('div'),
p = (e.suspense = createSuspenseBoundary(e, a, r, t, u, n, o, i, s, l))
c(null, (p.pendingBranch = e.ssContent), u, null, r, p, o, i),
p.deps > 0
? (triggerEvent(e, 'onPending'),
triggerEvent(e, 'onFallback'),
c(null, e.ssFallback, t, n, r, null, o, i),
setActiveBranch(p, e.ssFallback))
: p.resolve()
}
function patchSuspense(e, t, n, r, a, o, i, s, l) {
var c = l.p,
u = l.um,
p = l.o.createElement,
d = (t.suspense = e.suspense)
;(d.vnode = t), (t.el = e.el)
var f = t.ssContent,
h = t.ssFallback,
v = d.activeBranch,
m = d.pendingBranch,
g = d.isInFallback,
y = d.isHydrating
if (m)
(d.pendingBranch = f),
isSameVNodeType(f, m)
? (c(m, f, d.hiddenContainer, null, a, d, o, i, s),
d.deps <= 0
? d.resolve()
: g && (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
: (d.pendingId++,
y ? ((d.isHydrating = !1), (d.activeBranch = m)) : u(m, a, d),
(d.deps = 0),
(d.effects.length = 0),
(d.hiddenContainer = p('div')),
g
? (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
d.deps <= 0
? d.resolve()
: (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
: v && isSameVNodeType(f, v)
? (c(v, f, n, r, a, d, o, i, s), d.resolve(!0))
: (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
d.deps <= 0 && d.resolve()))
else if (v && isSameVNodeType(f, v)) c(v, f, n, r, a, d, o, i, s), setActiveBranch(d, f)
else if (
(triggerEvent(t, 'onPending'),
(d.pendingBranch = f),
d.pendingId++,
c(null, f, d.hiddenContainer, null, a, d, o, i, s),
d.deps <= 0)
)
d.resolve()
else {
var b = d.timeout,
_ = d.pendingId
b > 0
? setTimeout(function () {
d.pendingId === _ && d.fallback(h)
}, b)
: 0 === b && d.fallback(h)
}
}
function createSuspenseBoundary(e, t, n, r, a, o, i, s, l, c) {
var u = arguments.length > 10 && void 0 !== arguments[10] && arguments[10],
p = c.p,
d = c.m,
f = c.um,
h = c.n,
v = c.o,
m = v.parentNode,
g = v.remove,
y = toNumber(e.props && e.props.timeout),
b = {
vnode: e,
parent: t,
parentComponent: n,
isSVG: i,
container: r,
hiddenContainer: a,
anchor: o,
deps: 0,
pendingId: 0,
timeout: 'number' == typeof y ? y : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: !0,
isHydrating: u,
isUnmounted: !1,
effects: [],
resolve: function () {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = b.vnode,
n = b.activeBranch,
r = b.pendingBranch,
a = b.pendingId,
o = b.effects,
i = b.parentComponent,
s = b.container
if (b.isHydrating) b.isHydrating = !1
else if (!e) {
var l = n && r.transition && 'out-in' === r.transition.mode
l &&
(n.transition.afterLeave = function () {
a === b.pendingId && d(r, s, c, 0)
})
var c = b.anchor
n && ((c = h(n)), f(n, i, b, !0)), l || d(r, s, c, 0)
}
setActiveBranch(b, r), (b.pendingBranch = null), (b.isInFallback = !1)
for (var u = b.parent, p = !1; u; ) {
if (u.pendingBranch) {
var v
;(v = u.effects).push.apply(v, _toConsumableArray2(o)), (p = !0)
break
}
u = u.parent
}
p || queuePostFlushCb(o), (b.effects = []), triggerEvent(t, 'onResolve')
},
fallback: function (e) {
if (b.pendingBranch) {
var t = b.vnode,
n = b.activeBranch,
r = b.parentComponent,
a = b.container,
o = b.isSVG
triggerEvent(t, 'onFallback')
var i = h(n),
c = function () {
b.isInFallback &&
(p(null, e, a, i, r, null, o, s, l), setActiveBranch(b, e))
},
u = e.transition && 'out-in' === e.transition.mode
u && (n.transition.afterLeave = c),
(b.isInFallback = !0),
f(n, r, null, !0),
u || c()
}
},
move: function (e, t, n) {
b.activeBranch && d(b.activeBranch, e, t, n), (b.container = e)
},
next: function () {
return b.activeBranch && h(b.activeBranch)
},
registerDep: function (e, t) {
var n = !!b.pendingBranch
n && b.deps++
var r = e.vnode.el
e.asyncDep
.catch(function (t) {
handleError(t, e, 0)
})
.then(function (a) {
if (!e.isUnmounted && !b.isUnmounted && b.pendingId === e.suspenseId) {
e.asyncResolved = !0
var o = e.vnode
handleSetupResult(e, a, !1), r && (o.el = r)
var s = !r && e.subTree.el
t(e, o, m(r || e.subTree.el), r ? null : h(e.subTree), b, i, l),
s && g(s),
updateHOCHostEl(e, o.el),
n && 0 == --b.deps && b.resolve()
}
})
},
unmount: function (e, t) {
;(b.isUnmounted = !0),
b.activeBranch && f(b.activeBranch, n, e, t),
b.pendingBranch && f(b.pendingBranch, n, e, t)
}
}
return b
}
function hydrateSuspense(e, t, n, r, a, o, i, s, l) {
var c = (t.suspense = createSuspenseBoundary(
t,
r,
n,
e.parentNode,
document.createElement('div'),
null,
a,
o,
i,
s,
!0
)),
u = l(e, (c.pendingBranch = t.ssContent), n, c, o, i)
return 0 === c.deps && c.resolve(), u
}
function normalizeSuspenseChildren(e) {
var t = e.shapeFlag,
n = e.children,
r = 32 & t
;(e.ssContent = normalizeSuspenseSlot(r ? n.default : n)),
(e.ssFallback = r ? normalizeSuspenseSlot(n.fallback) : createVNode(Comment))
}
function normalizeSuspenseSlot(e) {
var t
if (isFunction$1(e)) {
var n = isBlockTreeEnabled && e._c
n && ((e._d = !1), openBlock()),
(e = e()),
n && ((e._d = !0), (t = currentBlock), closeBlock())
}
if (isArray$5(e)) {
var r = filterSingleRoot(e)
e = r
}
return (
(e = normalizeVNode(e)),
t &&
!e.dynamicChildren &&
(e.dynamicChildren = t.filter(function (t) {
return t !== e
})),
e
)
}
function queueEffectWithSuspense(e, t) {
var n
t && t.pendingBranch
? isArray$5(e)
? (n = t.effects).push.apply(n, _toConsumableArray2(e))
: t.effects.push(e)
: queuePostFlushCb(e)
}
function setActiveBranch(e, t) {
e.activeBranch = t
var n = e.vnode,
r = e.parentComponent,
a = (n.el = t.el)
r && r.subTree === n && ((r.vnode.el = a), updateHOCHostEl(r, a))
}
function provide(e, t) {
if (currentInstance) {
var n = currentInstance.provides,
r = currentInstance.parent && currentInstance.parent.provides
r === n && (n = currentInstance.provides = Object.create(r)), (n[e] = t)
} else;
}
function inject(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = currentInstance || currentRenderingInstance
if (r) {
var a =
null == r.parent
? r.vnode.appContext && r.vnode.appContext.provides
: r.parent.provides
if (a && e in a) return a[e]
if (arguments.length > 1) return n && isFunction$1(t) ? t.call(r.proxy) : t
}
}
function useTransitionState() {
var e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map() }
return (
onMounted(function () {
e.isMounted = !0
}),
onBeforeUnmount(function () {
e.isUnmounting = !0
}),
e
)
}
var TransitionHookValidator = [Function, Array],
BaseTransitionImpl = {
name: 'BaseTransition',
props: {
mode: String,
appear: Boolean,
persisted: Boolean,
onBeforeEnter: TransitionHookValidator,
onEnter: TransitionHookValidator,
onAfterEnter: TransitionHookValidator,
onEnterCancelled: TransitionHookValidator,
onBeforeLeave: TransitionHookValidator,
onLeave: TransitionHookValidator,
onAfterLeave: TransitionHookValidator,
onLeaveCancelled: TransitionHookValidator,
onBeforeAppear: TransitionHookValidator,
onAppear: TransitionHookValidator,
onAfterAppear: TransitionHookValidator,
onAppearCancelled: TransitionHookValidator
},
setup: function (e, t) {
var n,
r = t.slots,
a = getCurrentInstance(),
o = useTransitionState()
return function () {
var t = r.default && getTransitionRawChildren(r.default(), !0)
if (t && t.length) {
var i = toRaw(e),
s = i.mode,
l = t[0]
if (o.isLeaving) return emptyPlaceholder(l)
var c = getKeepAliveChild(l)
if (!c) return emptyPlaceholder(l)
var u = resolveTransitionHooks(c, i, o, a)
setTransitionHooks(c, u)
var p = a.subTree,
d = p && getKeepAliveChild(p),
f = !1,
h = c.type.getTransitionKey
if (h) {
var v = h()
void 0 === n ? (n = v) : v !== n && ((n = v), (f = !0))
}
if (d && d.type !== Comment && (!isSameVNodeType(c, d) || f)) {
var m = resolveTransitionHooks(d, i, o, a)
if ((setTransitionHooks(d, m), 'out-in' === s))
return (
(o.isLeaving = !0),
(m.afterLeave = function () {
;(o.isLeaving = !1), a.update()
}),
emptyPlaceholder(l)
)
'in-out' === s &&
c.type !== Comment &&
(m.delayLeave = function (e, t, n) {
;(getLeavingNodesForType(o, d)[String(d.key)] = d),
(e._leaveCb = function () {
t(), (e._leaveCb = void 0), delete u.delayedLeave
}),
(u.delayedLeave = n)
})
}
return l
}
}
}
},
BaseTransition = exports('c5', BaseTransitionImpl)
function getLeavingNodesForType(e, t) {
var n = e.leavingVNodes,
r = n.get(t.type)
return r || ((r = Object.create(null)), n.set(t.type, r)), r
}
function resolveTransitionHooks(e, t, n, r) {
var a = t.appear,
o = t.mode,
i = t.persisted,
s = void 0 !== i && i,
l = t.onBeforeEnter,
c = t.onEnter,
u = t.onAfterEnter,
p = t.onEnterCancelled,
d = t.onBeforeLeave,
f = t.onLeave,
h = t.onAfterLeave,
v = t.onLeaveCancelled,
m = t.onBeforeAppear,
g = t.onAppear,
y = t.onAfterAppear,
b = t.onAppearCancelled,
_ = String(e.key),
A = getLeavingNodesForType(n, e),
x = function (e, t) {
e && callWithAsyncErrorHandling(e, r, 9, t)
},
w = {
mode: o,
persisted: s,
beforeEnter: function (t) {
var r = l
if (!n.isMounted) {
if (!a) return
r = m || l
}
t._leaveCb && t._leaveCb(!0)
var o = A[_]
o && isSameVNodeType(e, o) && o.el._leaveCb && o.el._leaveCb(), x(r, [t])
},
enter: function (e) {
var t = c,
r = u,
o = p
if (!n.isMounted) {
if (!a) return
;(t = g || c), (r = y || u), (o = b || p)
}
var i = !1,
s = (e._enterCb = function (t) {
i ||
((i = !0),
x(t ? o : r, [e]),
w.delayedLeave && w.delayedLeave(),
(e._enterCb = void 0))
})
t ? (t(e, s), t.length <= 1 && s()) : s()
},
leave: function (t, r) {
var a = String(e.key)
if ((t._enterCb && t._enterCb(!0), n.isUnmounting)) return r()
x(d, [t])
var o = !1,
i = (t._leaveCb = function (n) {
o ||
((o = !0),
r(),
x(n ? v : h, [t]),
(t._leaveCb = void 0),
A[a] === e && delete A[a])
})
;(A[a] = e), f ? (f(t, i), f.length <= 1 && i()) : i()
},
clone: function (e) {
return resolveTransitionHooks(e, t, n, r)
}
}
return w
}
function emptyPlaceholder(e) {
if (isKeepAlive(e)) return ((e = cloneVNode(e)).children = null), e
}
function getKeepAliveChild(e) {
return isKeepAlive(e) ? (e.children ? e.children[0] : void 0) : e
}
function setTransitionHooks(e, t) {
6 & e.shapeFlag && e.component
? setTransitionHooks(e.component.subTree, t)
: 128 & e.shapeFlag
? ((e.ssContent.transition = t.clone(e.ssContent)),
(e.ssFallback.transition = t.clone(e.ssFallback)))
: (e.transition = t)
}
function getTransitionRawChildren(e) {
for (
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
n = [],
r = 0,
a = 0;
a < e.length;
a++
) {
var o = e[a]
o.type === Fragment
? (128 & o.patchFlag && r++,
(n = n.concat(getTransitionRawChildren(o.children, t))))
: (t || o.type !== Comment) && n.push(o)
}
if (r > 1) for (var i = 0; i < n.length; i++) n[i].patchFlag = -2
return n
}
function defineComponent(e) {
return isFunction$1(e) ? { setup: e, name: e.name } : e
}
var isAsyncWrapper = function (e) {
return !!e.type.__asyncLoader
}
function defineAsyncComponent(e) {
isFunction$1(e) && (e = { loader: e })
var t,
n = e,
r = n.loader,
a = n.loadingComponent,
o = n.errorComponent,
i = n.delay,
s = void 0 === i ? 200 : i,
l = n.timeout,
c = n.suspensible,
u = void 0 === c || c,
p = n.onError,
d = null,
f = 0,
h = function () {
return f++, (d = null), v()
},
v = function () {
var e
return (
d ||
(e = d =
r()
.catch(function (e) {
if (((e = e instanceof Error ? e : new Error(String(e))), p))
return new Promise(function (t, n) {
p(
e,
function () {
return t(h())
},
function () {
return n(e)
},
f + 1
)
})
throw e
})
.then(function (n) {
return e !== d && d
? d
: (n &&
(n.__esModule || 'Module' === n[Symbol.toStringTag]) &&
(n = n.default),
(t = n),
n)
}))
)
}
return defineComponent({
name: 'AsyncComponentWrapper',
__asyncLoader: v,
get __asyncResolved() {
return t
},
setup: function () {
var e = currentInstance
if (t)
return function () {
return createInnerComp(t, e)
}
var n = function (t) {
;(d = null), handleError(t, e, 13, !o)
}
if ((u && e.suspense) || isInSSRComponentSetup)
return v()
.then(function (t) {
return function () {
return createInnerComp(t, e)
}
})
.catch(function (e) {
return (
n(e),
function () {
return o ? createVNode(o, { error: e }) : null
}
)
})
var r = ref(!1),
i = ref(),
c = ref(!!s)
return (
s &&
setTimeout(function () {
c.value = !1
}, s),
null != l &&
setTimeout(function () {
if (!r.value && !i.value) {
var e = new Error('Async component timed out after '.concat(l, 'ms.'))
n(e), (i.value = e)
}
}, l),
v()
.then(function () {
;(r.value = !0),
e.parent && isKeepAlive(e.parent.vnode) && queueJob(e.parent.update)
})
.catch(function (e) {
n(e), (i.value = e)
}),
function () {
return r.value && t
? createInnerComp(t, e)
: i.value && o
? createVNode(o, { error: i.value })
: a && !c.value
? createVNode(a)
: void 0
}
)
}
})
}
function createInnerComp(e, t) {
var n = t.vnode,
r = n.ref,
a = n.props,
o = n.children,
i = createVNode(e, a, o)
return (i.ref = r), i
}
var isKeepAlive = function (e) {
return e.type.__isKeepAlive
},
KeepAliveImpl = {
name: 'KeepAlive',
__isKeepAlive: !0,
props: {
include: [String, RegExp, Array],
exclude: [String, RegExp, Array],
max: [String, Number]
},
setup: function (e, t) {
var n = t.slots,
r = getCurrentInstance(),
a = r.ctx
if (!a.renderer) return n.default
var o = new Map(),
i = new Set(),
s = null,
l = r.suspense,
c = a.renderer,
u = c.p,
p = c.m,
d = c.um,
f = (0, c.o.createElement)('div')
function h(e) {
resetShapeFlag(e), d(e, r, l)
}
function v(e) {
o.forEach(function (t, n) {
var r = getComponentName(t.type)
!r || (e && e(r)) || m(n)
})
}
function m(e) {
var t = o.get(e)
s && t.type === s.type ? s && resetShapeFlag(s) : h(t), o.delete(e), i.delete(e)
}
;(a.activate = function (e, t, n, r, a) {
var o = e.component
p(e, t, n, 0, l),
u(o.vnode, e, t, n, o, l, r, e.slotScopeIds, a),
queuePostRenderEffect(function () {
;(o.isDeactivated = !1), o.a && invokeArrayFns(o.a)
var t = e.props && e.props.onVnodeMounted
t && invokeVNodeHook(t, o.parent, e)
}, l)
}),
(a.deactivate = function (e) {
var t = e.component
p(e, f, null, 1, l),
queuePostRenderEffect(function () {
t.da && invokeArrayFns(t.da)
var n = e.props && e.props.onVnodeUnmounted
n && invokeVNodeHook(n, t.parent, e), (t.isDeactivated = !0)
}, l)
}),
watch(
function () {
return [e.include, e.exclude]
},
function (e) {
var t = _slicedToArray(e, 2),
n = t[0],
r = t[1]
n &&
v(function (e) {
return matches(n, e)
}),
r &&
v(function (e) {
return !matches(r, e)
})
},
{ flush: 'post', deep: !0 }
)
var g = null,
y = function () {
null != g && o.set(g, getInnerChild(r.subTree))
}
return (
onMounted(y),
onUpdated(y),
onBeforeUnmount(function () {
o.forEach(function (e) {
var t = r.subTree,
n = r.suspense,
a = getInnerChild(t)
if (e.type !== a.type) h(e)
else {
resetShapeFlag(a)
var o = a.component.da
o && queuePostRenderEffect(o, n)
}
})
}),
function () {
if (((g = null), !n.default)) return null
var t = n.default(),
r = t[0]
if (t.length > 1) return (s = null), t
if (!(isVNode(r) && (4 & r.shapeFlag || 128 & r.shapeFlag)))
return (s = null), r
var a = getInnerChild(r),
l = a.type,
c = getComponentName(isAsyncWrapper(a) ? a.type.__asyncResolved || {} : l),
u = e.include,
p = e.exclude,
d = e.max
if ((u && (!c || !matches(u, c))) || (p && c && matches(p, c)))
return (s = a), r
var f = null == a.key ? l : a.key,
h = o.get(f)
return (
a.el && ((a = cloneVNode(a)), 128 & r.shapeFlag && (r.ssContent = a)),
(g = f),
h
? ((a.el = h.el),
(a.component = h.component),
a.transition && setTransitionHooks(a, a.transition),
(a.shapeFlag |= 512),
i.delete(f),
i.add(f))
: (i.add(f), d && i.size > parseInt(d, 10) && m(i.values().next().value)),
(a.shapeFlag |= 256),
(s = a),
r
)
}
)
}
},
KeepAlive = exports('c7', KeepAliveImpl)
function matches(e, t) {
return isArray$5(e)
? e.some(function (e) {
return matches(e, t)
})
: isString$1(e)
? e.split(',').indexOf(t) > -1
: !!e.test && e.test(t)
}
function onActivated(e, t) {
registerKeepAliveHook(e, 'a', t)
}
function onDeactivated(e, t) {
registerKeepAliveHook(e, 'da', t)
}
function registerKeepAliveHook(e, t) {
var n =
arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
r =
e.__wdc ||
(e.__wdc = function () {
for (var t = n; t; ) {
if (t.isDeactivated) return
t = t.parent
}
return e()
})
if ((injectHook(t, r, n), n))
for (var a = n.parent; a && a.parent; )
isKeepAlive(a.parent.vnode) && injectToKeepAliveRoot(r, t, n, a), (a = a.parent)
}
function injectToKeepAliveRoot(e, t, n, r) {
var a = injectHook(t, e, r, !0)
onUnmounted(function () {
remove(r[t], a)
}, n)
}
function resetShapeFlag(e) {
var t = e.shapeFlag
256 & t && (t -= 256), 512 & t && (t -= 512), (e.shapeFlag = t)
}
function getInnerChild(e) {
return 128 & e.shapeFlag ? e.ssContent : e
}
function injectHook(e, t) {
var n =
arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
if (n) {
var a = n[e] || (n[e] = []),
o =
t.__weh ||
(t.__weh = function () {
if (!n.isUnmounted) {
pauseTracking(), setCurrentInstance(n)
for (var r = arguments.length, a = new Array(r), o = 0; o < r; o++)
a[o] = arguments[o]
var i = callWithAsyncErrorHandling(t, n, e, a)
return unsetCurrentInstance(), resetTracking(), i
}
})
return r ? a.unshift(o) : a.push(o), o
}
}
var createHook = function (e) {
return function (t) {
var n =
arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
return (!isInSSRComponentSetup || 'sp' === e) && injectHook(e, t, n)
}
},
onBeforeMount = exports('cy', createHook('bm')),
onMounted = exports('$', createHook('m')),
onBeforeUpdate = exports('aG', createHook('bu')),
onUpdated = exports('as', createHook('u')),
onBeforeUnmount = exports('ab', createHook('bum')),
onUnmounted = exports('a_', createHook('um')),
onServerPrefetch = exports('cC', createHook('sp')),
onRenderTriggered = exports('cB', createHook('rtg')),
onRenderTracked = exports('cA', createHook('rtc'))
function onErrorCaptured(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
injectHook('ec', e, t)
}
var shouldCacheAccess = !0
function applyOptions(e) {
var t = resolveMergedOptions(e),
n = e.proxy,
r = e.ctx
;(shouldCacheAccess = !1), t.beforeCreate && callHook$1(t.beforeCreate, e, 'bc')
var a = t.data,
o = t.computed,
i = t.methods,
s = t.watch,
l = t.provide,
c = t.inject,
u = t.created,
p = t.beforeMount,
d = t.mounted,
f = t.beforeUpdate,
h = t.updated,
v = t.activated,
m = t.deactivated,
g = (t.beforeDestroy, t.beforeUnmount),
y = (t.destroyed, t.unmounted),
b = t.render,
_ = t.renderTracked,
A = t.renderTriggered,
x = t.errorCaptured,
w = t.serverPrefetch,
k = t.expose,
S = t.inheritAttrs,
E = t.components,
P = t.directives
t.filters
if ((c && resolveInjections(c, r, null, e.appContext.config.unwrapInjectedRef), i))
for (var C in i) {
var T = i[C]
isFunction$1(T) && (r[C] = T.bind(n))
}
if (a) {
var I = a.call(n, n)
isObject$2(I) && (e.data = reactive(I))
}
if (((shouldCacheAccess = !0), o)) {
var M = function (e) {
var t = o[e],
a = computed({
get: isFunction$1(t)
? t.bind(n, n)
: isFunction$1(t.get)
? t.get.bind(n, n)
: NOOP,
set: !isFunction$1(t) && isFunction$1(t.set) ? t.set.bind(n) : NOOP
})
Object.defineProperty(r, e, {
enumerable: !0,
configurable: !0,
get: function () {
return a.value
},
set: function (e) {
return (a.value = e)
}
})
}
for (var R in o) M(R)
}
if (s) for (var O in s) createWatcher(s[O], r, n, O)
if (l) {
var z = isFunction$1(l) ? l.call(n) : l
Reflect.ownKeys(z).forEach(function (e) {
provide(e, z[e])
})
}
function D(e, t) {
isArray$5(t)
? t.forEach(function (t) {
return e(t.bind(n))
})
: t && e(t.bind(n))
}
if (
(u && callHook$1(u, e, 'c'),
D(onBeforeMount, p),
D(onMounted, d),
D(onBeforeUpdate, f),
D(onUpdated, h),
D(onActivated, v),
D(onDeactivated, m),
D(onErrorCaptured, x),
D(onRenderTracked, _),
D(onRenderTriggered, A),
D(onBeforeUnmount, g),
D(onUnmounted, y),
D(onServerPrefetch, w),
isArray$5(k))
)
if (k.length) {
var F = e.exposed || (e.exposed = {})
k.forEach(function (e) {
Object.defineProperty(F, e, {
get: function () {
return n[e]
},
set: function (t) {
return (n[e] = t)
}
})
})
} else e.exposed || (e.exposed = {})
b && e.render === NOOP && (e.render = b),
null != S && (e.inheritAttrs = S),
E && (e.components = E),
P && (e.directives = P)
}
function resolveInjections(e, t) {
var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
isArray$5(e) && (e = normalizeInject(e))
var r = function (r) {
var a = e[r],
o = void 0
isRef(
(o = isObject$2(a)
? 'default' in a
? inject(a.from || r, a.default, !0)
: inject(a.from || r)
: inject(a))
) && n
? Object.defineProperty(t, r, {
enumerable: !0,
configurable: !0,
get: function () {
return o.value
},
set: function (e) {
return (o.value = e)
}
})
: (t[r] = o)
}
for (var a in e) r(a)
}
function callHook$1(e, t, n) {
callWithAsyncErrorHandling(
isArray$5(e)
? e.map(function (e) {
return e.bind(t.proxy)
})
: e.bind(t.proxy),
t,
n
)
}
function createWatcher(e, t, n, r) {
var a = r.includes('.')
? createPathGetter(n, r)
: function () {
return n[r]
}
if (isString$1(e)) {
var o = t[e]
isFunction$1(o) && watch(a, o)
} else if (isFunction$1(e)) watch(a, e.bind(n))
else if (isObject$2(e))
if (isArray$5(e))
e.forEach(function (e) {
return createWatcher(e, t, n, r)
})
else {
var i = isFunction$1(e.handler) ? e.handler.bind(n) : t[e.handler]
isFunction$1(i) && watch(a, i, e)
}
}
function resolveMergedOptions(e) {
var t,
n = e.type,
r = n.mixins,
a = n.extends,
o = e.appContext,
i = o.mixins,
s = o.optionsCache,
l = o.config.optionMergeStrategies,
c = s.get(n)
return (
c
? (t = c)
: i.length || r || a
? ((t = {}),
i.length &&
i.forEach(function (e) {
return mergeOptions$1(t, e, l, !0)
}),
mergeOptions$1(t, n, l))
: (t = n),
s.set(n, t),
t
)
}
function mergeOptions$1(e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = t.mixins,
o = t.extends
for (var i in (o && mergeOptions$1(e, o, n, !0),
a &&
a.forEach(function (t) {
return mergeOptions$1(e, t, n, !0)
}),
t))
if (r && 'expose' === i);
else {
var s = internalOptionMergeStrats[i] || (n && n[i])
e[i] = s ? s(e[i], t[i]) : t[i]
}
return e
}
var internalOptionMergeStrats = {
data: mergeDataFn,
props: mergeObjectOptions,
emits: mergeObjectOptions,
methods: mergeObjectOptions,
computed: mergeObjectOptions,
beforeCreate: mergeAsArray,
created: mergeAsArray,
beforeMount: mergeAsArray,
mounted: mergeAsArray,
beforeUpdate: mergeAsArray,
updated: mergeAsArray,
beforeDestroy: mergeAsArray,
beforeUnmount: mergeAsArray,
destroyed: mergeAsArray,
unmounted: mergeAsArray,
activated: mergeAsArray,
deactivated: mergeAsArray,
errorCaptured: mergeAsArray,
serverPrefetch: mergeAsArray,
components: mergeObjectOptions,
directives: mergeObjectOptions,
watch: mergeWatchOptions,
provide: mergeDataFn,
inject: mergeInject
}
function mergeDataFn(e, t) {
return t
? e
? function () {
return extend$2(
isFunction$1(e) ? e.call(this, this) : e,
isFunction$1(t) ? t.call(this, this) : t
)
}
: t
: e
}
function mergeInject(e, t) {
return mergeObjectOptions(normalizeInject(e), normalizeInject(t))
}
function normalizeInject(e) {
if (isArray$5(e)) {
for (var t = {}, n = 0; n < e.length; n++) t[e[n]] = e[n]
return t
}
return e
}
function mergeAsArray(e, t) {
return e ? _toConsumableArray2(new Set([].concat(e, t))) : t
}
function mergeObjectOptions(e, t) {
return e ? extend$2(extend$2(Object.create(null), e), t) : t
}
function mergeWatchOptions(e, t) {
if (!e) return t
if (!t) return e
var n = extend$2(Object.create(null), e)
for (var r in t) n[r] = mergeAsArray(e[r], t[r])
return n
}
function initProps(e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = {},
o = {}
for (var i in (def(o, InternalObjectKey, 1),
(e.propsDefaults = Object.create(null)),
setFullProps(e, t, a, o),
e.propsOptions[0]))
i in a || (a[i] = void 0)
n
? (e.props = r ? a : shallowReactive(a))
: e.type.props
? (e.props = a)
: (e.props = o),
(e.attrs = o)
}
function updateProps(e, t, n, r) {
var a = e.props,
o = e.attrs,
i = e.vnode.patchFlag,
s = toRaw(a),
l = _slicedToArray(e.propsOptions, 1)[0],
c = !1
if (!(r || i > 0) || 16 & i) {
var u
for (var p in (setFullProps(e, t, a, o) && (c = !0), s))
(t && (hasOwn$2(t, p) || ((u = hyphenate(p)) !== p && hasOwn$2(t, u)))) ||
(l
? !n ||
(void 0 === n[p] && void 0 === n[u]) ||
(a[p] = resolvePropValue(l, s, p, void 0, e, !0))
: delete a[p])
if (o !== s) for (var d in o) (t && hasOwn$2(t, d)) || (delete o[d], (c = !0))
} else if (8 & i)
for (var f = e.vnode.dynamicProps, h = 0; h < f.length; h++) {
var v = f[h],
m = t[v]
if (l)
if (hasOwn$2(o, v)) m !== o[v] && ((o[v] = m), (c = !0))
else {
var g = camelize$1(v)
a[g] = resolvePropValue(l, s, g, m, e, !1)
}
else m !== o[v] && ((o[v] = m), (c = !0))
}
c && trigger$1(e, 'set', '$attrs')
}
function setFullProps(e, t, n, r) {
var a,
o = _slicedToArray(e.propsOptions, 2),
i = o[0],
s = o[1],
l = !1
if (t)
for (var c in t)
if (!isReservedProp(c)) {
var u = t[c],
p = void 0
i && hasOwn$2(i, (p = camelize$1(c)))
? s && s.includes(p)
? ((a || (a = {}))[p] = u)
: (n[p] = u)
: isEmitListener(e.emitsOptions, c) ||
(c in r && u === r[c]) ||
((r[c] = u), (l = !0))
}
if (s)
for (var d = toRaw(n), f = a || EMPTY_OBJ, h = 0; h < s.length; h++) {
var v = s[h]
n[v] = resolvePropValue(i, d, v, f[v], e, !hasOwn$2(f, v))
}
return l
}
function resolvePropValue(e, t, n, r, a, o) {
var i = e[n]
if (null != i) {
var s = hasOwn$2(i, 'default')
if (s && void 0 === r) {
var l = i.default
if (i.type !== Function && isFunction$1(l)) {
var c = a.propsDefaults
n in c
? (r = c[n])
: (setCurrentInstance(a), (r = c[n] = l.call(null, t)), unsetCurrentInstance())
} else r = l
}
i[0] && (o && !s ? (r = !1) : !i[1] || ('' !== r && r !== hyphenate(n)) || (r = !0))
}
return r
}
function normalizePropsOptions(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = t.propsCache,
a = r.get(e)
if (a) return a
var o = e.props,
i = {},
s = [],
l = !1
if (!isFunction$1(e)) {
var c = function (e) {
l = !0
var n = _slicedToArray(normalizePropsOptions(e, t, !0), 2),
r = n[0],
a = n[1]
extend$2(i, r), a && s.push.apply(s, _toConsumableArray2(a))
}
!n && t.mixins.length && t.mixins.forEach(c),
e.extends && c(e.extends),
e.mixins && e.mixins.forEach(c)
}
if (!o && !l) return r.set(e, EMPTY_ARR), EMPTY_ARR
if (isArray$5(o))
for (var u = 0; u < o.length; u++) {
var p = camelize$1(o[u])
validatePropName(p) && (i[p] = EMPTY_OBJ)
}
else if (o)
for (var d in o) {
var f = camelize$1(d)
if (validatePropName(f)) {
var h = o[d],
v = (i[f] = isArray$5(h) || isFunction$1(h) ? { type: h } : h)
if (v) {
var m = getTypeIndex(Boolean, v.type),
g = getTypeIndex(String, v.type)
;(v[0] = m > -1),
(v[1] = g < 0 || m < g),
(m > -1 || hasOwn$2(v, 'default')) && s.push(f)
}
}
}
var y = [i, s]
return r.set(e, y), y
}
function validatePropName(e) {
return '$' !== e[0]
}
function getType(e) {
var t = e && e.toString().match(/^\s*function (\w+)/)
return t ? t[1] : null === e ? 'null' : ''
}
function isSameType(e, t) {
return getType(e) === getType(t)
}
function getTypeIndex(e, t) {
return isArray$5(t)
? t.findIndex(function (t) {
return isSameType(t, e)
})
: isFunction$1(t) && isSameType(t, e)
? 0
: -1
}
var isInternalKey = function (e) {
return '_' === e[0] || '$stable' === e
},
normalizeSlotValue = function (e) {
return isArray$5(e) ? e.map(normalizeVNode) : [normalizeVNode(e)]
},
normalizeSlot$1 = function (e, t, n) {
var r = withCtx(function () {
return normalizeSlotValue(t.apply(void 0, arguments))
}, n)
return (r._c = !1), r
},
normalizeObjectSlots = function (e, t, n) {
var r = e._ctx
for (var a in e)
if (!isInternalKey(a)) {
var o = e[a]
isFunction$1(o)
? (t[a] = normalizeSlot$1(a, o, r))
: null != o &&
(function () {
var e = normalizeSlotValue(o)
t[a] = function () {
return e
}
})()
}
},
normalizeVNodeSlots = function (e, t) {
var n = normalizeSlotValue(t)
e.slots.default = function () {
return n
}
},
initSlots = function (e, t) {
if (32 & e.vnode.shapeFlag) {
var n = t._
n ? ((e.slots = toRaw(t)), def(t, '_', n)) : normalizeObjectSlots(t, (e.slots = {}))
} else (e.slots = {}), t && normalizeVNodeSlots(e, t)
def(e.slots, InternalObjectKey, 1)
},
updateSlots = function (e, t, n) {
var r = e.vnode,
a = e.slots,
o = !0,
i = EMPTY_OBJ
if (32 & r.shapeFlag) {
var s = t._
s
? n && 1 === s
? (o = !1)
: (extend$2(a, t), n || 1 !== s || delete a._)
: ((o = !t.$stable), normalizeObjectSlots(t, a)),
(i = t)
} else t && (normalizeVNodeSlots(e, t), (i = { default: 1 }))
if (o) for (var l in a) isInternalKey(l) || l in i || delete a[l]
}
function withDirectives(e, t) {
if (null === currentRenderingInstance) return e
for (
var n = currentRenderingInstance.proxy, r = e.dirs || (e.dirs = []), a = 0;
a < t.length;
a++
) {
var o = _slicedToArray(t[a], 4),
i = o[0],
s = o[1],
l = o[2],
c = o[3],
u = void 0 === c ? EMPTY_OBJ : c
isFunction$1(i) && (i = { mounted: i, updated: i }),
i.deep && traverse(s),
r.push({ dir: i, instance: n, value: s, oldValue: void 0, arg: l, modifiers: u })
}
return e
}
function invokeDirectiveHook(e, t, n, r) {
for (var a = e.dirs, o = t && t.dirs, i = 0; i < a.length; i++) {
var s = a[i]
o && (s.oldValue = o[i].value)
var l = s.dir[r]
l &&
(pauseTracking(),
callWithAsyncErrorHandling(l, n, 8, [e.el, s, e, t]),
resetTracking())
}
}
function createAppContext() {
return {
app: null,
config: {
isNativeTag: NO,
performance: !1,
globalProperties: {},
optionMergeStrategies: {},
errorHandler: void 0,
warnHandler: void 0,
compilerOptions: {}
},
mixins: [],
components: {},
directives: {},
provides: Object.create(null),
optionsCache: new WeakMap(),
propsCache: new WeakMap(),
emitsCache: new WeakMap()
}
}
var uid = 0
function createAppAPI(e, t) {
return function (n) {
var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
null == r || isObject$2(r) || (r = null)
var a = createAppContext(),
o = new Set(),
i = !1,
s = (a.app = {
_uid: uid++,
_component: n,
_props: r,
_container: null,
_context: a,
_instance: null,
version: version,
get config() {
return a.config
},
set config(e) {},
use: function (e) {
for (
var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1;
r < t;
r++
)
n[r - 1] = arguments[r]
return (
o.has(e) ||
(e && isFunction$1(e.install)
? (o.add(e), e.install.apply(e, [s].concat(n)))
: isFunction$1(e) && (o.add(e), e.apply(void 0, [s].concat(n)))),
s
)
},
mixin: function (e) {
return a.mixins.includes(e) || a.mixins.push(e), s
},
component: function (e, t) {
return t ? ((a.components[e] = t), s) : a.components[e]
},
directive: function (e, t) {
return t ? ((a.directives[e] = t), s) : a.directives[e]
},
mount: function (o, l, c) {
if (!i) {
var u = createVNode(n, r)
return (
(u.appContext = a),
l && t ? t(u, o) : e(u, o, c),
(i = !0),
(s._container = o),
(o.__vue_app__ = s),
getExposeProxy(u.component) || u.component.proxy
)
}
},
unmount: function () {
i && (e(null, s._container), delete s._container.__vue_app__)
},
provide: function (e, t) {
return (a.provides[e] = t), s
}
})
return s
}
}
function setRef(e, t, n, r) {
var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
if (isArray$5(e))
e.forEach(function (e, o) {
return setRef(e, t && (isArray$5(t) ? t[o] : t), n, r, a)
})
else if (!isAsyncWrapper(r) || a) {
var o = 4 & r.shapeFlag ? getExposeProxy(r.component) || r.component.proxy : r.el,
i = a ? null : o,
s = e.i,
l = e.r,
c = t && t.r,
u = s.refs === EMPTY_OBJ ? (s.refs = {}) : s.refs,
p = s.setupState
if (
(null != c &&
c !== l &&
(isString$1(c)
? ((u[c] = null), hasOwn$2(p, c) && (p[c] = null))
: isRef(c) && (c.value = null)),
isFunction$1(l))
)
callWithErrorHandling(l, s, 12, [i, u])
else {
var d = isString$1(l),
f = isRef(l)
if (d || f) {
var h = function () {
if (e.f) {
var t = d ? u[l] : l.value
a
? isArray$5(t) && remove(t, o)
: isArray$5(t)
? t.includes(o) || t.push(o)
: d
? (u[l] = [o])
: ((l.value = [o]), e.k && (u[e.k] = l.value))
} else
d
? ((u[l] = i), hasOwn$2(p, l) && (p[l] = i))
: isRef(l) && ((l.value = i), e.k && (u[e.k] = i))
}
i ? ((h.id = -1), queuePostRenderEffect(h, n)) : h()
}
}
}
}
var hasMismatch = !1,
isSVGContainer = function (e) {
return /svg/.test(e.namespaceURI) && 'foreignObject' !== e.tagName
},
isComment = function (e) {
return 8 === e.nodeType
}
function createHydrationFunctions(e) {
var t = e.mt,
n = e.p,
r = e.o,
a = r.patchProp,
o = r.nextSibling,
i = r.parentNode,
s = r.remove,
l = r.insert,
c = r.createComment,
u = function n(r, a, s, l, c) {
var u = arguments.length > 5 && void 0 !== arguments[5] && arguments[5],
m = isComment(r) && '[' === r.data,
g = function () {
return h(r, a, s, l, c, m)
},
y = a.type,
b = a.ref,
_ = a.shapeFlag,
A = r.nodeType
a.el = r
var x = null
switch (y) {
case Text:
3 !== A
? (x = g())
: (r.data !== a.children && ((hasMismatch = !0), (r.data = a.children)),
(x = o(r)))
break
case Comment:
x = 8 !== A || m ? g() : o(r)
break
case Static:
if (1 === A) {
x = r
for (var w = !a.children.length, k = 0; k < a.staticCount; k++)
w && (a.children += x.outerHTML),
k === a.staticCount - 1 && (a.anchor = x),
(x = o(x))
return x
}
x = g()
break
case Fragment:
x = m ? f(r, a, s, l, c, u) : g()
break
default:
if (1 & _)
x =
1 !== A || a.type.toLowerCase() !== r.tagName.toLowerCase()
? g()
: p(r, a, s, l, c, u)
else if (6 & _) {
a.slotScopeIds = c
var S,
E = i(r)
if (
(t(a, E, null, s, l, isSVGContainer(E), u),
(x = m ? v(r) : o(r)),
isAsyncWrapper(a))
)
m
? ((S = createVNode(Fragment)).anchor = x
? x.previousSibling
: E.lastChild)
: (S = 3 === r.nodeType ? createTextVNode('') : createVNode('div')),
(S.el = r),
(a.component.subTree = S)
} else
64 & _
? (x = 8 !== A ? g() : a.type.hydrate(r, a, s, l, c, u, e, d))
: 128 & _ &&
(x = a.type.hydrate(r, a, s, l, isSVGContainer(i(r)), c, u, e, n))
}
return null != b && setRef(b, null, l, a), x
},
p = function (e, t, n, r, o, i) {
i = i || !!t.dynamicChildren
var l = t.type,
c = t.props,
u = t.patchFlag,
p = t.shapeFlag,
f = t.dirs,
h = ('input' === l && f) || 'option' === l
if (h || -1 !== u) {
if ((f && invokeDirectiveHook(t, null, n, 'created'), c))
if (h || !i || 48 & u)
for (var v in c)
((h && v.endsWith('value')) || (isOn(v) && !isReservedProp(v))) &&
a(e, v, null, c[v], !1, void 0, n)
else c.onClick && a(e, 'onClick', null, c.onClick, !1, void 0, n)
var m
if (
((m = c && c.onVnodeBeforeMount) && invokeVNodeHook(m, n, t),
f && invokeDirectiveHook(t, null, n, 'beforeMount'),
((m = c && c.onVnodeMounted) || f) &&
queueEffectWithSuspense(function () {
m && invokeVNodeHook(m, n, t),
f && invokeDirectiveHook(t, null, n, 'mounted')
}, r),
16 & p && (!c || (!c.innerHTML && !c.textContent)))
)
for (var g = d(e.firstChild, t, e, n, r, o, i); g; ) {
hasMismatch = !0
var y = g
;(g = g.nextSibling), s(y)
}
else
8 & p &&
e.textContent !== t.children &&
((hasMismatch = !0), (e.textContent = t.children))
}
return e.nextSibling
},
d = function (e, t, r, a, o, i, s) {
s = s || !!t.dynamicChildren
for (var l = t.children, c = l.length, p = 0; p < c; p++) {
var d = s ? l[p] : (l[p] = normalizeVNode(l[p]))
if (e) e = u(e, d, a, o, i, s)
else {
if (d.type === Text && !d.children) continue
;(hasMismatch = !0), n(null, d, r, null, a, o, isSVGContainer(r), i)
}
}
return e
},
f = function (e, t, n, r, a, s) {
var u = t.slotScopeIds
u && (a = a ? a.concat(u) : u)
var p = i(e),
f = d(o(e), t, p, n, r, a, s)
return f && isComment(f) && ']' === f.data
? o((t.anchor = f))
: ((hasMismatch = !0), l((t.anchor = c(']')), p, f), f)
},
h = function (e, t, r, a, l, c) {
if (((hasMismatch = !0), (t.el = null), c))
for (var u = v(e); ; ) {
var p = o(e)
if (!p || p === u) break
s(p)
}
var d = o(e),
f = i(e)
return s(e), n(null, t, f, d, r, a, isSVGContainer(f), l), d
},
v = function (e) {
for (var t = 0; e; )
if ((e = o(e)) && isComment(e) && ('[' === e.data && t++, ']' === e.data)) {
if (0 === t) return o(e)
t--
}
return e
}
return [
function (e, t) {
if (!t.hasChildNodes()) return n(null, e, t), void flushPostFlushCbs()
;(hasMismatch = !1),
u(t.firstChild, e, null, null, null),
flushPostFlushCbs(),
hasMismatch && console.error('Hydration completed but contains mismatches.')
},
u
]
}
var queuePostRenderEffect = queueEffectWithSuspense
function createRenderer(e) {
return baseCreateRenderer(e)
}
function createHydrationRenderer(e) {
return baseCreateRenderer(e, createHydrationFunctions)
}
function baseCreateRenderer(e, t) {
getGlobalThis().__VUE__ = !0
var n,
r,
a = e.insert,
o = e.remove,
i = e.patchProp,
s = e.createElement,
l = e.createText,
c = e.createComment,
u = e.setText,
p = e.setElementText,
d = e.parentNode,
f = e.nextSibling,
h = e.setScopeId,
v = void 0 === h ? NOOP : h,
m = e.cloneNode,
g = e.insertStaticContent,
y = function (e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : null,
i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
s = arguments.length > 7 && void 0 !== arguments[7] ? arguments[7] : null,
l =
arguments.length > 8 && void 0 !== arguments[8]
? arguments[8]
: !!t.dynamicChildren
if (e !== t) {
e && !isSameVNodeType(e, t) && ((r = U(e)), V(e, a, o, !0), (e = null)),
-2 === t.patchFlag && ((l = !1), (t.dynamicChildren = null))
var c = t.type,
u = t.ref,
p = t.shapeFlag
switch (c) {
case Text:
b(e, t, n, r)
break
case Comment:
_(e, t, n, r)
break
case Static:
null == e && A(t, n, r, i)
break
case Fragment:
I(e, t, n, r, a, o, i, s, l)
break
default:
1 & p
? w(e, t, n, r, a, o, i, s, l)
: 6 & p
? M(e, t, n, r, a, o, i, s, l)
: (64 & p || 128 & p) && c.process(e, t, n, r, a, o, i, s, l, K)
}
null != u && a && setRef(u, e && e.ref, o, t || e, !t)
}
},
b = function (e, t, n, r) {
if (null == e) a((t.el = l(t.children)), n, r)
else {
var o = (t.el = e.el)
t.children !== e.children && u(o, t.children)
}
},
_ = function (e, t, n, r) {
null == e ? a((t.el = c(t.children || '')), n, r) : (t.el = e.el)
},
A = function (e, t, n, r) {
var a = _slicedToArray(g(e.children, t, n, r), 2)
;(e.el = a[0]), (e.anchor = a[1])
},
x = function (e, t, n) {
for (var r, o = e.el, i = e.anchor; o && o !== i; ) (r = f(o)), a(o, t, n), (o = r)
a(i, t, n)
},
w = function (e, t, n, r, a, o, i, s, l) {
;(i = i || 'svg' === t.type),
null == e ? k(t, n, r, a, o, i, s, l) : P(e, t, a, o, i, s, l)
},
k = function (e, t, n, r, o, l, c, u) {
var d,
f,
h = e.type,
v = e.props,
g = e.shapeFlag,
y = e.transition,
b = e.patchFlag,
_ = e.dirs
if (e.el && void 0 !== m && -1 === b) d = e.el = m(e.el)
else {
if (
((d = e.el = s(e.type, l, v && v.is, v)),
8 & g
? p(d, e.children)
: 16 & g && E(e.children, d, null, r, o, l && 'foreignObject' !== h, c, u),
_ && invokeDirectiveHook(e, null, r, 'created'),
v)
) {
for (var A in v)
'value' === A ||
isReservedProp(A) ||
i(d, A, null, v[A], l, e.children, r, o, q)
'value' in v && i(d, 'value', null, v.value),
(f = v.onVnodeBeforeMount) && invokeVNodeHook(f, r, e)
}
S(d, e, e.scopeId, c, r)
}
_ && invokeDirectiveHook(e, null, r, 'beforeMount')
var x = (!o || (o && !o.pendingBranch)) && y && !y.persisted
x && y.beforeEnter(d),
a(d, t, n),
((f = v && v.onVnodeMounted) || x || _) &&
queuePostRenderEffect(function () {
f && invokeVNodeHook(f, r, e),
x && y.enter(d),
_ && invokeDirectiveHook(e, null, r, 'mounted')
}, o)
},
S = function e(t, n, r, a, o) {
if ((r && v(t, r), a)) for (var i = 0; i < a.length; i++) v(t, a[i])
if (o && n === o.subTree) {
var s = o.vnode
e(t, s, s.scopeId, s.slotScopeIds, o.parent)
}
},
E = function (e, t, n, r, a, o, i, s) {
for (
var l = arguments.length > 8 && void 0 !== arguments[8] ? arguments[8] : 0, c = l;
c < e.length;
c++
) {
var u = (e[c] = s ? cloneIfMounted(e[c]) : normalizeVNode(e[c]))
y(null, u, t, n, r, a, o, i, s)
}
},
P = function (e, t, n, r, a, o, s) {
var l = (t.el = e.el),
c = t.patchFlag,
u = t.dynamicChildren,
d = t.dirs
c |= 16 & e.patchFlag
var f,
h = e.props || EMPTY_OBJ,
v = t.props || EMPTY_OBJ
n && toggleRecurse(n, !1),
(f = v.onVnodeBeforeUpdate) && invokeVNodeHook(f, n, t, e),
d && invokeDirectiveHook(t, e, n, 'beforeUpdate'),
n && toggleRecurse(n, !0)
var m = a && 'foreignObject' !== t.type
if (
(u
? C(e.dynamicChildren, u, l, n, r, m, o)
: s || F(e, t, l, null, n, r, m, o, !1),
c > 0)
) {
if (16 & c) T(l, t, h, v, n, r, a)
else if (
(2 & c && h.class !== v.class && i(l, 'class', null, v.class, a),
4 & c && i(l, 'style', h.style, v.style, a),
8 & c)
)
for (var g = t.dynamicProps, y = 0; y < g.length; y++) {
var b = g[y],
_ = h[b],
A = v[b]
;(A === _ && 'value' !== b) || i(l, b, _, A, a, e.children, n, r, q)
}
1 & c && e.children !== t.children && p(l, t.children)
} else s || null != u || T(l, t, h, v, n, r, a)
;((f = v.onVnodeUpdated) || d) &&
queuePostRenderEffect(function () {
f && invokeVNodeHook(f, n, t, e), d && invokeDirectiveHook(t, e, n, 'updated')
}, r)
},
C = function (e, t, n, r, a, o, i) {
for (var s = 0; s < t.length; s++) {
var l = e[s],
c = t[s],
u =
l.el && (l.type === Fragment || !isSameVNodeType(l, c) || 70 & l.shapeFlag)
? d(l.el)
: n
y(l, c, u, null, r, a, o, i, !0)
}
},
T = function (e, t, n, r, a, o, s) {
if (n !== r) {
for (var l in r)
if (!isReservedProp(l)) {
var c = r[l],
u = n[l]
c !== u && 'value' !== l && i(e, l, u, c, s, t.children, a, o, q)
}
if (n !== EMPTY_OBJ)
for (var p in n)
isReservedProp(p) || p in r || i(e, p, n[p], null, s, t.children, a, o, q)
'value' in r && i(e, 'value', n.value, r.value)
}
},
I = function (e, t, n, r, o, i, s, c, u) {
var p = (t.el = e ? e.el : l('')),
d = (t.anchor = e ? e.anchor : l('')),
f = t.patchFlag,
h = t.dynamicChildren,
v = t.slotScopeIds
v && (c = c ? c.concat(v) : v),
null == e
? (a(p, n, r), a(d, n, r), E(t.children, n, d, o, i, s, c, u))
: f > 0 && 64 & f && h && e.dynamicChildren
? (C(e.dynamicChildren, h, n, o, i, s, c),
(null != t.key || (o && t === o.subTree)) && traverseStaticChildren(e, t, !0))
: F(e, t, n, d, o, i, s, c, u)
},
M = function (e, t, n, r, a, o, i, s, l) {
;(t.slotScopeIds = s),
null == e
? 512 & t.shapeFlag
? a.ctx.activate(t, n, r, i, l)
: R(t, n, r, a, o, i, l)
: O(e, t, l)
},
R = function (e, t, n, r, a, o, i) {
var s = (e.component = createComponentInstance(e, r, a))
if ((isKeepAlive(e) && (s.ctx.renderer = K), setupComponent(s), s.asyncDep)) {
if ((a && a.registerDep(s, z), !e.el)) {
var l = (s.subTree = createVNode(Comment))
_(null, l, t, n)
}
} else z(s, e, t, n, a, o, i)
},
O = function (e, t, n) {
var r = (t.component = e.component)
if (shouldUpdateComponent(e, t, n)) {
if (r.asyncDep && !r.asyncResolved) return void D(r, t, n)
;(r.next = t), invalidateJob(r.update), r.update()
} else (t.component = e.component), (t.el = e.el), (r.vnode = t)
},
z = function (e, t, n, a, o, i, s) {
var l = (e.effect = new ReactiveEffect(
function () {
if (e.isMounted) {
var l,
c = e.next,
u = e.bu,
p = e.u,
f = e.parent,
h = e.vnode,
v = c
toggleRecurse(e, !1),
c ? ((c.el = h.el), D(e, c, s)) : (c = h),
u && invokeArrayFns(u),
(l = c.props && c.props.onVnodeBeforeUpdate) &&
invokeVNodeHook(l, f, c, h),
toggleRecurse(e, !0)
var m = renderComponentRoot(e),
g = e.subTree
;(e.subTree = m),
y(g, m, d(g.el), U(g), e, o, i),
(c.el = m.el),
null === v && updateHOCHostEl(e, m.el),
p && queuePostRenderEffect(p, o),
(l = c.props && c.props.onVnodeUpdated) &&
queuePostRenderEffect(function () {
return invokeVNodeHook(l, f, c, h)
}, o)
} else {
var b,
_ = t,
A = _.el,
x = _.props,
w = e.bm,
k = e.m,
S = e.parent,
E = isAsyncWrapper(t)
if (
(toggleRecurse(e, !1),
w && invokeArrayFns(w),
!E && (b = x && x.onVnodeBeforeMount) && invokeVNodeHook(b, S, t),
toggleRecurse(e, !0),
A && r)
) {
var P = function () {
;(e.subTree = renderComponentRoot(e)), r(A, e.subTree, e, o, null)
}
E
? t.type.__asyncLoader().then(function () {
return !e.isUnmounted && P()
})
: P()
} else {
var C = (e.subTree = renderComponentRoot(e))
y(null, C, n, a, e, o, i), (t.el = C.el)
}
if ((k && queuePostRenderEffect(k, o), !E && (b = x && x.onVnodeMounted))) {
var T = t
queuePostRenderEffect(function () {
return invokeVNodeHook(b, S, T)
}, o)
}
256 & t.shapeFlag && e.a && queuePostRenderEffect(e.a, o),
(e.isMounted = !0),
(t = n = a = null)
}
},
function () {
return queueJob(e.update)
},
e.scope
)),
c = (e.update = l.run.bind(l))
;(c.id = e.uid), toggleRecurse(e, !0), c()
},
D = function (e, t, n) {
t.component = e
var r = e.vnode.props
;(e.vnode = t),
(e.next = null),
updateProps(e, t.props, r, n),
updateSlots(e, t.children, n),
pauseTracking(),
flushPreFlushCbs(void 0, e.update),
resetTracking()
},
F = function (e, t, n, r, a, o, i, s) {
var l = arguments.length > 8 && void 0 !== arguments[8] && arguments[8],
c = e && e.children,
u = e ? e.shapeFlag : 0,
d = t.children,
f = t.patchFlag,
h = t.shapeFlag
if (f > 0) {
if (128 & f) return void N(c, d, n, r, a, o, i, s, l)
if (256 & f) return void B(c, d, n, r, a, o, i, s, l)
}
8 & h
? (16 & u && q(c, a, o), d !== c && p(n, d))
: 16 & u
? 16 & h
? N(c, d, n, r, a, o, i, s, l)
: q(c, a, o, !0)
: (8 & u && p(n, ''), 16 & h && E(d, n, r, a, o, i, s, l))
},
B = function (e, t, n, r, a, o, i, s, l) {
t = t || EMPTY_ARR
var c,
u = (e = e || EMPTY_ARR).length,
p = t.length,
d = Math.min(u, p)
for (c = 0; c < d; c++) {
var f = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
y(e[c], f, n, null, a, o, i, s, l)
}
u > p ? q(e, a, o, !0, !1, d) : E(t, n, r, a, o, i, s, l, d)
},
N = function (e, t, n, r, a, o, i, s, l) {
for (var c = 0, u = t.length, p = e.length - 1, d = u - 1; c <= p && c <= d; ) {
var f = e[c],
h = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
if (!isSameVNodeType(f, h)) break
y(f, h, n, null, a, o, i, s, l), c++
}
for (; c <= p && c <= d; ) {
var v = e[p],
m = (t[d] = l ? cloneIfMounted(t[d]) : normalizeVNode(t[d]))
if (!isSameVNodeType(v, m)) break
y(v, m, n, null, a, o, i, s, l), p--, d--
}
if (c > p) {
if (c <= d)
for (var g = d + 1, b = g < u ? t[g].el : r; c <= d; )
y(
null,
(t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c])),
n,
b,
a,
o,
i,
s,
l
),
c++
} else if (c > d) for (; c <= p; ) V(e[c], a, o, !0), c++
else {
var _,
A = c,
x = c,
w = new Map()
for (c = x; c <= d; c++) {
var k = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
null != k.key && w.set(k.key, c)
}
var S = 0,
E = d - x + 1,
P = !1,
C = 0,
T = new Array(E)
for (c = 0; c < E; c++) T[c] = 0
for (c = A; c <= p; c++) {
var I = e[c]
if (S >= E) V(I, a, o, !0)
else {
var M = void 0
if (null != I.key) M = w.get(I.key)
else
for (_ = x; _ <= d; _++)
if (0 === T[_ - x] && isSameVNodeType(I, t[_])) {
M = _
break
}
void 0 === M
? V(I, a, o, !0)
: ((T[M - x] = c + 1),
M >= C ? (C = M) : (P = !0),
y(I, t[M], n, null, a, o, i, s, l),
S++)
}
}
var R = P ? getSequence(T) : EMPTY_ARR
for (_ = R.length - 1, c = E - 1; c >= 0; c--) {
var O = x + c,
z = t[O],
D = O + 1 < u ? t[O + 1].el : r
0 === T[c]
? y(null, z, n, D, a, o, i, s, l)
: P && (_ < 0 || c !== R[_] ? j(z, n, D, 2) : _--)
}
}
},
j = function e(t, n, r, o) {
var i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
s = t.el,
l = t.type,
c = t.transition,
u = t.children,
p = t.shapeFlag
if (6 & p) e(t.component.subTree, n, r, o)
else if (128 & p) t.suspense.move(n, r, o)
else if (64 & p) l.move(t, n, r, K)
else if (l !== Fragment)
if (l !== Static) {
var d = 2 !== o && 1 & p && c
if (d)
if (0 === o)
c.beforeEnter(s),
a(s, n, r),
queuePostRenderEffect(function () {
return c.enter(s)
}, i)
else {
var f = c.leave,
h = c.delayLeave,
v = c.afterLeave,
m = function () {
return a(s, n, r)
},
g = function () {
f(s, function () {
m(), v && v()
})
}
h ? h(s, m, g) : g()
}
else a(s, n, r)
} else x(t, n, r)
else {
a(s, n, r)
for (var y = 0; y < u.length; y++) e(u[y], n, r, o)
a(t.anchor, n, r)
}
},
V = function (e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
o = e.type,
i = e.props,
s = e.ref,
l = e.children,
c = e.dynamicChildren,
u = e.shapeFlag,
p = e.patchFlag,
d = e.dirs
if ((null != s && setRef(s, null, n, e, !0), 256 & u)) t.ctx.deactivate(e)
else {
var f,
h = 1 & u && d,
v = !isAsyncWrapper(e)
if ((v && (f = i && i.onVnodeBeforeUnmount) && invokeVNodeHook(f, t, e), 6 & u))
G(e.component, n, r)
else {
if (128 & u) return void e.suspense.unmount(n, r)
h && invokeDirectiveHook(e, null, t, 'beforeUnmount'),
64 & u
? e.type.remove(e, t, n, a, K, r)
: c && (o !== Fragment || (p > 0 && 64 & p))
? q(c, t, n, !1, !0)
: ((o === Fragment && 384 & p) || (!a && 16 & u)) && q(l, t, n),
r && L(e)
}
;((v && (f = i && i.onVnodeUnmounted)) || h) &&
queuePostRenderEffect(function () {
f && invokeVNodeHook(f, t, e),
h && invokeDirectiveHook(e, null, t, 'unmounted')
}, n)
}
},
L = function (e) {
var t = e.type,
n = e.el,
r = e.anchor,
a = e.transition
if (t !== Fragment)
if (t !== Static) {
var i = function () {
o(n), a && !a.persisted && a.afterLeave && a.afterLeave()
}
if (1 & e.shapeFlag && a && !a.persisted) {
var s = a.leave,
l = a.delayLeave,
c = function () {
return s(n, i)
}
l ? l(e.el, i, c) : c()
} else i()
} else
!(function (e) {
for (var t, n = e.el, r = e.anchor; n && n !== r; ) (t = f(n)), o(n), (n = t)
o(r)
})(e)
else H(n, r)
},
H = function (e, t) {
for (var n; e !== t; ) (n = f(e)), o(e), (e = n)
o(t)
},
G = function (e, t, n) {
var r = e.bum,
a = e.scope,
o = e.update,
i = e.subTree,
s = e.um
r && invokeArrayFns(r),
a.stop(),
o && ((o.active = !1), V(i, e, t, n)),
s && queuePostRenderEffect(s, t),
queuePostRenderEffect(function () {
e.isUnmounted = !0
}, t),
t &&
t.pendingBranch &&
!t.isUnmounted &&
e.asyncDep &&
!e.asyncResolved &&
e.suspenseId === t.pendingId &&
(t.deps--, 0 === t.deps && t.resolve())
},
q = function (e, t, n) {
for (
var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0,
i = o;
i < e.length;
i++
)
V(e[i], t, n, r, a)
},
U = function e(t) {
return 6 & t.shapeFlag
? e(t.component.subTree)
: 128 & t.shapeFlag
? t.suspense.next()
: f(t.anchor || t.el)
},
W = function (e, t, n) {
null == e
? t._vnode && V(t._vnode, null, null, !0)
: y(t._vnode || null, e, t, null, null, null, n),
flushPostFlushCbs(),
(t._vnode = e)
},
K = { p: y, um: V, m: j, r: L, mt: R, mc: E, pc: F, pbc: C, n: U, o: e }
if (t) {
var $ = _slicedToArray(t(K), 2)
;(n = $[0]), (r = $[1])
}
return { render: W, hydrate: n, createApp: createAppAPI(W, n) }
}
function toggleRecurse(e, t) {
var n = e.effect,
r = e.update
n.allowRecurse = r.allowRecurse = t
}
function traverseStaticChildren(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = e.children,
a = t.children
if (isArray$5(r) && isArray$5(a))
for (var o = 0; o < r.length; o++) {
var i = r[o],
s = a[o]
1 & s.shapeFlag &&
!s.dynamicChildren &&
((s.patchFlag <= 0 || 32 === s.patchFlag) &&
((s = a[o] = cloneIfMounted(a[o])).el = i.el),
n || traverseStaticChildren(i, s))
}
}
function getSequence(e) {
var t,
n,
r,
a,
o,
i = e.slice(),
s = [0],
l = e.length
for (t = 0; t < l; t++) {
var c = e[t]
if (0 !== c) {
if (e[(n = s[s.length - 1])] < c) {
;(i[t] = n), s.push(t)
continue
}
for (r = 0, a = s.length - 1; r < a; )
e[s[(o = (r + a) >> 1)]] < c ? (r = o + 1) : (a = o)
c < e[s[r]] && (r > 0 && (i[t] = s[r - 1]), (s[r] = t))
}
}
for (a = s[(r = s.length) - 1]; r-- > 0; ) (s[r] = a), (a = i[a])
return s
}
var isTeleport = function (e) {
return e.__isTeleport
},
isTeleportDisabled = function (e) {
return e && (e.disabled || '' === e.disabled)
},
isTargetSVG = function (e) {
return 'undefined' != typeof SVGElement && e instanceof SVGElement
},
resolveTarget = function (e, t) {
var n = e && e.to
return isString$1(n) ? (t ? t(n) : null) : n
},
TeleportImpl = {
__isTeleport: !0,
process: function (e, t, n, r, a, o, i, s, l, c) {
var u = c.mc,
p = c.pc,
d = c.pbc,
f = c.o,
h = f.insert,
v = f.querySelector,
m = f.createText,
g = (f.createComment, isTeleportDisabled(t.props)),
y = t.shapeFlag,
b = t.children,
_ = t.dynamicChildren
if (null == e) {
var A = (t.el = m('')),
x = (t.anchor = m(''))
h(A, n, r), h(x, n, r)
var w = (t.target = resolveTarget(t.props, v)),
k = (t.targetAnchor = m(''))
w && (h(k, w), (i = i || isTargetSVG(w)))
var S = function (e, t) {
16 & y && u(b, e, t, a, o, i, s, l)
}
g ? S(n, x) : w && S(w, k)
} else {
t.el = e.el
var E = (t.anchor = e.anchor),
P = (t.target = e.target),
C = (t.targetAnchor = e.targetAnchor),
T = isTeleportDisabled(e.props),
I = T ? n : P,
M = T ? E : C
if (
((i = i || isTargetSVG(P)),
_
? (d(e.dynamicChildren, _, I, a, o, i, s), traverseStaticChildren(e, t, !0))
: l || p(e, t, I, M, a, o, i, s, !1),
g)
)
T || moveTeleport(t, n, E, c, 1)
else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
var R = (t.target = resolveTarget(t.props, v))
R && moveTeleport(t, R, null, c, 0)
} else T && moveTeleport(t, P, C, c, 1)
}
},
remove: function (e, t, n, r, a, o) {
var i = a.um,
s = a.o.remove,
l = e.shapeFlag,
c = e.children,
u = e.anchor,
p = e.targetAnchor,
d = e.target,
f = e.props
if ((d && s(p), (o || !isTeleportDisabled(f)) && (s(u), 16 & l)))
for (var h = 0; h < c.length; h++) {
var v = c[h]
i(v, t, n, !0, !!v.dynamicChildren)
}
},
move: moveTeleport,
hydrate: hydrateTeleport
}
function moveTeleport(e, t, n, r) {
var a = r.o.insert,
o = r.m,
i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 2
0 === i && a(e.targetAnchor, t, n)
var s = e.el,
l = e.anchor,
c = e.shapeFlag,
u = e.children,
p = e.props,
d = 2 === i
if ((d && a(s, t, n), (!d || isTeleportDisabled(p)) && 16 & c))
for (var f = 0; f < u.length; f++) o(u[f], t, n, 2)
d && a(l, t, n)
}
function hydrateTeleport(e, t, n, r, a, o, i, s) {
var l = i.o,
c = l.nextSibling,
u = l.parentNode,
p = l.querySelector,
d = (t.target = resolveTarget(t.props, p))
if (d) {
var f = d._lpa || d.firstChild
16 & t.shapeFlag &&
(isTeleportDisabled(t.props)
? ((t.anchor = s(c(e), t, u(e), n, r, a, o)), (t.targetAnchor = f))
: ((t.anchor = c(e)), (t.targetAnchor = s(f, t, d, n, r, a, o))),
(d._lpa = t.targetAnchor && c(t.targetAnchor)))
}
return t.anchor && c(t.anchor)
}
var Teleport = exports('bK', TeleportImpl),
COMPONENTS = 'components',
DIRECTIVES = 'directives'
function resolveComponent(e, t) {
return resolveAsset(COMPONENTS, e, !0, t) || e
}
var NULL_DYNAMIC_COMPONENT = Symbol()
function resolveDynamicComponent(e) {
return isString$1(e)
? resolveAsset(COMPONENTS, e, !1) || e
: e || NULL_DYNAMIC_COMPONENT
}
function resolveDirective(e) {
return resolveAsset(DIRECTIVES, e)
}
function resolveAsset(e, t) {
var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
r = currentRenderingInstance || currentInstance
if (r) {
var a = r.type
if (e === COMPONENTS) {
var o = getComponentName(a)
if (o && (o === t || o === camelize$1(t) || o === capitalize(camelize$1(t))))
return a
}
var i = resolve(r[e] || a[e], t) || resolve(r.appContext[e], t)
return !i && n ? a : i
}
}
function resolve(e, t) {
return e && (e[t] || e[camelize$1(t)] || e[capitalize(camelize$1(t))])
}
var Fragment = exports('F', Symbol(void 0)),
Text = exports('ca', Symbol(void 0)),
Comment = exports('c6', Symbol(void 0)),
Static = exports('c8', Symbol(void 0)),
blockStack = [],
currentBlock = null
function openBlock() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
blockStack.push((currentBlock = e ? null : []))
}
function closeBlock() {
blockStack.pop(), (currentBlock = blockStack[blockStack.length - 1] || null)
}
var isBlockTreeEnabled = 1
function setBlockTracking(e) {
isBlockTreeEnabled += e
}
function setupBlock(e) {
return (
(e.dynamicChildren = isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null),
closeBlock(),
isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e),
e
)
}
function createElementBlock(e, t, n, r, a, o) {
return setupBlock(createBaseVNode(e, t, n, r, a, o, !0))
}
function createBlock(e, t, n, r, a) {
return setupBlock(createVNode(e, t, n, r, a, !0))
}
function isVNode(e) {
return !!e && !0 === e.__v_isVNode
}
function isSameVNodeType(e, t) {
return e.type === t.type && e.key === t.key
}
function transformVNodeArgs(e) {}
var InternalObjectKey = '__vInternal',
normalizeKey = function (e) {
var t = e.key
return null != t ? t : null
},
normalizeRef = function (e) {
var t = e.ref,
n = e.ref_key,
r = e.ref_for
return null != t
? isString$1(t) || isRef(t) || isFunction$1(t)
? { i: currentRenderingInstance, r: t, k: n, f: !!r }
: t
: null
}
function createBaseVNode(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
o =
arguments.length > 5 && void 0 !== arguments[5]
? arguments[5]
: e === Fragment
? 0
: 1,
i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
s = arguments.length > 7 && void 0 !== arguments[7] && arguments[7],
l = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && normalizeKey(t),
ref: t && normalizeRef(t),
scopeId: currentScopeId,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetAnchor: null,
staticCount: 0,
shapeFlag: o,
patchFlag: r,
dynamicProps: a,
dynamicChildren: null,
appContext: null
}
return (
s
? (normalizeChildren(l, n), 128 & o && e.normalize(l))
: n && (l.shapeFlag |= isString$1(n) ? 8 : 16),
isBlockTreeEnabled > 0 &&
!i &&
currentBlock &&
(l.patchFlag > 0 || 6 & o) &&
32 !== l.patchFlag &&
currentBlock.push(l),
l
)
}
var createVNode = exports('c', _createVNode)
function _createVNode(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
o = arguments.length > 5 && void 0 !== arguments[5] && arguments[5]
if (((e && e !== NULL_DYNAMIC_COMPONENT) || (e = Comment), isVNode(e))) {
var i = cloneVNode(e, t, !0)
return n && normalizeChildren(i, n), i
}
if ((isClassComponent(e) && (e = e.__vccOpts), t)) {
var s = (t = guardReactiveProps(t)),
l = s.class,
c = s.style
l && !isString$1(l) && (t.class = normalizeClass(l)),
isObject$2(c) &&
(isProxy(c) && !isArray$5(c) && (c = extend$2({}, c)),
(t.style = normalizeStyle(c)))
}
var u = isString$1(e)
? 1
: isSuspense(e)
? 128
: isTeleport(e)
? 64
: isObject$2(e)
? 4
: isFunction$1(e)
? 2
: 0
return createBaseVNode(e, t, n, r, a, u, o, !0)
}
function guardReactiveProps(e) {
return e ? (isProxy(e) || InternalObjectKey in e ? extend$2({}, e) : e) : null
}
function cloneVNode(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = e.props,
a = e.ref,
o = e.patchFlag,
i = e.children,
s = t ? mergeProps(r || {}, t) : r,
l = {
__v_isVNode: !0,
__v_skip: !0,
type: e.type,
props: s,
key: s && normalizeKey(s),
ref:
t && t.ref
? n && a
? isArray$5(a)
? a.concat(normalizeRef(t))
: [a, normalizeRef(t)]
: normalizeRef(t)
: a,
scopeId: e.scopeId,
slotScopeIds: e.slotScopeIds,
children: i,
target: e.target,
targetAnchor: e.targetAnchor,
staticCount: e.staticCount,
shapeFlag: e.shapeFlag,
patchFlag: t && e.type !== Fragment ? (-1 === o ? 16 : 16 | o) : o,
dynamicProps: e.dynamicProps,
dynamicChildren: e.dynamicChildren,
appContext: e.appContext,
dirs: e.dirs,
transition: e.transition,
component: e.component,
suspense: e.suspense,
ssContent: e.ssContent && cloneVNode(e.ssContent),
ssFallback: e.ssFallback && cloneVNode(e.ssFallback),
el: e.el,
anchor: e.anchor
}
return l
}
function createTextVNode() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ' ',
t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
return createVNode(Text, null, e, t)
}
function createStaticVNode(e, t) {
var n = createVNode(Static, null, e)
return (n.staticCount = t), n
}
function createCommentVNode() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '',
t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
return t ? (openBlock(), createBlock(Comment, null, e)) : createVNode(Comment, null, e)
}
function normalizeVNode(e) {
return null == e || 'boolean' == typeof e
? createVNode(Comment)
: isArray$5(e)
? createVNode(Fragment, null, e.slice())
: 'object' === _typeof2(e)
? cloneIfMounted(e)
: createVNode(Text, null, String(e))
}
function cloneIfMounted(e) {
return null === e.el || e.memo ? e : cloneVNode(e)
}
function normalizeChildren(e, t) {
var n = 0,
r = e.shapeFlag
if (null == t) t = null
else if (isArray$5(t)) n = 16
else if ('object' === _typeof2(t)) {
if (65 & r) {
var a = t.default
return void (
a && (a._c && (a._d = !1), normalizeChildren(e, a()), a._c && (a._d = !0))
)
}
n = 32
var o = t._
o || InternalObjectKey in t
? 3 === o &&
currentRenderingInstance &&
(1 === currentRenderingInstance.slots._
? (t._ = 1)
: ((t._ = 2), (e.patchFlag |= 1024)))
: (t._ctx = currentRenderingInstance)
} else
isFunction$1(t)
? ((t = { default: t, _ctx: currentRenderingInstance }), (n = 32))
: ((t = String(t)), 64 & r ? ((n = 16), (t = [createTextVNode(t)])) : (n = 8))
;(e.children = t), (e.shapeFlag |= n)
}
function mergeProps() {
for (var e = {}, t = 0; t < arguments.length; t++) {
var n = t < 0 || arguments.length <= t ? void 0 : arguments[t]
for (var r in n)
if ('class' === r)
e.class !== n.class && (e.class = normalizeClass([e.class, n.class]))
else if ('style' === r) e.style = normalizeStyle([e.style, n.style])
else if (isOn(r)) {
var a = e[r],
o = n[r]
a === o || (isArray$5(a) && a.includes(o)) || (e[r] = a ? [].concat(a, o) : o)
} else '' !== r && (e[r] = n[r])
}
return e
}
function invokeVNodeHook(e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
callWithAsyncErrorHandling(e, t, 7, [n, r])
}
function renderList(e, t, n, r) {
var a,
o = n && n[r]
if (isArray$5(e) || isString$1(e)) {
a = new Array(e.length)
for (var i = 0, s = e.length; i < s; i++) a[i] = t(e[i], i, void 0, o && o[i])
} else if ('number' == typeof e) {
a = new Array(e)
for (var l = 0; l < e; l++) a[l] = t(l + 1, l, void 0, o && o[l])
} else if (isObject$2(e))
if (e[Symbol.iterator])
a = Array.from(e, function (e, n) {
return t(e, n, void 0, o && o[n])
})
else {
var c = Object.keys(e)
a = new Array(c.length)
for (var u = 0, p = c.length; u < p; u++) {
var d = c[u]
a[u] = t(e[d], d, u, o && o[u])
}
}
else a = []
return n && (n[r] = a), a
}
function createSlots(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n]
if (isArray$5(r)) for (var a = 0; a < r.length; a++) e[r[a].name] = r[a].fn
else r && (e[r.name] = r.fn)
}
return e
}
function renderSlot(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
r = arguments.length > 3 ? arguments[3] : void 0,
a = arguments.length > 4 ? arguments[4] : void 0
if (currentRenderingInstance.isCE)
return createVNode('slot', 'default' === t ? null : { name: t }, r && r())
var o = e[t]
o && o._c && (o._d = !1), openBlock()
var i = o && ensureValidVNode(o(n)),
s = createBlock(
Fragment,
{ key: n.key || '_'.concat(t) },
i || (r ? r() : []),
i && 1 === e._ ? 64 : -2
)
return (
!a && s.scopeId && (s.slotScopeIds = [s.scopeId + '-s']), o && o._c && (o._d = !0), s
)
}
function ensureValidVNode(e) {
return e.some(function (e) {
return (
!isVNode(e) ||
(e.type !== Comment && !(e.type === Fragment && !ensureValidVNode(e.children)))
)
})
? e
: null
}
function toHandlers(e) {
var t = {}
for (var n in e) t[toHandlerKey(n)] = e[n]
return t
}
var getPublicInstance = function e(t) {
return t
? isStatefulComponent(t)
? getExposeProxy(t) || t.proxy
: e(t.parent)
: null
},
publicPropertiesMap = extend$2(Object.create(null), {
$: function (e) {
return e
},
$el: function (e) {
return e.vnode.el
},
$data: function (e) {
return e.data
},
$props: function (e) {
return e.props
},
$attrs: function (e) {
return e.attrs
},
$slots: function (e) {
return e.slots
},
$refs: function (e) {
return e.refs
},
$parent: function (e) {
return getPublicInstance(e.parent)
},
$root: function (e) {
return getPublicInstance(e.root)
},
$emit: function (e) {
return e.emit
},
$options: function (e) {
return resolveMergedOptions(e)
},
$forceUpdate: function (e) {
return function () {
return queueJob(e.update)
}
},
$nextTick: function (e) {
return nextTick.bind(e.proxy)
},
$watch: function (e) {
return instanceWatch.bind(e)
}
}),
PublicInstanceProxyHandlers = {
get: function (e, t) {
var n,
r = e._,
a = r.ctx,
o = r.setupState,
i = r.data,
s = r.props,
l = r.accessCache,
c = r.type,
u = r.appContext
if ('$' !== t[0]) {
var p = l[t]
if (void 0 !== p)
switch (p) {
case 1:
return o[t]
case 2:
return i[t]
case 4:
return a[t]
case 3:
return s[t]
}
else {
if (o !== EMPTY_OBJ && hasOwn$2(o, t)) return (l[t] = 1), o[t]
if (i !== EMPTY_OBJ && hasOwn$2(i, t)) return (l[t] = 2), i[t]
if ((n = r.propsOptions[0]) && hasOwn$2(n, t)) return (l[t] = 3), s[t]
if (a !== EMPTY_OBJ && hasOwn$2(a, t)) return (l[t] = 4), a[t]
shouldCacheAccess && (l[t] = 0)
}
}
var d,
f,
h = publicPropertiesMap[t]
return h
? ('$attrs' === t && track(r, 'get', t), h(r))
: (d = c.__cssModules) && (d = d[t])
? d
: a !== EMPTY_OBJ && hasOwn$2(a, t)
? ((l[t] = 4), a[t])
: ((f = u.config.globalProperties), hasOwn$2(f, t) ? f[t] : void 0)
},
set: function (e, t, n) {
var r = e._,
a = r.data,
o = r.setupState,
i = r.ctx
if (o !== EMPTY_OBJ && hasOwn$2(o, t)) o[t] = n
else if (a !== EMPTY_OBJ && hasOwn$2(a, t)) a[t] = n
else if (hasOwn$2(r.props, t)) return !1
return ('$' !== t[0] || !(t.slice(1) in r)) && ((i[t] = n), !0)
},
has: function (e, t) {
var n,
r = e._,
a = r.data,
o = r.setupState,
i = r.accessCache,
s = r.ctx,
l = r.appContext,
c = r.propsOptions
return (
!!i[t] ||
(a !== EMPTY_OBJ && hasOwn$2(a, t)) ||
(o !== EMPTY_OBJ && hasOwn$2(o, t)) ||
((n = c[0]) && hasOwn$2(n, t)) ||
hasOwn$2(s, t) ||
hasOwn$2(publicPropertiesMap, t) ||
hasOwn$2(l.config.globalProperties, t)
)
}
},
RuntimeCompiledPublicInstanceProxyHandlers = extend$2({}, PublicInstanceProxyHandlers, {
get: function (e, t) {
if (t !== Symbol.unscopables) return PublicInstanceProxyHandlers.get(e, t, e)
},
has: function (e, t) {
var n = '_' !== t[0] && !isGloballyWhitelisted(t)
return n
}
}),
emptyAppContext = createAppContext(),
uid$1 = 0
function createComponentInstance(e, t, n) {
var r = e.type,
a = (t ? t.appContext : e.appContext) || emptyAppContext,
o = {
uid: uid$1++,
vnode: e,
type: r,
parent: t,
appContext: a,
root: null,
next: null,
subTree: null,
effect: null,
update: null,
scope: new EffectScope(!0),
render: null,
proxy: null,
exposed: null,
exposeProxy: null,
withProxy: null,
provides: t ? t.provides : Object.create(a.provides),
accessCache: null,
renderCache: [],
components: null,
directives: null,
propsOptions: normalizePropsOptions(r, a),
emitsOptions: normalizeEmitsOptions(r, a),
emit: null,
emitted: null,
propsDefaults: EMPTY_OBJ,
inheritAttrs: r.inheritAttrs,
ctx: EMPTY_OBJ,
data: EMPTY_OBJ,
props: EMPTY_OBJ,
attrs: EMPTY_OBJ,
slots: EMPTY_OBJ,
refs: EMPTY_OBJ,
setupState: EMPTY_OBJ,
setupContext: null,
suspense: n,
suspenseId: n ? n.pendingId : 0,
asyncDep: null,
asyncResolved: !1,
isMounted: !1,
isUnmounted: !1,
isDeactivated: !1,
bc: null,
c: null,
bm: null,
m: null,
bu: null,
u: null,
um: null,
bum: null,
da: null,
a: null,
rtg: null,
rtc: null,
ec: null,
sp: null
}
return (
(o.ctx = { _: o }),
(o.root = t ? t.root : o),
(o.emit = emit$1.bind(null, o)),
e.ce && e.ce(o),
o
)
}
var currentInstance = null,
getCurrentInstance = exports('a9', function () {
return currentInstance || currentRenderingInstance
}),
setCurrentInstance = function (e) {
;(currentInstance = e), e.scope.on()
},
unsetCurrentInstance = function () {
currentInstance && currentInstance.scope.off(), (currentInstance = null)
}
function isStatefulComponent(e) {
return 4 & e.vnode.shapeFlag
}
var isInSSRComponentSetup = !1,
compile,
installWithProxy
function setupComponent(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
isInSSRComponentSetup = t
var n = e.vnode,
r = n.props,
a = n.children,
o = isStatefulComponent(e)
initProps(e, r, o, t), initSlots(e, a)
var i = o ? setupStatefulComponent(e, t) : void 0
return (isInSSRComponentSetup = !1), i
}
function setupStatefulComponent(e, t) {
var n = e.type
;(e.accessCache = Object.create(null)),
(e.proxy = markRaw(new Proxy(e.ctx, PublicInstanceProxyHandlers)))
var r = n.setup
if (r) {
var a = (e.setupContext = r.length > 1 ? createSetupContext(e) : null)
setCurrentInstance(e), pauseTracking()
var o = callWithErrorHandling(r, e, 0, [e.props, a])
if ((resetTracking(), unsetCurrentInstance(), isPromise$1(o))) {
if ((o.then(unsetCurrentInstance, unsetCurrentInstance), t))
return o
.then(function (n) {
handleSetupResult(e, n, t)
})
.catch(function (t) {
handleError(t, e, 0)
})
e.asyncDep = o
} else handleSetupResult(e, o, t)
} else finishComponentSetup(e, t)
}
function handleSetupResult(e, t, n) {
isFunction$1(t)
? e.type.__ssrInlineRender
? (e.ssrRender = t)
: (e.render = t)
: isObject$2(t) && (e.setupState = proxyRefs(t)),
finishComponentSetup(e, n)
}
function registerRuntimeCompiler(e) {
;(compile = e),
(installWithProxy = function (e) {
e.render._rc &&
(e.withProxy = new Proxy(e.ctx, RuntimeCompiledPublicInstanceProxyHandlers))
})
}
var isRuntimeOnly = exports('cw', function () {
return !compile
})
function finishComponentSetup(e, t, n) {
var r = e.type
if (!e.render) {
if (!t && compile && !r.render) {
var a = r.template
if (a) {
var o = e.appContext.config,
i = o.isCustomElement,
s = o.compilerOptions,
l = r.delimiters,
c = r.compilerOptions,
u = extend$2(extend$2({ isCustomElement: i, delimiters: l }, s), c)
r.render = compile(a, u)
}
}
;(e.render = r.render || NOOP), installWithProxy && installWithProxy(e)
}
setCurrentInstance(e),
pauseTracking(),
applyOptions(e),
resetTracking(),
unsetCurrentInstance()
}
function createAttrsProxy(e) {
return new Proxy(e.attrs, {
get: function (t, n) {
return track(e, 'get', '$attrs'), t[n]
}
})
}
function createSetupContext(e) {
var t
return {
get attrs() {
return t || (t = createAttrsProxy(e))
},
slots: e.slots,
emit: e.emit,
expose: function (t) {
e.exposed = t || {}
}
}
}
function getExposeProxy(e) {
if (e.exposed)
return (
e.exposeProxy ||
(e.exposeProxy = new Proxy(proxyRefs(markRaw(e.exposed)), {
get: function (t, n) {
return n in t
? t[n]
: n in publicPropertiesMap
? publicPropertiesMap[n](e)
: void 0
}
}))
)
}
var classifyRE = /(?:^|[-_])(\w)/g,
classify = function (e) {
return e
.replace(classifyRE, function (e) {
return e.toUpperCase()
})
.replace(/[-_]/g, '')
}
function getComponentName(e) {
return (isFunction$1(e) && e.displayName) || e.name
}
function formatComponentName(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
r = getComponentName(t)
if (!r && t.__file) {
var a = t.__file.match(/([^/\\]+)\.\w+$/)
a && (r = a[1])
}
if (!r && e && e.parent) {
var o = function (e) {
for (var n in e) if (e[n] === t) return n
}
r = o(e.components || e.parent.type.components) || o(e.appContext.components)
}
return r ? classify(r) : n ? 'App' : 'Anonymous'
}
function isClassComponent(e) {
return isFunction$1(e) && '__vccOpts' in e
}
var stack = []
function warn(e) {
pauseTracking()
for (
var t = stack.length ? stack[stack.length - 1].component : null,
n = t && t.appContext.config.warnHandler,
r = getComponentTrace(),
a = arguments.length,
o = new Array(a > 1 ? a - 1 : 0),
i = 1;
i < a;
i++
)
o[i - 1] = arguments[i]
if (n)
callWithErrorHandling(n, t, 11, [
e + o.join(''),
t && t.proxy,
r
.map(function (e) {
var n = e.vnode
return 'at <'.concat(formatComponentName(t, n.type), '>')
})
.join('\n'),
r
])
else {
var s,
l = ['[Vue warn]: '.concat(e)].concat(o)
r.length && l.push.apply(l, ['\n'].concat(_toConsumableArray2(formatTrace(r)))),
(s = console).warn.apply(s, _toConsumableArray2(l))
}
resetTracking()
}
function getComponentTrace() {
var e = stack[stack.length - 1]
if (!e) return []
for (var t = []; e; ) {
var n = t[0]
n && n.vnode === e ? n.recurseCount++ : t.push({ vnode: e, recurseCount: 0 })
var r = e.component && e.component.parent
e = r && r.vnode
}
return t
}
function formatTrace(e) {
var t = []
return (
e.forEach(function (e, n) {
t.push.apply(
t,
_toConsumableArray2(0 === n ? [] : ['\n']).concat(
_toConsumableArray2(formatTraceEntry(e))
)
)
}),
t
)
}
function formatTraceEntry(e) {
var t = e.vnode,
n = e.recurseCount,
r = n > 0 ? '... ('.concat(n, ' recursive calls)') : '',
a = !!t.component && null == t.component.parent,
o = ' at <'.concat(formatComponentName(t.component, t.type, a)),
i = '>' + r
return t.props ? [o].concat(_toConsumableArray2(formatProps(t.props)), [i]) : [o + i]
}
function formatProps(e) {
var t = [],
n = Object.keys(e)
return (
n.slice(0, 3).forEach(function (n) {
t.push.apply(t, _toConsumableArray2(formatProp(n, e[n])))
}),
n.length > 3 && t.push(' ...'),
t
)
}
function formatProp(e, t, n) {
return isString$1(t)
? ((t = JSON.stringify(t)), n ? t : [''.concat(e, '=').concat(t)])
: 'number' == typeof t || 'boolean' == typeof t || null == t
? n
? t
: [''.concat(e, '=').concat(t)]
: isRef(t)
? ((t = formatProp(e, toRaw(t.value), !0)), n ? t : [''.concat(e, '=Ref<'), t, '>'])
: isFunction$1(t)
? [''.concat(e, '=fn').concat(t.name ? '<'.concat(t.name, '>') : '')]
: ((t = toRaw(t)), n ? t : [''.concat(e, '='), t])
}
function callWithErrorHandling(e, t, n, r) {
var a
try {
a = r ? e.apply(void 0, _toConsumableArray2(r)) : e()
} catch (o) {
handleError(o, t, n)
}
return a
}
function callWithAsyncErrorHandling(e, t, n, r) {
if (isFunction$1(e)) {
var a = callWithErrorHandling(e, t, n, r)
return (
a &&
isPromise$1(a) &&
a.catch(function (e) {
handleError(e, t, n)
}),
a
)
}
for (var o = [], i = 0; i < e.length; i++)
o.push(callWithAsyncErrorHandling(e[i], t, n, r))
return o
}
function handleError(e, t, n) {
var r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3],
a = t ? t.vnode : null
if (t) {
for (var o = t.parent, i = t.proxy, s = n; o; ) {
var l = o.ec
if (l) for (var c = 0; c < l.length; c++) if (!1 === l[c](e, i, s)) return
o = o.parent
}
var u = t.appContext.config.errorHandler
if (u) return void callWithErrorHandling(u, null, 10, [e, i, s])
}
logError(e, n, a, r)
}
function logError(e, t, n) {
console.error(e)
}
var isFlushing = !1,
isFlushPending = !1,
queue$1 = [],
flushIndex = 0,
pendingPreFlushCbs = [],
activePreFlushCbs = null,
preFlushIndex = 0,
pendingPostFlushCbs = [],
activePostFlushCbs = null,
postFlushIndex = 0,
resolvedPromise = Promise.resolve(),
currentFlushPromise = null,
currentPreFlushParentJob = null
function nextTick(e) {
var t = currentFlushPromise || resolvedPromise
return e ? t.then(this ? e.bind(this) : e) : t
}
function findInsertionIndex(e) {
for (var t = flushIndex + 1, n = queue$1.length; t < n; ) {
var r = (t + n) >>> 1
getId(queue$1[r]) < e ? (t = r + 1) : (n = r)
}
return t
}
function queueJob(e) {
;(queue$1.length &&
queue$1.includes(e, isFlushing && e.allowRecurse ? flushIndex + 1 : flushIndex)) ||
e === currentPreFlushParentJob ||
(null == e.id ? queue$1.push(e) : queue$1.splice(findInsertionIndex(e.id), 0, e),
queueFlush())
}
function queueFlush() {
isFlushing ||
isFlushPending ||
((isFlushPending = !0), (currentFlushPromise = resolvedPromise.then(flushJobs)))
}
function invalidateJob(e) {
var t = queue$1.indexOf(e)
t > flushIndex && queue$1.splice(t, 1)
}
function queueCb(e, t, n, r) {
isArray$5(e)
? n.push.apply(n, _toConsumableArray2(e))
: (t && t.includes(e, e.allowRecurse ? r + 1 : r)) || n.push(e),
queueFlush()
}
function queuePreFlushCb(e) {
queueCb(e, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex)
}
function queuePostFlushCb(e) {
queueCb(e, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex)
}
function flushPreFlushCbs(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
if (pendingPreFlushCbs.length) {
for (
currentPreFlushParentJob = t,
activePreFlushCbs = _toConsumableArray2(new Set(pendingPreFlushCbs)),
pendingPreFlushCbs.length = 0,
preFlushIndex = 0;
preFlushIndex < activePreFlushCbs.length;
preFlushIndex++
)
activePreFlushCbs[preFlushIndex]()
;(activePreFlushCbs = null),
(preFlushIndex = 0),
(currentPreFlushParentJob = null),
flushPreFlushCbs(e, t)
}
}
function flushPostFlushCbs(e) {
if (pendingPostFlushCbs.length) {
var t,
n = _toConsumableArray2(new Set(pendingPostFlushCbs))
if (((pendingPostFlushCbs.length = 0), activePostFlushCbs))
return void (t = activePostFlushCbs).push.apply(t, _toConsumableArray2(n))
for (
(activePostFlushCbs = n).sort(function (e, t) {
return getId(e) - getId(t)
}),
postFlushIndex = 0;
postFlushIndex < activePostFlushCbs.length;
postFlushIndex++
)
activePostFlushCbs[postFlushIndex]()
;(activePostFlushCbs = null), (postFlushIndex = 0)
}
}
var getId = function (e) {
return null == e.id ? 1 / 0 : e.id
}
function flushJobs(e) {
;(isFlushPending = !1),
(isFlushing = !0),
flushPreFlushCbs(e),
queue$1.sort(function (e, t) {
return getId(e) - getId(t)
})
try {
for (flushIndex = 0; flushIndex < queue$1.length; flushIndex++) {
var t = queue$1[flushIndex]
t && !1 !== t.active && callWithErrorHandling(t, null, 14)
}
} finally {
;(flushIndex = 0),
(queue$1.length = 0),
flushPostFlushCbs(),
(isFlushing = !1),
(currentFlushPromise = null),
(queue$1.length || pendingPreFlushCbs.length || pendingPostFlushCbs.length) &&
flushJobs(e)
}
}
function watchEffect(e, t) {
return doWatch(e, null, t)
}
function watchPostEffect(e, t) {
return doWatch(e, null, { flush: 'post' })
}
function watchSyncEffect(e, t) {
return doWatch(e, null, { flush: 'sync' })
}
var INITIAL_WATCHER_VALUE = {}
function watch(e, t, n) {
return doWatch(e, t, n)
}
function doWatch(e, t) {
var n,
r,
a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : EMPTY_OBJ,
o = a.immediate,
i = a.deep,
s = a.flush,
l = (a.onTrack, a.onTrigger, currentInstance),
c = !1,
u = !1
if (
(isRef(e)
? ((n = function () {
return e.value
}),
(c = !!e._shallow))
: isReactive(e)
? ((n = function () {
return e
}),
(i = !0))
: isArray$5(e)
? ((u = !0),
(c = e.some(isReactive)),
(n = function () {
return e.map(function (e) {
return isRef(e)
? e.value
: isReactive(e)
? traverse(e)
: isFunction$1(e)
? callWithErrorHandling(e, l, 2)
: void 0
})
}))
: (n = isFunction$1(e)
? t
? function () {
return callWithErrorHandling(e, l, 2)
}
: function () {
if (!l || !l.isUnmounted)
return r && r(), callWithAsyncErrorHandling(e, l, 3, [d])
}
: NOOP),
t && i)
) {
var p = n
n = function () {
return traverse(p())
}
}
var d = function (e) {
r = v.onStop = function () {
callWithErrorHandling(e, l, 4)
}
}
if (isInSSRComponentSetup)
return (
(d = NOOP),
t ? o && callWithAsyncErrorHandling(t, l, 3, [n(), u ? [] : void 0, d]) : n(),
NOOP
)
var f = u ? [] : INITIAL_WATCHER_VALUE,
h = function () {
if (v.active)
if (t) {
var e = v.run()
;(i ||
c ||
(u
? e.some(function (e, t) {
return hasChanged(e, f[t])
})
: hasChanged(e, f))) &&
(r && r(),
callWithAsyncErrorHandling(t, l, 3, [
e,
f === INITIAL_WATCHER_VALUE ? void 0 : f,
d
]),
(f = e))
} else v.run()
}
h.allowRecurse = !!t
var v = new ReactiveEffect(
n,
'sync' === s
? h
: 'post' === s
? function () {
return queuePostRenderEffect(h, l && l.suspense)
}
: function () {
!l || l.isMounted ? queuePreFlushCb(h) : h()
}
)
return (
t
? o
? h()
: (f = v.run())
: 'post' === s
? queuePostRenderEffect(v.run.bind(v), l && l.suspense)
: v.run(),
function () {
v.stop(), l && l.scope && remove(l.scope.effects, v)
}
)
}
function instanceWatch(e, t, n) {
var r,
a = this.proxy,
o = isString$1(e)
? e.includes('.')
? createPathGetter(a, e)
: function () {
return a[e]
}
: e.bind(a, a)
isFunction$1(t) ? (r = t) : ((r = t.handler), (n = t))
var i = currentInstance
setCurrentInstance(this)
var s = doWatch(o, r.bind(a), n)
return i ? setCurrentInstance(i) : unsetCurrentInstance(), s
}
function createPathGetter(e, t) {
var n = t.split('.')
return function () {
for (var t = e, r = 0; r < n.length && t; r++) t = t[n[r]]
return t
}
}
function traverse(e, t) {
if (!isObject$2(e) || e.__v_skip) return e
if ((t = t || new Set()).has(e)) return e
if ((t.add(e), isRef(e))) traverse(e.value, t)
else if (isArray$5(e)) for (var n = 0; n < e.length; n++) traverse(e[n], t)
else if (isSet$1(e) || isMap$1(e))
e.forEach(function (e) {
traverse(e, t)
})
else if (isPlainObject$2(e)) for (var r in e) traverse(e[r], t)
return e
}
function defineProps() {
return null
}
function defineEmits() {
return null
}
function defineExpose(e) {}
function withDefaults(e, t) {
return null
}
function useSlots() {
return getContext().slots
}
function useAttrs() {
return getContext().attrs
}
function getContext() {
var e = getCurrentInstance()
return e.setupContext || (e.setupContext = createSetupContext(e))
}
function mergeDefaults(e, t) {
var n = isArray$5(e)
? e.reduce(function (e, t) {
return (e[t] = {}), e
}, {})
: e
for (var r in t) {
var a = n[r]
a
? isArray$5(a) || isFunction$1(a)
? (n[r] = { type: a, default: t[r] })
: (a.default = t[r])
: null === a && (n[r] = { default: t[r] })
}
return n
}
function createPropsRestProxy(e, t) {
var n = {},
r = function (r) {
t.includes(r) ||
Object.defineProperty(n, r, {
enumerable: !0,
get: function () {
return e[r]
}
})
}
for (var a in e) r(a)
return n
}
function withAsyncContext(e) {
var t = getCurrentInstance(),
n = e()
return (
unsetCurrentInstance(),
isPromise$1(n) &&
(n = n.catch(function (e) {
throw (setCurrentInstance(t), e)
})),
[
n,
function () {
return setCurrentInstance(t)
}
]
)
}
function h$1(e, t, n) {
var r = arguments.length
return 2 === r
? isObject$2(t) && !isArray$5(t)
? isVNode(t)
? createVNode(e, null, [t])
: createVNode(e, t)
: createVNode(e, null, t)
: (r > 3
? (n = Array.prototype.slice.call(arguments, 2))
: 3 === r && isVNode(n) && (n = [n]),
createVNode(e, t, n))
}
var ssrContextKey = exports('cP', Symbol('')),
useSSRContext = exports('cU', function () {
var e = inject(ssrContextKey)
return (
e ||
warn(
'Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.'
),
e
)
})
function initCustomFormatter() {}
function withMemo(e, t, n, r) {
var a = n[r]
if (a && isMemoSame(a, e)) return a
var o = t()
return (o.memo = e.slice()), (n[r] = o)
}
function isMemoSame(e, t) {
var n = e.memo
if (n.length != t.length) return !1
for (var r = 0; r < n.length; r++) if (n[r] !== t[r]) return !1
return isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e), !0
}
var version = exports('cX', '3.2.26'),
_ssrUtils = {
createComponentInstance: createComponentInstance,
setupComponent: setupComponent,
renderComponentRoot: renderComponentRoot,
setCurrentRenderingInstance: setCurrentRenderingInstance,
isVNode: isVNode,
normalizeVNode: normalizeVNode
},
ssrUtils = exports('cQ', _ssrUtils),
resolveFilter = exports('cK', null),
compatUtils = exports('ce', null),
svgNS = 'http://www.w3.org/2000/svg',
doc = 'undefined' != typeof document ? document : null,
staticTemplateCache = new Map(),
nodeOps = {
insert: function (e, t, n) {
t.insertBefore(e, n || null)
},
remove: function (e) {
var t = e.parentNode
t && t.removeChild(e)
},
createElement: function (e, t, n, r) {
var a = t
? doc.createElementNS(svgNS, e)
: doc.createElement(e, n ? { is: n } : void 0)
return (
'select' === e &&
r &&
null != r.multiple &&
a.setAttribute('multiple', r.multiple),
a
)
},
createText: function (e) {
return doc.createTextNode(e)
},
createComment: function (e) {
return doc.createComment(e)
},
setText: function (e, t) {
e.nodeValue = t
},
setElementText: function (e, t) {
e.textContent = t
},
parentNode: function (e) {
return e.parentNode
},
nextSibling: function (e) {
return e.nextSibling
},
querySelector: function (e) {
return doc.querySelector(e)
},
setScopeId: function (e, t) {
e.setAttribute(t, '')
},
cloneNode: function (e) {
var t = e.cloneNode(!0)
return '_value' in e && (t._value = e._value), t
},
insertStaticContent: function (e, t, n, r) {
var a = n ? n.previousSibling : t.lastChild,
o = staticTemplateCache.get(e)
if (!o) {
var i = doc.createElement('template')
if (((i.innerHTML = r ? '') : e), (o = i.content), r)) {
for (var s = o.firstChild; s.firstChild; ) o.appendChild(s.firstChild)
o.removeChild(s)
}
staticTemplateCache.set(e, o)
}
return (
t.insertBefore(o.cloneNode(!0), n),
[a ? a.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild]
)
}
}
function patchClass(e, t, n) {
var r = e._vtc
r && (t = (t ? [t].concat(_toConsumableArray2(r)) : _toConsumableArray2(r)).join(' ')),
null == t
? e.removeAttribute('class')
: n
? e.setAttribute('class', t)
: (e.className = t)
}
function patchStyle(e, t, n) {
var r = e.style,
a = isString$1(n)
if (n && !a) {
for (var o in n) setStyle(r, o, n[o])
if (t && !isString$1(t)) for (var i in t) null == n[i] && setStyle(r, i, '')
} else {
var s = r.display
a ? t !== n && (r.cssText = n) : t && e.removeAttribute('style'),
'_vod' in e && (r.display = s)
}
}
var importantRE = /\s*!important$/
function setStyle(e, t, n) {
if (isArray$5(n))
n.forEach(function (n) {
return setStyle(e, t, n)
})
else if (t.startsWith('--')) e.setProperty(t, n)
else {
var r = autoPrefix(e, t)
importantRE.test(n)
? e.setProperty(hyphenate(r), n.replace(importantRE, ''), 'important')
: (e[r] = n)
}
}
var prefixes = ['Webkit', 'Moz', 'ms'],
prefixCache = {}
function autoPrefix(e, t) {
var n = prefixCache[t]
if (n) return n
var r = camelize$1(t)
if ('filter' !== r && r in e) return (prefixCache[t] = r)
r = capitalize(r)
for (var a = 0; a < prefixes.length; a++) {
var o = prefixes[a] + r
if (o in e) return (prefixCache[t] = o)
}
return t
}
var xlinkNS = 'http://www.w3.org/1999/xlink'
function patchAttr(e, t, n, r, a) {
if (r && t.startsWith('xlink:'))
null == n
? e.removeAttributeNS(xlinkNS, t.slice(6, t.length))
: e.setAttributeNS(xlinkNS, t, n)
else {
var o = isSpecialBooleanAttr(t)
null == n || (o && !includeBooleanAttr(n))
? e.removeAttribute(t)
: e.setAttribute(t, o ? '' : n)
}
}
function patchDOMProp(e, t, n, r, a, o, i) {
if ('innerHTML' === t || 'textContent' === t)
return r && i(r, a, o), void (e[t] = null == n ? '' : n)
if ('value' === t && 'PROGRESS' !== e.tagName && !e.tagName.includes('-')) {
e._value = n
var s = null == n ? '' : n
return (
(e.value === s && 'OPTION' !== e.tagName) || (e.value = s),
void (null == n && e.removeAttribute(t))
)
}
if ('' === n || null == n) {
var l = _typeof2(e[t])
if ('boolean' === l) return void (e[t] = includeBooleanAttr(n))
if (null == n && 'string' === l) return (e[t] = ''), void e.removeAttribute(t)
if ('number' === l) {
try {
e[t] = 0
} catch (c) {}
return void e.removeAttribute(t)
}
}
try {
e[t] = n
} catch (u) {}
}
var _getNow = Date.now,
skipTimestampCheck = !1
if ('undefined' != typeof window) {
_getNow() > document.createEvent('Event').timeStamp &&
(_getNow = function () {
return performance.now()
})
var ffMatch = navigator.userAgent.match(/firefox\/(\d+)/i)
skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53)
}
var cachedNow = 0,
p = Promise.resolve(),
reset = function () {
cachedNow = 0
},
getNow = function () {
return cachedNow || (p.then(reset), (cachedNow = _getNow()))
}
function addEventListener(e, t, n, r) {
e.addEventListener(t, n, r)
}
function removeEventListener(e, t, n, r) {
e.removeEventListener(t, n, r)
}
function patchEvent(e, t, n, r) {
var a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
o = e._vei || (e._vei = {}),
i = o[t]
if (r && i) i.value = r
else {
var s = parseName(t),
l = _slicedToArray(s, 2),
c = l[0],
u = l[1]
if (r) {
var p = (o[t] = createInvoker(r, a))
addEventListener(e, c, p, u)
} else i && (removeEventListener(e, c, i, u), (o[t] = void 0))
}
}
var optionsModifierRE = /(?:Once|Passive|Capture)$/
function parseName(e) {
var t, n
if (optionsModifierRE.test(e))
for (t = {}; (n = e.match(optionsModifierRE)); )
(e = e.slice(0, e.length - n[0].length)), (t[n[0].toLowerCase()] = !0)
return [hyphenate(e.slice(2)), t]
}
function createInvoker(e, t) {
var n = function e(n) {
var r = n.timeStamp || _getNow()
;(skipTimestampCheck || r >= e.attached - 1) &&
callWithAsyncErrorHandling(patchStopImmediatePropagation(n, e.value), t, 5, [n])
}
return (n.value = e), (n.attached = getNow()), n
}
function patchStopImmediatePropagation(e, t) {
if (isArray$5(t)) {
var n = e.stopImmediatePropagation
return (
(e.stopImmediatePropagation = function () {
n.call(e), (e._stopped = !0)
}),
t.map(function (e) {
return function (t) {
return !t._stopped && e(t)
}
})
)
}
return t
}
var nativeOnRE = /^on[a-z]/,
patchProp = function (e, t, n, r) {
var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
o = arguments.length > 5 ? arguments[5] : void 0,
i = arguments.length > 6 ? arguments[6] : void 0,
s = arguments.length > 7 ? arguments[7] : void 0,
l = arguments.length > 8 ? arguments[8] : void 0
'class' === t
? patchClass(e, r, a)
: 'style' === t
? patchStyle(e, n, r)
: isOn(t)
? isModelListener(t) || patchEvent(e, t, n, r, i)
: (
'.' === t[0]
? ((t = t.slice(1)), 1)
: '^' === t[0]
? ((t = t.slice(1)), 0)
: shouldSetAsProp(e, t, r, a)
)
? patchDOMProp(e, t, r, o, i, s, l)
: ('true-value' === t
? (e._trueValue = r)
: 'false-value' === t && (e._falseValue = r),
patchAttr(e, t, r, a))
}
function shouldSetAsProp(e, t, n, r) {
return r
? 'innerHTML' === t ||
'textContent' === t ||
!!(t in e && nativeOnRE.test(t) && isFunction$1(n))
: 'spellcheck' !== t &&
'draggable' !== t &&
'form' !== t &&
('list' !== t || 'INPUT' !== e.tagName) &&
('type' !== t || 'TEXTAREA' !== e.tagName) &&
(!nativeOnRE.test(t) || !isString$1(n)) &&
t in e
}
function defineCustomElement(e, t) {
var n = defineComponent(e),
r = (function (e) {
_inherits2(a, e)
var r = _createSuper2(a)
function a(e) {
return _classCallCheck2(this, a), r.call(this, n, e, t)
}
return _createClass2(a)
})(VueElement)
return (r.def = n), r
}
var defineSSRCustomElement = exports('d7', function (e) {
return defineCustomElement(e, hydrate)
}),
BaseClass =
'undefined' != typeof HTMLElement
? HTMLElement
: (function () {
return _createClass2(function e() {
_classCallCheck2(this, e)
})
})(),
VueElement = (function (e) {
_inherits2(n, e)
var t = _createSuper2(n)
function n(e) {
var r,
a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
o = arguments.length > 2 ? arguments[2] : void 0
return (
_classCallCheck2(this, n),
((r = t.call(this))._def = e),
(r._props = a),
(r._instance = null),
(r._connected = !1),
(r._resolved = !1),
(r._numberProps = null),
r.shadowRoot && o
? o(r._createVNode(), r.shadowRoot)
: r.attachShadow({ mode: 'open' }),
r
)
}
return (
_createClass2(n, [
{
key: 'connectedCallback',
value: function () {
;(this._connected = !0), this._instance || this._resolveDef()
}
},
{
key: 'disconnectedCallback',
value: function () {
var e = this
;(this._connected = !1),
nextTick(function () {
e._connected || (render(null, e.shadowRoot), (e._instance = null))
})
}
},
{
key: '_resolveDef',
value: function () {
var e = this
if (!this._resolved) {
this._resolved = !0
for (var t = 0; t < this.attributes.length; t++)
this._setAttr(this.attributes[t].name)
new MutationObserver(function (t) {
var n,
r = _createForOfIteratorHelper(t)
try {
for (r.s(); !(n = r.n()).done; ) {
var a = n.value
e._setAttr(a.attributeName)
}
} catch (o) {
r.e(o)
} finally {
r.f()
}
}).observe(this, { attributes: !0 })
var n = function (t) {
var n,
r = t.props,
a = t.styles,
o = !isArray$5(r),
i = r ? (o ? Object.keys(r) : r) : []
if (o)
for (var s in e._props) {
var l = r[s]
;(l === Number || (l && l.type === Number)) &&
((e._props[s] = toNumber(e._props[s])),
((n || (n = Object.create(null)))[s] = !0))
}
e._numberProps = n
for (var c = 0, u = Object.keys(e); c < u.length; c++) {
var p = u[c]
'_' !== p[0] && e._setProp(p, e[p], !0, !1)
}
var d,
f = _createForOfIteratorHelper(i.map(camelize$1))
try {
var h = function () {
var t = d.value
Object.defineProperty(e, t, {
get: function () {
return this._getProp(t)
},
set: function (e) {
this._setProp(t, e)
}
})
}
for (f.s(); !(d = f.n()).done; ) h()
} catch (v) {
f.e(v)
} finally {
f.f()
}
e._applyStyles(a), e._update()
},
r = this._def.__asyncLoader
r ? r().then(n) : n(this._def)
}
}
},
{
key: '_setAttr',
value: function (e) {
var t = this.getAttribute(e)
this._numberProps && this._numberProps[e] && (t = toNumber(t)),
this._setProp(camelize$1(e), t, !1)
}
},
{
key: '_getProp',
value: function (e) {
return this._props[e]
}
},
{
key: '_setProp',
value: function (e, t) {
var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2],
r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]
t !== this._props[e] &&
((this._props[e] = t),
r && this._instance && this._update(),
n &&
(!0 === t
? this.setAttribute(hyphenate(e), '')
: 'string' == typeof t || 'number' == typeof t
? this.setAttribute(hyphenate(e), t + '')
: t || this.removeAttribute(hyphenate(e))))
}
},
{
key: '_update',
value: function () {
render(this._createVNode(), this.shadowRoot)
}
},
{
key: '_createVNode',
value: function () {
var e = this,
t = createVNode(this._def, extend$2({}, this._props))
return (
this._instance ||
(t.ce = function (t) {
;(e._instance = t),
(t.isCE = !0),
(t.emit = function (t) {
for (
var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), a = 1;
a < n;
a++
)
r[a - 1] = arguments[a]
e.dispatchEvent(new CustomEvent(t, { detail: r }))
})
for (var r = e; (r = r && (r.parentNode || r.host)); )
if (r instanceof n) {
t.parent = r._instance
break
}
}),
t
)
}
},
{
key: '_applyStyles',
value: function (e) {
var t = this
e &&
e.forEach(function (e) {
var n = document.createElement('style')
;(n.textContent = e), t.shadowRoot.appendChild(n)
})
}
}
]),
n
)
})(BaseClass)
function useCssModule() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '$style',
t = getCurrentInstance()
if (!t) return EMPTY_OBJ
var n = t.type.__cssModules
if (!n) return EMPTY_OBJ
var r = n[e]
return r || EMPTY_OBJ
}
function useCssVars(e) {
var t = getCurrentInstance()
if (t) {
var n = function () {
return setVarsOnVNode(t.subTree, e(t.proxy))
}
watchPostEffect(n),
onMounted(function () {
var e = new MutationObserver(n)
e.observe(t.subTree.el.parentNode, { childList: !0 }),
onUnmounted(function () {
return e.disconnect()
})
})
}
}
function setVarsOnVNode(e, t) {
if (128 & e.shapeFlag) {
var n = e.suspense
;(e = n.activeBranch),
n.pendingBranch &&
!n.isHydrating &&
n.effects.push(function () {
setVarsOnVNode(n.activeBranch, t)
})
}
for (; e.component; ) e = e.component.subTree
if (1 & e.shapeFlag && e.el) setVarsOnNode(e.el, t)
else if (e.type === Fragment)
e.children.forEach(function (e) {
return setVarsOnVNode(e, t)
})
else if (e.type === Static)
for (var r = e, a = r.el, o = r.anchor; a && (setVarsOnNode(a, t), a !== o); )
a = a.nextSibling
}
function setVarsOnNode(e, t) {
if (1 === e.nodeType) {
var n = e.style
for (var r in t) n.setProperty('--'.concat(r), t[r])
}
}
exports('d4', VueElement)
var TRANSITION = 'transition',
ANIMATION = 'animation',
Transition = exports('b2', function (e, t) {
var n = t.slots
return h$1(BaseTransition, resolveTransitionProps(e), n)
})
Transition.displayName = 'Transition'
var DOMTransitionPropsValidators = {
name: String,
type: String,
css: { type: Boolean, default: !0 },
duration: [String, Number, Object],
enterFromClass: String,
enterActiveClass: String,
enterToClass: String,
appearFromClass: String,
appearActiveClass: String,
appearToClass: String,
leaveFromClass: String,
leaveActiveClass: String,
leaveToClass: String
},
TransitionPropsValidators = (Transition.props = extend$2(
{},
BaseTransition.props,
DOMTransitionPropsValidators
)),
callHook = function (e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : []
isArray$5(e)
? e.forEach(function (e) {
return e.apply(void 0, _toConsumableArray2(t))
})
: e && e.apply(void 0, _toConsumableArray2(t))
},
hasExplicitCallback = function (e) {
return (
!!e &&
(isArray$5(e)
? e.some(function (e) {
return e.length > 1
})
: e.length > 1)
)
}
function resolveTransitionProps(e) {
var t = {}
for (var n in e) n in DOMTransitionPropsValidators || (t[n] = e[n])
if (!1 === e.css) return t
var r = e.name,
a = void 0 === r ? 'v' : r,
o = e.type,
i = e.duration,
s = e.enterFromClass,
l = void 0 === s ? ''.concat(a, '-enter-from') : s,
c = e.enterActiveClass,
u = void 0 === c ? ''.concat(a, '-enter-active') : c,
p = e.enterToClass,
d = void 0 === p ? ''.concat(a, '-enter-to') : p,
f = e.appearFromClass,
h = void 0 === f ? l : f,
v = e.appearActiveClass,
m = void 0 === v ? u : v,
g = e.appearToClass,
y = void 0 === g ? d : g,
b = e.leaveFromClass,
_ = void 0 === b ? ''.concat(a, '-leave-from') : b,
A = e.leaveActiveClass,
x = void 0 === A ? ''.concat(a, '-leave-active') : A,
w = e.leaveToClass,
k = void 0 === w ? ''.concat(a, '-leave-to') : w,
S = normalizeDuration(i),
E = S && S[0],
P = S && S[1],
C = t.onBeforeEnter,
T = t.onEnter,
I = t.onEnterCancelled,
M = t.onLeave,
R = t.onLeaveCancelled,
O = t.onBeforeAppear,
z = void 0 === O ? C : O,
D = t.onAppear,
F = void 0 === D ? T : D,
B = t.onAppearCancelled,
N = void 0 === B ? I : B,
j = function (e, t, n) {
removeTransitionClass(e, t ? y : d), removeTransitionClass(e, t ? m : u), n && n()
},
V = function (e, t) {
removeTransitionClass(e, k), removeTransitionClass(e, x), t && t()
},
L = function (e) {
return function (t, n) {
var r = e ? F : T,
a = function () {
return j(t, e, n)
}
callHook(r, [t, a]),
nextFrame(function () {
removeTransitionClass(t, e ? h : l),
addTransitionClass(t, e ? y : d),
hasExplicitCallback(r) || whenTransitionEnds(t, o, E, a)
})
}
}
return extend$2(t, {
onBeforeEnter: function (e) {
callHook(C, [e]), addTransitionClass(e, l), addTransitionClass(e, u)
},
onBeforeAppear: function (e) {
callHook(z, [e]), addTransitionClass(e, h), addTransitionClass(e, m)
},
onEnter: L(!1),
onAppear: L(!0),
onLeave: function (e, t) {
var n = function () {
return V(e, t)
}
addTransitionClass(e, _),
forceReflow(),
addTransitionClass(e, x),
nextFrame(function () {
removeTransitionClass(e, _),
addTransitionClass(e, k),
hasExplicitCallback(M) || whenTransitionEnds(e, o, P, n)
}),
callHook(M, [e, n])
},
onEnterCancelled: function (e) {
j(e, !1), callHook(I, [e])
},
onAppearCancelled: function (e) {
j(e, !0), callHook(N, [e])
},
onLeaveCancelled: function (e) {
V(e), callHook(R, [e])
}
})
}
function normalizeDuration(e) {
if (null == e) return null
if (isObject$2(e)) return [NumberOf(e.enter), NumberOf(e.leave)]
var t = NumberOf(e)
return [t, t]
}
function NumberOf(e) {
return toNumber(e)
}
function addTransitionClass(e, t) {
t.split(/\s+/).forEach(function (t) {
return t && e.classList.add(t)
}),
(e._vtc || (e._vtc = new Set())).add(t)
}
function removeTransitionClass(e, t) {
t.split(/\s+/).forEach(function (t) {
return t && e.classList.remove(t)
})
var n = e._vtc
n && (n.delete(t), n.size || (e._vtc = void 0))
}
function nextFrame(e) {
requestAnimationFrame(function () {
requestAnimationFrame(e)
})
}
var endId = 0
function whenTransitionEnds(e, t, n, r) {
var a = (e._endId = ++endId),
o = function () {
a === e._endId && r()
}
if (n) return setTimeout(o, n)
var i = getTransitionInfo(e, t),
s = i.type,
l = i.timeout,
c = i.propCount
if (!s) return r()
var u = s + 'end',
p = 0,
d = function () {
e.removeEventListener(u, f), o()
},
f = function (t) {
t.target === e && ++p >= c && d()
}
setTimeout(function () {
p < c && d()
}, l + 1),
e.addEventListener(u, f)
}
function getTransitionInfo(e, t) {
var n = window.getComputedStyle(e),
r = function (e) {
return (n[e] || '').split(', ')
},
a = r(TRANSITION + 'Delay'),
o = r(TRANSITION + 'Duration'),
i = getTimeout(a, o),
s = r(ANIMATION + 'Delay'),
l = r(ANIMATION + 'Duration'),
c = getTimeout(s, l),
u = null,
p = 0,
d = 0
return (
t === TRANSITION
? i > 0 && ((u = TRANSITION), (p = i), (d = o.length))
: t === ANIMATION
? c > 0 && ((u = ANIMATION), (p = c), (d = l.length))
: (d = (u = (p = Math.max(i, c)) > 0 ? (i > c ? TRANSITION : ANIMATION) : null)
? u === TRANSITION
? o.length
: l.length
: 0),
{
type: u,
timeout: p,
propCount: d,
hasTransform:
u === TRANSITION && /\b(transform|all)(,|$)/.test(n[TRANSITION + 'Property'])
}
)
}
function getTimeout(e, t) {
for (; e.length < t.length; ) e = e.concat(e)
return Math.max.apply(
Math,
_toConsumableArray2(
t.map(function (t, n) {
return toMs(t) + toMs(e[n])
})
)
)
}
function toMs(e) {
return 1e3 * Number(e.slice(0, -1).replace(',', '.'))
}
function forceReflow() {
return document.body.offsetHeight
}
var positionMap = new WeakMap(),
newPositionMap = new WeakMap(),
TransitionGroupImpl = {
name: 'TransitionGroup',
props: extend$2({}, TransitionPropsValidators, { tag: String, moveClass: String }),
setup: function (e, t) {
var n,
r,
a = t.slots,
o = getCurrentInstance(),
i = useTransitionState()
return (
onUpdated(function () {
if (n.length) {
var t = e.moveClass || ''.concat(e.name || 'v', '-move')
if (hasCSSTransform(n[0].el, o.vnode.el, t)) {
n.forEach(callPendingCbs), n.forEach(recordPosition)
var r = n.filter(applyTranslation)
forceReflow(),
r.forEach(function (e) {
var n = e.el,
r = n.style
addTransitionClass(n, t),
(r.transform = r.webkitTransform = r.transitionDuration = '')
var a = (n._moveCb = function (e) {
;(e && e.target !== n) ||
(e && !/transform$/.test(e.propertyName)) ||
(n.removeEventListener('transitionend', a),
(n._moveCb = null),
removeTransitionClass(n, t))
})
n.addEventListener('transitionend', a)
})
}
}
}),
function () {
var t = toRaw(e),
s = resolveTransitionProps(t),
l = t.tag || Fragment
;(n = r), (r = a.default ? getTransitionRawChildren(a.default()) : [])
for (var c = 0; c < r.length; c++) {
var u = r[c]
null != u.key && setTransitionHooks(u, resolveTransitionHooks(u, s, i, o))
}
if (n)
for (var p = 0; p < n.length; p++) {
var d = n[p]
setTransitionHooks(d, resolveTransitionHooks(d, s, i, o)),
positionMap.set(d, d.el.getBoundingClientRect())
}
return createVNode(l, null, r)
}
)
}
},
TransitionGroup = exports('bB', TransitionGroupImpl)
function callPendingCbs(e) {
var t = e.el
t._moveCb && t._moveCb(), t._enterCb && t._enterCb()
}
function recordPosition(e) {
newPositionMap.set(e, e.el.getBoundingClientRect())
}
function applyTranslation(e) {
var t = positionMap.get(e),
n = newPositionMap.get(e),
r = t.left - n.left,
a = t.top - n.top
if (r || a) {
var o = e.el.style
return (
(o.transform = o.webkitTransform = 'translate('.concat(r, 'px,').concat(a, 'px)')),
(o.transitionDuration = '0s'),
e
)
}
}
function hasCSSTransform(e, t, n) {
var r = e.cloneNode()
e._vtc &&
e._vtc.forEach(function (e) {
e.split(/\s+/).forEach(function (e) {
return e && r.classList.remove(e)
})
}),
n.split(/\s+/).forEach(function (e) {
return e && r.classList.add(e)
}),
(r.style.display = 'none')
var a = 1 === t.nodeType ? t : t.parentNode
a.appendChild(r)
var o = getTransitionInfo(r).hasTransform
return a.removeChild(r), o
}
var getModelAssigner = function (e) {
var t = e.props['onUpdate:modelValue']
return isArray$5(t)
? function (e) {
return invokeArrayFns(t, e)
}
: t
}
function onCompositionStart(e) {
e.target.composing = !0
}
function onCompositionEnd(e) {
var t = e.target
t.composing && ((t.composing = !1), trigger(t, 'input'))
}
function trigger(e, t) {
var n = document.createEvent('HTMLEvents')
n.initEvent(t, !0, !0), e.dispatchEvent(n)
}
var vModelText = exports('dh', {
created: function (e, t, n) {
var r = t.modifiers,
a = r.lazy,
o = r.trim,
i = r.number
e._assign = getModelAssigner(n)
var s = i || (n.props && 'number' === n.props.type)
addEventListener(e, a ? 'change' : 'input', function (t) {
if (!t.target.composing) {
var n = e.value
o ? (n = n.trim()) : s && (n = toNumber(n)), e._assign(n)
}
}),
o &&
addEventListener(e, 'change', function () {
e.value = e.value.trim()
}),
a ||
(addEventListener(e, 'compositionstart', onCompositionStart),
addEventListener(e, 'compositionend', onCompositionEnd),
addEventListener(e, 'change', onCompositionEnd))
},
mounted: function (e, t) {
var n = t.value
e.value = null == n ? '' : n
},
beforeUpdate: function (e, t, n) {
var r = t.value,
a = t.modifiers,
o = a.lazy,
i = a.trim,
s = a.number
if (((e._assign = getModelAssigner(n)), !e.composing)) {
if (document.activeElement === e) {
if (o) return
if (i && e.value.trim() === r) return
if ((s || 'number' === e.type) && toNumber(e.value) === r) return
}
var l = null == r ? '' : r
e.value !== l && (e.value = l)
}
}
}),
vModelCheckbox = exports('dd', {
deep: !0,
created: function (e, t, n) {
;(e._assign = getModelAssigner(n)),
addEventListener(e, 'change', function () {
var t = e._modelValue,
n = getValue(e),
r = e.checked,
a = e._assign
if (isArray$5(t)) {
var o = looseIndexOf(t, n),
i = -1 !== o
if (r && !i) a(t.concat(n))
else if (!r && i) {
var s = _toConsumableArray2(t)
s.splice(o, 1), a(s)
}
} else if (isSet$1(t)) {
var l = new Set(t)
r ? l.add(n) : l.delete(n), a(l)
} else a(getCheckboxValue(e, r))
})
},
mounted: setChecked,
beforeUpdate: function (e, t, n) {
;(e._assign = getModelAssigner(n)), setChecked(e, t, n)
}
})
function setChecked(e, t, n) {
var r = t.value,
a = t.oldValue
;(e._modelValue = r),
isArray$5(r)
? (e.checked = looseIndexOf(r, n.props.value) > -1)
: isSet$1(r)
? (e.checked = r.has(n.props.value))
: r !== a && (e.checked = looseEqual(r, getCheckboxValue(e, !0)))
}
var vModelRadio = exports('df', {
created: function (e, t, n) {
var r = t.value
;(e.checked = looseEqual(r, n.props.value)),
(e._assign = getModelAssigner(n)),
addEventListener(e, 'change', function () {
e._assign(getValue(e))
})
},
beforeUpdate: function (e, t, n) {
var r = t.value,
a = t.oldValue
;(e._assign = getModelAssigner(n)),
r !== a && (e.checked = looseEqual(r, n.props.value))
}
}),
vModelSelect = exports('dg', {
deep: !0,
created: function (e, t, n) {
var r = t.value,
a = t.modifiers.number,
o = isSet$1(r)
addEventListener(e, 'change', function () {
var t = Array.prototype.filter
.call(e.options, function (e) {
return e.selected
})
.map(function (e) {
return a ? toNumber(getValue(e)) : getValue(e)
})
e._assign(e.multiple ? (o ? new Set(t) : t) : t[0])
}),
(e._assign = getModelAssigner(n))
},
mounted: function (e, t) {
setSelected(e, t.value)
},
beforeUpdate: function (e, t, n) {
e._assign = getModelAssigner(n)
},
updated: function (e, t) {
setSelected(e, t.value)
}
})
function setSelected(e, t) {
var n = e.multiple
if (!n || isArray$5(t) || isSet$1(t)) {
for (var r = 0, a = e.options.length; r < a; r++) {
var o = e.options[r],
i = getValue(o)
if (n)
isArray$5(t) ? (o.selected = looseIndexOf(t, i) > -1) : (o.selected = t.has(i))
else if (looseEqual(getValue(o), t))
return void (e.selectedIndex !== r && (e.selectedIndex = r))
}
n || -1 === e.selectedIndex || (e.selectedIndex = -1)
}
}
function getValue(e) {
return '_value' in e ? e._value : e.value
}
function getCheckboxValue(e, t) {
var n = t ? '_trueValue' : '_falseValue'
return n in e ? e[n] : t
}
var vModelDynamic = exports('de', {
created: function (e, t, n) {
callModelHook(e, t, n, null, 'created')
},
mounted: function (e, t, n) {
callModelHook(e, t, n, null, 'mounted')
},
beforeUpdate: function (e, t, n, r) {
callModelHook(e, t, n, r, 'beforeUpdate')
},
updated: function (e, t, n, r) {
callModelHook(e, t, n, r, 'updated')
}
})
function callModelHook(e, t, n, r, a) {
var o
switch (e.tagName) {
case 'SELECT':
o = vModelSelect
break
case 'TEXTAREA':
o = vModelText
break
default:
switch (n.props && n.props.type) {
case 'checkbox':
o = vModelCheckbox
break
case 'radio':
o = vModelRadio
break
default:
o = vModelText
}
}
var i = o[a]
i && i(e, t, n, r)
}
function initVModelForSSR() {
;(vModelText.getSSRProps = function (e) {
return { value: e.value }
}),
(vModelRadio.getSSRProps = function (e, t) {
var n = e.value
if (t.props && looseEqual(t.props.value, n)) return { checked: !0 }
}),
(vModelCheckbox.getSSRProps = function (e, t) {
var n = e.value
if (isArray$5(n)) {
if (t.props && looseIndexOf(n, t.props.value) > -1) return { checked: !0 }
} else if (isSet$1(n)) {
if (t.props && n.has(t.props.value)) return { checked: !0 }
} else if (n) return { checked: !0 }
})
}
var systemModifiers = ['ctrl', 'shift', 'alt', 'meta'],
modifierGuards = {
stop: function (e) {
return e.stopPropagation()
},
prevent: function (e) {
return e.preventDefault()
},
self: function (e) {
return e.target !== e.currentTarget
},
ctrl: function (e) {
return !e.ctrlKey
},
shift: function (e) {
return !e.shiftKey
},
alt: function (e) {
return !e.altKey
},
meta: function (e) {
return !e.metaKey
},
left: function (e) {
return 'button' in e && 0 !== e.button
},
middle: function (e) {
return 'button' in e && 1 !== e.button
},
right: function (e) {
return 'button' in e && 2 !== e.button
},
exact: function (e, t) {
return systemModifiers.some(function (n) {
return e[''.concat(n, 'Key')] && !t.includes(n)
})
}
},
withModifiers = exports('dj', function (e, t) {
return function (n) {
for (var r = 0; r < t.length; r++) {
var a = modifierGuards[t[r]]
if (a && a(n, t)) return
}
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
i[s - 1] = arguments[s]
return e.apply(void 0, [n].concat(i))
}
}),
keyNames = {
esc: 'escape',
space: ' ',
up: 'arrow-up',
left: 'arrow-left',
right: 'arrow-right',
down: 'arrow-down',
delete: 'backspace'
},
withKeys = exports('di', function (e, t) {
return function (n) {
if ('key' in n) {
var r = hyphenate(n.key)
return t.some(function (e) {
return e === r || keyNames[e] === r
})
? e(n)
: void 0
}
}
}),
vShow = exports('aQ', {
beforeMount: function (e, t, n) {
var r = t.value,
a = n.transition
;(e._vod = 'none' === e.style.display ? '' : e.style.display),
a && r ? a.beforeEnter(e) : setDisplay(e, r)
},
mounted: function (e, t, n) {
var r = t.value,
a = n.transition
a && r && a.enter(e)
},
updated: function (e, t, n) {
var r = t.value,
a = t.oldValue,
o = n.transition
!r != !a &&
(o
? r
? (o.beforeEnter(e), setDisplay(e, !0), o.enter(e))
: o.leave(e, function () {
setDisplay(e, !1)
})
: setDisplay(e, r))
},
beforeUnmount: function (e, t) {
setDisplay(e, t.value)
}
})
function setDisplay(e, t) {
e.style.display = t ? e._vod : 'none'
}
function initVShowForSSR() {
vShow.getSSRProps = function (e) {
if (!e.value) return { style: { display: 'none' } }
}
}
var rendererOptions = extend$2({ patchProp: patchProp }, nodeOps),
renderer,
enabledHydration = !1
function ensureRenderer() {
return renderer || (renderer = createRenderer(rendererOptions))
}
function ensureHydrationRenderer() {
return (
(renderer = enabledHydration ? renderer : createHydrationRenderer(rendererOptions)),
(enabledHydration = !0),
renderer
)
}
var render = exports('da', function () {
var e
;(e = ensureRenderer()).render.apply(e, arguments)
}),
hydrate = exports('d8', function () {
var e
;(e = ensureHydrationRenderer()).hydrate.apply(e, arguments)
}),
createApp = exports('g', function () {
var e,
t = (e = ensureRenderer()).createApp.apply(e, arguments),
n = t.mount
return (
(t.mount = function (e) {
var r = normalizeContainer(e)
if (r) {
var a = t._component
isFunction$1(a) || a.render || a.template || (a.template = r.innerHTML),
(r.innerHTML = '')
var o = n(r, !1, r instanceof SVGElement)
return (
r instanceof Element &&
(r.removeAttribute('v-cloak'), r.setAttribute('data-v-app', '')),
o
)
}
}),
t
)
}),
createSSRApp = exports('d5', function () {
var e,
t = (e = ensureHydrationRenderer()).createApp.apply(e, arguments),
n = t.mount
return (
(t.mount = function (e) {
var t = normalizeContainer(e)
if (t) return n(t, !0, t instanceof SVGElement)
}),
t
)
})
function normalizeContainer(e) {
return isString$1(e) ? document.querySelector(e) : e
}
var ssrDirectiveInitialized = !1,
initDirectivesForSSR = exports('d9', function () {
ssrDirectiveInitialized ||
((ssrDirectiveInitialized = !0), initVModelForSSR(), initVShowForSSR())
}),
isDef = exports('a1', function (e) {
return null != e
}),
isFunction = exports('M', function (e) {
return 'function' == typeof e
}),
isObject$1 = exports('J', function (e) {
return null !== e && 'object' === _typeof2(e)
}),
isPromise = exports('K', function (e) {
return isObject$1(e) && isFunction(e.then) && isFunction(e.catch)
}),
isDate$2 = exports('aq', function (e) {
return (
'[object Date]' === Object.prototype.toString.call(e) && !Number.isNaN(e.getTime())
)
}),
isNumeric = function (e) {
return 'number' == typeof e || /^\d+(\.\d+)?$/.test(e)
},
isIOS$1 = function () {
return !!inBrowser$1 && /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())
}
function noop$1() {}
var extend$1 = exports('N', Object.assign),
inBrowser$1 = exports('aa', 'undefined' != typeof window)
function get(e, t) {
var n = t.split('.'),
r = e
return (
n.forEach(function (e) {
var t
r = isObject$1(r) && null != (t = r[e]) ? t : ''
}),
r
)
}
function pick(e, t, n) {
return t.reduce(function (t, r) {
return (n && void 0 === e[r]) || (t[r] = e[r]), t
}, {})
}
var isSameValue = exports('ar', function (e, t) {
return JSON.stringify(e) === JSON.stringify(t)
}),
toArray = exports('a2', function (e) {
return Array.isArray(e) ? e : [e]
}),
unknownProp = exports('O', null),
numericProp = exports('z', [Number, String]),
truthProp = exports('v', { type: Boolean, default: !0 }),
makeRequiredProp = exports('av', function (e) {
return { type: e, required: !0 }
}),
makeArrayProp = exports('aw', function () {
return {
type: Array,
default: function () {
return []
}
}
}),
makeNumberProp = exports('bC', function (e) {
return { type: Number, default: e }
}),
makeNumericProp = exports('w', function (e) {
return { type: numericProp, default: e }
}),
makeStringProp = exports('u', function (e) {
return { type: String, default: e }
}),
inBrowser = 'undefined' != typeof window
function raf(e) {
return inBrowser ? requestAnimationFrame(e) : -1
}
function cancelRaf(e) {
inBrowser && cancelAnimationFrame(e)
}
function doubleRaf(e) {
raf(function () {
return raf(e)
})
}
var isWindow = function (e) {
return e === window
},
makeDOMRect = function (e, t) {
return { top: 0, left: 0, right: e, bottom: t, width: e, height: t }
},
useRect = exports('am', function (e) {
var t = unref(e)
if (isWindow(t)) {
var n = t.innerWidth,
r = t.innerHeight
return makeDOMRect(n, r)
}
return (null == t ? void 0 : t.getBoundingClientRect)
? t.getBoundingClientRect()
: makeDOMRect(0, 0)
})
function useToggle() {
var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
t = ref(e),
n = function () {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : !t.value
t.value = e
}
return [t, n]
}
function useParent(e) {
var t = inject(e, null)
if (t) {
var n = getCurrentInstance(),
r = t.link,
a = t.unlink,
o = t.internalChildren
return (
r(n),
onUnmounted(function () {
return a(n)
}),
{
parent: t,
index: computed(function () {
return o.indexOf(n)
})
}
)
}
return { parent: null, index: ref(-1) }
}
function flattenVNodes(e) {
var t = []
return (
(function e(n) {
Array.isArray(n) &&
n.forEach(function (n) {
var r
isVNode(n) &&
(t.push(n),
(null == (r = n.component) ? void 0 : r.subTree) &&
(t.push(n.component.subTree), e(n.component.subTree.children)),
n.children && e(n.children))
})
})(e),
t
)
}
function sortChildren(e, t, n) {
var r = flattenVNodes(e.subTree.children)
n.sort(function (e, t) {
return r.indexOf(e.vnode) - r.indexOf(t.vnode)
})
var a = n.map(function (e) {
return e.proxy
})
t.sort(function (e, t) {
return a.indexOf(e) - a.indexOf(t)
})
}
function useChildren(e) {
var t = reactive([]),
n = reactive([]),
r = getCurrentInstance()
return {
children: t,
linkChildren: function (a) {
provide(
e,
Object.assign(
{
link: function (e) {
e.proxy && (n.push(e), t.push(e.proxy), sortChildren(r, t, n))
},
unlink: function (e) {
var r = n.indexOf(e)
t.splice(r, 1), n.splice(r, 1)
},
children: t,
internalChildren: n
},
a
)
)
}
}
}
var SECOND = 1e3,
MINUTE = 60 * SECOND,
HOUR = 60 * MINUTE,
DAY = 24 * HOUR,
width,
height
function parseTime(e) {
return {
total: e,
days: Math.floor(e / DAY),
hours: Math.floor((e % DAY) / HOUR),
minutes: Math.floor((e % HOUR) / MINUTE),
seconds: Math.floor((e % MINUTE) / SECOND),
milliseconds: Math.floor(e % SECOND)
}
}
function isSameSecond(e, t) {
return Math.floor(e / 1e3) === Math.floor(t / 1e3)
}
function useCountDown(e) {
var t,
n,
r,
a,
o = ref(e.time),
i = computed(function () {
return parseTime(o.value)
}),
s = function () {
;(r = !1), cancelRaf(t)
},
l = function () {
return Math.max(n - Date.now(), 0)
},
c = function (t) {
var n, r
;(o.value = t),
null == (n = e.onChange) || n.call(e, i.value),
0 === t && (s(), null == (r = e.onFinish) || r.call(e))
},
u = function e() {
t = raf(function () {
r && (c(l()), o.value > 0 && e())
})
},
p = function e() {
t = raf(function () {
if (r) {
var t = l()
;(isSameSecond(t, o.value) && 0 !== t) || c(t), o.value > 0 && e()
}
})
},
d = function () {
inBrowser && (e.millisecond ? u() : p())
}
return (
onBeforeUnmount(s),
onActivated(function () {
a && ((r = !0), (a = !1), d())
}),
onDeactivated(function () {
r && (s(), (a = !0))
}),
{
start: function () {
r || ((n = Date.now() + o.value), (r = !0), d())
},
pause: s,
reset: function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.time
s(), (o.value = t)
},
current: i
}
)
}
function onMountedOrActivated(e) {
var t
onMounted(function () {
e(),
nextTick(function () {
t = !0
})
}),
onActivated(function () {
t && e()
})
}
function useEventListener(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
if (inBrowser) {
var r,
a = n.target,
o = void 0 === a ? window : a,
i = n.passive,
s = void 0 !== i && i,
l = n.capture,
c = void 0 !== l && l,
u = function (n) {
var a = unref(n)
a && !r && (a.addEventListener(e, t, { capture: c, passive: s }), (r = !0))
},
p = function (n) {
var a = unref(n)
a && r && (a.removeEventListener(e, t, c), (r = !1))
}
onUnmounted(function () {
return p(o)
}),
onDeactivated(function () {
return p(o)
}),
onMountedOrActivated(function () {
return u(o)
}),
isRef(o) &&
watch(o, function (e, t) {
p(t), u(e)
})
}
}
function useClickAway(e, t) {
var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
if (inBrowser) {
var r = n.eventName,
a = void 0 === r ? 'click' : r,
o = function (n) {
;(Array.isArray(e) ? e : [e]).every(function (e) {
var t = unref(e)
return t && !t.contains(n.target)
}) && t(n)
}
useEventListener(a, o, { target: document })
}
}
function useWindowSize() {
if (!width && ((width = ref(0)), (height = ref(0)), inBrowser)) {
var e = function () {
;(width.value = window.innerWidth), (height.value = window.innerHeight)
}
e(),
window.addEventListener('resize', e, { passive: !0 }),
window.addEventListener('orientationchange', e, { passive: !0 })
}
return { width: width, height: height }
}
var overflowScrollReg = /scroll|auto|overlay/i,
defaultRoot = inBrowser ? window : void 0,
visibility
function isElement$1(e) {
return 'HTML' !== e.tagName && 'BODY' !== e.tagName && 1 === e.nodeType
}
function getScrollParent(e) {
for (
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
n = e;
n && n !== t && isElement$1(n);
) {
var r = window.getComputedStyle(n),
a = r.overflowY
if (overflowScrollReg.test(a)) return n
n = n.parentNode
}
return t
}
function useScrollParent(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
n = ref()
return (
onMounted(function () {
e.value && (n.value = getScrollParent(e.value, t))
}),
n
)
}
function usePageVisibility() {
if (!visibility && ((visibility = ref('visible')), inBrowser)) {
var e = function () {
visibility.value = document.hidden ? 'hidden' : 'visible'
}
e(), window.addEventListener('visibilitychange', e)
}
return visibility
}
var CUSTOM_FIELD_INJECTION_KEY = exports('Y', Symbol('van-field'))
function useCustomFieldValue(e) {
var t = inject(CUSTOM_FIELD_INJECTION_KEY, null)
t &&
!t.customValue.value &&
((t.customValue.value = e),
watch(e, function () {
t.resetValidation(), t.validateWithTrigger('onChange')
}))
}
function getScrollTop(e) {
var t = 'scrollTop' in e ? e.scrollTop : e.pageYOffset
return Math.max(t, 0)
}
function setScrollTop(e, t) {
'scrollTop' in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t)
}
function getRootScrollTop() {
return (
window.pageYOffset ||
document.documentElement.scrollTop ||
document.body.scrollTop ||
0
)
}
function setRootScrollTop(e) {
setScrollTop(window, e), setScrollTop(document.body, e)
}
function getElementTop(e, t) {
if (e === window) return 0
var n = t ? getScrollTop(t) : getRootScrollTop()
return useRect(e).top + n
}
var isIOS = isIOS$1()
function resetScroll() {
isIOS && setRootScrollTop(getRootScrollTop())
}
var stopPropagation = exports('bI', function (e) {
return e.stopPropagation()
})
function preventDefault(e, t) {
;('boolean' != typeof e.cancelable || e.cancelable) && e.preventDefault(),
t && stopPropagation(e)
}
function isHidden(e) {
var t = unref(e)
if (!t) return !1
var n = window.getComputedStyle(t),
r = 'none' === n.display,
a = null === t.offsetParent && 'fixed' !== n.position
return r || a
}
var _useWindowSize = useWindowSize(),
windowWidth = _useWindowSize.width,
windowHeight = _useWindowSize.height,
rootFontSize
function addUnit(e) {
if (isDef(e)) return isNumeric(e) ? ''.concat(e, 'px') : String(e)
}
function getSizeStyle(e) {
if (isDef(e)) {
if (Array.isArray(e)) return { width: addUnit(e[0]), height: addUnit(e[1]) }
var t = addUnit(e)
return { width: t, height: t }
}
}
function getZIndexStyle(e) {
var t = {}
return void 0 !== e && (t.zIndex = +e), t
}
function getRootFontSize() {
if (!rootFontSize) {
var e = document.documentElement,
t = e.style.fontSize || window.getComputedStyle(e).fontSize
rootFontSize = parseFloat(t)
}
return rootFontSize
}
function convertRem(e) {
return +(e = e.replace(/rem/g, '')) * getRootFontSize()
}
function convertVw(e) {
return (+(e = e.replace(/vw/g, '')) * windowWidth.value) / 100
}
function convertVh(e) {
return (+(e = e.replace(/vh/g, '')) * windowHeight.value) / 100
}
function unitToPx(e) {
if ('number' == typeof e) return e
if (inBrowser$1) {
if (e.includes('rem')) return convertRem(e)
if (e.includes('vw')) return convertVw(e)
if (e.includes('vh')) return convertVh(e)
}
return parseFloat(e)
}
exports({ aI: windowWidth, aR: windowHeight })
var camelizeRE = /-(\w)/g,
camelize = function (e) {
return e.replace(camelizeRE, function (e, t) {
return t.toUpperCase()
})
},
kebabCase = function (e) {
return e
.replace(/([A-Z])/g, '-$1')
.toLowerCase()
.replace(/^-/, '')
}
function padZero(e) {
for (
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2,
n = e + '';
n.length < t;
)
n = '0' + n
return n
}
var clamp = exports('au', function (e, t, n) {
return Math.min(Math.max(e, t), n)
})
function trimExtraChar(e, t, n) {
var r = e.indexOf(t)
return -1 === r
? e
: '-' === t && 0 !== r
? e.slice(0, r)
: e.slice(0, r + 1) + e.slice(r).replace(n, '')
}
function formatNumber(e) {
var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]
e = t ? trimExtraChar(e, '.', /\./g) : e.split('.')[0]
var r = t ? /[^-0-9.]/g : /[^-0-9]/g
return (e = n ? trimExtraChar(e, '-', /-/g) : e.replace(/-/, '')).replace(r, '')
}
function addNumber(e, t) {
var n = Math.pow(10, 10)
return Math.round((e + t) * n) / n
}
var hasOwnProperty$1 = Object.prototype.hasOwnProperty
function assignKey(e, t, n) {
var r = t[n]
isDef(r) &&
(hasOwnProperty$1.call(e, n) && isObject$1(r)
? (e[n] = deepAssign(Object(e[n]), r))
: (e[n] = r))
}
function deepAssign(e, t) {
return (
Object.keys(t).forEach(function (n) {
assignKey(e, t, n)
}),
e
)
}
var stdin_default$c = {
name: '姓名',
tel: '电话',
save: '保存',
confirm: '确认',
cancel: '取消',
delete: '删除',
loading: '加载中...',
noCoupon: '暂无优惠券',
nameEmpty: '请填写姓名',
addContact: '添加联系人',
telInvalid: '请填写正确的电话',
vanCalendar: {
end: '结束',
start: '开始',
title: '日期选择',
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
monthTitle: function (e, t) {
return ''.concat(e, '年').concat(t, '月')
},
rangePrompt: function (e) {
return '最多选择 '.concat(e, ' 天')
}
},
vanCascader: { select: '请选择' },
vanPagination: { prev: '上一页', next: '下一页' },
vanPullRefresh: { pulling: '下拉即可刷新...', loosing: '释放即可刷新...' },
vanSubmitBar: { label: '合计:' },
vanCoupon: {
unlimited: '无门槛',
discount: function (e) {
return ''.concat(e, '折')
},
condition: function (e) {
return '满'.concat(e, '元可用')
}
},
vanCouponCell: {
title: '优惠券',
count: function (e) {
return ''.concat(e, '张可用')
}
},
vanCouponList: {
exchange: '兑换',
close: '不使用',
enable: '可用',
disabled: '不可用',
placeholder: '输入优惠码'
},
vanAddressEdit: {
area: '地区',
areaEmpty: '请选择地区',
addressEmpty: '请填写详细地址',
addressDetail: '详细地址',
defaultAddress: '设为默认收货地址'
},
vanAddressList: { add: '新增地址' }
},
lang = ref('zh-CN'),
_messages = reactive({ 'zh-CN': stdin_default$c }),
Locale = {
messages: function () {
return _messages[lang.value]
},
use: function (e, t) {
;(lang.value = e), this.add(_defineProperty2({}, e, t))
},
add: function () {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
deepAssign(_messages, e)
}
},
stdin_default$b = Locale
function createTranslate(e) {
var t = camelize(e) + '.'
return function (e) {
for (
var n = stdin_default$b.messages(),
r = get(n, t + e) || get(n, e),
a = arguments.length,
o = new Array(a > 1 ? a - 1 : 0),
i = 1;
i < a;
i++
)
o[i - 1] = arguments[i]
return isFunction(r) ? r.apply(void 0, o) : r
}
}
function genBem(e, t) {
return t
? 'string' == typeof t
? ' '.concat(e, '--').concat(t)
: Array.isArray(t)
? t.reduce(function (t, n) {
return t + genBem(e, n)
}, '')
: Object.keys(t).reduce(function (n, r) {
return n + (t[r] ? genBem(e, r) : '')
}, '')
: ''
}
function createBEM(e) {
return function (t, n) {
return (
t && 'string' != typeof t && ((n = t), (t = '')),
(t = t ? ''.concat(e, '__').concat(t) : e),
''.concat(t).concat(genBem(t, n))
)
}
}
function createNamespace(e) {
var t = 'van-'.concat(e)
return [t, createBEM(t), createTranslate(t)]
}
var BORDER = exports('b0', 'van-hairline'),
BORDER_TOP = exports('a$', ''.concat(BORDER, '--top')),
BORDER_LEFT = ''.concat(BORDER, '--left'),
BORDER_BOTTOM = exports('aY', ''.concat(BORDER, '--bottom')),
BORDER_SURROUND = ''.concat(BORDER, '--surround'),
BORDER_TOP_BOTTOM = exports('G', ''.concat(BORDER, '--top-bottom')),
BORDER_UNSET_TOP_BOTTOM = exports('aA', ''.concat(BORDER, '-unset--top-bottom')),
HAPTICS_FEEDBACK = exports('ay', 'van-haptics-feedback'),
FORM_KEY = exports('S', Symbol('van-form')),
LONG_PRESS_START_TIME = exports('bc', 500)
function callInterceptor(e, t) {
var n = t.args,
r = void 0 === n ? [] : n,
a = t.done,
o = t.canceled
if (e) {
var i = e.apply(null, r)
isPromise(i)
? i
.then(function (e) {
e ? a() : o && o()
})
.catch(noop$1)
: i
? a()
: o && o()
} else a()
}
function withInstall(e) {
return (
(e.install = function (t) {
var n = e.name
n && (t.component(n, e), t.component(camelize('-'.concat(n)), e))
}),
e
)
}
var POPUP_TOGGLE_KEY = Symbol()
function onPopupReopen(e) {
var t = inject(POPUP_TOGGLE_KEY, null)
t &&
watch(t, function (t) {
t && e()
})
}
var useHeight = exports('bE', function (e, t) {
var n = ref(),
r = function () {
n.value = useRect(e).height
}
return (
onMounted(function () {
if ((nextTick(r), t)) for (var e = 1; e <= 3; e++) setTimeout(r, 100 * e)
}),
onPopupReopen(function () {
return nextTick(r)
}),
n
)
})
function usePlaceholder(e, t) {
var n = useHeight(e, !0)
return function (e) {
return createVNode(
'div',
{
class: t('placeholder'),
style: { height: n.value ? ''.concat(n.value, 'px') : void 0 }
},
[e()]
)
}
}
var _createNamespace = createNamespace('action-bar'),
_createNamespace2 = _slicedToArray(_createNamespace, 2),
name$b = _createNamespace2[0],
bem$b = _createNamespace2[1],
ACTION_BAR_KEY = Symbol(name$b),
actionBarProps = { placeholder: Boolean, safeAreaInsetBottom: truthProp },
stdin_default$a = defineComponent({
name: name$b,
props: actionBarProps,
setup: function (e, t) {
var n = t.slots,
r = ref(),
a = usePlaceholder(r, bem$b)
;(0, useChildren(ACTION_BAR_KEY).linkChildren)()
var o = function () {
var t
return createVNode(
'div',
{ ref: r, class: [bem$b(), { 'van-safe-area-bottom': e.safeAreaInsetBottom }] },
[null == (t = n.default) ? void 0 : t.call(n)]
)
}
return function () {
return e.placeholder ? a(o) : o()
}
}
}),
ActionBar = withInstall(stdin_default$a)
function useExpose(e) {
var t = getCurrentInstance()
t && extend$1(t.proxy, e)
}
var routeProps = exports('ae', { to: [String, Object], url: String, replace: Boolean })
function route(e) {
var t = e.to,
n = e.url,
r = e.replace,
a = e.$router
t && a
? a[r ? 'replace' : 'push'](t)
: n && (r ? location.replace(n) : (location.href = n))
}
function useRoute$1() {
var e = getCurrentInstance().proxy
return function () {
return route(e)
}
}
var _createNamespace3 = createNamespace('badge'),
_createNamespace4 = _slicedToArray(_createNamespace3, 2),
name$a = _createNamespace4[0],
bem$a = _createNamespace4[1],
badgeProps = {
dot: Boolean,
max: numericProp,
tag: makeStringProp('div'),
color: String,
offset: Array,
content: numericProp,
showZero: truthProp,
position: makeStringProp('top-right')
},
stdin_default$9 = defineComponent({
name: name$a,
props: badgeProps,
setup: function (e, t) {
var n = t.slots,
r = function () {
if (n.content) return !0
var t = e.content,
r = e.showZero
return isDef(t) && '' !== t && (r || (0 !== t && '0' !== t))
},
a = function () {
var t = e.dot,
a = e.max,
o = e.content
if (!t && r())
return n.content
? n.content()
: isDef(a) && isNumeric(o) && +o > a
? ''.concat(a, '+')
: o
},
o = computed(function () {
var t = { background: e.color }
if (e.offset) {
var r = _slicedToArray(e.offset, 2),
a = r[0],
o = r[1]
n.default
? ((t.top = addUnit(o)),
(t.right =
'number' == typeof a
? addUnit(-a)
: a.startsWith('-')
? a.replace('-', '')
: '-'.concat(a)))
: ((t.marginTop = addUnit(o)), (t.marginLeft = addUnit(a)))
}
return t
}),
i = function () {
if (r() || e.dot)
return createVNode(
'div',
{
class: bem$a([e.position, { dot: e.dot, fixed: !!n.default }]),
style: o.value
},
[a()]
)
}
return function () {
if (n.default) {
var t = e.tag
return createVNode(
t,
{ class: bem$a('wrapper') },
{
default: function () {
return [n.default(), i()]
}
}
)
}
return i()
}
}
}),
Badge = exports('aH', withInstall(stdin_default$9)),
globalZIndex = 2e3,
useGlobalZIndex = function () {
return ++globalZIndex
},
setGlobalZIndex = function (e) {
globalZIndex = e
},
_createNamespace5 = createNamespace('config-provider'),
_createNamespace6 = _slicedToArray(_createNamespace5, 2),
name$9 = _createNamespace6[0],
bem$9 = _createNamespace6[1],
CONFIG_PROVIDER_KEY = Symbol(name$9),
configProviderProps = {
tag: makeStringProp('div'),
theme: makeStringProp('light'),
zIndex: Number,
themeVars: Object,
themeVarsDark: Object,
themeVarsLight: Object,
iconPrefix: String
}
function mapThemeVarsToCSSVars(e) {
var t = {}
return (
Object.keys(e).forEach(function (n) {
t['--van-'.concat(kebabCase(n))] = e[n]
}),
t
)
}
defineComponent({
name: name$9,
props: configProviderProps,
setup: function (e, t) {
var n = t.slots,
r = computed(function () {
return mapThemeVarsToCSSVars(
extend$1(
{},
e.themeVars,
'dark' === e.theme ? e.themeVarsDark : e.themeVarsLight
)
)
})
if (inBrowser$1) {
var a = function () {
document.documentElement.classList.add('van-theme-'.concat(e.theme))
},
o = function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.theme
document.documentElement.classList.remove('van-theme-'.concat(t))
}
watch(
function () {
return e.theme
},
function (e, t) {
t && o(t), a()
},
{ immediate: !0 }
),
onActivated(a),
onDeactivated(o),
onBeforeUnmount(o)
}
return (
provide(CONFIG_PROVIDER_KEY, e),
watchEffect(function () {
void 0 !== e.zIndex && setGlobalZIndex(e.zIndex)
}),
function () {
return createVNode(
e.tag,
{ class: bem$9(), style: r.value },
{
default: function () {
var e
return [null == (e = n.default) ? void 0 : e.call(n)]
}
}
)
}
)
}
})
var _createNamespace7 = createNamespace('icon'),
_createNamespace8 = _slicedToArray(_createNamespace7, 2),
name$8 = _createNamespace8[0],
bem$8 = _createNamespace8[1],
isImage = function (e) {
return null == e ? void 0 : e.includes('/')
},
iconProps = {
dot: Boolean,
tag: makeStringProp('i'),
name: String,
size: numericProp,
badge: numericProp,
color: String,
badgeProps: Object,
classPrefix: String
},
stdin_default$8 = defineComponent({
name: name$8,
props: iconProps,
setup: function (e, t) {
var n = t.slots,
r = inject(CONFIG_PROVIDER_KEY, null),
a = computed(function () {
return e.classPrefix || (null == r ? void 0 : r.iconPrefix) || bem$8()
})
return function () {
var t = e.tag,
r = e.dot,
o = e.name,
i = e.size,
s = e.badge,
l = e.color,
c = isImage(o)
return createVNode(
Badge,
mergeProps(
{
dot: r,
tag: t,
class: [a.value, c ? '' : ''.concat(a.value, '-').concat(o)],
style: { color: l, fontSize: addUnit(i) },
content: s
},
e.badgeProps
),
{
default: function () {
var e
return [
null == (e = n.default) ? void 0 : e.call(n),
c && createVNode('img', { class: bem$8('image'), src: o }, null)
]
}
}
)
}
}
}),
Icon = exports('a5', withInstall(stdin_default$8)),
_createNamespace9 = createNamespace('loading'),
_createNamespace10 = _slicedToArray(_createNamespace9, 2),
name$7 = _createNamespace10[0],
bem$7 = _createNamespace10[1],
SpinIcon = Array(12)
.fill(null)
.map(function (e, t) {
return createVNode('i', { class: bem$7('line', String(t + 1)) }, null)
}),
CircularIcon = createVNode(
'svg',
{ class: bem$7('circular'), viewBox: '25 25 50 50' },
[createVNode('circle', { cx: '50', cy: '50', r: '20', fill: 'none' }, null)]
),
loadingProps = {
size: numericProp,
type: makeStringProp('circular'),
color: String,
vertical: Boolean,
textSize: numericProp,
textColor: String
},
stdin_default$7 = defineComponent({
name: name$7,
props: loadingProps,
setup: function (e, t) {
var n = t.slots,
r = computed(function () {
return extend$1({ color: e.color }, getSizeStyle(e.size))
}),
a = function () {
var t
if (n.default)
return createVNode(
'span',
{
class: bem$7('text'),
style: {
fontSize: addUnit(e.textSize),
color: null != (t = e.textColor) ? t : e.color
}
},
[n.default()]
)
}
return function () {
var t,
o = e.type,
i = e.vertical
return createVNode(
'div',
{ class: bem$7([o, { vertical: i }]), 'aria-live': 'polite', 'aria-busy': !0 },
[
((t = 'spinner' === e.type ? SpinIcon : CircularIcon),
createVNode('span', { class: bem$7('spinner', e.type), style: r.value }, [
n.icon ? n.icon() : t
])),
a()
]
)
}
}
}),
Loading = exports('L', withInstall(stdin_default$7)),
_createNamespace11 = createNamespace('button'),
_createNamespace12 = _slicedToArray(_createNamespace11, 2),
name$6 = _createNamespace12[0],
bem$6 = _createNamespace12[1],
buttonProps = extend$1({}, routeProps, {
tag: makeStringProp('button'),
text: String,
icon: String,
type: makeStringProp('default'),
size: makeStringProp('normal'),
color: String,
block: Boolean,
plain: Boolean,
round: Boolean,
square: Boolean,
loading: Boolean,
hairline: Boolean,
disabled: Boolean,
iconPrefix: String,
nativeType: makeStringProp('button'),
loadingSize: numericProp,
loadingText: String,
loadingType: String,
iconPosition: makeStringProp('left')
}),
stdin_default$6 = defineComponent({
name: name$6,
props: buttonProps,
emits: ['click'],
setup: function (e, t) {
var n = t.emit,
r = t.slots,
a = useRoute$1(),
o = function () {
return e.loading
? r.loading
? r.loading()
: createVNode(
Loading,
{ size: e.loadingSize, type: e.loadingType, class: bem$6('loading') },
null
)
: r.icon
? createVNode('div', { class: bem$6('icon') }, [r.icon()])
: e.icon
? createVNode(
Icon,
{ name: e.icon, class: bem$6('icon'), classPrefix: e.iconPrefix },
null
)
: void 0
},
i = function () {
var t
if ((t = e.loading ? e.loadingText : r.default ? r.default() : e.text))
return createVNode('span', { class: bem$6('text') }, [t])
},
s = function () {
var t = e.color,
n = e.plain
if (t) {
var r = { color: n ? t : 'white' }
return (
n || (r.background = t),
t.includes('gradient') ? (r.border = 0) : (r.borderColor = t),
r
)
}
},
l = function (t) {
e.loading ? preventDefault(t) : e.disabled || (n('click', t), a())
}
return function () {
var t = e.tag,
n = e.type,
r = e.size,
a = e.block,
c = e.round,
u = e.plain,
p = e.square,
d = e.loading,
f = e.disabled,
h = e.hairline,
v = e.nativeType,
m = e.iconPosition,
g = [
bem$6([
n,
r,
{
plain: u,
block: a,
round: c,
square: p,
loading: d,
disabled: f,
hairline: h
}
]),
_defineProperty2({}, BORDER_SURROUND, h)
]
return createVNode(
t,
{ type: v, class: g, style: s(), disabled: f, onClick: l },
{
default: function () {
return [
createVNode('div', { class: bem$6('content') }, [
'left' === m && o(),
i(),
'right' === m && o()
])
]
}
}
)
}
}
}),
Button = exports('B', withInstall(stdin_default$6)),
_createNamespace13 = createNamespace('action-bar-button'),
_createNamespace14 = _slicedToArray(_createNamespace13, 2),
name$5 = _createNamespace14[0],
bem$5 = _createNamespace14[1],
actionBarButtonProps = extend$1({}, routeProps, {
type: String,
text: String,
icon: String,
color: String,
loading: Boolean,
disabled: Boolean
}),
stdin_default$5 = defineComponent({
name: name$5,
props: actionBarButtonProps,
setup: function (e, t) {
var n = t.slots,
r = useRoute$1(),
a = useParent(ACTION_BAR_KEY),
o = a.parent,
i = a.index,
s = computed(function () {
if (o) {
var e = o.children[i.value - 1]
return !(e && 'isButton' in e)
}
}),
l = computed(function () {
if (o) {
var e = o.children[i.value + 1]
return !(e && 'isButton' in e)
}
})
return (
useExpose({ isButton: !0 }),
function () {
var t = e.type,
a = e.icon,
o = e.text,
i = e.color,
c = e.loading,
u = e.disabled
return createVNode(
Button,
{
class: bem$5([t, { last: l.value, first: s.value }]),
size: 'large',
type: t,
icon: a,
color: i,
loading: c,
disabled: u,
onClick: r
},
{
default: function () {
return [n.default ? n.default() : o]
}
}
)
}
)
}
}),
ActionBarButton = withInstall(stdin_default$5),
popupSharedProps = exports('aB', {
show: Boolean,
zIndex: numericProp,
overlay: truthProp,
duration: numericProp,
teleport: [String, Object],
lockScroll: truthProp,
lazyRender: truthProp,
beforeClose: Function,
overlayStyle: Object,
overlayClass: unknownProp,
transitionAppear: Boolean,
closeOnClickOverlay: truthProp
}),
popupSharedPropKeys = exports('aC', Object.keys(popupSharedProps))
function getDirection(e, t) {
return e > t ? 'horizontal' : t > e ? 'vertical' : ''
}
function useTouch() {
var e = ref(0),
t = ref(0),
n = ref(0),
r = ref(0),
a = ref(0),
o = ref(0),
i = ref(''),
s = function () {
;(n.value = 0), (r.value = 0), (a.value = 0), (o.value = 0), (i.value = '')
}
return {
move: function (s) {
var l = s.touches[0]
;(n.value = (l.clientX < 0 ? 0 : l.clientX) - e.value),
(r.value = l.clientY - t.value),
(a.value = Math.abs(n.value)),
(o.value = Math.abs(r.value))
;(!i.value || (a.value < 10 && o.value < 10)) &&
(i.value = getDirection(a.value, o.value))
},
start: function (n) {
s(), (e.value = n.touches[0].clientX), (t.value = n.touches[0].clientY)
},
reset: s,
startX: e,
startY: t,
deltaX: n,
deltaY: r,
offsetX: a,
offsetY: o,
direction: i,
isVertical: function () {
return 'vertical' === i.value
},
isHorizontal: function () {
return 'horizontal' === i.value
}
}
}
var totalLockCount = 0,
BODY_LOCK_CLASS = 'van-overflow-hidden'
function useLockScroll(e, t) {
var n = useTouch(),
r = function (t) {
n.move(t)
var r = n.deltaY.value > 0 ? '10' : '01',
a = getScrollParent(t.target, e.value),
o = a.scrollHeight,
i = a.offsetHeight,
s = a.scrollTop,
l = '11'
0 === s ? (l = i >= o ? '00' : '01') : s + i >= o && (l = '10'),
'11' === l ||
!n.isVertical() ||
parseInt(l, 2) & parseInt(r, 2) ||
preventDefault(t, !0)
},
a = function () {
document.addEventListener('touchstart', n.start),
document.addEventListener('touchmove', r, { passive: !1 }),
totalLockCount || document.body.classList.add(BODY_LOCK_CLASS),
totalLockCount++
},
o = function () {
totalLockCount &&
(document.removeEventListener('touchstart', n.start),
document.removeEventListener('touchmove', r),
--totalLockCount || document.body.classList.remove(BODY_LOCK_CLASS))
},
i = function () {
return t() && o()
}
onMountedOrActivated(function () {
return t() && a()
}),
onDeactivated(i),
onBeforeUnmount(i),
watch(t, function (e) {
e ? a() : o()
})
}
function useLazyRender(e) {
var t = ref(!1)
return (
watch(
e,
function (e) {
e && (t.value = e)
},
{ immediate: !0 }
),
function (e) {
return function () {
return t.value ? e() : null
}
}
)
}
var _createNamespace15 = createNamespace('overlay'),
_createNamespace16 = _slicedToArray(_createNamespace15, 2),
name$4 = _createNamespace16[0],
bem$4 = _createNamespace16[1],
overlayProps = {
show: Boolean,
zIndex: numericProp,
duration: numericProp,
className: unknownProp,
lockScroll: truthProp,
lazyRender: truthProp,
customStyle: Object
},
stdin_default$4 = defineComponent({
name: name$4,
props: overlayProps,
setup: function (e, t) {
var n = t.slots,
r = ref(),
a = useLazyRender(function () {
return e.show || !e.lazyRender
})(function () {
var t,
a = extend$1(getZIndexStyle(e.zIndex), e.customStyle)
return (
isDef(e.duration) && (a.animationDuration = ''.concat(e.duration, 's')),
withDirectives(
createVNode('div', { ref: r, style: a, class: [bem$4(), e.className] }, [
null == (t = n.default) ? void 0 : t.call(n)
]),
[[vShow, e.show]]
)
)
})
return (
useEventListener(
'touchmove',
function (t) {
e.lockScroll && preventDefault(t, !0)
},
{ target: r }
),
function () {
return createVNode(Transition, { name: 'van-fade', appear: !0 }, { default: a })
}
)
}
}),
Overlay = withInstall(stdin_default$4),
popupProps = extend$1({}, popupSharedProps, {
round: Boolean,
position: makeStringProp('center'),
closeIcon: makeStringProp('cross'),
closeable: Boolean,
transition: String,
iconPrefix: String,
closeOnPopstate: Boolean,
closeIconPosition: makeStringProp('top-right'),
safeAreaInsetTop: Boolean,
safeAreaInsetBottom: Boolean
}),
_createNamespace17 = createNamespace('popup'),
_createNamespace18 = _slicedToArray(_createNamespace17, 2),
name$3 = _createNamespace18[0],
bem$3 = _createNamespace18[1],
stdin_default$3 = defineComponent({
name: name$3,
inheritAttrs: !1,
props: popupProps,
emits: [
'open',
'close',
'opened',
'closed',
'keydown',
'update:show',
'clickOverlay',
'clickCloseIcon'
],
setup: function (e, t) {
var n,
r,
a = t.emit,
o = t.attrs,
i = t.slots,
s = ref(),
l = ref(),
c = useLazyRender(function () {
return e.show || !e.lazyRender
}),
u = computed(function () {
var t = { zIndex: s.value }
isDef(e.duration) &&
(t['center' === e.position ? 'animationDuration' : 'transitionDuration'] =
''.concat(e.duration, 's'))
return t
}),
p = function () {
n ||
((n = !0),
(s.value = void 0 !== e.zIndex ? +e.zIndex : useGlobalZIndex()),
a('open'))
},
d = function () {
n &&
callInterceptor(e.beforeClose, {
done: function () {
;(n = !1), a('close'), a('update:show', !1)
}
})
},
f = function (t) {
a('clickOverlay', t), e.closeOnClickOverlay && d()
},
h = function () {
if (e.overlay)
return createVNode(
Overlay,
{
show: e.show,
class: e.overlayClass,
zIndex: s.value,
duration: e.duration,
customStyle: e.overlayStyle,
role: e.closeOnClickOverlay ? 'button' : void 0,
tabindex: e.closeOnClickOverlay ? 0 : void 0,
onClick: f
},
{ default: i['overlay-content'] }
)
},
v = function (e) {
a('clickCloseIcon', e), d()
},
m = function () {
if (e.closeable)
return createVNode(
Icon,
{
role: 'button',
tabindex: 0,
name: e.closeIcon,
class: [bem$3('close-icon', e.closeIconPosition), HAPTICS_FEEDBACK],
classPrefix: e.iconPrefix,
onClick: v
},
null
)
},
g = function () {
return a('opened')
},
y = function () {
return a('closed')
},
b = function (e) {
return a('keydown', e)
},
_ = c(function () {
var t,
n = e.round,
r = e.position,
a = e.safeAreaInsetTop,
s = e.safeAreaInsetBottom
return withDirectives(
createVNode(
'div',
mergeProps(
{
ref: l,
style: u.value,
role: 'dialog',
tabindex: 0,
class: [
bem$3(_defineProperty2({ round: n }, r, r)),
{ 'van-safe-area-top': a, 'van-safe-area-bottom': s }
],
onKeydown: b
},
o
),
[null == (t = i.default) ? void 0 : t.call(i), m()]
),
[[vShow, e.show]]
)
}),
A = function () {
var t = e.position,
n = e.transition,
r = e.transitionAppear,
a = 'center' === t ? 'van-fade' : 'van-popup-slide-'.concat(t)
return createVNode(
Transition,
{ name: n || a, appear: r, onAfterEnter: g, onAfterLeave: y },
{ default: _ }
)
}
return (
watch(
function () {
return e.show
},
function (e) {
e &&
!n &&
(p(),
0 === o.tabindex &&
nextTick(function () {
var e
null == (e = l.value) || e.focus()
})),
!e && n && ((n = !1), a('close'))
}
),
useExpose({ popupRef: l }),
useLockScroll(l, function () {
return e.show && e.lockScroll
}),
useEventListener('popstate', function () {
e.closeOnPopstate && (d(), (r = !1))
}),
onMounted(function () {
e.show && p()
}),
onActivated(function () {
r && (a('update:show', !0), (r = !1))
}),
onDeactivated(function () {
e.show && e.teleport && (d(), (r = !0))
}),
provide(POPUP_TOGGLE_KEY, function () {
return e.show
}),
function () {
return e.teleport
? createVNode(
Teleport,
{ to: e.teleport },
{
default: function () {
return [h(), A()]
}
}
)
: createVNode(Fragment, null, [h(), A()])
}
)
}
}),
Popup = exports('P', withInstall(stdin_default$3)),
current = 0
function useId() {
var e = getCurrentInstance(),
t = ((null == e ? void 0 : e.type) || {}).name
return ''.concat(void 0 === t ? 'unknown' : t, '-').concat(++current)
}
var lockCount = 0
function lockClick(e) {
e
? (lockCount || document.body.classList.add('van-toast--unclickable'), lockCount++)
: lockCount &&
(--lockCount || document.body.classList.remove('van-toast--unclickable'))
}
var _createNamespace19 = createNamespace('toast'),
_createNamespace20 = _slicedToArray(_createNamespace19, 2),
name$2 = _createNamespace20[0],
bem$2 = _createNamespace20[1],
popupInheritProps = [
'show',
'overlay',
'teleport',
'transition',
'overlayClass',
'overlayStyle',
'closeOnClickOverlay'
],
toastProps = {
icon: String,
show: Boolean,
type: makeStringProp('text'),
overlay: Boolean,
message: numericProp,
iconSize: numericProp,
duration: makeNumberProp(2e3),
position: makeStringProp('middle'),
teleport: [String, Object],
wordBreak: String,
className: unknownProp,
iconPrefix: String,
transition: makeStringProp('van-fade'),
loadingType: String,
forbidClick: Boolean,
overlayClass: unknownProp,
overlayStyle: Object,
closeOnClick: Boolean,
closeOnClickOverlay: Boolean
},
stdin_default$2 = defineComponent({
name: name$2,
props: toastProps,
emits: ['update:show'],
setup: function (e, t) {
var n,
r = t.emit,
a = t.slots,
o = !1,
i = function () {
var t = e.show && e.forbidClick
o !== t && lockClick((o = t))
},
s = function (e) {
return r('update:show', e)
},
l = function () {
e.closeOnClick && s(!1)
},
c = function () {
return clearTimeout(n)
},
u = function () {
var t = e.type,
n = e.message
return a.message
? createVNode('div', { class: bem$2('text') }, [a.message()])
: isDef(n) && '' !== n
? 'html' === t
? createVNode(
'div',
{ key: 0, class: bem$2('text'), innerHTML: String(n) },
null
)
: createVNode('div', { class: bem$2('text') }, [n])
: void 0
}
return (
watch(function () {
return [e.show, e.forbidClick]
}, i),
watch(
function () {
return [e.show, e.type, e.message, e.duration]
},
function () {
c(),
e.show &&
e.duration > 0 &&
(n = setTimeout(function () {
s(!1)
}, e.duration))
}
),
onMounted(i),
onUnmounted(i),
function () {
return createVNode(
Popup,
mergeProps(
{
class: [
bem$2([
e.position,
'normal' === e.wordBreak ? 'break-normal' : e.wordBreak,
_defineProperty2({}, e.type, !e.icon)
]),
e.className
],
lockScroll: !1,
onClick: l,
onClosed: c,
'onUpdate:show': s
},
pick(e, popupInheritProps)
),
{
default: function () {
return [
((t = e.icon),
(n = e.type),
(r = e.iconSize),
(a = e.iconPrefix),
(o = e.loadingType),
t || 'success' === n || 'fail' === n
? createVNode(
Icon,
{ name: t || n, size: r, class: bem$2('icon'), classPrefix: a },
null
)
: 'loading' === n
? createVNode(
Loading,
{ class: bem$2('loading'), size: r, type: o },
null
)
: void 0),
u()
]
var t, n, r, a, o
}
}
)
}
)
}
})
function usePopupState() {
var e = reactive({ show: !1 }),
t = function (t) {
e.show = t
},
n = function (n) {
extend$1(e, n, { transitionAppear: !0 }), t(!0)
},
r = function () {
return t(!1)
}
return (
useExpose({ open: n, close: r, toggle: t }),
{ open: n, close: r, state: e, toggle: t }
)
}
function mountComponent(e) {
var t = createApp(e),
n = document.createElement('div')
return (
document.body.appendChild(n),
{
instance: t.mount(n),
unmount: function () {
t.unmount(), document.body.removeChild(n)
}
}
)
}
var defaultOptions = {
icon: '',
type: 'text',
message: '',
className: '',
overlay: !1,
onClose: void 0,
onOpened: void 0,
duration: 2e3,
teleport: 'body',
iconSize: void 0,
iconPrefix: void 0,
position: 'middle',
transition: 'van-fade',
forbidClick: !1,
loadingType: void 0,
overlayClass: '',
overlayStyle: void 0,
closeOnClick: !1,
closeOnClickOverlay: !1
},
queue = [],
allowMultiple = !1,
currentOptions$1 = extend$1({}, defaultOptions),
defaultOptionsMap = new Map()
function parseOptions(e) {
return isObject$1(e) ? e : { message: e }
}
function createInstance() {
var e = mountComponent({
setup: function () {
var e = ref(''),
t = usePopupState(),
n = t.open,
r = t.state,
a = t.close,
o = t.toggle,
i = function () {}
return (
watch(e, function (e) {
r.message = e
}),
(getCurrentInstance().render = function () {
return createVNode(
stdin_default$2,
mergeProps(r, { onClosed: i, 'onUpdate:show': o }),
null
)
}),
{ open: n, close: a, message: e }
)
}
}),
t = e.instance
e.unmount
return t
}
function getInstance() {
if (!queue.length || allowMultiple) {
var e = createInstance()
queue.push(e)
}
return queue[queue.length - 1]
}
function showToast() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
if (!inBrowser$1) return {}
var t = getInstance(),
n = parseOptions(e)
return (
t.open(
extend$1(
{},
currentOptions$1,
defaultOptionsMap.get(n.type || currentOptions$1.type),
n
)
),
t
)
}
var createMethod = function (e) {
return function (t) {
return showToast(extend$1({ type: e }, parseOptions(t)))
}
},
showLoadingToast = exports('bl', createMethod('loading')),
showSuccessToast = exports('bz', createMethod('success')),
showFailToast = exports('bA', createMethod('fail')),
closeToast = exports('be', function (e) {
queue.length &&
(e
? (queue.forEach(function (e) {
e.close()
}),
(queue = []))
: queue[0].close())
}),
Toast = exports('T', withInstall(stdin_default$2)),
_createNamespace21 = createNamespace('empty'),
_createNamespace22 = _slicedToArray(_createNamespace21, 2),
name$1 = _createNamespace22[0],
bem$1 = _createNamespace22[1],
emptyProps = {
image: makeStringProp('default'),
imageSize: [Number, String, Array],
description: String
},
stdin_default$1 = defineComponent({
name: name$1,
props: emptyProps,
setup: function (e, t) {
var n = t.slots,
r = function () {
var t = n.description ? n.description() : e.description
if (t) return createVNode('p', { class: bem$1('description') }, [t])
},
a = function () {
if (n.default)
return createVNode('div', { class: bem$1('bottom') }, [n.default()])
},
o = useId(),
i = function (e) {
return ''.concat(o, '-').concat(e)
},
s = function (e) {
return 'url(#'.concat(i(e), ')')
},
l = function (e, t, n) {
return createVNode(
'stop',
{ 'stop-color': e, offset: ''.concat(t, '%'), 'stop-opacity': n },
null
)
},
c = function (e, t) {
return [l(e, 0), l(t, 100)]
},
u = function (e) {
return [
createVNode('defs', null, [
createVNode(
'radialGradient',
{
id: i(e),
cx: '50%',
cy: '54%',
fx: '50%',
fy: '54%',
r: '297%',
gradientTransform: 'matrix(-.16 0 0 -.33 .58 .72)'
},
[l('#EBEDF0', 0), l('#F2F3F5', 100, 0.3)]
)
]),
createVNode(
'ellipse',
{ fill: s(e), opacity: '.8', cx: '80', cy: '140', rx: '46', ry: '8' },
null
)
]
},
p = function () {
return [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ id: i('a'), x1: '64%', y1: '100%', x2: '64%' },
[l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
)
]),
createVNode('g', { opacity: '.8' }, [
createVNode('path', { d: 'M36 131V53H16v20H2v58h34z', fill: s('a') }, null),
createVNode('path', { d: 'M123 15h22v14h9v77h-31V15z', fill: s('a') }, null)
])
]
},
d = function () {
return [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ id: i('b'), x1: '64%', y1: '97%', x2: '64%', y2: '0%' },
[l('#F2F3F5', 0, 0.3), l('#F2F3F5', 100)]
)
]),
createVNode('g', { opacity: '.8' }, [
createVNode(
'path',
{
d: 'M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z',
fill: s('b')
},
null
),
createVNode(
'path',
{
d: 'M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z',
fill: s('b')
},
null
)
])
]
},
f = function () {
return createVNode('svg', { viewBox: '0 0 160 160' }, [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ id: i(1), x1: '64%', y1: '100%', x2: '64%' },
[l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
),
createVNode(
'linearGradient',
{ id: i(2), x1: '50%', x2: '50%', y2: '84%' },
[l('#EBEDF0', 0), l('#DCDEE0', 100, 0)]
),
createVNode(
'linearGradient',
{ id: i(3), x1: '100%', x2: '100%', y2: '100%' },
[c('#EAEDF0', '#DCDEE0')]
),
createVNode(
'radialGradient',
{
id: i(4),
cx: '50%',
cy: '0%',
fx: '50%',
fy: '0%',
r: '100%',
gradientTransform: 'matrix(0 1 -.54 0 .5 -.5)'
},
[l('#EBEDF0', 0), l('#FFF', 100, 0)]
)
]),
createVNode('g', { fill: 'none' }, [
p(),
createVNode('path', { fill: s(4), d: 'M0 139h160v21H0z' }, null),
createVNode(
'path',
{
d: 'M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z',
fill: s(2)
},
null
),
createVNode(
'g',
{ opacity: '.6', 'stroke-linecap': 'round', 'stroke-width': '7' },
[
createVNode(
'path',
{ d: 'M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13', stroke: s(3) },
null
),
createVNode(
'path',
{ d: 'M53 36a34 34 0 0 0 0 48', stroke: s(3) },
null
),
createVNode(
'path',
{ d: 'M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13', stroke: s(3) },
null
),
createVNode(
'path',
{ d: 'M106 84a34 34 0 0 0 0-48', stroke: s(3) },
null
)
]
),
createVNode('g', { transform: 'translate(31 105)' }, [
createVNode(
'rect',
{ fill: '#EBEDF0', width: '98', height: '34', rx: '2' },
null
),
createVNode(
'rect',
{ fill: '#FFF', x: '9', y: '8', width: '80', height: '18', rx: '1.1' },
null
),
createVNode(
'rect',
{
fill: '#EBEDF0',
x: '15',
y: '12',
width: '18',
height: '6',
rx: '1.1'
},
null
)
])
])
])
},
h = function () {
return createVNode('svg', { viewBox: '0 0 160 160' }, [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ x1: '50%', x2: '50%', y2: '100%', id: i(5) },
[c('#F2F3F5', '#DCDEE0')]
),
createVNode(
'linearGradient',
{ x1: '95%', y1: '48%', x2: '5.5%', y2: '51%', id: i(6) },
[c('#EAEDF1', '#DCDEE0')]
),
createVNode(
'linearGradient',
{ y1: '45%', x2: '100%', y2: '54%', id: i(7) },
[c('#EAEDF1', '#DCDEE0')]
)
]),
p(),
d(),
createVNode('g', { transform: 'translate(36 50)', fill: 'none' }, [
createVNode('g', { transform: 'translate(8)' }, [
createVNode(
'rect',
{
fill: '#EBEDF0',
opacity: '.6',
x: '38',
y: '13',
width: '36',
height: '53',
rx: '2'
},
null
),
createVNode(
'rect',
{ fill: s(5), width: '64', height: '66', rx: '2' },
null
),
createVNode(
'rect',
{ fill: '#FFF', x: '6', y: '6', width: '52', height: '55', rx: '1' },
null
),
createVNode('g', { transform: 'translate(15 17)', fill: s(6) }, [
createVNode('rect', { width: '34', height: '6', rx: '1' }, null),
createVNode('path', { d: 'M0 14h34v6H0z' }, null),
createVNode(
'rect',
{ y: '28', width: '34', height: '6', rx: '1' },
null
)
])
]),
createVNode(
'rect',
{ fill: s(7), y: '61', width: '88', height: '28', rx: '1' },
null
),
createVNode(
'rect',
{ fill: '#F7F8FA', x: '29', y: '72', width: '30', height: '6', rx: '1' },
null
)
])
])
},
v = function () {
return createVNode('svg', { viewBox: '0 0 160 160' }, [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ x1: '50%', x2: '50%', y2: '100%', id: i(8) },
[c('#EAEDF1', '#DCDEE0')]
)
]),
p(),
d(),
u('c'),
createVNode(
'path',
{
d: 'm59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z',
fill: s(8)
},
null
)
])
},
m = function () {
return createVNode('svg', { viewBox: '0 0 160 160' }, [
createVNode('defs', null, [
createVNode(
'linearGradient',
{ x1: '50%', y1: '100%', x2: '50%', id: i(9) },
[c('#EEE', '#D8D8D8')]
),
createVNode(
'linearGradient',
{ x1: '100%', y1: '50%', y2: '50%', id: i(10) },
[c('#F2F3F5', '#DCDEE0')]
),
createVNode(
'linearGradient',
{ x1: '50%', x2: '50%', y2: '100%', id: i(11) },
[c('#F2F3F5', '#DCDEE0')]
),
createVNode(
'linearGradient',
{ x1: '50%', x2: '50%', y2: '100%', id: i(12) },
[c('#FFF', '#F7F8FA')]
)
]),
p(),
d(),
u('d'),
createVNode('g', { transform: 'rotate(-45 113 -4)', fill: 'none' }, [
createVNode(
'rect',
{ fill: s(9), x: '24', y: '52.8', width: '5.8', height: '19', rx: '1' },
null
),
createVNode(
'rect',
{
fill: s(10),
x: '22.1',
y: '67.3',
width: '9.9',
height: '28',
rx: '1'
},
null
),
createVNode(
'circle',
{ stroke: s(11), 'stroke-width': '8', cx: '27', cy: '27', r: '27' },
null
),
createVNode('circle', { fill: s(12), cx: '27', cy: '27', r: '16' }, null),
createVNode(
'path',
{
d: 'M37 7c-8 0-15 5-16 12',
stroke: s(11),
'stroke-width': '3',
opacity: '.5',
'stroke-linecap': 'round',
transform: 'rotate(45 29 13)'
},
null
)
])
])
},
g = function () {
var t
if (n.image) return n.image()
var r = { error: v, search: m, network: f, default: h }
return (
(null == (t = r[e.image]) ? void 0 : t.call(r)) ||
createVNode('img', { src: e.image }, null)
)
}
return function () {
return createVNode('div', { class: bem$1() }, [
createVNode(
'div',
{ class: bem$1('image'), style: getSizeStyle(e.imageSize) },
[g()]
),
r(),
a()
])
}
}
}),
Empty = withInstall(stdin_default$1),
_createNamespace23 = createNamespace('dialog'),
_createNamespace24 = _slicedToArray(_createNamespace23, 3),
name = _createNamespace24[0],
bem = _createNamespace24[1],
t = _createNamespace24[2],
dialogProps = extend$1({}, popupSharedProps, {
title: String,
theme: String,
width: numericProp,
message: [String, Function],
callback: Function,
allowHtml: Boolean,
className: unknownProp,
transition: makeStringProp('van-dialog-bounce'),
messageAlign: String,
closeOnPopstate: truthProp,
showCancelButton: Boolean,
cancelButtonText: String,
cancelButtonColor: String,
cancelButtonDisabled: Boolean,
confirmButtonText: String,
confirmButtonColor: String,
confirmButtonDisabled: Boolean,
showConfirmButton: truthProp,
closeOnClickOverlay: Boolean
}),
popupInheritKeys = [].concat(_toConsumableArray2(popupSharedPropKeys), [
'transition',
'closeOnPopstate'
]),
stdin_default = defineComponent({
name: name,
props: dialogProps,
emits: ['confirm', 'cancel', 'keydown', 'update:show'],
setup: function (e, n) {
var r = n.emit,
a = n.slots,
o = ref(),
i = reactive({ confirm: !1, cancel: !1 }),
s = function (e) {
return r('update:show', e)
},
l = function (t) {
var n
s(!1), null == (n = e.callback) || n.call(e, t)
},
c = function (t) {
return function () {
e.show &&
(r(t),
e.beforeClose
? ((i[t] = !0),
callInterceptor(e.beforeClose, {
args: [t],
done: function () {
l(t), (i[t] = !1)
},
canceled: function () {
i[t] = !1
}
}))
: l(t))
}
},
u = c('cancel'),
p = c('confirm'),
d = withKeys(
function (t) {
var n, a
t.target ===
(null == (a = null == (n = o.value) ? void 0 : n.popupRef)
? void 0
: a.value) &&
({
Enter: e.showConfirmButton ? p : noop$1,
Escape: e.showCancelButton ? u : noop$1
}[t.key](),
r('keydown', t))
},
['enter', 'esc']
),
f = function () {
var t = a.title ? a.title() : e.title
if (t)
return createVNode(
'div',
{ class: bem('header', { isolated: !e.message && !a.default }) },
[t]
)
},
h = function (t) {
var n = e.message,
r = e.allowHtml,
a = e.messageAlign,
o = bem('message', _defineProperty2({ 'has-title': t }, a, a)),
i = isFunction(n) ? n() : n
return r && 'string' == typeof i
? createVNode('div', { class: o, innerHTML: i }, null)
: createVNode('div', { class: o }, [i])
},
v = function () {
if (a.default)
return createVNode('div', { class: bem('content') }, [a.default()])
var t = e.title,
n = e.message,
r = e.allowHtml
if (n) {
var o = !(!t && !a.title)
return createVNode(
'div',
{ key: r ? 1 : 0, class: bem('content', { isolated: !o }) },
[h(o)]
)
}
},
m = function () {
return a.footer
? a.footer()
: 'round-button' === e.theme
? createVNode(
ActionBar,
{ class: bem('footer') },
{
default: function () {
return [
e.showCancelButton &&
createVNode(
ActionBarButton,
{
type: 'warning',
text: e.cancelButtonText || t('cancel'),
class: bem('cancel'),
color: e.cancelButtonColor,
loading: i.cancel,
disabled: e.cancelButtonDisabled,
onClick: u
},
null
),
e.showConfirmButton &&
createVNode(
ActionBarButton,
{
type: 'danger',
text: e.confirmButtonText || t('confirm'),
class: bem('confirm'),
color: e.confirmButtonColor,
loading: i.confirm,
disabled: e.confirmButtonDisabled,
onClick: p
},
null
)
]
}
}
)
: createVNode('div', { class: [BORDER_TOP, bem('footer')] }, [
e.showCancelButton &&
createVNode(
Button,
{
size: 'large',
text: e.cancelButtonText || t('cancel'),
class: bem('cancel'),
style: { color: e.cancelButtonColor },
loading: i.cancel,
disabled: e.cancelButtonDisabled,
onClick: u
},
null
),
e.showConfirmButton &&
createVNode(
Button,
{
size: 'large',
text: e.confirmButtonText || t('confirm'),
class: [
bem('confirm'),
_defineProperty2({}, BORDER_LEFT, e.showCancelButton)
],
style: { color: e.confirmButtonColor },
loading: i.confirm,
disabled: e.confirmButtonDisabled,
onClick: p
},
null
)
])
}
return function () {
var t = e.width,
n = e.title,
r = e.theme,
a = e.message,
i = e.className
return createVNode(
Popup,
mergeProps(
{
ref: o,
role: 'dialog',
class: [bem([r]), i],
style: { width: addUnit(t) },
tabindex: 0,
'aria-labelledby': n || a,
onKeydown: d,
'onUpdate:show': s
},
pick(e, popupInheritKeys)
),
{
default: function () {
return [f(), v(), m()]
}
}
)
}
}
}),
instance$1,
DEFAULT_OPTIONS = {
title: '',
width: '',
theme: null,
message: '',
overlay: !0,
callback: null,
teleport: 'body',
className: '',
allowHtml: !1,
lockScroll: !0,
transition: void 0,
beforeClose: null,
overlayClass: '',
overlayStyle: void 0,
messageAlign: '',
cancelButtonText: '',
cancelButtonColor: null,
cancelButtonDisabled: !1,
confirmButtonText: '',
confirmButtonColor: null,
confirmButtonDisabled: !1,
showConfirmButton: !0,
showCancelButton: !1,
closeOnPopstate: !0,
closeOnClickOverlay: !1
},
currentOptions = extend$1({}, DEFAULT_OPTIONS)
function initInstance() {
var e = {
setup: function () {
var e = usePopupState(),
t = e.state,
n = e.toggle
return function () {
return createVNode(stdin_default, mergeProps(t, { 'onUpdate:show': n }), null)
}
}
},
t = mountComponent(e)
instance$1 = t.instance
}
function showDialog(e) {
return inBrowser$1
? new Promise(function (t, n) {
instance$1 || initInstance(),
instance$1.open(
extend$1({}, currentOptions, e, {
callback: function (e) {
;('confirm' === e ? t : n)(e)
}
})
)
})
: Promise.resolve()
}
var showConfirmDialog = exports('b6', function (e) {
return showDialog(extend$1({ showCancelButton: !0 }, e))
}),
Dialog = exports('aW', withInstall(stdin_default)),
commonjsGlobal$1 = exports(
'by',
'undefined' != typeof globalThis
? globalThis
: 'undefined' != typeof window
? window
: 'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: {}
)
function getDefaultExportFromCjs(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, 'default')
? e.default
: e
}
function getAugmentedNamespace(e) {
if (e.__esModule) return e
var t = Object.defineProperty({}, '__esModule', { value: !0 })
return (
Object.keys(e).forEach(function (n) {
var r = Object.getOwnPropertyDescriptor(e, n)
Object.defineProperty(
t,
n,
r.get
? r
: {
enumerable: !0,
get: function () {
return e[n]
}
}
)
}),
t
)
}
var lottie = { exports: {} }
;(function (module, exports$1) {
var factory
'undefined' != typeof navigator &&
((factory = function () {
var svgNS = 'http://www.w3.org/2000/svg',
locationHref = '',
_useWebWorker = !1,
initialDefaultFrame = -999999,
setWebWorker = function (e) {
_useWebWorker = !!e
},
getWebWorker = function () {
return _useWebWorker
},
setLocationHref = function (e) {
locationHref = e
},
getLocationHref = function () {
return locationHref
}
function createTag(e) {
return document.createElement(e)
}
function extendPrototype(e, t) {
var n,
r,
a = e.length
for (n = 0; n < a; n += 1)
for (var o in (r = e[n].prototype))
Object.prototype.hasOwnProperty.call(r, o) && (t.prototype[o] = r[o])
}
function getDescriptor(e, t) {
return Object.getOwnPropertyDescriptor(e, t)
}
function createProxyFunction(e) {
function t() {}
return (t.prototype = e), t
}
var audioControllerFactory = (function () {
function e(e) {
;(this.audios = []),
(this.audioFactory = e),
(this._volume = 1),
(this._isMuted = !1)
}
return (
(e.prototype = {
addAudio: function (e) {
this.audios.push(e)
},
pause: function () {
var e,
t = this.audios.length
for (e = 0; e < t; e += 1) this.audios[e].pause()
},
resume: function () {
var e,
t = this.audios.length
for (e = 0; e < t; e += 1) this.audios[e].resume()
},
setRate: function (e) {
var t,
n = this.audios.length
for (t = 0; t < n; t += 1) this.audios[t].setRate(e)
},
createAudio: function (e) {
return this.audioFactory
? this.audioFactory(e)
: window.Howl
? new window.Howl({ src: [e] })
: {
isPlaying: !1,
play: function () {
this.isPlaying = !0
},
seek: function () {
this.isPlaying = !1
},
playing: function () {},
rate: function () {},
setVolume: function () {}
}
},
setAudioFactory: function (e) {
this.audioFactory = e
},
setVolume: function (e) {
;(this._volume = e), this._updateVolume()
},
mute: function () {
;(this._isMuted = !0), this._updateVolume()
},
unmute: function () {
;(this._isMuted = !1), this._updateVolume()
},
getVolume: function () {
return this._volume
},
_updateVolume: function () {
var e,
t = this.audios.length
for (e = 0; e < t; e += 1)
this.audios[e].volume(this._volume * (this._isMuted ? 0 : 1))
}
}),
function () {
return new e()
}
)
})(),
createTypedArray = (function () {
function e(e, t) {
var n,
r = 0,
a = []
switch (e) {
case 'int16':
case 'uint8c':
n = 1
break
default:
n = 1.1
}
for (r = 0; r < t; r += 1) a.push(n)
return a
}
return 'function' == typeof Uint8ClampedArray &&
'function' == typeof Float32Array
? function (t, n) {
return 'float32' === t
? new Float32Array(n)
: 'int16' === t
? new Int16Array(n)
: 'uint8c' === t
? new Uint8ClampedArray(n)
: e(t, n)
}
: e
})()
function createSizedArray(e) {
return Array.apply(null, { length: e })
}
function _typeof$6(e) {
return (
(_typeof$6 =
'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
}),
_typeof$6(e)
)
}
var subframeEnabled = !0,
expressionsPlugin = null,
idPrefix$1 = '',
isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
bmPow = Math.pow,
bmSqrt = Math.sqrt,
bmFloor = Math.floor,
bmMax = Math.max,
bmMin = Math.min,
BMMath = {}
!(function () {
var e,
t = [
'abs',
'acos',
'acosh',
'asin',
'asinh',
'atan',
'atanh',
'atan2',
'ceil',
'cbrt',
'expm1',
'clz32',
'cos',
'cosh',
'exp',
'floor',
'fround',
'hypot',
'imul',
'log',
'log1p',
'log2',
'log10',
'max',
'min',
'pow',
'random',
'round',
'sign',
'sin',
'sinh',
'sqrt',
'tan',
'tanh',
'trunc',
'E',
'LN10',
'LN2',
'LOG10E',
'LOG2E',
'PI',
'SQRT1_2',
'SQRT2'
],
n = t.length
for (e = 0; e < n; e += 1) BMMath[t[e]] = Math[t[e]]
})(),
(BMMath.random = Math.random),
(BMMath.abs = function (e) {
if ('object' === _typeof$6(e) && e.length) {
var t,
n = createSizedArray(e.length),
r = e.length
for (t = 0; t < r; t += 1) n[t] = Math.abs(e[t])
return n
}
return Math.abs(e)
})
var defaultCurveSegments = 150,
degToRads = Math.PI / 180,
roundCorner = 0.5519
function styleDiv(e) {
;(e.style.position = 'absolute'),
(e.style.top = 0),
(e.style.left = 0),
(e.style.display = 'block'),
(e.style.transformOrigin = '0 0'),
(e.style.webkitTransformOrigin = '0 0'),
(e.style.backfaceVisibility = 'visible'),
(e.style.webkitBackfaceVisibility = 'visible'),
(e.style.transformStyle = 'preserve-3d'),
(e.style.webkitTransformStyle = 'preserve-3d'),
(e.style.mozTransformStyle = 'preserve-3d')
}
function BMEnterFrameEvent(e, t, n, r) {
;(this.type = e),
(this.currentTime = t),
(this.totalTime = n),
(this.direction = r < 0 ? -1 : 1)
}
function BMCompleteEvent(e, t) {
;(this.type = e), (this.direction = t < 0 ? -1 : 1)
}
function BMCompleteLoopEvent(e, t, n, r) {
;(this.type = e),
(this.currentLoop = n),
(this.totalLoops = t),
(this.direction = r < 0 ? -1 : 1)
}
function BMSegmentStartEvent(e, t, n) {
;(this.type = e), (this.firstFrame = t), (this.totalFrames = n)
}
function BMDestroyEvent(e, t) {
;(this.type = e), (this.target = t)
}
function BMRenderFrameErrorEvent(e, t) {
;(this.type = 'renderFrameError'), (this.nativeError = e), (this.currentTime = t)
}
function BMConfigErrorEvent(e) {
;(this.type = 'configError'), (this.nativeError = e)
}
var createElementID =
((_count = 0),
function () {
return idPrefix$1 + '__lottie_element_' + (_count += 1)
}),
_count
function HSVtoRGB(e, t, n) {
var r, a, o, i, s, l, c, u
switch (
((l = n * (1 - t)),
(c = n * (1 - (s = 6 * e - (i = Math.floor(6 * e))) * t)),
(u = n * (1 - (1 - s) * t)),
i % 6)
) {
case 0:
;(r = n), (a = u), (o = l)
break
case 1:
;(r = c), (a = n), (o = l)
break
case 2:
;(r = l), (a = n), (o = u)
break
case 3:
;(r = l), (a = c), (o = n)
break
case 4:
;(r = u), (a = l), (o = n)
break
case 5:
;(r = n), (a = l), (o = c)
}
return [r, a, o]
}
function RGBtoHSV(e, t, n) {
var r,
a = Math.max(e, t, n),
o = Math.min(e, t, n),
i = a - o,
s = 0 === a ? 0 : i / a,
l = a / 255
switch (a) {
case o:
r = 0
break
case e:
;(r = t - n + i * (t < n ? 6 : 0)), (r /= 6 * i)
break
case t:
;(r = n - e + 2 * i), (r /= 6 * i)
break
case n:
;(r = e - t + 4 * i), (r /= 6 * i)
}
return [r, s, l]
}
function addSaturationToRGB(e, t) {
var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
return (
(n[1] += t),
n[1] > 1 ? (n[1] = 1) : n[1] <= 0 && (n[1] = 0),
HSVtoRGB(n[0], n[1], n[2])
)
}
function addBrightnessToRGB(e, t) {
var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
return (
(n[2] += t),
n[2] > 1 ? (n[2] = 1) : n[2] < 0 && (n[2] = 0),
HSVtoRGB(n[0], n[1], n[2])
)
}
function addHueToRGB(e, t) {
var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
return (
(n[0] += t / 360),
n[0] > 1 ? (n[0] -= 1) : n[0] < 0 && (n[0] += 1),
HSVtoRGB(n[0], n[1], n[2])
)
}
var rgbToHex = (function () {
var e,
t,
n = []
for (e = 0; e < 256; e += 1)
(t = e.toString(16)), (n[e] = 1 === t.length ? '0' + t : t)
return function (e, t, r) {
return (
e < 0 && (e = 0),
t < 0 && (t = 0),
r < 0 && (r = 0),
'#' + n[e] + n[t] + n[r]
)
}
})(),
setSubframeEnabled = function (e) {
subframeEnabled = !!e
},
getSubframeEnabled = function () {
return subframeEnabled
},
setExpressionsPlugin = function (e) {
expressionsPlugin = e
},
getExpressionsPlugin = function () {
return expressionsPlugin
},
setDefaultCurveSegments = function (e) {
defaultCurveSegments = e
},
getDefaultCurveSegments = function () {
return defaultCurveSegments
},
setIdPrefix = function (e) {
idPrefix$1 = e
}
function createNS(e) {
return document.createElementNS(svgNS, e)
}
function _typeof$5(e) {
return (
(_typeof$5 =
'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
}),
_typeof$5(e)
)
}
var dataManager = (function () {
var e,
t,
n = 1,
r = [],
a = {
onmessage: function () {},
postMessage: function (t) {
e({ data: t })
}
},
o = {
postMessage: function (e) {
a.onmessage({ data: e })
}
}
function i() {
t ||
((t = (function (t) {
if (window.Worker && window.Blob && getWebWorker()) {
var n = new Blob(
['var _workerSelf = self; self.onmessage = ', t.toString()],
{ type: 'text/javascript' }
),
r = URL.createObjectURL(n)
return new Worker(r)
}
return (e = t), a
})(function (e) {
if (
(o.dataManager ||
(o.dataManager = (function () {
function e(a, o) {
var i,
s,
l,
c,
u,
d,
f = a.length
for (s = 0; s < f; s += 1)
if ('ks' in (i = a[s]) && !i.completed) {
if (
((i.completed = !0),
i.tt && (a[s - 1].td = i.tt),
i.hasMask)
) {
var h = i.masksProperties
for (c = h.length, l = 0; l < c; l += 1)
if (h[l].pt.k.i) r(h[l].pt.k)
else
for (d = h[l].pt.k.length, u = 0; u < d; u += 1)
h[l].pt.k[u].s && r(h[l].pt.k[u].s[0]),
h[l].pt.k[u].e && r(h[l].pt.k[u].e[0])
}
0 === i.ty
? ((i.layers = t(i.refId, o)), e(i.layers, o))
: 4 === i.ty
? n(i.shapes)
: 5 === i.ty && p(i)
}
}
function t(e, t) {
var n = (function (e, t) {
for (var n = 0, r = t.length; n < r; ) {
if (t[n].id === e) return t[n]
n += 1
}
return null
})(e, t)
return n
? n.layers.__used
? JSON.parse(JSON.stringify(n.layers))
: ((n.layers.__used = !0), n.layers)
: null
}
function n(e) {
var t, a, o
for (t = e.length - 1; t >= 0; t -= 1)
if ('sh' === e[t].ty)
if (e[t].ks.k.i) r(e[t].ks.k)
else
for (o = e[t].ks.k.length, a = 0; a < o; a += 1)
e[t].ks.k[a].s && r(e[t].ks.k[a].s[0]),
e[t].ks.k[a].e && r(e[t].ks.k[a].e[0])
else 'gr' === e[t].ty && n(e[t].it)
}
function r(e) {
var t,
n = e.i.length
for (t = 0; t < n; t += 1)
(e.i[t][0] += e.v[t][0]),
(e.i[t][1] += e.v[t][1]),
(e.o[t][0] += e.v[t][0]),
(e.o[t][1] += e.v[t][1])
}
function a(e, t) {
var n = t ? t.split('.') : [100, 100, 100]
return (
e[0] > n[0] ||
(!(n[0] > e[0]) &&
(e[1] > n[1] ||
(!(n[1] > e[1]) &&
(e[2] > n[2] || (!(n[2] > e[2]) && null)))))
)
}
var o,
i = (function () {
var e = [4, 4, 14]
function t(e) {
var t,
n,
r,
a = e.length
for (t = 0; t < a; t += 1)
5 === e[t].ty &&
((r = void 0),
(r = (n = e[t]).t.d),
(n.t.d = { k: [{ s: r, t: 0 }] }))
}
return function (n) {
if (a(e, n.v) && (t(n.layers), n.assets)) {
var r,
o = n.assets.length
for (r = 0; r < o; r += 1)
n.assets[r].layers && t(n.assets[r].layers)
}
}
})(),
s =
((o = [4, 7, 99]),
function (e) {
if (e.chars && !a(o, e.v)) {
var t,
r = e.chars.length
for (t = 0; t < r; t += 1) {
var i = e.chars[t]
i.data &&
i.data.shapes &&
(n(i.data.shapes),
(i.data.ip = 0),
(i.data.op = 99999),
(i.data.st = 0),
(i.data.sr = 1),
(i.data.ks = {
p: { k: [0, 0], a: 0 },
s: { k: [100, 100], a: 0 },
a: { k: [0, 0], a: 0 },
r: { k: 0, a: 0 },
o: { k: 100, a: 0 }
}),
e.chars[t].t ||
(i.data.shapes.push({ ty: 'no' }),
i.data.shapes[0].it.push({
p: { k: [0, 0], a: 0 },
s: { k: [100, 100], a: 0 },
a: { k: [0, 0], a: 0 },
r: { k: 0, a: 0 },
o: { k: 100, a: 0 },
sk: { k: 0, a: 0 },
sa: { k: 0, a: 0 },
ty: 'tr'
})))
}
}
}),
l = (function () {
var e = [5, 7, 15]
function t(e) {
var t,
n,
r = e.length
for (t = 0; t < r; t += 1)
5 === e[t].ty &&
((n = void 0),
'number' == typeof (n = e[t].t.p).a &&
(n.a = { a: 0, k: n.a }),
'number' == typeof n.p && (n.p = { a: 0, k: n.p }),
'number' == typeof n.r && (n.r = { a: 0, k: n.r }))
}
return function (n) {
if (a(e, n.v) && (t(n.layers), n.assets)) {
var r,
o = n.assets.length
for (r = 0; r < o; r += 1)
n.assets[r].layers && t(n.assets[r].layers)
}
}
})(),
c = (function () {
var e = [4, 1, 9]
function t(e) {
var n,
r,
a,
o = e.length
for (n = 0; n < o; n += 1)
if ('gr' === e[n].ty) t(e[n].it)
else if ('fl' === e[n].ty || 'st' === e[n].ty)
if (e[n].c.k && e[n].c.k[0].i)
for (a = e[n].c.k.length, r = 0; r < a; r += 1)
e[n].c.k[r].s &&
((e[n].c.k[r].s[0] /= 255),
(e[n].c.k[r].s[1] /= 255),
(e[n].c.k[r].s[2] /= 255),
(e[n].c.k[r].s[3] /= 255)),
e[n].c.k[r].e &&
((e[n].c.k[r].e[0] /= 255),
(e[n].c.k[r].e[1] /= 255),
(e[n].c.k[r].e[2] /= 255),
(e[n].c.k[r].e[3] /= 255))
else
(e[n].c.k[0] /= 255),
(e[n].c.k[1] /= 255),
(e[n].c.k[2] /= 255),
(e[n].c.k[3] /= 255)
}
function n(e) {
var n,
r = e.length
for (n = 0; n < r; n += 1) 4 === e[n].ty && t(e[n].shapes)
}
return function (t) {
if (a(e, t.v) && (n(t.layers), t.assets)) {
var r,
o = t.assets.length
for (r = 0; r < o; r += 1)
t.assets[r].layers && n(t.assets[r].layers)
}
}
})(),
u = (function () {
var e = [4, 4, 18]
function t(e) {
var n, r, a
for (n = e.length - 1; n >= 0; n -= 1)
if ('sh' === e[n].ty)
if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed
else
for (a = e[n].ks.k.length, r = 0; r < a; r += 1)
e[n].ks.k[r].s && (e[n].ks.k[r].s[0].c = e[n].closed),
e[n].ks.k[r].e &&
(e[n].ks.k[r].e[0].c = e[n].closed)
else 'gr' === e[n].ty && t(e[n].it)
}
function n(e) {
var n,
r,
a,
o,
i,
s,
l = e.length
for (r = 0; r < l; r += 1) {
if ((n = e[r]).hasMask) {
var c = n.masksProperties
for (o = c.length, a = 0; a < o; a += 1)
if (c[a].pt.k.i) c[a].pt.k.c = c[a].cl
else
for (s = c[a].pt.k.length, i = 0; i < s; i += 1)
c[a].pt.k[i].s && (c[a].pt.k[i].s[0].c = c[a].cl),
c[a].pt.k[i].e && (c[a].pt.k[i].e[0].c = c[a].cl)
}
4 === n.ty && t(n.shapes)
}
}
return function (t) {
if (a(e, t.v) && (n(t.layers), t.assets)) {
var r,
o = t.assets.length
for (r = 0; r < o; r += 1)
t.assets[r].layers && n(t.assets[r].layers)
}
}
})()
function p(e) {
0 === e.t.a.length && e.t.p
}
var d = {
completeData: function (n) {
n.__complete ||
(c(n),
i(n),
s(n),
l(n),
u(n),
e(n.layers, n.assets),
(function (n, r) {
if (n) {
var a = 0,
o = n.length
for (a = 0; a < o; a += 1)
1 === n[a].t &&
((n[a].data.layers = t(n[a].data.refId, r)),
e(n[a].data.layers, r))
}
})(n.chars, n.assets),
(n.__complete = !0))
}
}
return (
(d.checkColors = c),
(d.checkChars = s),
(d.checkPathProperties = l),
(d.checkShapes = u),
(d.completeLayers = e),
d
)
})()),
o.assetLoader ||
(o.assetLoader = (function () {
function e(e) {
var t = e.getResponseHeader('content-type')
return (t &&
'json' === e.responseType &&
-1 !== t.indexOf('json')) ||
(e.response && 'object' === _typeof$5(e.response))
? e.response
: e.response && 'string' == typeof e.response
? JSON.parse(e.response)
: e.responseText
? JSON.parse(e.responseText)
: null
}
return {
load: function (t, n, r, a) {
var o,
i = new XMLHttpRequest()
try {
i.responseType = 'json'
} catch (s) {}
i.onreadystatechange = function () {
if (4 === i.readyState)
if (200 === i.status) (o = e(i)), r(o)
else
try {
;(o = e(i)), r(o)
} catch (s) {
a && a(s)
}
}
try {
i.open('GET', t, !0)
} catch (error) {
i.open('GET', n + '/' + t, !0)
}
i.send()
}
}
})()),
'loadAnimation' === e.data.type)
)
o.assetLoader.load(
e.data.path,
e.data.fullPath,
function (t) {
o.dataManager.completeData(t),
o.postMessage({ id: e.data.id, payload: t, status: 'success' })
},
function () {
o.postMessage({ id: e.data.id, status: 'error' })
}
)
else if ('complete' === e.data.type) {
var t = e.data.animation
o.dataManager.completeData(t),
o.postMessage({ id: e.data.id, payload: t, status: 'success' })
} else
'loadData' === e.data.type &&
o.assetLoader.load(
e.data.path,
e.data.fullPath,
function (t) {
o.postMessage({ id: e.data.id, payload: t, status: 'success' })
},
function () {
o.postMessage({ id: e.data.id, status: 'error' })
}
)
})),
(t.onmessage = function (e) {
var t = e.data,
n = t.id,
a = r[n]
;(r[n] = null),
'success' === t.status
? a.onComplete(t.payload)
: a.onError && a.onError()
}))
}
function s(e, t) {
var a = 'processId_' + (n += 1)
return (r[a] = { onComplete: e, onError: t }), a
}
return {
loadAnimation: function (e, n, r) {
i()
var a = s(n, r)
t.postMessage({
type: 'loadAnimation',
path: e,
fullPath: window.location.origin + window.location.pathname,
id: a
})
},
loadData: function (e, n, r) {
i()
var a = s(n, r)
t.postMessage({
type: 'loadData',
path: e,
fullPath: window.location.origin + window.location.pathname,
id: a
})
},
completeAnimation: function (e, n, r) {
i()
var a = s(n, r)
t.postMessage({ type: 'complete', animation: e, id: a })
}
}
})(),
ImagePreloader = (function () {
var e = (function () {
var e = createTag('canvas')
;(e.width = 1), (e.height = 1)
var t = e.getContext('2d')
return (t.fillStyle = 'rgba(0,0,0,0)'), t.fillRect(0, 0, 1, 1), e
})()
function t() {
;(this.loadedAssets += 1),
this.loadedAssets === this.totalImages &&
this.loadedFootagesCount === this.totalFootages &&
this.imagesLoadedCb &&
this.imagesLoadedCb(null)
}
function n() {
;(this.loadedFootagesCount += 1),
this.loadedAssets === this.totalImages &&
this.loadedFootagesCount === this.totalFootages &&
this.imagesLoadedCb &&
this.imagesLoadedCb(null)
}
function r(e, t, n) {
var r = ''
if (e.e) r = e.p
else if (t) {
var a = e.p
;-1 !== a.indexOf('images/') && (a = a.split('/')[1]), (r = t + a)
} else (r = n), (r += e.u ? e.u : ''), (r += e.p)
return r
}
function a(e) {
var t = 0,
n = setInterval(
function () {
;(e.getBBox().width || t > 500) &&
(this._imageLoaded(), clearInterval(n)),
(t += 1)
}.bind(this),
50
)
}
function o(e) {
var t = { assetData: e },
n = r(e, this.assetsPath, this.path)
return (
dataManager.loadData(
n,
function (e) {
;(t.img = e), this._footageLoaded()
}.bind(this),
function () {
;(t.img = {}), this._footageLoaded()
}.bind(this)
),
t
)
}
function i() {
;(this._imageLoaded = t.bind(this)),
(this._footageLoaded = n.bind(this)),
(this.testImageLoaded = a.bind(this)),
(this.createFootageData = o.bind(this)),
(this.assetsPath = ''),
(this.path = ''),
(this.totalImages = 0),
(this.totalFootages = 0),
(this.loadedAssets = 0),
(this.loadedFootagesCount = 0),
(this.imagesLoadedCb = null),
(this.images = [])
}
return (
(i.prototype = {
loadAssets: function (e, t) {
var n
this.imagesLoadedCb = t
var r = e.length
for (n = 0; n < r; n += 1)
e[n].layers ||
(e[n].t && 'seq' !== e[n].t
? 3 === e[n].t &&
((this.totalFootages += 1),
this.images.push(this.createFootageData(e[n])))
: ((this.totalImages += 1),
this.images.push(this._createImageData(e[n]))))
},
setAssetsPath: function (e) {
this.assetsPath = e || ''
},
setPath: function (e) {
this.path = e || ''
},
loadedImages: function () {
return this.totalImages === this.loadedAssets
},
loadedFootages: function () {
return this.totalFootages === this.loadedFootagesCount
},
destroy: function () {
;(this.imagesLoadedCb = null), (this.images.length = 0)
},
getAsset: function (e) {
for (var t = 0, n = this.images.length; t < n; ) {
if (this.images[t].assetData === e) return this.images[t].img
t += 1
}
return null
},
createImgData: function (t) {
var n = r(t, this.assetsPath, this.path),
a = createTag('img')
;(a.crossOrigin = 'anonymous'),
a.addEventListener('load', this._imageLoaded, !1),
a.addEventListener(
'error',
function () {
;(o.img = e), this._imageLoaded()
}.bind(this),
!1
),
(a.src = n)
var o = { img: a, assetData: t }
return o
},
createImageData: function (t) {
var n = r(t, this.assetsPath, this.path),
a = createNS('image')
isSafari
? this.testImageLoaded(a)
: a.addEventListener('load', this._imageLoaded, !1),
a.addEventListener(
'error',
function () {
;(o.img = e), this._imageLoaded()
}.bind(this),
!1
),
a.setAttributeNS('http://www.w3.org/1999/xlink', 'href', n),
this._elementHelper.append
? this._elementHelper.append(a)
: this._elementHelper.appendChild(a)
var o = { img: a, assetData: t }
return o
},
imageLoaded: t,
footageLoaded: n,
setCacheType: function (e, t) {
'svg' === e
? ((this._elementHelper = t),
(this._createImageData = this.createImageData.bind(this)))
: (this._createImageData = this.createImgData.bind(this))
}
}),
i
)
})()
function BaseEvent() {}
BaseEvent.prototype = {
triggerEvent: function (e, t) {
if (this._cbs[e])
for (var n = this._cbs[e], r = 0; r < n.length; r += 1) n[r](t)
},
addEventListener: function (e, t) {
return (
this._cbs[e] || (this._cbs[e] = []),
this._cbs[e].push(t),
function () {
this.removeEventListener(e, t)
}.bind(this)
)
},
removeEventListener: function (e, t) {
if (t) {
if (this._cbs[e]) {
for (var n = 0, r = this._cbs[e].length; n < r; )
this._cbs[e][n] === t && (this._cbs[e].splice(n, 1), (n -= 1), (r -= 1)),
(n += 1)
this._cbs[e].length || (this._cbs[e] = null)
}
} else this._cbs[e] = null
}
}
var markerParser = (function () {
function e(e) {
for (var t, n = e.split('\r\n'), r = {}, a = 0, o = 0; o < n.length; o += 1)
2 === (t = n[o].split(':')).length && ((r[t[0]] = t[1].trim()), (a += 1))
if (0 === a) throw new Error()
return r
}
return function (t) {
for (var n = [], r = 0; r < t.length; r += 1) {
var a = t[r],
o = { time: a.tm, duration: a.dr }
try {
o.payload = JSON.parse(t[r].cm)
} catch (i) {
try {
o.payload = e(t[r].cm)
} catch (s) {
o.payload = { name: t[r].cm }
}
}
n.push(o)
}
return n
}
})(),
ProjectInterface = (function () {
function e(e) {
this.compositions.push(e)
}
return function () {
function t(e) {
for (var t = 0, n = this.compositions.length; t < n; ) {
if (this.compositions[t].data && this.compositions[t].data.nm === e)
return (
this.compositions[t].prepareFrame &&
this.compositions[t].data.xt &&
this.compositions[t].prepareFrame(this.currentFrame),
this.compositions[t].compInterface
)
t += 1
}
return null
}
return (
(t.compositions = []), (t.currentFrame = 0), (t.registerComposition = e), t
)
}
})(),
renderers = {},
registerRenderer = function (e, t) {
renderers[e] = t
}
function getRenderer(e) {
return renderers[e]
}
function _typeof$4(e) {
return (
(_typeof$4 =
'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
}),
_typeof$4(e)
)
}
var AnimationItem = function () {
;(this._cbs = []),
(this.name = ''),
(this.path = ''),
(this.isLoaded = !1),
(this.currentFrame = 0),
(this.currentRawFrame = 0),
(this.firstFrame = 0),
(this.totalFrames = 0),
(this.frameRate = 0),
(this.frameMult = 0),
(this.playSpeed = 1),
(this.playDirection = 1),
(this.playCount = 0),
(this.animationData = {}),
(this.assets = []),
(this.isPaused = !0),
(this.autoplay = !1),
(this.loop = !0),
(this.renderer = null),
(this.animationID = createElementID()),
(this.assetsPath = ''),
(this.timeCompleted = 0),
(this.segmentPos = 0),
(this.isSubframeEnabled = getSubframeEnabled()),
(this.segments = []),
(this._idle = !0),
(this._completedLoop = !1),
(this.projectInterface = ProjectInterface()),
(this.imagePreloader = new ImagePreloader()),
(this.audioController = audioControllerFactory()),
(this.markers = []),
(this.configAnimation = this.configAnimation.bind(this)),
(this.onSetupError = this.onSetupError.bind(this)),
(this.onSegmentComplete = this.onSegmentComplete.bind(this)),
(this.drawnFrameEvent = new BMEnterFrameEvent('drawnFrame', 0, 0, 0))
}
extendPrototype([BaseEvent], AnimationItem),
(AnimationItem.prototype.setParams = function (e) {
;(e.wrapper || e.container) && (this.wrapper = e.wrapper || e.container)
var t = 'svg'
e.animType ? (t = e.animType) : e.renderer && (t = e.renderer)
var n = getRenderer(t)
;(this.renderer = new n(this, e.rendererSettings)),
this.imagePreloader.setCacheType(t, this.renderer.globalData.defs),
this.renderer.setProjectInterface(this.projectInterface),
(this.animType = t),
'' === e.loop || null === e.loop || void 0 === e.loop || !0 === e.loop
? (this.loop = !0)
: !1 === e.loop
? (this.loop = !1)
: (this.loop = parseInt(e.loop, 10)),
(this.autoplay = !('autoplay' in e) || e.autoplay),
(this.name = e.name ? e.name : ''),
(this.autoloadSegments =
!Object.prototype.hasOwnProperty.call(e, 'autoloadSegments') ||
e.autoloadSegments),
(this.assetsPath = e.assetsPath),
(this.initialSegment = e.initialSegment),
e.audioFactory && this.audioController.setAudioFactory(e.audioFactory),
e.animationData
? this.setupAnimation(e.animationData)
: e.path &&
(-1 !== e.path.lastIndexOf('\\')
? (this.path = e.path.substr(0, e.path.lastIndexOf('\\') + 1))
: (this.path = e.path.substr(0, e.path.lastIndexOf('/') + 1)),
(this.fileName = e.path.substr(e.path.lastIndexOf('/') + 1)),
(this.fileName = this.fileName.substr(
0,
this.fileName.lastIndexOf('.json')
)),
dataManager.loadAnimation(
e.path,
this.configAnimation,
this.onSetupError
))
}),
(AnimationItem.prototype.onSetupError = function () {
this.trigger('data_failed')
}),
(AnimationItem.prototype.setupAnimation = function (e) {
dataManager.completeAnimation(e, this.configAnimation)
}),
(AnimationItem.prototype.setData = function (e, t) {
t && 'object' !== _typeof$4(t) && (t = JSON.parse(t))
var n = { wrapper: e, animationData: t },
r = e.attributes
;(n.path = r.getNamedItem('data-animation-path')
? r.getNamedItem('data-animation-path').value
: r.getNamedItem('data-bm-path')
? r.getNamedItem('data-bm-path').value
: r.getNamedItem('bm-path')
? r.getNamedItem('bm-path').value
: ''),
(n.animType = r.getNamedItem('data-anim-type')
? r.getNamedItem('data-anim-type').value
: r.getNamedItem('data-bm-type')
? r.getNamedItem('data-bm-type').value
: r.getNamedItem('bm-type')
? r.getNamedItem('bm-type').value
: r.getNamedItem('data-bm-renderer')
? r.getNamedItem('data-bm-renderer').value
: r.getNamedItem('bm-renderer')
? r.getNamedItem('bm-renderer').value
: 'canvas')
var a = r.getNamedItem('data-anim-loop')
? r.getNamedItem('data-anim-loop').value
: r.getNamedItem('data-bm-loop')
? r.getNamedItem('data-bm-loop').value
: r.getNamedItem('bm-loop')
? r.getNamedItem('bm-loop').value
: ''
'false' === a
? (n.loop = !1)
: 'true' === a
? (n.loop = !0)
: '' !== a && (n.loop = parseInt(a, 10))
var o = r.getNamedItem('data-anim-autoplay')
? r.getNamedItem('data-anim-autoplay').value
: r.getNamedItem('data-bm-autoplay')
? r.getNamedItem('data-bm-autoplay').value
: !r.getNamedItem('bm-autoplay') || r.getNamedItem('bm-autoplay').value
;(n.autoplay = 'false' !== o),
(n.name = r.getNamedItem('data-name')
? r.getNamedItem('data-name').value
: r.getNamedItem('data-bm-name')
? r.getNamedItem('data-bm-name').value
: r.getNamedItem('bm-name')
? r.getNamedItem('bm-name').value
: ''),
'false' ===
(r.getNamedItem('data-anim-prerender')
? r.getNamedItem('data-anim-prerender').value
: r.getNamedItem('data-bm-prerender')
? r.getNamedItem('data-bm-prerender').value
: r.getNamedItem('bm-prerender')
? r.getNamedItem('bm-prerender').value
: '') && (n.prerender = !1),
this.setParams(n)
}),
(AnimationItem.prototype.includeLayers = function (e) {
e.op > this.animationData.op &&
((this.animationData.op = e.op),
(this.totalFrames = Math.floor(e.op - this.animationData.ip)))
var t,
n,
r = this.animationData.layers,
a = r.length,
o = e.layers,
i = o.length
for (n = 0; n < i; n += 1)
for (t = 0; t < a; ) {
if (r[t].id === o[n].id) {
r[t] = o[n]
break
}
t += 1
}
if (
((e.chars || e.fonts) &&
(this.renderer.globalData.fontManager.addChars(e.chars),
this.renderer.globalData.fontManager.addFonts(
e.fonts,
this.renderer.globalData.defs
)),
e.assets)
)
for (a = e.assets.length, t = 0; t < a; t += 1)
this.animationData.assets.push(e.assets[t])
;(this.animationData.__complete = !1),
dataManager.completeAnimation(this.animationData, this.onSegmentComplete)
}),
(AnimationItem.prototype.onSegmentComplete = function (e) {
this.animationData = e
var t = getExpressionsPlugin()
t && t.initExpressions(this), this.loadNextSegment()
}),
(AnimationItem.prototype.loadNextSegment = function () {
var e = this.animationData.segments
if (!e || 0 === e.length || !this.autoloadSegments)
return (
this.trigger('data_ready'), void (this.timeCompleted = this.totalFrames)
)
var t = e.shift()
this.timeCompleted = t.time * this.frameRate
var n = this.path + this.fileName + '_' + this.segmentPos + '.json'
;(this.segmentPos += 1),
dataManager.loadData(
n,
this.includeLayers.bind(this),
function () {
this.trigger('data_failed')
}.bind(this)
)
}),
(AnimationItem.prototype.loadSegments = function () {
this.animationData.segments || (this.timeCompleted = this.totalFrames),
this.loadNextSegment()
}),
(AnimationItem.prototype.imagesLoaded = function () {
this.trigger('loaded_images'), this.checkLoaded()
}),
(AnimationItem.prototype.preloadImages = function () {
this.imagePreloader.setAssetsPath(this.assetsPath),
this.imagePreloader.setPath(this.path),
this.imagePreloader.loadAssets(
this.animationData.assets,
this.imagesLoaded.bind(this)
)
}),
(AnimationItem.prototype.configAnimation = function (e) {
if (this.renderer)
try {
;(this.animationData = e),
this.initialSegment
? ((this.totalFrames = Math.floor(
this.initialSegment[1] - this.initialSegment[0]
)),
(this.firstFrame = Math.round(this.initialSegment[0])))
: ((this.totalFrames = Math.floor(
this.animationData.op - this.animationData.ip
)),
(this.firstFrame = Math.round(this.animationData.ip))),
this.renderer.configAnimation(e),
e.assets || (e.assets = []),
(this.assets = this.animationData.assets),
(this.frameRate = this.animationData.fr),
(this.frameMult = this.animationData.fr / 1e3),
this.renderer.searchExtraCompositions(e.assets),
(this.markers = markerParser(e.markers || [])),
this.trigger('config_ready'),
this.preloadImages(),
this.loadSegments(),
this.updaFrameModifier(),
this.waitForFontsLoaded(),
this.isPaused && this.audioController.pause()
} catch (error) {
this.triggerConfigError(error)
}
}),
(AnimationItem.prototype.waitForFontsLoaded = function () {
this.renderer &&
(this.renderer.globalData.fontManager.isLoaded
? this.checkLoaded()
: setTimeout(this.waitForFontsLoaded.bind(this), 20))
}),
(AnimationItem.prototype.checkLoaded = function () {
if (
!this.isLoaded &&
this.renderer.globalData.fontManager.isLoaded &&
(this.imagePreloader.loadedImages() ||
'canvas' !== this.renderer.rendererType) &&
this.imagePreloader.loadedFootages()
) {
this.isLoaded = !0
var e = getExpressionsPlugin()
e && e.initExpressions(this),
this.renderer.initItems(),
setTimeout(
function () {
this.trigger('DOMLoaded')
}.bind(this),
0
),
this.gotoFrame(),
this.autoplay && this.play()
}
}),
(AnimationItem.prototype.resize = function () {
this.renderer.updateContainerSize()
}),
(AnimationItem.prototype.setSubframe = function (e) {
this.isSubframeEnabled = !!e
}),
(AnimationItem.prototype.gotoFrame = function () {
;(this.currentFrame = this.isSubframeEnabled
? this.currentRawFrame
: ~~this.currentRawFrame),
this.timeCompleted !== this.totalFrames &&
this.currentFrame > this.timeCompleted &&
(this.currentFrame = this.timeCompleted),
this.trigger('enterFrame'),
this.renderFrame(),
this.trigger('drawnFrame')
}),
(AnimationItem.prototype.renderFrame = function () {
if (!1 !== this.isLoaded && this.renderer)
try {
this.renderer.renderFrame(this.currentFrame + this.firstFrame)
} catch (error) {
this.triggerRenderFrameError(error)
}
}),
(AnimationItem.prototype.play = function (e) {
;(e && this.name !== e) ||
(!0 === this.isPaused &&
((this.isPaused = !1),
this.trigger('_pause'),
this.audioController.resume(),
this._idle && ((this._idle = !1), this.trigger('_active'))))
}),
(AnimationItem.prototype.pause = function (e) {
;(e && this.name !== e) ||
(!1 === this.isPaused &&
((this.isPaused = !0),
this.trigger('_play'),
(this._idle = !0),
this.trigger('_idle'),
this.audioController.pause()))
}),
(AnimationItem.prototype.togglePause = function (e) {
;(e && this.name !== e) || (!0 === this.isPaused ? this.play() : this.pause())
}),
(AnimationItem.prototype.stop = function (e) {
;(e && this.name !== e) ||
(this.pause(),
(this.playCount = 0),
(this._completedLoop = !1),
this.setCurrentRawFrameValue(0))
}),
(AnimationItem.prototype.getMarkerData = function (e) {
for (var t, n = 0; n < this.markers.length; n += 1)
if ((t = this.markers[n]).payload && t.payload.name === e) return t
return null
}),
(AnimationItem.prototype.goToAndStop = function (e, t, n) {
if (!n || this.name === n) {
var r = Number(e)
if (isNaN(r)) {
var a = this.getMarkerData(e)
a && this.goToAndStop(a.time, !0)
} else
t
? this.setCurrentRawFrameValue(e)
: this.setCurrentRawFrameValue(e * this.frameModifier)
this.pause()
}
}),
(AnimationItem.prototype.goToAndPlay = function (e, t, n) {
if (!n || this.name === n) {
var r = Number(e)
if (isNaN(r)) {
var a = this.getMarkerData(e)
a &&
(a.duration
? this.playSegments([a.time, a.time + a.duration], !0)
: this.goToAndStop(a.time, !0))
} else this.goToAndStop(r, t, n)
this.play()
}
}),
(AnimationItem.prototype.advanceTime = function (e) {
if (!0 !== this.isPaused && !1 !== this.isLoaded) {
var t = this.currentRawFrame + e * this.frameModifier,
n = !1
t >= this.totalFrames - 1 && this.frameModifier > 0
? this.loop && this.playCount !== this.loop
? t >= this.totalFrames
? ((this.playCount += 1),
this.checkSegments(t % this.totalFrames) ||
(this.setCurrentRawFrameValue(t % this.totalFrames),
(this._completedLoop = !0),
this.trigger('loopComplete')))
: this.setCurrentRawFrameValue(t)
: this.checkSegments(t > this.totalFrames ? t % this.totalFrames : 0) ||
((n = !0), (t = this.totalFrames - 1))
: t < 0
? this.checkSegments(t % this.totalFrames) ||
(!this.loop || (this.playCount-- <= 0 && !0 !== this.loop)
? ((n = !0), (t = 0))
: (this.setCurrentRawFrameValue(
this.totalFrames + (t % this.totalFrames)
),
this._completedLoop
? this.trigger('loopComplete')
: (this._completedLoop = !0)))
: this.setCurrentRawFrameValue(t),
n &&
(this.setCurrentRawFrameValue(t), this.pause(), this.trigger('complete'))
}
}),
(AnimationItem.prototype.adjustSegment = function (e, t) {
;(this.playCount = 0),
e[1] < e[0]
? (this.frameModifier > 0 &&
(this.playSpeed < 0
? this.setSpeed(-this.playSpeed)
: this.setDirection(-1)),
(this.totalFrames = e[0] - e[1]),
(this.timeCompleted = this.totalFrames),
(this.firstFrame = e[1]),
this.setCurrentRawFrameValue(this.totalFrames - 0.001 - t))
: e[1] > e[0] &&
(this.frameModifier < 0 &&
(this.playSpeed < 0
? this.setSpeed(-this.playSpeed)
: this.setDirection(1)),
(this.totalFrames = e[1] - e[0]),
(this.timeCompleted = this.totalFrames),
(this.firstFrame = e[0]),
this.setCurrentRawFrameValue(0.001 + t)),
this.trigger('segmentStart')
}),
(AnimationItem.prototype.setSegment = function (e, t) {
var n = -1
this.isPaused &&
(this.currentRawFrame + this.firstFrame < e
? (n = e)
: this.currentRawFrame + this.firstFrame > t && (n = t - e)),
(this.firstFrame = e),
(this.totalFrames = t - e),
(this.timeCompleted = this.totalFrames),
-1 !== n && this.goToAndStop(n, !0)
}),
(AnimationItem.prototype.playSegments = function (e, t) {
if ((t && (this.segments.length = 0), 'object' === _typeof$4(e[0]))) {
var n,
r = e.length
for (n = 0; n < r; n += 1) this.segments.push(e[n])
} else this.segments.push(e)
this.segments.length && t && this.adjustSegment(this.segments.shift(), 0),
this.isPaused && this.play()
}),
(AnimationItem.prototype.resetSegments = function (e) {
;(this.segments.length = 0),
this.segments.push([this.animationData.ip, this.animationData.op]),
e && this.checkSegments(0)
}),
(AnimationItem.prototype.checkSegments = function (e) {
return (
!!this.segments.length && (this.adjustSegment(this.segments.shift(), e), !0)
)
}),
(AnimationItem.prototype.destroy = function (e) {
;(e && this.name !== e) ||
!this.renderer ||
(this.renderer.destroy(),
this.imagePreloader.destroy(),
this.trigger('destroy'),
(this._cbs = null),
(this.onEnterFrame = null),
(this.onLoopComplete = null),
(this.onComplete = null),
(this.onSegmentStart = null),
(this.onDestroy = null),
(this.renderer = null),
(this.renderer = null),
(this.imagePreloader = null),
(this.projectInterface = null))
}),
(AnimationItem.prototype.setCurrentRawFrameValue = function (e) {
;(this.currentRawFrame = e), this.gotoFrame()
}),
(AnimationItem.prototype.setSpeed = function (e) {
;(this.playSpeed = e), this.updaFrameModifier()
}),
(AnimationItem.prototype.setDirection = function (e) {
;(this.playDirection = e < 0 ? -1 : 1), this.updaFrameModifier()
}),
(AnimationItem.prototype.setVolume = function (e, t) {
;(t && this.name !== t) || this.audioController.setVolume(e)
}),
(AnimationItem.prototype.getVolume = function () {
return this.audioController.getVolume()
}),
(AnimationItem.prototype.mute = function (e) {
;(e && this.name !== e) || this.audioController.mute()
}),
(AnimationItem.prototype.unmute = function (e) {
;(e && this.name !== e) || this.audioController.unmute()
}),
(AnimationItem.prototype.updaFrameModifier = function () {
;(this.frameModifier = this.frameMult * this.playSpeed * this.playDirection),
this.audioController.setRate(this.playSpeed * this.playDirection)
}),
(AnimationItem.prototype.getPath = function () {
return this.path
}),
(AnimationItem.prototype.getAssetsPath = function (e) {
var t = ''
if (e.e) t = e.p
else if (this.assetsPath) {
var n = e.p
;-1 !== n.indexOf('images/') && (n = n.split('/')[1]),
(t = this.assetsPath + n)
} else (t = this.path), (t += e.u ? e.u : ''), (t += e.p)
return t
}),
(AnimationItem.prototype.getAssetData = function (e) {
for (var t = 0, n = this.assets.length; t < n; ) {
if (e === this.assets[t].id) return this.assets[t]
t += 1
}
return null
}),
(AnimationItem.prototype.hide = function () {
this.renderer.hide()
}),
(AnimationItem.prototype.show = function () {
this.renderer.show()
}),
(AnimationItem.prototype.getDuration = function (e) {
return e ? this.totalFrames : this.totalFrames / this.frameRate
}),
(AnimationItem.prototype.updateDocumentData = function (e, t, n) {
try {
this.renderer.getElementByPath(e).updateDocumentData(t, n)
} catch (error) {}
}),
(AnimationItem.prototype.trigger = function (e) {
if (this._cbs && this._cbs[e])
switch (e) {
case 'enterFrame':
this.triggerEvent(
e,
new BMEnterFrameEvent(
e,
this.currentFrame,
this.totalFrames,
this.frameModifier
)
)
break
case 'drawnFrame':
;(this.drawnFrameEvent.currentTime = this.currentFrame),
(this.drawnFrameEvent.totalTime = this.totalFrames),
(this.drawnFrameEvent.direction = this.frameModifier),
this.triggerEvent(e, this.drawnFrameEvent)
break
case 'loopComplete':
this.triggerEvent(
e,
new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
)
break
case 'complete':
this.triggerEvent(e, new BMCompleteEvent(e, this.frameMult))
break
case 'segmentStart':
this.triggerEvent(
e,
new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
)
break
case 'destroy':
this.triggerEvent(e, new BMDestroyEvent(e, this))
break
default:
this.triggerEvent(e)
}
'enterFrame' === e &&
this.onEnterFrame &&
this.onEnterFrame.call(
this,
new BMEnterFrameEvent(
e,
this.currentFrame,
this.totalFrames,
this.frameMult
)
),
'loopComplete' === e &&
this.onLoopComplete &&
this.onLoopComplete.call(
this,
new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
),
'complete' === e &&
this.onComplete &&
this.onComplete.call(this, new BMCompleteEvent(e, this.frameMult)),
'segmentStart' === e &&
this.onSegmentStart &&
this.onSegmentStart.call(
this,
new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
),
'destroy' === e &&
this.onDestroy &&
this.onDestroy.call(this, new BMDestroyEvent(e, this))
}),
(AnimationItem.prototype.triggerRenderFrameError = function (e) {
var t = new BMRenderFrameErrorEvent(e, this.currentFrame)
this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
}),
(AnimationItem.prototype.triggerConfigError = function (e) {
var t = new BMConfigErrorEvent(e, this.currentFrame)
this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
})
var animationManager = (function () {
var e = {},
t = [],
n = 0,
r = 0,
a = 0,
o = !0,
i = !1
function s(e) {
for (var n = 0, a = e.target; n < r; )
t[n].animation === a &&
(t.splice(n, 1), (n -= 1), (r -= 1), a.isPaused || u()),
(n += 1)
}
function l(e, n) {
if (!e) return null
for (var a = 0; a < r; ) {
if (t[a].elem === e && null !== t[a].elem) return t[a].animation
a += 1
}
var o = new AnimationItem()
return p(o, e), o.setData(e, n), o
}
function c() {
;(a += 1), h()
}
function u() {
a -= 1
}
function p(e, n) {
e.addEventListener('destroy', s),
e.addEventListener('_active', c),
e.addEventListener('_idle', u),
t.push({ elem: n, animation: e }),
(r += 1)
}
function d(e) {
var s,
l = e - n
for (s = 0; s < r; s += 1) t[s].animation.advanceTime(l)
;(n = e), a && !i ? window.requestAnimationFrame(d) : (o = !0)
}
function f(e) {
;(n = e), window.requestAnimationFrame(d)
}
function h() {
!i && a && o && (window.requestAnimationFrame(f), (o = !1))
}
return (
(e.registerAnimation = l),
(e.loadAnimation = function (e) {
var t = new AnimationItem()
return p(t, null), t.setParams(e), t
}),
(e.setSpeed = function (e, n) {
var a
for (a = 0; a < r; a += 1) t[a].animation.setSpeed(e, n)
}),
(e.setDirection = function (e, n) {
var a
for (a = 0; a < r; a += 1) t[a].animation.setDirection(e, n)
}),
(e.play = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.play(e)
}),
(e.pause = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.pause(e)
}),
(e.stop = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.stop(e)
}),
(e.togglePause = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.togglePause(e)
}),
(e.searchAnimations = function (e, t, n) {
var r,
a = [].concat(
[].slice.call(document.getElementsByClassName('lottie')),
[].slice.call(document.getElementsByClassName('bodymovin'))
),
o = a.length
for (r = 0; r < o; r += 1)
n && a[r].setAttribute('data-bm-type', n), l(a[r], e)
if (t && 0 === o) {
n || (n = 'svg')
var i = document.getElementsByTagName('body')[0]
i.innerText = ''
var s = createTag('div')
;(s.style.width = '100%'),
(s.style.height = '100%'),
s.setAttribute('data-bm-type', n),
i.appendChild(s),
l(s, e)
}
}),
(e.resize = function () {
var e
for (e = 0; e < r; e += 1) t[e].animation.resize()
}),
(e.goToAndStop = function (e, n, a) {
var o
for (o = 0; o < r; o += 1) t[o].animation.goToAndStop(e, n, a)
}),
(e.destroy = function (e) {
var n
for (n = r - 1; n >= 0; n -= 1) t[n].animation.destroy(e)
}),
(e.freeze = function () {
i = !0
}),
(e.unfreeze = function () {
;(i = !1), h()
}),
(e.setVolume = function (e, n) {
var a
for (a = 0; a < r; a += 1) t[a].animation.setVolume(e, n)
}),
(e.mute = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.mute(e)
}),
(e.unmute = function (e) {
var n
for (n = 0; n < r; n += 1) t[n].animation.unmute(e)
}),
(e.getRegisteredAnimations = function () {
var e,
n = t.length,
r = []
for (e = 0; e < n; e += 1) r.push(t[e].animation)
return r
}),
e
)
})(),
BezierFactory = (function () {
var e = {
getBezierEasing: function (e, n, r, a, o) {
var i =
o || ('bez_' + e + '_' + n + '_' + r + '_' + a).replace(/\./g, 'p')
if (t[i]) return t[i]
var s = new c([e, n, r, a])
return (t[i] = s), s
}
},
t = {},
n = 0.1,
r = 'function' == typeof Float32Array
function a(e, t) {
return 1 - 3 * t + 3 * e
}
function o(e, t) {
return 3 * t - 6 * e
}
function i(e) {
return 3 * e
}
function s(e, t, n) {
return ((a(t, n) * e + o(t, n)) * e + i(t)) * e
}
function l(e, t, n) {
return 3 * a(t, n) * e * e + 2 * o(t, n) * e + i(t)
}
function c(e) {
;(this._p = e),
(this._mSampleValues = r ? new Float32Array(11) : new Array(11)),
(this._precomputed = !1),
(this.get = this.get.bind(this))
}
return (
(c.prototype = {
get: function (e) {
var t = this._p[0],
n = this._p[1],
r = this._p[2],
a = this._p[3]
return (
this._precomputed || this._precompute(),
t === n && r === a
? e
: 0 === e
? 0
: 1 === e
? 1
: s(this._getTForX(e), n, a)
)
},
_precompute: function () {
var e = this._p[0],
t = this._p[1],
n = this._p[2],
r = this._p[3]
;(this._precomputed = !0),
(e === t && n === r) || this._calcSampleValues()
},
_calcSampleValues: function () {
for (var e = this._p[0], t = this._p[2], r = 0; r < 11; ++r)
this._mSampleValues[r] = s(r * n, e, t)
},
_getTForX: function (e) {
for (
var t = this._p[0],
r = this._p[2],
a = this._mSampleValues,
o = 0,
i = 1;
10 !== i && a[i] <= e;
++i
)
o += n
var c = o + ((e - a[--i]) / (a[i + 1] - a[i])) * n,
u = l(c, t, r)
return u >= 0.001
? (function (e, t, n, r) {
for (var a = 0; a < 4; ++a) {
var o = l(t, n, r)
if (0 === o) return t
t -= (s(t, n, r) - e) / o
}
return t
})(e, c, t, r)
: 0 === u
? c
: (function (e, t, n, r, a) {
var o,
i,
l = 0
do {
;(o = s((i = t + (n - t) / 2), r, a) - e) > 0 ? (n = i) : (t = i)
} while (Math.abs(o) > 1e-7 && ++l < 10)
return i
})(e, o, o + n, t, r)
}
}),
e
)
})(),
pooling = {
double: function (e) {
return e.concat(createSizedArray(e.length))
}
},
poolFactory = function (e, t, n) {
var r = 0,
a = e,
o = createSizedArray(a)
return {
newElement: function () {
return r ? o[(r -= 1)] : t()
},
release: function (e) {
r === a && ((o = pooling.double(o)), (a *= 2)),
n && n(e),
(o[r] = e),
(r += 1)
}
}
},
bezierLengthPool = poolFactory(8, function () {
return {
addedLength: 0,
percents: createTypedArray('float32', getDefaultCurveSegments()),
lengths: createTypedArray('float32', getDefaultCurveSegments())
}
}),
segmentsLengthPool = poolFactory(
8,
function () {
return { lengths: [], totalLength: 0 }
},
function (e) {
var t,
n = e.lengths.length
for (t = 0; t < n; t += 1) bezierLengthPool.release(e.lengths[t])
e.lengths.length = 0
}
)
function bezFunction() {
var e = Math
function t(e, t, n, r, a, o) {
var i = e * r + t * a + n * o - a * r - o * e - n * t
return i > -0.001 && i < 0.001
}
var n = function (e, t, n, r) {
var a,
o,
i,
s,
l,
c,
u = getDefaultCurveSegments(),
p = 0,
d = [],
f = [],
h = bezierLengthPool.newElement()
for (i = n.length, a = 0; a < u; a += 1) {
for (l = a / (u - 1), c = 0, o = 0; o < i; o += 1)
(s =
bmPow(1 - l, 3) * e[o] +
3 * bmPow(1 - l, 2) * l * n[o] +
3 * (1 - l) * bmPow(l, 2) * r[o] +
bmPow(l, 3) * t[o]),
(d[o] = s),
null !== f[o] && (c += bmPow(d[o] - f[o], 2)),
(f[o] = d[o])
c && (p += c = bmSqrt(c)), (h.percents[a] = l), (h.lengths[a] = p)
}
return (h.addedLength = p), h
}
function r(e) {
;(this.segmentLength = 0), (this.points = new Array(e))
}
function a(e, t) {
;(this.partialLength = e), (this.point = t)
}
var o,
i =
((o = {}),
function (e, n, i, s) {
var l = (
e[0] +
'_' +
e[1] +
'_' +
n[0] +
'_' +
n[1] +
'_' +
i[0] +
'_' +
i[1] +
'_' +
s[0] +
'_' +
s[1]
).replace(/\./g, 'p')
if (!o[l]) {
var c,
u,
p,
d,
f,
h,
v,
m = getDefaultCurveSegments(),
g = 0,
y = null
2 === e.length &&
(e[0] !== n[0] || e[1] !== n[1]) &&
t(e[0], e[1], n[0], n[1], e[0] + i[0], e[1] + i[1]) &&
t(e[0], e[1], n[0], n[1], n[0] + s[0], n[1] + s[1]) &&
(m = 2)
var b = new r(m)
for (p = i.length, c = 0; c < m; c += 1) {
for (
v = createSizedArray(p), f = c / (m - 1), h = 0, u = 0;
u < p;
u += 1
)
(d =
bmPow(1 - f, 3) * e[u] +
3 * bmPow(1 - f, 2) * f * (e[u] + i[u]) +
3 * (1 - f) * bmPow(f, 2) * (n[u] + s[u]) +
bmPow(f, 3) * n[u]),
(v[u] = d),
null !== y && (h += bmPow(v[u] - y[u], 2))
;(g += h = bmSqrt(h)), (b.points[c] = new a(h, v)), (y = v)
}
;(b.segmentLength = g), (o[l] = b)
}
return o[l]
})
function s(e, t) {
var n = t.percents,
r = t.lengths,
a = n.length,
o = bmFloor((a - 1) * e),
i = e * t.addedLength,
s = 0
if (o === a - 1 || 0 === o || i === r[o]) return n[o]
for (var l = r[o] > i ? -1 : 1, c = !0; c; )
if (
(r[o] <= i && r[o + 1] > i
? ((s = (i - r[o]) / (r[o + 1] - r[o])), (c = !1))
: (o += l),
o < 0 || o >= a - 1)
) {
if (o === a - 1) return n[o]
c = !1
}
return n[o] + (n[o + 1] - n[o]) * s
}
var l = createTypedArray('float32', 8)
return {
getSegmentsLength: function (e) {
var t,
r = segmentsLengthPool.newElement(),
a = e.c,
o = e.v,
i = e.o,
s = e.i,
l = e._length,
c = r.lengths,
u = 0
for (t = 0; t < l - 1; t += 1)
(c[t] = n(o[t], o[t + 1], i[t], s[t + 1])), (u += c[t].addedLength)
return (
a && l && ((c[t] = n(o[t], o[0], i[t], s[0])), (u += c[t].addedLength)),
(r.totalLength = u),
r
)
},
getNewSegment: function (t, n, r, a, o, i, c) {
o < 0 ? (o = 0) : o > 1 && (o = 1)
var u,
p = s(o, c),
d = s((i = i > 1 ? 1 : i), c),
f = t.length,
h = 1 - p,
v = 1 - d,
m = h * h * h,
g = p * h * h * 3,
y = p * p * h * 3,
b = p * p * p,
_ = h * h * v,
A = p * h * v + h * p * v + h * h * d,
x = p * p * v + h * p * d + p * h * d,
w = p * p * d,
k = h * v * v,
S = p * v * v + h * d * v + h * v * d,
E = p * d * v + h * d * d + p * v * d,
P = p * d * d,
C = v * v * v,
T = d * v * v + v * d * v + v * v * d,
I = d * d * v + v * d * d + d * v * d,
M = d * d * d
for (u = 0; u < f; u += 1)
(l[4 * u] =
e.round(1e3 * (m * t[u] + g * r[u] + y * a[u] + b * n[u])) / 1e3),
(l[4 * u + 1] =
e.round(1e3 * (_ * t[u] + A * r[u] + x * a[u] + w * n[u])) / 1e3),
(l[4 * u + 2] =
e.round(1e3 * (k * t[u] + S * r[u] + E * a[u] + P * n[u])) / 1e3),
(l[4 * u + 3] =
e.round(1e3 * (C * t[u] + T * r[u] + I * a[u] + M * n[u])) / 1e3)
return l
},
getPointInSegment: function (t, n, r, a, o, i) {
var l = s(o, i),
c = 1 - l
return [
e.round(
1e3 *
(c * c * c * t[0] +
(l * c * c + c * l * c + c * c * l) * r[0] +
(l * l * c + c * l * l + l * c * l) * a[0] +
l * l * l * n[0])
) / 1e3,
e.round(
1e3 *
(c * c * c * t[1] +
(l * c * c + c * l * c + c * c * l) * r[1] +
(l * l * c + c * l * l + l * c * l) * a[1] +
l * l * l * n[1])
) / 1e3
]
},
buildBezierData: i,
pointOnLine2D: t,
pointOnLine3D: function (n, r, a, o, i, s, l, c, u) {
if (0 === a && 0 === s && 0 === u) return t(n, r, o, i, l, c)
var p,
d = e.sqrt(e.pow(o - n, 2) + e.pow(i - r, 2) + e.pow(s - a, 2)),
f = e.sqrt(e.pow(l - n, 2) + e.pow(c - r, 2) + e.pow(u - a, 2)),
h = e.sqrt(e.pow(l - o, 2) + e.pow(c - i, 2) + e.pow(u - s, 2))
return (
(p =
d > f ? (d > h ? d - f - h : h - f - d) : h > f ? h - f - d : f - d - h) >
-1e-4 && p < 1e-4
)
}
}
}
var bez = bezFunction(),
PropertyFactory = (function () {
var e = initialDefaultFrame,
t = Math.abs
function n(e, t) {
var n,
a = this.offsetTime
'multidimensional' === this.propType &&
(n = createTypedArray('float32', this.pv.length))
for (
var o,
i,
s,
l,
c,
u,
p,
d,
f,
h = t.lastIndex,
v = h,
m = this.keyframes.length - 1,
g = !0;
g;
) {
if (
((o = this.keyframes[v]),
(i = this.keyframes[v + 1]),
v === m - 1 && e >= i.t - a)
) {
o.h && (o = i), (h = 0)
break
}
if (i.t - a > e) {
h = v
break
}
v < m - 1 ? (v += 1) : ((h = 0), (g = !1))
}
s = this.keyframesMetadata[v] || {}
var y,
b,
_,
A,
x,
w,
k,
S,
E,
P,
C = i.t - a,
T = o.t - a
if (o.to) {
s.bezierData ||
(s.bezierData = bez.buildBezierData(o.s, i.s || o.e, o.to, o.ti))
var I = s.bezierData
if (e >= C || e < T) {
var M = e >= C ? I.points.length - 1 : 0
for (c = I.points[M].point.length, l = 0; l < c; l += 1)
n[l] = I.points[M].point[l]
} else {
s.__fnct
? (f = s.__fnct)
: ((f = BezierFactory.getBezierEasing(
o.o.x,
o.o.y,
o.i.x,
o.i.y,
o.n
).get),
(s.__fnct = f)),
(u = f((e - T) / (C - T)))
var R,
O = I.segmentLength * u,
z =
t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastAddedLength : 0
for (
d = t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastPoint : 0,
g = !0,
p = I.points.length;
g;
) {
if (
((z += I.points[d].partialLength),
0 === O || 0 === u || d === I.points.length - 1)
) {
for (c = I.points[d].point.length, l = 0; l < c; l += 1)
n[l] = I.points[d].point[l]
break
}
if (O >= z && O < z + I.points[d + 1].partialLength) {
for (
R = (O - z) / I.points[d + 1].partialLength,
c = I.points[d].point.length,
l = 0;
l < c;
l += 1
)
n[l] =
I.points[d].point[l] +
(I.points[d + 1].point[l] - I.points[d].point[l]) * R
break
}
d < p - 1 ? (d += 1) : (g = !1)
}
;(t._lastPoint = d),
(t._lastAddedLength = z - I.points[d].partialLength),
(t._lastKeyframeIndex = v)
}
} else {
var D, F, B, N, j
if (((m = o.s.length), (y = i.s || o.e), this.sh && 1 !== o.h))
if (e >= C) (n[0] = y[0]), (n[1] = y[1]), (n[2] = y[2])
else if (e <= T) (n[0] = o.s[0]), (n[1] = o.s[1]), (n[2] = o.s[2])
else {
var V = r(o.s),
L = r(y)
;(b = n),
(_ = (function (e, t, n) {
var r,
a,
o,
i,
s,
l = [],
c = e[0],
u = e[1],
p = e[2],
d = e[3],
f = t[0],
h = t[1],
v = t[2],
m = t[3]
return (
(a = c * f + u * h + p * v + d * m) < 0 &&
((a = -a), (f = -f), (h = -h), (v = -v), (m = -m)),
1 - a > 1e-6
? ((r = Math.acos(a)),
(o = Math.sin(r)),
(i = Math.sin((1 - n) * r) / o),
(s = Math.sin(n * r) / o))
: ((i = 1 - n), (s = n)),
(l[0] = i * c + s * f),
(l[1] = i * u + s * h),
(l[2] = i * p + s * v),
(l[3] = i * d + s * m),
l
)
})(V, L, (e - T) / (C - T))),
(A = _[0]),
(x = _[1]),
(w = _[2]),
(k = _[3]),
(S = Math.atan2(2 * x * k - 2 * A * w, 1 - 2 * x * x - 2 * w * w)),
(E = Math.asin(2 * A * x + 2 * w * k)),
(P = Math.atan2(2 * A * k - 2 * x * w, 1 - 2 * A * A - 2 * w * w)),
(b[0] = S / degToRads),
(b[1] = E / degToRads),
(b[2] = P / degToRads)
}
else
for (v = 0; v < m; v += 1)
1 !== o.h &&
(e >= C
? (u = 1)
: e < T
? (u = 0)
: (o.o.x.constructor === Array
? (s.__fnct || (s.__fnct = []),
s.__fnct[v]
? (f = s.__fnct[v])
: ((D = void 0 === o.o.x[v] ? o.o.x[0] : o.o.x[v]),
(F = void 0 === o.o.y[v] ? o.o.y[0] : o.o.y[v]),
(B = void 0 === o.i.x[v] ? o.i.x[0] : o.i.x[v]),
(N = void 0 === o.i.y[v] ? o.i.y[0] : o.i.y[v]),
(f = BezierFactory.getBezierEasing(D, F, B, N).get),
(s.__fnct[v] = f)))
: s.__fnct
? (f = s.__fnct)
: ((D = o.o.x),
(F = o.o.y),
(B = o.i.x),
(N = o.i.y),
(f = BezierFactory.getBezierEasing(D, F, B, N).get),
(o.keyframeMetadata = f)),
(u = f((e - T) / (C - T))))),
(y = i.s || o.e),
(j = 1 === o.h ? o.s[v] : o.s[v] + (y[v] - o.s[v]) * u),
'multidimensional' === this.propType ? (n[v] = j) : (n = j)
}
return (t.lastIndex = h), n
}
function r(e) {
var t = e[0] * degToRads,
n = e[1] * degToRads,
r = e[2] * degToRads,
a = Math.cos(t / 2),
o = Math.cos(n / 2),
i = Math.cos(r / 2),
s = Math.sin(t / 2),
l = Math.sin(n / 2),
c = Math.sin(r / 2)
return [
s * l * i + a * o * c,
s * o * i + a * l * c,
a * l * i - s * o * c,
a * o * i - s * l * c
]
}
function a() {
var t = this.comp.renderedFrame - this.offsetTime,
n = this.keyframes[0].t - this.offsetTime,
r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime
if (
!(
t === this._caching.lastFrame ||
(this._caching.lastFrame !== e &&
((this._caching.lastFrame >= r && t >= r) ||
(this._caching.lastFrame < n && t < n)))
)
) {
this._caching.lastFrame >= t &&
((this._caching._lastKeyframeIndex = -1), (this._caching.lastIndex = 0))
var a = this.interpolateValue(t, this._caching)
this.pv = a
}
return (this._caching.lastFrame = t), this.pv
}
function o(e) {
var n
if ('unidimensional' === this.propType)
(n = e * this.mult),
t(this.v - n) > 1e-5 && ((this.v = n), (this._mdf = !0))
else
for (var r = 0, a = this.v.length; r < a; )
(n = e[r] * this.mult),
t(this.v[r] - n) > 1e-5 && ((this.v[r] = n), (this._mdf = !0)),
(r += 1)
}
function i() {
if (
this.elem.globalData.frameId !== this.frameId &&
this.effectsSequence.length
)
if (this.lock) this.setVValue(this.pv)
else {
var e
;(this.lock = !0), (this._mdf = this._isFirstFrame)
var t = this.effectsSequence.length,
n = this.kf ? this.pv : this.data.k
for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n)
this.setVValue(n),
(this._isFirstFrame = !1),
(this.lock = !1),
(this.frameId = this.elem.globalData.frameId)
}
}
function s(e) {
this.effectsSequence.push(e), this.container.addDynamicProperty(this)
}
function l(e, t, n, r) {
;(this.propType = 'unidimensional'),
(this.mult = n || 1),
(this.data = t),
(this.v = n ? t.k * n : t.k),
(this.pv = t.k),
(this._mdf = !1),
(this.elem = e),
(this.container = r),
(this.comp = e.comp),
(this.k = !1),
(this.kf = !1),
(this.vel = 0),
(this.effectsSequence = []),
(this._isFirstFrame = !0),
(this.getValue = i),
(this.setVValue = o),
(this.addEffect = s)
}
function c(e, t, n, r) {
var a
;(this.propType = 'multidimensional'),
(this.mult = n || 1),
(this.data = t),
(this._mdf = !1),
(this.elem = e),
(this.container = r),
(this.comp = e.comp),
(this.k = !1),
(this.kf = !1),
(this.frameId = -1)
var l = t.k.length
for (
this.v = createTypedArray('float32', l),
this.pv = createTypedArray('float32', l),
this.vel = createTypedArray('float32', l),
a = 0;
a < l;
a += 1
)
(this.v[a] = t.k[a] * this.mult), (this.pv[a] = t.k[a])
;(this._isFirstFrame = !0),
(this.effectsSequence = []),
(this.getValue = i),
(this.setVValue = o),
(this.addEffect = s)
}
function u(t, r, l, c) {
;(this.propType = 'unidimensional'),
(this.keyframes = r.k),
(this.keyframesMetadata = []),
(this.offsetTime = t.data.st),
(this.frameId = -1),
(this._caching = {
lastFrame: e,
lastIndex: 0,
value: 0,
_lastKeyframeIndex: -1
}),
(this.k = !0),
(this.kf = !0),
(this.data = r),
(this.mult = l || 1),
(this.elem = t),
(this.container = c),
(this.comp = t.comp),
(this.v = e),
(this.pv = e),
(this._isFirstFrame = !0),
(this.getValue = i),
(this.setVValue = o),
(this.interpolateValue = n),
(this.effectsSequence = [a.bind(this)]),
(this.addEffect = s)
}
function p(t, r, l, c) {
var u
this.propType = 'multidimensional'
var p,
d,
f,
h,
v = r.k.length
for (u = 0; u < v - 1; u += 1)
r.k[u].to &&
r.k[u].s &&
r.k[u + 1] &&
r.k[u + 1].s &&
((p = r.k[u].s),
(d = r.k[u + 1].s),
(f = r.k[u].to),
(h = r.k[u].ti),
((2 === p.length &&
(p[0] !== d[0] || p[1] !== d[1]) &&
bez.pointOnLine2D(p[0], p[1], d[0], d[1], p[0] + f[0], p[1] + f[1]) &&
bez.pointOnLine2D(p[0], p[1], d[0], d[1], d[0] + h[0], d[1] + h[1])) ||
(3 === p.length &&
(p[0] !== d[0] || p[1] !== d[1] || p[2] !== d[2]) &&
bez.pointOnLine3D(
p[0],
p[1],
p[2],
d[0],
d[1],
d[2],
p[0] + f[0],
p[1] + f[1],
p[2] + f[2]
) &&
bez.pointOnLine3D(
p[0],
p[1],
p[2],
d[0],
d[1],
d[2],
d[0] + h[0],
d[1] + h[1],
d[2] + h[2]
))) &&
((r.k[u].to = null), (r.k[u].ti = null)),
p[0] === d[0] &&
p[1] === d[1] &&
0 === f[0] &&
0 === f[1] &&
0 === h[0] &&
0 === h[1] &&
(2 === p.length || (p[2] === d[2] && 0 === f[2] && 0 === h[2])) &&
((r.k[u].to = null), (r.k[u].ti = null)))
;(this.effectsSequence = [a.bind(this)]),
(this.data = r),
(this.keyframes = r.k),
(this.keyframesMetadata = []),
(this.offsetTime = t.data.st),
(this.k = !0),
(this.kf = !0),
(this._isFirstFrame = !0),
(this.mult = l || 1),
(this.elem = t),
(this.container = c),
(this.comp = t.comp),
(this.getValue = i),
(this.setVValue = o),
(this.interpolateValue = n),
(this.frameId = -1)
var m = r.k[0].s.length
for (
this.v = createTypedArray('float32', m),
this.pv = createTypedArray('float32', m),
u = 0;
u < m;
u += 1
)
(this.v[u] = e), (this.pv[u] = e)
;(this._caching = {
lastFrame: e,
lastIndex: 0,
value: createTypedArray('float32', m)
}),
(this.addEffect = s)
}
var d = {
getProp: function (e, t, n, r, a) {
var o
if (t.k.length)
if ('number' == typeof t.k[0]) o = new c(e, t, r, a)
else
switch (n) {
case 0:
o = new u(e, t, r, a)
break
case 1:
o = new p(e, t, r, a)
}
else o = new l(e, t, r, a)
return o.effectsSequence.length && a.addDynamicProperty(o), o
}
}
return d
})()
function DynamicPropertyContainer() {}
DynamicPropertyContainer.prototype = {
addDynamicProperty: function (e) {
;-1 === this.dynamicProperties.indexOf(e) &&
(this.dynamicProperties.push(e),
this.container.addDynamicProperty(this),
(this._isAnimated = !0))
},
iterateDynamicProperties: function () {
var e
this._mdf = !1
var t = this.dynamicProperties.length
for (e = 0; e < t; e += 1)
this.dynamicProperties[e].getValue(),
this.dynamicProperties[e]._mdf && (this._mdf = !0)
},
initDynamicPropertyContainer: function (e) {
;(this.container = e),
(this.dynamicProperties = []),
(this._mdf = !1),
(this._isAnimated = !1)
}
}
var pointPool = poolFactory(8, function () {
return createTypedArray('float32', 2)
})
function ShapePath() {
;(this.c = !1),
(this._length = 0),
(this._maxLength = 8),
(this.v = createSizedArray(this._maxLength)),
(this.o = createSizedArray(this._maxLength)),
(this.i = createSizedArray(this._maxLength))
}
;(ShapePath.prototype.setPathData = function (e, t) {
;(this.c = e), this.setLength(t)
for (var n = 0; n < t; )
(this.v[n] = pointPool.newElement()),
(this.o[n] = pointPool.newElement()),
(this.i[n] = pointPool.newElement()),
(n += 1)
}),
(ShapePath.prototype.setLength = function (e) {
for (; this._maxLength < e; ) this.doubleArrayLength()
this._length = e
}),
(ShapePath.prototype.doubleArrayLength = function () {
;(this.v = this.v.concat(createSizedArray(this._maxLength))),
(this.i = this.i.concat(createSizedArray(this._maxLength))),
(this.o = this.o.concat(createSizedArray(this._maxLength))),
(this._maxLength *= 2)
}),
(ShapePath.prototype.setXYAt = function (e, t, n, r, a) {
var o
switch (
((this._length = Math.max(this._length, r + 1)),
this._length >= this._maxLength && this.doubleArrayLength(),
n)
) {
case 'v':
o = this.v
break
case 'i':
o = this.i
break
case 'o':
o = this.o
break
default:
o = []
}
;(!o[r] || (o[r] && !a)) && (o[r] = pointPool.newElement()),
(o[r][0] = e),
(o[r][1] = t)
}),
(ShapePath.prototype.setTripleAt = function (e, t, n, r, a, o, i, s) {
this.setXYAt(e, t, 'v', i, s),
this.setXYAt(n, r, 'o', i, s),
this.setXYAt(a, o, 'i', i, s)
}),
(ShapePath.prototype.reverse = function () {
var e = new ShapePath()
e.setPathData(this.c, this._length)
var t = this.v,
n = this.o,
r = this.i,
a = 0
this.c &&
(e.setTripleAt(t[0][0], t[0][1], r[0][0], r[0][1], n[0][0], n[0][1], 0, !1),
(a = 1))
var o,
i = this._length - 1,
s = this._length
for (o = a; o < s; o += 1)
e.setTripleAt(t[i][0], t[i][1], r[i][0], r[i][1], n[i][0], n[i][1], o, !1),
(i -= 1)
return e
})
var shapePool =
((factory = poolFactory(
4,
function () {
return new ShapePath()
},
function (e) {
var t,
n = e._length
for (t = 0; t < n; t += 1)
pointPool.release(e.v[t]),
pointPool.release(e.i[t]),
pointPool.release(e.o[t]),
(e.v[t] = null),
(e.i[t] = null),
(e.o[t] = null)
;(e._length = 0), (e.c = !1)
}
)),
(factory.clone = function (e) {
var t,
n = factory.newElement(),
r = void 0 === e._length ? e.v.length : e._length
for (n.setLength(r), n.c = e.c, t = 0; t < r; t += 1)
n.setTripleAt(
e.v[t][0],
e.v[t][1],
e.o[t][0],
e.o[t][1],
e.i[t][0],
e.i[t][1],
t
)
return n
}),
factory),
factory
function ShapeCollection() {
;(this._length = 0),
(this._maxLength = 4),
(this.shapes = createSizedArray(this._maxLength))
}
;(ShapeCollection.prototype.addShape = function (e) {
this._length === this._maxLength &&
((this.shapes = this.shapes.concat(createSizedArray(this._maxLength))),
(this._maxLength *= 2)),
(this.shapes[this._length] = e),
(this._length += 1)
}),
(ShapeCollection.prototype.releaseShapes = function () {
var e
for (e = 0; e < this._length; e += 1) shapePool.release(this.shapes[e])
this._length = 0
})
var shapeCollectionPool =
((ob = {
newShapeCollection: function () {
return _length ? pool[(_length -= 1)] : new ShapeCollection()
},
release: function (e) {
var t,
n = e._length
for (t = 0; t < n; t += 1) shapePool.release(e.shapes[t])
;(e._length = 0),
_length === _maxLength &&
((pool = pooling.double(pool)), (_maxLength *= 2)),
(pool[_length] = e),
(_length += 1)
}
}),
(_length = 0),
(_maxLength = 4),
(pool = createSizedArray(_maxLength)),
ob),
ob,
_length,
_maxLength,
pool,
ShapePropertyFactory = (function () {
var e = -999999
function t(e, t, n) {
var r,
a,
o,
i,
s,
l,
c,
u,
p,
d = n.lastIndex,
f = this.keyframes
if (e < f[0].t - this.offsetTime) (r = f[0].s[0]), (o = !0), (d = 0)
else if (e >= f[f.length - 1].t - this.offsetTime)
(r = f[f.length - 1].s ? f[f.length - 1].s[0] : f[f.length - 2].e[0]),
(o = !0)
else {
for (
var h, v, m, g = d, y = f.length - 1, b = !0;
b && ((h = f[g]), !((v = f[g + 1]).t - this.offsetTime > e));
)
g < y - 1 ? (g += 1) : (b = !1)
if (((m = this.keyframesMetadata[g] || {}), (d = g), !(o = 1 === h.h))) {
if (e >= v.t - this.offsetTime) u = 1
else if (e < h.t - this.offsetTime) u = 0
else {
var _
m.__fnct
? (_ = m.__fnct)
: ((_ = BezierFactory.getBezierEasing(
h.o.x,
h.o.y,
h.i.x,
h.i.y
).get),
(m.__fnct = _)),
(u = _(
(e - (h.t - this.offsetTime)) /
(v.t - this.offsetTime - (h.t - this.offsetTime))
))
}
a = v.s ? v.s[0] : h.e[0]
}
r = h.s[0]
}
for (l = t._length, c = r.i[0].length, n.lastIndex = d, i = 0; i < l; i += 1)
for (s = 0; s < c; s += 1)
(p = o ? r.i[i][s] : r.i[i][s] + (a.i[i][s] - r.i[i][s]) * u),
(t.i[i][s] = p),
(p = o ? r.o[i][s] : r.o[i][s] + (a.o[i][s] - r.o[i][s]) * u),
(t.o[i][s] = p),
(p = o ? r.v[i][s] : r.v[i][s] + (a.v[i][s] - r.v[i][s]) * u),
(t.v[i][s] = p)
}
function n() {
var t = this.comp.renderedFrame - this.offsetTime,
n = this.keyframes[0].t - this.offsetTime,
r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime,
a = this._caching.lastFrame
return (
(a !== e && ((a < n && t < n) || (a > r && t > r))) ||
((this._caching.lastIndex = a < t ? this._caching.lastIndex : 0),
this.interpolateShape(t, this.pv, this._caching)),
(this._caching.lastFrame = t),
this.pv
)
}
function r() {
this.paths = this.localShapeCollection
}
function a(e) {
;(function (e, t) {
if (e._length !== t._length || e.c !== t.c) return !1
var n,
r = e._length
for (n = 0; n < r; n += 1)
if (
e.v[n][0] !== t.v[n][0] ||
e.v[n][1] !== t.v[n][1] ||
e.o[n][0] !== t.o[n][0] ||
e.o[n][1] !== t.o[n][1] ||
e.i[n][0] !== t.i[n][0] ||
e.i[n][1] !== t.i[n][1]
)
return !1
return !0
})(this.v, e) ||
((this.v = shapePool.clone(e)),
this.localShapeCollection.releaseShapes(),
this.localShapeCollection.addShape(this.v),
(this._mdf = !0),
(this.paths = this.localShapeCollection))
}
function o() {
if (this.elem.globalData.frameId !== this.frameId)
if (this.effectsSequence.length)
if (this.lock) this.setVValue(this.pv)
else {
var e, t
;(this.lock = !0),
(this._mdf = !1),
(e = this.kf
? this.pv
: this.data.ks
? this.data.ks.k
: this.data.pt.k)
var n = this.effectsSequence.length
for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e)
this.setVValue(e),
(this.lock = !1),
(this.frameId = this.elem.globalData.frameId)
}
else this._mdf = !1
}
function i(e, t, n) {
;(this.propType = 'shape'),
(this.comp = e.comp),
(this.container = e),
(this.elem = e),
(this.data = t),
(this.k = !1),
(this.kf = !1),
(this._mdf = !1)
var a = 3 === n ? t.pt.k : t.ks.k
;(this.v = shapePool.clone(a)),
(this.pv = shapePool.clone(this.v)),
(this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
(this.paths = this.localShapeCollection),
this.paths.addShape(this.v),
(this.reset = r),
(this.effectsSequence = [])
}
function s(e) {
this.effectsSequence.push(e), this.container.addDynamicProperty(this)
}
function l(t, a, o) {
;(this.propType = 'shape'),
(this.comp = t.comp),
(this.elem = t),
(this.container = t),
(this.offsetTime = t.data.st),
(this.keyframes = 3 === o ? a.pt.k : a.ks.k),
(this.keyframesMetadata = []),
(this.k = !0),
(this.kf = !0)
var i = this.keyframes[0].s[0].i.length
;(this.v = shapePool.newElement()),
this.v.setPathData(this.keyframes[0].s[0].c, i),
(this.pv = shapePool.clone(this.v)),
(this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
(this.paths = this.localShapeCollection),
this.paths.addShape(this.v),
(this.lastFrame = e),
(this.reset = r),
(this._caching = { lastFrame: e, lastIndex: 0 }),
(this.effectsSequence = [n.bind(this)])
}
;(i.prototype.interpolateShape = t),
(i.prototype.getValue = o),
(i.prototype.setVValue = a),
(i.prototype.addEffect = s),
(l.prototype.getValue = o),
(l.prototype.interpolateShape = t),
(l.prototype.setVValue = a),
(l.prototype.addEffect = s)
var c = (function () {
var e = roundCorner
function t(e, t) {
;(this.v = shapePool.newElement()),
this.v.setPathData(!0, 4),
(this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
(this.paths = this.localShapeCollection),
this.localShapeCollection.addShape(this.v),
(this.d = t.d),
(this.elem = e),
(this.comp = e.comp),
(this.frameId = -1),
this.initDynamicPropertyContainer(e),
(this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
(this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
this.dynamicProperties.length
? (this.k = !0)
: ((this.k = !1), this.convertEllToPath())
}
return (
(t.prototype = {
reset: r,
getValue: function () {
this.elem.globalData.frameId !== this.frameId &&
((this.frameId = this.elem.globalData.frameId),
this.iterateDynamicProperties(),
this._mdf && this.convertEllToPath())
},
convertEllToPath: function () {
var t = this.p.v[0],
n = this.p.v[1],
r = this.s.v[0] / 2,
a = this.s.v[1] / 2,
o = 3 !== this.d,
i = this.v
;(i.v[0][0] = t),
(i.v[0][1] = n - a),
(i.v[1][0] = o ? t + r : t - r),
(i.v[1][1] = n),
(i.v[2][0] = t),
(i.v[2][1] = n + a),
(i.v[3][0] = o ? t - r : t + r),
(i.v[3][1] = n),
(i.i[0][0] = o ? t - r * e : t + r * e),
(i.i[0][1] = n - a),
(i.i[1][0] = o ? t + r : t - r),
(i.i[1][1] = n - a * e),
(i.i[2][0] = o ? t + r * e : t - r * e),
(i.i[2][1] = n + a),
(i.i[3][0] = o ? t - r : t + r),
(i.i[3][1] = n + a * e),
(i.o[0][0] = o ? t + r * e : t - r * e),
(i.o[0][1] = n - a),
(i.o[1][0] = o ? t + r : t - r),
(i.o[1][1] = n + a * e),
(i.o[2][0] = o ? t - r * e : t + r * e),
(i.o[2][1] = n + a),
(i.o[3][0] = o ? t - r : t + r),
(i.o[3][1] = n - a * e)
}
}),
extendPrototype([DynamicPropertyContainer], t),
t
)
})(),
u = (function () {
function e(e, t) {
;(this.v = shapePool.newElement()),
this.v.setPathData(!0, 0),
(this.elem = e),
(this.comp = e.comp),
(this.data = t),
(this.frameId = -1),
(this.d = t.d),
this.initDynamicPropertyContainer(e),
1 === t.sy
? ((this.ir = PropertyFactory.getProp(e, t.ir, 0, 0, this)),
(this.is = PropertyFactory.getProp(e, t.is, 0, 0.01, this)),
(this.convertToPath = this.convertStarToPath))
: (this.convertToPath = this.convertPolygonToPath),
(this.pt = PropertyFactory.getProp(e, t.pt, 0, 0, this)),
(this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
(this.r = PropertyFactory.getProp(e, t.r, 0, degToRads, this)),
(this.or = PropertyFactory.getProp(e, t.or, 0, 0, this)),
(this.os = PropertyFactory.getProp(e, t.os, 0, 0.01, this)),
(this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
this.localShapeCollection.addShape(this.v),
(this.paths = this.localShapeCollection),
this.dynamicProperties.length
? (this.k = !0)
: ((this.k = !1), this.convertToPath())
}
return (
(e.prototype = {
reset: r,
getValue: function () {
this.elem.globalData.frameId !== this.frameId &&
((this.frameId = this.elem.globalData.frameId),
this.iterateDynamicProperties(),
this._mdf && this.convertToPath())
},
convertStarToPath: function () {
var e,
t,
n,
r,
a = 2 * Math.floor(this.pt.v),
o = (2 * Math.PI) / a,
i = !0,
s = this.or.v,
l = this.ir.v,
c = this.os.v,
u = this.is.v,
p = (2 * Math.PI * s) / (2 * a),
d = (2 * Math.PI * l) / (2 * a),
f = -Math.PI / 2
f += this.r.v
var h = 3 === this.data.d ? -1 : 1
for (this.v._length = 0, e = 0; e < a; e += 1) {
;(n = i ? c : u), (r = i ? p : d)
var v = (t = i ? s : l) * Math.cos(f),
m = t * Math.sin(f),
g = 0 === v && 0 === m ? 0 : m / Math.sqrt(v * v + m * m),
y = 0 === v && 0 === m ? 0 : -v / Math.sqrt(v * v + m * m)
;(v += +this.p.v[0]),
(m += +this.p.v[1]),
this.v.setTripleAt(
v,
m,
v - g * r * n * h,
m - y * r * n * h,
v + g * r * n * h,
m + y * r * n * h,
e,
!0
),
(i = !i),
(f += o * h)
}
},
convertPolygonToPath: function () {
var e,
t = Math.floor(this.pt.v),
n = (2 * Math.PI) / t,
r = this.or.v,
a = this.os.v,
o = (2 * Math.PI * r) / (4 * t),
i = 0.5 * -Math.PI,
s = 3 === this.data.d ? -1 : 1
for (i += this.r.v, this.v._length = 0, e = 0; e < t; e += 1) {
var l = r * Math.cos(i),
c = r * Math.sin(i),
u = 0 === l && 0 === c ? 0 : c / Math.sqrt(l * l + c * c),
p = 0 === l && 0 === c ? 0 : -l / Math.sqrt(l * l + c * c)
;(l += +this.p.v[0]),
(c += +this.p.v[1]),
this.v.setTripleAt(
l,
c,
l - u * o * a * s,
c - p * o * a * s,
l + u * o * a * s,
c + p * o * a * s,
e,
!0
),
(i += n * s)
}
;(this.paths.length = 0), (this.paths[0] = this.v)
}
}),
extendPrototype([DynamicPropertyContainer], e),
e
)
})(),
p = (function () {
function e(e, t) {
;(this.v = shapePool.newElement()),
(this.v.c = !0),
(this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
this.localShapeCollection.addShape(this.v),
(this.paths = this.localShapeCollection),
(this.elem = e),
(this.comp = e.comp),
(this.frameId = -1),
(this.d = t.d),
this.initDynamicPropertyContainer(e),
(this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
(this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
(this.r = PropertyFactory.getProp(e, t.r, 0, 0, this)),
this.dynamicProperties.length
? (this.k = !0)
: ((this.k = !1), this.convertRectToPath())
}
return (
(e.prototype = {
convertRectToPath: function () {
var e = this.p.v[0],
t = this.p.v[1],
n = this.s.v[0] / 2,
r = this.s.v[1] / 2,
a = bmMin(n, r, this.r.v),
o = a * (1 - roundCorner)
;(this.v._length = 0),
2 === this.d || 1 === this.d
? (this.v.setTripleAt(
e + n,
t - r + a,
e + n,
t - r + a,
e + n,
t - r + o,
0,
!0
),
this.v.setTripleAt(
e + n,
t + r - a,
e + n,
t + r - o,
e + n,
t + r - a,
1,
!0
),
0 !== a
? (this.v.setTripleAt(
e + n - a,
t + r,
e + n - a,
t + r,
e + n - o,
t + r,
2,
!0
),
this.v.setTripleAt(
e - n + a,
t + r,
e - n + o,
t + r,
e - n + a,
t + r,
3,
!0
),
this.v.setTripleAt(
e - n,
t + r - a,
e - n,
t + r - a,
e - n,
t + r - o,
4,
!0
),
this.v.setTripleAt(
e - n,
t - r + a,
e - n,
t - r + o,
e - n,
t - r + a,
5,
!0
),
this.v.setTripleAt(
e - n + a,
t - r,
e - n + a,
t - r,
e - n + o,
t - r,
6,
!0
),
this.v.setTripleAt(
e + n - a,
t - r,
e + n - o,
t - r,
e + n - a,
t - r,
7,
!0
))
: (this.v.setTripleAt(
e - n,
t + r,
e - n + o,
t + r,
e - n,
t + r,
2
),
this.v.setTripleAt(
e - n,
t - r,
e - n,
t - r + o,
e - n,
t - r,
3
)))
: (this.v.setTripleAt(
e + n,
t - r + a,
e + n,
t - r + o,
e + n,
t - r + a,
0,
!0
),
0 !== a
? (this.v.setTripleAt(
e + n - a,
t - r,
e + n - a,
t - r,
e + n - o,
t - r,
1,
!0
),
this.v.setTripleAt(
e - n + a,
t - r,
e - n + o,
t - r,
e - n + a,
t - r,
2,
!0
),
this.v.setTripleAt(
e - n,
t - r + a,
e - n,
t - r + a,
e - n,
t - r + o,
3,
!0
),
this.v.setTripleAt(
e - n,
t + r - a,
e - n,
t + r - o,
e - n,
t + r - a,
4,
!0
),
this.v.setTripleAt(
e - n + a,
t + r,
e - n + a,
t + r,
e - n + o,
t + r,
5,
!0
),
this.v.setTripleAt(
e + n - a,
t + r,
e + n - o,
t + r,
e + n - a,
t + r,
6,
!0
),
this.v.setTripleAt(
e + n,
t + r - a,
e + n,
t + r - a,
e + n,
t + r - o,
7,
!0
))
: (this.v.setTripleAt(
e - n,
t - r,
e - n + o,
t - r,
e - n,
t - r,
1,
!0
),
this.v.setTripleAt(
e - n,
t + r,
e - n,
t + r - o,
e - n,
t + r,
2,
!0
),
this.v.setTripleAt(
e + n,
t + r,
e + n - o,
t + r,
e + n,
t + r,
3,
!0
)))
},
getValue: function () {
this.elem.globalData.frameId !== this.frameId &&
((this.frameId = this.elem.globalData.frameId),
this.iterateDynamicProperties(),
this._mdf && this.convertRectToPath())
},
reset: r
}),
extendPrototype([DynamicPropertyContainer], e),
e
)
})(),
d = {
getShapeProp: function (e, t, n) {
var r
return (
3 === n || 4 === n
? (r = (3 === n ? t.pt : t.ks).k.length
? new l(e, t, n)
: new i(e, t, n))
: 5 === n
? (r = new p(e, t))
: 6 === n
? (r = new c(e, t))
: 7 === n && (r = new u(e, t)),
r.k && e.addDynamicProperty(r),
r
)
},
getConstructorFunction: function () {
return i
},
getKeyframedConstructorFunction: function () {
return l
}
}
return d
})(),
Matrix = (function () {
var e = Math.cos,
t = Math.sin,
n = Math.tan,
r = Math.round
function a() {
return (
(this.props[0] = 1),
(this.props[1] = 0),
(this.props[2] = 0),
(this.props[3] = 0),
(this.props[4] = 0),
(this.props[5] = 1),
(this.props[6] = 0),
(this.props[7] = 0),
(this.props[8] = 0),
(this.props[9] = 0),
(this.props[10] = 1),
(this.props[11] = 0),
(this.props[12] = 0),
(this.props[13] = 0),
(this.props[14] = 0),
(this.props[15] = 1),
this
)
}
function o(n) {
if (0 === n) return this
var r = e(n),
a = t(n)
return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
}
function i(n) {
if (0 === n) return this
var r = e(n),
a = t(n)
return this._t(1, 0, 0, 0, 0, r, -a, 0, 0, a, r, 0, 0, 0, 0, 1)
}
function s(n) {
if (0 === n) return this
var r = e(n),
a = t(n)
return this._t(r, 0, a, 0, 0, 1, 0, 0, -a, 0, r, 0, 0, 0, 0, 1)
}
function l(n) {
if (0 === n) return this
var r = e(n),
a = t(n)
return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
}
function c(e, t) {
return this._t(1, t, e, 1, 0, 0)
}
function u(e, t) {
return this.shear(n(e), n(t))
}
function p(r, a) {
var o = e(a),
i = t(a)
return this._t(o, i, 0, 0, -i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
._t(1, 0, 0, 0, n(r), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
._t(o, -i, 0, 0, i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
}
function d(e, t, n) {
return (
n || 0 === n || (n = 1),
1 === e && 1 === t && 1 === n
? this
: this._t(e, 0, 0, 0, 0, t, 0, 0, 0, 0, n, 0, 0, 0, 0, 1)
)
}
function f(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
return (
(this.props[0] = e),
(this.props[1] = t),
(this.props[2] = n),
(this.props[3] = r),
(this.props[4] = a),
(this.props[5] = o),
(this.props[6] = i),
(this.props[7] = s),
(this.props[8] = l),
(this.props[9] = c),
(this.props[10] = u),
(this.props[11] = p),
(this.props[12] = d),
(this.props[13] = f),
(this.props[14] = h),
(this.props[15] = v),
this
)
}
function h(e, t, n) {
return (
(n = n || 0),
0 !== e || 0 !== t || 0 !== n
? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e, t, n, 1)
: this
)
}
function v(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
var m = this.props
if (
1 === e &&
0 === t &&
0 === n &&
0 === r &&
0 === a &&
1 === o &&
0 === i &&
0 === s &&
0 === l &&
0 === c &&
1 === u &&
0 === p
)
return (
(m[12] = m[12] * e + m[15] * d),
(m[13] = m[13] * o + m[15] * f),
(m[14] = m[14] * u + m[15] * h),
(m[15] *= v),
(this._identityCalculated = !1),
this
)
var g = m[0],
y = m[1],
b = m[2],
_ = m[3],
A = m[4],
x = m[5],
w = m[6],
k = m[7],
S = m[8],
E = m[9],
P = m[10],
C = m[11],
T = m[12],
I = m[13],
M = m[14],
R = m[15]
return (
(m[0] = g * e + y * a + b * l + _ * d),
(m[1] = g * t + y * o + b * c + _ * f),
(m[2] = g * n + y * i + b * u + _ * h),
(m[3] = g * r + y * s + b * p + _ * v),
(m[4] = A * e + x * a + w * l + k * d),
(m[5] = A * t + x * o + w * c + k * f),
(m[6] = A * n + x * i + w * u + k * h),
(m[7] = A * r + x * s + w * p + k * v),
(m[8] = S * e + E * a + P * l + C * d),
(m[9] = S * t + E * o + P * c + C * f),
(m[10] = S * n + E * i + P * u + C * h),
(m[11] = S * r + E * s + P * p + C * v),
(m[12] = T * e + I * a + M * l + R * d),
(m[13] = T * t + I * o + M * c + R * f),
(m[14] = T * n + I * i + M * u + R * h),
(m[15] = T * r + I * s + M * p + R * v),
(this._identityCalculated = !1),
this
)
}
function m() {
return (
this._identityCalculated ||
((this._identity = !(
1 !== this.props[0] ||
0 !== this.props[1] ||
0 !== this.props[2] ||
0 !== this.props[3] ||
0 !== this.props[4] ||
1 !== this.props[5] ||
0 !== this.props[6] ||
0 !== this.props[7] ||
0 !== this.props[8] ||
0 !== this.props[9] ||
1 !== this.props[10] ||
0 !== this.props[11] ||
0 !== this.props[12] ||
0 !== this.props[13] ||
0 !== this.props[14] ||
1 !== this.props[15]
)),
(this._identityCalculated = !0)),
this._identity
)
}
function g(e) {
for (var t = 0; t < 16; ) {
if (e.props[t] !== this.props[t]) return !1
t += 1
}
return !0
}
function y(e) {
var t
for (t = 0; t < 16; t += 1) e.props[t] = this.props[t]
return e
}
function b(e) {
var t
for (t = 0; t < 16; t += 1) this.props[t] = e[t]
}
function _(e, t, n) {
return {
x:
e * this.props[0] +
t * this.props[4] +
n * this.props[8] +
this.props[12],
y:
e * this.props[1] +
t * this.props[5] +
n * this.props[9] +
this.props[13],
z:
e * this.props[2] +
t * this.props[6] +
n * this.props[10] +
this.props[14]
}
}
function A(e, t, n) {
return (
e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12]
)
}
function x(e, t, n) {
return (
e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13]
)
}
function w(e, t, n) {
return (
e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14]
)
}
function k() {
var e = this.props[0] * this.props[5] - this.props[1] * this.props[4],
t = this.props[5] / e,
n = -this.props[1] / e,
r = -this.props[4] / e,
a = this.props[0] / e,
o = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e,
i = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e,
s = new Matrix()
return (
(s.props[0] = t),
(s.props[1] = n),
(s.props[4] = r),
(s.props[5] = a),
(s.props[12] = o),
(s.props[13] = i),
s
)
}
function S(e) {
return this.getInverseMatrix().applyToPointArray(e[0], e[1], e[2] || 0)
}
function E(e) {
var t,
n = e.length,
r = []
for (t = 0; t < n; t += 1) r[t] = S(e[t])
return r
}
function P(e, t, n) {
var r = createTypedArray('float32', 6)
if (this.isIdentity())
(r[0] = e[0]),
(r[1] = e[1]),
(r[2] = t[0]),
(r[3] = t[1]),
(r[4] = n[0]),
(r[5] = n[1])
else {
var a = this.props[0],
o = this.props[1],
i = this.props[4],
s = this.props[5],
l = this.props[12],
c = this.props[13]
;(r[0] = e[0] * a + e[1] * i + l),
(r[1] = e[0] * o + e[1] * s + c),
(r[2] = t[0] * a + t[1] * i + l),
(r[3] = t[0] * o + t[1] * s + c),
(r[4] = n[0] * a + n[1] * i + l),
(r[5] = n[0] * o + n[1] * s + c)
}
return r
}
function C(e, t, n) {
return this.isIdentity()
? [e, t, n]
: [
e * this.props[0] +
t * this.props[4] +
n * this.props[8] +
this.props[12],
e * this.props[1] +
t * this.props[5] +
n * this.props[9] +
this.props[13],
e * this.props[2] +
t * this.props[6] +
n * this.props[10] +
this.props[14]
]
}
function T(e, t) {
if (this.isIdentity()) return e + ',' + t
var n = this.props
return (
Math.round(100 * (e * n[0] + t * n[4] + n[12])) / 100 +
',' +
Math.round(100 * (e * n[1] + t * n[5] + n[13])) / 100
)
}
function I() {
for (var e = 0, t = this.props, n = 'matrix3d('; e < 16; )
(n += r(1e4 * t[e]) / 1e4), (n += 15 === e ? ')' : ','), (e += 1)
return n
}
function M(e) {
return (e < 1e-6 && e > 0) || (e > -1e-6 && e < 0) ? r(1e4 * e) / 1e4 : e
}
function R() {
var e = this.props
return (
'matrix(' +
M(e[0]) +
',' +
M(e[1]) +
',' +
M(e[4]) +
',' +
M(e[5]) +
',' +
M(e[12]) +
',' +
M(e[13]) +
')'
)
}
return function () {
;(this.reset = a),
(this.rotate = o),
(this.rotateX = i),
(this.rotateY = s),
(this.rotateZ = l),
(this.skew = u),
(this.skewFromAxis = p),
(this.shear = c),
(this.scale = d),
(this.setTransform = f),
(this.translate = h),
(this.transform = v),
(this.applyToPoint = _),
(this.applyToX = A),
(this.applyToY = x),
(this.applyToZ = w),
(this.applyToPointArray = C),
(this.applyToTriplePoints = P),
(this.applyToPointStringified = T),
(this.toCSS = I),
(this.to2dCSS = R),
(this.clone = y),
(this.cloneFromProps = b),
(this.equals = g),
(this.inversePoints = E),
(this.inversePoint = S),
(this.getInverseMatrix = k),
(this._t = this.transform),
(this.isIdentity = m),
(this._identity = !0),
(this._identityCalculated = !1),
(this.props = createTypedArray('float32', 16)),
this.reset()
}
})()
function _typeof$3(e) {
return (
(_typeof$3 =
'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
}),
_typeof$3(e)
)
}
var lottie = {}
function setLocation(e) {
setLocationHref(e)
}
function searchAnimations() {
animationManager.searchAnimations()
}
function setSubframeRendering(e) {
setSubframeEnabled(e)
}
function setPrefix(e) {
setIdPrefix(e)
}
function loadAnimation(e) {
return animationManager.loadAnimation(e)
}
function setQuality(e) {
if ('string' == typeof e)
switch (e) {
case 'high':
setDefaultCurveSegments(200)
break
default:
case 'medium':
setDefaultCurveSegments(50)
break
case 'low':
setDefaultCurveSegments(10)
}
else !isNaN(e) && e > 1 && setDefaultCurveSegments(e)
}
function inBrowser() {
return 'undefined' != typeof navigator
}
function installPlugin(e, t) {
'expressions' === e && setExpressionsPlugin(t)
}
function getFactory(e) {
switch (e) {
case 'propertyFactory':
return PropertyFactory
case 'shapePropertyFactory':
return ShapePropertyFactory
case 'matrix':
return Matrix
default:
return null
}
}
function checkReady() {
'complete' === document.readyState &&
(clearInterval(readyStateCheckInterval), searchAnimations())
}
function getQueryVariable(e) {
for (var t = queryString.split('&'), n = 0; n < t.length; n += 1) {
var r = t[n].split('=')
if (decodeURIComponent(r[0]) == e) return decodeURIComponent(r[1])
}
return null
}
;(lottie.play = animationManager.play),
(lottie.pause = animationManager.pause),
(lottie.setLocationHref = setLocation),
(lottie.togglePause = animationManager.togglePause),
(lottie.setSpeed = animationManager.setSpeed),
(lottie.setDirection = animationManager.setDirection),
(lottie.stop = animationManager.stop),
(lottie.searchAnimations = searchAnimations),
(lottie.registerAnimation = animationManager.registerAnimation),
(lottie.loadAnimation = loadAnimation),
(lottie.setSubframeRendering = setSubframeRendering),
(lottie.resize = animationManager.resize),
(lottie.goToAndStop = animationManager.goToAndStop),
(lottie.destroy = animationManager.destroy),
(lottie.setQuality = setQuality),
(lottie.inBrowser = inBrowser),
(lottie.installPlugin = installPlugin),
(lottie.freeze = animationManager.freeze),
(lottie.unfreeze = animationManager.unfreeze),
(lottie.setVolume = animationManager.setVolume),
(lottie.mute = animationManager.mute),
(lottie.unmute = animationManager.unmute),
(lottie.getRegisteredAnimations = animationManager.getRegisteredAnimations),
(lottie.useWebWorker = setWebWorker),
(lottie.setIDPrefix = setPrefix),
(lottie.__getFactory = getFactory),
(lottie.version = '5.9.6')
var queryString = '',
scripts = document.getElementsByTagName('script'),
index = scripts.length - 1,
myScript = scripts[index] || { src: '' }
;(queryString = myScript.src ? myScript.src.replace(/^[^\?]+\??/, '') : ''),
getQueryVariable('renderer')
var readyStateCheckInterval = setInterval(checkReady, 100)
try {
'object' !== _typeof$3(exports$1) && (window.bodymovin = lottie)
} catch (err) {}
var ShapeModifiers = (function () {
var e = {},
t = {}
return (
(e.registerModifier = function (e, n) {
t[e] || (t[e] = n)
}),
(e.getModifier = function (e, n, r) {
return new t[e](n, r)
}),
e
)
})()
function ShapeModifier() {}
function TrimModifier() {}
function PuckerAndBloatModifier() {}
;(ShapeModifier.prototype.initModifierProperties = function () {}),
(ShapeModifier.prototype.addShapeToModifier = function () {}),
(ShapeModifier.prototype.addShape = function (e) {
if (!this.closed) {
e.sh.container.addDynamicProperty(e.sh)
var t = {
shape: e.sh,
data: e,
localShapeCollection: shapeCollectionPool.newShapeCollection()
}
this.shapes.push(t),
this.addShapeToModifier(t),
this._isAnimated && e.setAsAnimated()
}
}),
(ShapeModifier.prototype.init = function (e, t) {
;(this.shapes = []),
(this.elem = e),
this.initDynamicPropertyContainer(e),
this.initModifierProperties(e, t),
(this.frameId = initialDefaultFrame),
(this.closed = !1),
(this.k = !1),
this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
}),
(ShapeModifier.prototype.processKeys = function () {
this.elem.globalData.frameId !== this.frameId &&
((this.frameId = this.elem.globalData.frameId),
this.iterateDynamicProperties())
}),
extendPrototype([DynamicPropertyContainer], ShapeModifier),
extendPrototype([ShapeModifier], TrimModifier),
(TrimModifier.prototype.initModifierProperties = function (e, t) {
;(this.s = PropertyFactory.getProp(e, t.s, 0, 0.01, this)),
(this.e = PropertyFactory.getProp(e, t.e, 0, 0.01, this)),
(this.o = PropertyFactory.getProp(e, t.o, 0, 0, this)),
(this.sValue = 0),
(this.eValue = 0),
(this.getValue = this.processKeys),
(this.m = t.m),
(this._isAnimated =
!!this.s.effectsSequence.length ||
!!this.e.effectsSequence.length ||
!!this.o.effectsSequence.length)
}),
(TrimModifier.prototype.addShapeToModifier = function (e) {
e.pathsData = []
}),
(TrimModifier.prototype.calculateShapeEdges = function (e, t, n, r, a) {
var o = []
t <= 1
? o.push({ s: e, e: t })
: e >= 1
? o.push({ s: e - 1, e: t - 1 })
: (o.push({ s: e, e: 1 }), o.push({ s: 0, e: t - 1 }))
var i,
s,
l = [],
c = o.length
for (i = 0; i < c; i += 1) {
var u, p
;(s = o[i]).e * a < r ||
s.s * a > r + n ||
((u = s.s * a <= r ? 0 : (s.s * a - r) / n),
(p = s.e * a >= r + n ? 1 : (s.e * a - r) / n),
l.push([u, p]))
}
return l.length || l.push([0, 0]), l
}),
(TrimModifier.prototype.releasePathsData = function (e) {
var t,
n = e.length
for (t = 0; t < n; t += 1) segmentsLengthPool.release(e[t])
return (e.length = 0), e
}),
(TrimModifier.prototype.processShapes = function (e) {
var t, n, r, a
if (this._mdf || e) {
var o = (this.o.v % 360) / 360
if (
(o < 0 && (o += 1),
(t = this.s.v > 1 ? 1 + o : this.s.v < 0 ? 0 + o : this.s.v + o) >
(n = this.e.v > 1 ? 1 + o : this.e.v < 0 ? 0 + o : this.e.v + o))
) {
var i = t
;(t = n), (n = i)
}
;(t = 1e-4 * Math.round(1e4 * t)),
(n = 1e-4 * Math.round(1e4 * n)),
(this.sValue = t),
(this.eValue = n)
} else (t = this.sValue), (n = this.eValue)
var s,
l,
c,
u,
p,
d = this.shapes.length,
f = 0
if (n === t)
for (a = 0; a < d; a += 1)
this.shapes[a].localShapeCollection.releaseShapes(),
(this.shapes[a].shape._mdf = !0),
(this.shapes[a].shape.paths = this.shapes[a].localShapeCollection),
this._mdf && (this.shapes[a].pathsData.length = 0)
else if ((1 === n && 0 === t) || (0 === n && 1 === t)) {
if (this._mdf)
for (a = 0; a < d; a += 1)
(this.shapes[a].pathsData.length = 0), (this.shapes[a].shape._mdf = !0)
} else {
var h,
v,
m = []
for (a = 0; a < d; a += 1)
if ((h = this.shapes[a]).shape._mdf || this._mdf || e || 2 === this.m) {
if (
((l = (r = h.shape.paths)._length),
(p = 0),
!h.shape._mdf && h.pathsData.length)
)
p = h.totalShapeLength
else {
for (c = this.releasePathsData(h.pathsData), s = 0; s < l; s += 1)
(u = bez.getSegmentsLength(r.shapes[s])),
c.push(u),
(p += u.totalLength)
;(h.totalShapeLength = p), (h.pathsData = c)
}
;(f += p), (h.shape._mdf = !0)
} else h.shape.paths = h.localShapeCollection
var g,
y = t,
b = n,
_ = 0
for (a = d - 1; a >= 0; a -= 1)
if ((h = this.shapes[a]).shape._mdf) {
for (
(v = h.localShapeCollection).releaseShapes(),
2 === this.m && d > 1
? ((g = this.calculateShapeEdges(t, n, h.totalShapeLength, _, f)),
(_ += h.totalShapeLength))
: (g = [[y, b]]),
l = g.length,
s = 0;
s < l;
s += 1
) {
;(y = g[s][0]),
(b = g[s][1]),
(m.length = 0),
b <= 1
? m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength * b })
: y >= 1
? m.push({
s: h.totalShapeLength * (y - 1),
e: h.totalShapeLength * (b - 1)
})
: (m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength }),
m.push({ s: 0, e: h.totalShapeLength * (b - 1) }))
var A = this.addShapes(h, m[0])
if (m[0].s !== m[0].e) {
if (m.length > 1)
if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
var x = A.pop()
this.addPaths(A, v), (A = this.addShapes(h, m[1], x))
} else this.addPaths(A, v), (A = this.addShapes(h, m[1]))
this.addPaths(A, v)
}
}
h.shape.paths = v
}
}
}),
(TrimModifier.prototype.addPaths = function (e, t) {
var n,
r = e.length
for (n = 0; n < r; n += 1) t.addShape(e[n])
}),
(TrimModifier.prototype.addSegment = function (e, t, n, r, a, o, i) {
a.setXYAt(t[0], t[1], 'o', o),
a.setXYAt(n[0], n[1], 'i', o + 1),
i && a.setXYAt(e[0], e[1], 'v', o),
a.setXYAt(r[0], r[1], 'v', o + 1)
}),
(TrimModifier.prototype.addSegmentFromArray = function (e, t, n, r) {
t.setXYAt(e[1], e[5], 'o', n),
t.setXYAt(e[2], e[6], 'i', n + 1),
r && t.setXYAt(e[0], e[4], 'v', n),
t.setXYAt(e[3], e[7], 'v', n + 1)
}),
(TrimModifier.prototype.addShapes = function (e, t, n) {
var r,
a,
o,
i,
s,
l,
c,
u,
p = e.pathsData,
d = e.shape.paths.shapes,
f = e.shape.paths._length,
h = 0,
v = [],
m = !0
for (
n
? ((s = n._length), (u = n._length))
: ((n = shapePool.newElement()), (s = 0), (u = 0)),
v.push(n),
r = 0;
r < f;
r += 1
) {
for (
l = p[r].lengths, n.c = d[r].c, o = d[r].c ? l.length : l.length + 1, a = 1;
a < o;
a += 1
)
if (h + (i = l[a - 1]).addedLength < t.s) (h += i.addedLength), (n.c = !1)
else {
if (h > t.e) {
n.c = !1
break
}
t.s <= h && t.e >= h + i.addedLength
? (this.addSegment(
d[r].v[a - 1],
d[r].o[a - 1],
d[r].i[a],
d[r].v[a],
n,
s,
m
),
(m = !1))
: ((c = bez.getNewSegment(
d[r].v[a - 1],
d[r].v[a],
d[r].o[a - 1],
d[r].i[a],
(t.s - h) / i.addedLength,
(t.e - h) / i.addedLength,
l[a - 1]
)),
this.addSegmentFromArray(c, n, s, m),
(m = !1),
(n.c = !1)),
(h += i.addedLength),
(s += 1)
}
if (d[r].c && l.length) {
if (((i = l[a - 1]), h <= t.e)) {
var g = l[a - 1].addedLength
t.s <= h && t.e >= h + g
? (this.addSegment(
d[r].v[a - 1],
d[r].o[a - 1],
d[r].i[0],
d[r].v[0],
n,
s,
m
),
(m = !1))
: ((c = bez.getNewSegment(
d[r].v[a - 1],
d[r].v[0],
d[r].o[a - 1],
d[r].i[0],
(t.s - h) / g,
(t.e - h) / g,
l[a - 1]
)),
this.addSegmentFromArray(c, n, s, m),
(m = !1),
(n.c = !1))
} else n.c = !1
;(h += i.addedLength), (s += 1)
}
if (
(n._length &&
(n.setXYAt(n.v[u][0], n.v[u][1], 'i', u),
n.setXYAt(
n.v[n._length - 1][0],
n.v[n._length - 1][1],
'o',
n._length - 1
)),
h > t.e)
)
break
r < f - 1 && ((n = shapePool.newElement()), (m = !0), v.push(n), (s = 0))
}
return v
}),
extendPrototype([ShapeModifier], PuckerAndBloatModifier),
(PuckerAndBloatModifier.prototype.initModifierProperties = function (e, t) {
;(this.getValue = this.processKeys),
(this.amount = PropertyFactory.getProp(e, t.a, 0, null, this)),
(this._isAnimated = !!this.amount.effectsSequence.length)
}),
(PuckerAndBloatModifier.prototype.processPath = function (e, t) {
var n = t / 100,
r = [0, 0],
a = e._length,
o = 0
for (o = 0; o < a; o += 1) (r[0] += e.v[o][0]), (r[1] += e.v[o][1])
;(r[0] /= a), (r[1] /= a)
var i,
s,
l,
c,
u,
p,
d = shapePool.newElement()
for (d.c = e.c, o = 0; o < a; o += 1)
(i = e.v[o][0] + (r[0] - e.v[o][0]) * n),
(s = e.v[o][1] + (r[1] - e.v[o][1]) * n),
(l = e.o[o][0] + (r[0] - e.o[o][0]) * -n),
(c = e.o[o][1] + (r[1] - e.o[o][1]) * -n),
(u = e.i[o][0] + (r[0] - e.i[o][0]) * -n),
(p = e.i[o][1] + (r[1] - e.i[o][1]) * -n),
d.setTripleAt(i, s, l, c, u, p, o)
return d
}),
(PuckerAndBloatModifier.prototype.processShapes = function (e) {
var t,
n,
r,
a,
o,
i,
s = this.shapes.length,
l = this.amount.v
if (0 !== l)
for (n = 0; n < s; n += 1) {
if (
((i = (o = this.shapes[n]).localShapeCollection),
o.shape._mdf || this._mdf || e)
)
for (
i.releaseShapes(),
o.shape._mdf = !0,
t = o.shape.paths.shapes,
a = o.shape.paths._length,
r = 0;
r < a;
r += 1
)
i.addShape(this.processPath(t[r], l))
o.shape.paths = o.localShapeCollection
}
this.dynamicProperties.length || (this._mdf = !1)
})
var TransformPropertyFactory = (function () {
var e = [0, 0]
function t(e, t, n) {
if (
((this.elem = e),
(this.frameId = -1),
(this.propType = 'transform'),
(this.data = t),
(this.v = new Matrix()),
(this.pre = new Matrix()),
(this.appliedTransformations = 0),
this.initDynamicPropertyContainer(n || e),
t.p && t.p.s
? ((this.px = PropertyFactory.getProp(e, t.p.x, 0, 0, this)),
(this.py = PropertyFactory.getProp(e, t.p.y, 0, 0, this)),
t.p.z && (this.pz = PropertyFactory.getProp(e, t.p.z, 0, 0, this)))
: (this.p = PropertyFactory.getProp(
e,
t.p || { k: [0, 0, 0] },
1,
0,
this
)),
t.rx)
) {
if (
((this.rx = PropertyFactory.getProp(e, t.rx, 0, degToRads, this)),
(this.ry = PropertyFactory.getProp(e, t.ry, 0, degToRads, this)),
(this.rz = PropertyFactory.getProp(e, t.rz, 0, degToRads, this)),
t.or.k[0].ti)
) {
var r,
a = t.or.k.length
for (r = 0; r < a; r += 1) (t.or.k[r].to = null), (t.or.k[r].ti = null)
}
;(this.or = PropertyFactory.getProp(e, t.or, 1, degToRads, this)),
(this.or.sh = !0)
} else this.r = PropertyFactory.getProp(e, t.r || { k: 0 }, 0, degToRads, this)
t.sk &&
((this.sk = PropertyFactory.getProp(e, t.sk, 0, degToRads, this)),
(this.sa = PropertyFactory.getProp(e, t.sa, 0, degToRads, this))),
(this.a = PropertyFactory.getProp(e, t.a || { k: [0, 0, 0] }, 1, 0, this)),
(this.s = PropertyFactory.getProp(
e,
t.s || { k: [100, 100, 100] },
1,
0.01,
this
)),
t.o
? (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, e))
: (this.o = { _mdf: !1, v: 1 }),
(this._isDirty = !0),
this.dynamicProperties.length || this.getValue(!0)
}
return (
(t.prototype = {
applyToMatrix: function (e) {
var t = this._mdf
this.iterateDynamicProperties(),
(this._mdf = this._mdf || t),
this.a && e.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
this.s && e.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
this.sk && e.skewFromAxis(-this.sk.v, this.sa.v),
this.r
? e.rotate(-this.r.v)
: e
.rotateZ(-this.rz.v)
.rotateY(this.ry.v)
.rotateX(this.rx.v)
.rotateZ(-this.or.v[2])
.rotateY(this.or.v[1])
.rotateX(this.or.v[0]),
this.data.p.s
? this.data.p.z
? e.translate(this.px.v, this.py.v, -this.pz.v)
: e.translate(this.px.v, this.py.v, 0)
: e.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
},
getValue: function (t) {
if (this.elem.globalData.frameId !== this.frameId) {
if (
(this._isDirty && (this.precalculateMatrix(), (this._isDirty = !1)),
this.iterateDynamicProperties(),
this._mdf || t)
) {
var n
if (
(this.v.cloneFromProps(this.pre.props),
this.appliedTransformations < 1 &&
this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
this.appliedTransformations < 2 &&
this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
this.sk &&
this.appliedTransformations < 3 &&
this.v.skewFromAxis(-this.sk.v, this.sa.v),
this.r && this.appliedTransformations < 4
? this.v.rotate(-this.r.v)
: !this.r &&
this.appliedTransformations < 4 &&
this.v
.rotateZ(-this.rz.v)
.rotateY(this.ry.v)
.rotateX(this.rx.v)
.rotateZ(-this.or.v[2])
.rotateY(this.or.v[1])
.rotateX(this.or.v[0]),
this.autoOriented)
) {
var r, a
if (
((n = this.elem.globalData.frameRate),
this.p && this.p.keyframes && this.p.getValueAtTime)
)
this.p._caching.lastFrame + this.p.offsetTime <=
this.p.keyframes[0].t
? ((r = this.p.getValueAtTime(
(this.p.keyframes[0].t + 0.01) / n,
0
)),
(a = this.p.getValueAtTime(this.p.keyframes[0].t / n, 0)))
: this.p._caching.lastFrame + this.p.offsetTime >=
this.p.keyframes[this.p.keyframes.length - 1].t
? ((r = this.p.getValueAtTime(
this.p.keyframes[this.p.keyframes.length - 1].t / n,
0
)),
(a = this.p.getValueAtTime(
(this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / n,
0
)))
: ((r = this.p.pv),
(a = this.p.getValueAtTime(
(this.p._caching.lastFrame + this.p.offsetTime - 0.01) / n,
this.p.offsetTime
)))
else if (
this.px &&
this.px.keyframes &&
this.py.keyframes &&
this.px.getValueAtTime &&
this.py.getValueAtTime
) {
;(r = []), (a = [])
var o = this.px,
i = this.py
o._caching.lastFrame + o.offsetTime <= o.keyframes[0].t
? ((r[0] = o.getValueAtTime((o.keyframes[0].t + 0.01) / n, 0)),
(r[1] = i.getValueAtTime((i.keyframes[0].t + 0.01) / n, 0)),
(a[0] = o.getValueAtTime(o.keyframes[0].t / n, 0)),
(a[1] = i.getValueAtTime(i.keyframes[0].t / n, 0)))
: o._caching.lastFrame + o.offsetTime >=
o.keyframes[o.keyframes.length - 1].t
? ((r[0] = o.getValueAtTime(
o.keyframes[o.keyframes.length - 1].t / n,
0
)),
(r[1] = i.getValueAtTime(
i.keyframes[i.keyframes.length - 1].t / n,
0
)),
(a[0] = o.getValueAtTime(
(o.keyframes[o.keyframes.length - 1].t - 0.01) / n,
0
)),
(a[1] = i.getValueAtTime(
(i.keyframes[i.keyframes.length - 1].t - 0.01) / n,
0
)))
: ((r = [o.pv, i.pv]),
(a[0] = o.getValueAtTime(
(o._caching.lastFrame + o.offsetTime - 0.01) / n,
o.offsetTime
)),
(a[1] = i.getValueAtTime(
(i._caching.lastFrame + i.offsetTime - 0.01) / n,
i.offsetTime
)))
} else r = a = e
this.v.rotate(-Math.atan2(r[1] - a[1], r[0] - a[0]))
}
this.data.p && this.data.p.s
? this.data.p.z
? this.v.translate(this.px.v, this.py.v, -this.pz.v)
: this.v.translate(this.px.v, this.py.v, 0)
: this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
}
this.frameId = this.elem.globalData.frameId
}
},
precalculateMatrix: function () {
if (
!this.a.k &&
(this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
(this.appliedTransformations = 1),
!this.s.effectsSequence.length)
) {
if (
(this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
(this.appliedTransformations = 2),
this.sk)
) {
if (this.sk.effectsSequence.length || this.sa.effectsSequence.length)
return
this.pre.skewFromAxis(-this.sk.v, this.sa.v),
(this.appliedTransformations = 3)
}
this.r
? this.r.effectsSequence.length ||
(this.pre.rotate(-this.r.v), (this.appliedTransformations = 4))
: this.rz.effectsSequence.length ||
this.ry.effectsSequence.length ||
this.rx.effectsSequence.length ||
this.or.effectsSequence.length ||
(this.pre
.rotateZ(-this.rz.v)
.rotateY(this.ry.v)
.rotateX(this.rx.v)
.rotateZ(-this.or.v[2])
.rotateY(this.or.v[1])
.rotateX(this.or.v[0]),
(this.appliedTransformations = 4))
}
},
autoOrient: function () {}
}),
extendPrototype([DynamicPropertyContainer], t),
(t.prototype.addDynamicProperty = function (e) {
this._addDynamicProperty(e),
this.elem.addDynamicProperty(e),
(this._isDirty = !0)
}),
(t.prototype._addDynamicProperty =
DynamicPropertyContainer.prototype.addDynamicProperty),
{
getTransformProperty: function (e, n, r) {
return new t(e, n, r)
}
}
)
})()
function RepeaterModifier() {}
function RoundCornersModifier() {}
function getFontProperties(e) {
for (
var t = e.fStyle ? e.fStyle.split(' ') : [],
n = 'normal',
r = 'normal',
a = t.length,
o = 0;
o < a;
o += 1
)
switch (t[o].toLowerCase()) {
case 'italic':
r = 'italic'
break
case 'bold':
n = '700'
break
case 'black':
n = '900'
break
case 'medium':
n = '500'
break
case 'regular':
case 'normal':
n = '400'
break
case 'light':
case 'thin':
n = '200'
}
return { style: r, weight: e.fWeight || n }
}
extendPrototype([ShapeModifier], RepeaterModifier),
(RepeaterModifier.prototype.initModifierProperties = function (e, t) {
;(this.getValue = this.processKeys),
(this.c = PropertyFactory.getProp(e, t.c, 0, null, this)),
(this.o = PropertyFactory.getProp(e, t.o, 0, null, this)),
(this.tr = TransformPropertyFactory.getTransformProperty(e, t.tr, this)),
(this.so = PropertyFactory.getProp(e, t.tr.so, 0, 0.01, this)),
(this.eo = PropertyFactory.getProp(e, t.tr.eo, 0, 0.01, this)),
(this.data = t),
this.dynamicProperties.length || this.getValue(!0),
(this._isAnimated = !!this.dynamicProperties.length),
(this.pMatrix = new Matrix()),
(this.rMatrix = new Matrix()),
(this.sMatrix = new Matrix()),
(this.tMatrix = new Matrix()),
(this.matrix = new Matrix())
}),
(RepeaterModifier.prototype.applyTransforms = function (e, t, n, r, a, o) {
var i = o ? -1 : 1,
s = r.s.v[0] + (1 - r.s.v[0]) * (1 - a),
l = r.s.v[1] + (1 - r.s.v[1]) * (1 - a)
e.translate(r.p.v[0] * i * a, r.p.v[1] * i * a, r.p.v[2]),
t.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
t.rotate(-r.r.v * i * a),
t.translate(r.a.v[0], r.a.v[1], r.a.v[2]),
n.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
n.scale(o ? 1 / s : s, o ? 1 / l : l),
n.translate(r.a.v[0], r.a.v[1], r.a.v[2])
}),
(RepeaterModifier.prototype.init = function (e, t, n, r) {
for (
this.elem = e,
this.arr = t,
this.pos = n,
this.elemsData = r,
this._currentCopies = 0,
this._elements = [],
this._groups = [],
this.frameId = -1,
this.initDynamicPropertyContainer(e),
this.initModifierProperties(e, t[n]);
n > 0;
)
(n -= 1), this._elements.unshift(t[n])
this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
}),
(RepeaterModifier.prototype.resetElements = function (e) {
var t,
n = e.length
for (t = 0; t < n; t += 1)
(e[t]._processed = !1), 'gr' === e[t].ty && this.resetElements(e[t].it)
}),
(RepeaterModifier.prototype.cloneElements = function (e) {
var t = JSON.parse(JSON.stringify(e))
return this.resetElements(t), t
}),
(RepeaterModifier.prototype.changeGroupRender = function (e, t) {
var n,
r = e.length
for (n = 0; n < r; n += 1)
(e[n]._render = t), 'gr' === e[n].ty && this.changeGroupRender(e[n].it, t)
}),
(RepeaterModifier.prototype.processShapes = function (e) {
var t,
n,
r,
a,
o,
i = !1
if (this._mdf || e) {
var s,
l = Math.ceil(this.c.v)
if (this._groups.length < l) {
for (; this._groups.length < l; ) {
var c = { it: this.cloneElements(this._elements), ty: 'gr' }
c.it.push({
a: { a: 0, ix: 1, k: [0, 0] },
nm: 'Transform',
o: { a: 0, ix: 7, k: 100 },
p: { a: 0, ix: 2, k: [0, 0] },
r: {
a: 1,
ix: 6,
k: [
{ s: 0, e: 0, t: 0 },
{ s: 0, e: 0, t: 1 }
]
},
s: { a: 0, ix: 3, k: [100, 100] },
sa: { a: 0, ix: 5, k: 0 },
sk: { a: 0, ix: 4, k: 0 },
ty: 'tr'
}),
this.arr.splice(0, 0, c),
this._groups.splice(0, 0, c),
(this._currentCopies += 1)
}
this.elem.reloadShapes(), (i = !0)
}
for (o = 0, r = 0; r <= this._groups.length - 1; r += 1) {
if (
((s = o < l),
(this._groups[r]._render = s),
this.changeGroupRender(this._groups[r].it, s),
!s)
) {
var u = this.elemsData[r].it,
p = u[u.length - 1]
0 !== p.transform.op.v
? ((p.transform.op._mdf = !0), (p.transform.op.v = 0))
: (p.transform.op._mdf = !1)
}
o += 1
}
this._currentCopies = l
var d = this.o.v,
f = d % 1,
h = d > 0 ? Math.floor(d) : Math.ceil(d),
v = this.pMatrix.props,
m = this.rMatrix.props,
g = this.sMatrix.props
this.pMatrix.reset(),
this.rMatrix.reset(),
this.sMatrix.reset(),
this.tMatrix.reset(),
this.matrix.reset()
var y,
b,
_ = 0
if (d > 0) {
for (; _ < h; )
this.applyTransforms(
this.pMatrix,
this.rMatrix,
this.sMatrix,
this.tr,
1,
!1
),
(_ += 1)
f &&
(this.applyTransforms(
this.pMatrix,
this.rMatrix,
this.sMatrix,
this.tr,
f,
!1
),
(_ += f))
} else if (d < 0) {
for (; _ > h; )
this.applyTransforms(
this.pMatrix,
this.rMatrix,
this.sMatrix,
this.tr,
1,
!0
),
(_ -= 1)
f &&
(this.applyTransforms(
this.pMatrix,
this.rMatrix,
this.sMatrix,
this.tr,
-f,
!0
),
(_ -= f))
}
for (
r = 1 === this.data.m ? 0 : this._currentCopies - 1,
a = 1 === this.data.m ? 1 : -1,
o = this._currentCopies;
o;
) {
if (
((b = (n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v
.props).length),
(t[t.length - 1].transform.mProps._mdf = !0),
(t[t.length - 1].transform.op._mdf = !0),
(t[t.length - 1].transform.op.v =
1 === this._currentCopies
? this.so.v
: this.so.v +
(this.eo.v - this.so.v) * (r / (this._currentCopies - 1))),
0 !== _)
) {
for (
((0 !== r && 1 === a) || (r !== this._currentCopies - 1 && -1 === a)) &&
this.applyTransforms(
this.pMatrix,
this.rMatrix,
this.sMatrix,
this.tr,
1,
!1
),
this.matrix.transform(
m[0],
m[1],
m[2],
m[3],
m[4],
m[5],
m[6],
m[7],
m[8],
m[9],
m[10],
m[11],
m[12],
m[13],
m[14],
m[15]
),
this.matrix.transform(
g[0],
g[1],
g[2],
g[3],
g[4],
g[5],
g[6],
g[7],
g[8],
g[9],
g[10],
g[11],
g[12],
g[13],
g[14],
g[15]
),
this.matrix.transform(
v[0],
v[1],
v[2],
v[3],
v[4],
v[5],
v[6],
v[7],
v[8],
v[9],
v[10],
v[11],
v[12],
v[13],
v[14],
v[15]
),
y = 0;
y < b;
y += 1
)
n[y] = this.matrix.props[y]
this.matrix.reset()
} else
for (this.matrix.reset(), y = 0; y < b; y += 1)
n[y] = this.matrix.props[y]
;(_ += 1), (o -= 1), (r += a)
}
} else
for (o = this._currentCopies, r = 0, a = 1; o; )
(n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v.props),
(t[t.length - 1].transform.mProps._mdf = !1),
(t[t.length - 1].transform.op._mdf = !1),
(o -= 1),
(r += a)
return i
}),
(RepeaterModifier.prototype.addShape = function () {}),
extendPrototype([ShapeModifier], RoundCornersModifier),
(RoundCornersModifier.prototype.initModifierProperties = function (e, t) {
;(this.getValue = this.processKeys),
(this.rd = PropertyFactory.getProp(e, t.r, 0, null, this)),
(this._isAnimated = !!this.rd.effectsSequence.length)
}),
(RoundCornersModifier.prototype.processPath = function (e, t) {
var n,
r = shapePool.newElement()
r.c = e.c
var a,
o,
i,
s,
l,
c,
u,
p,
d,
f,
h,
v,
m = e._length,
g = 0
for (n = 0; n < m; n += 1)
(a = e.v[n]),
(i = e.o[n]),
(o = e.i[n]),
a[0] === i[0] && a[1] === i[1] && a[0] === o[0] && a[1] === o[1]
? (0 !== n && n !== m - 1) || e.c
? ((s = 0 === n ? e.v[m - 1] : e.v[n - 1]),
(c = (l = Math.sqrt(
Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
))
? Math.min(l / 2, t) / l
: 0),
(u = h = a[0] + (s[0] - a[0]) * c),
(p = v = a[1] - (a[1] - s[1]) * c),
(d = u - (u - a[0]) * roundCorner),
(f = p - (p - a[1]) * roundCorner),
r.setTripleAt(u, p, d, f, h, v, g),
(g += 1),
(s = n === m - 1 ? e.v[0] : e.v[n + 1]),
(c = (l = Math.sqrt(
Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
))
? Math.min(l / 2, t) / l
: 0),
(u = d = a[0] + (s[0] - a[0]) * c),
(p = f = a[1] + (s[1] - a[1]) * c),
(h = u - (u - a[0]) * roundCorner),
(v = p - (p - a[1]) * roundCorner),
r.setTripleAt(u, p, d, f, h, v, g),
(g += 1))
: (r.setTripleAt(a[0], a[1], i[0], i[1], o[0], o[1], g), (g += 1))
: (r.setTripleAt(
e.v[n][0],
e.v[n][1],
e.o[n][0],
e.o[n][1],
e.i[n][0],
e.i[n][1],
g
),
(g += 1))
return r
}),
(RoundCornersModifier.prototype.processShapes = function (e) {
var t,
n,
r,
a,
o,
i,
s = this.shapes.length,
l = this.rd.v
if (0 !== l)
for (n = 0; n < s; n += 1) {
if (
((i = (o = this.shapes[n]).localShapeCollection),
o.shape._mdf || this._mdf || e)
)
for (
i.releaseShapes(),
o.shape._mdf = !0,
t = o.shape.paths.shapes,
a = o.shape.paths._length,
r = 0;
r < a;
r += 1
)
i.addShape(this.processPath(t[r], l))
o.shape.paths = o.localShapeCollection
}
this.dynamicProperties.length || (this._mdf = !1)
})
var FontManager = (function () {
var e = { w: 0, size: 0, shapes: [], data: { shapes: [] } },
t = []
t = t.concat([
2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370,
2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383,
2387, 2388, 2389, 2390, 2391, 2402, 2403
])
var n = ['d83cdffb', 'd83cdffc', 'd83cdffd', 'd83cdffe', 'd83cdfff'],
r = [65039, 8205]
function a(e, t) {
var n = createTag('span')
n.setAttribute('aria-hidden', !0), (n.style.fontFamily = t)
var r = createTag('span')
;(r.innerText = 'giItT1WQy@!-/#'),
(n.style.position = 'absolute'),
(n.style.left = '-10000px'),
(n.style.top = '-10000px'),
(n.style.fontSize = '300px'),
(n.style.fontVariant = 'normal'),
(n.style.fontStyle = 'normal'),
(n.style.fontWeight = 'normal'),
(n.style.letterSpacing = '0'),
n.appendChild(r),
document.body.appendChild(n)
var a = r.offsetWidth
return (
(r.style.fontFamily =
(function (e) {
var t,
n = e.split(','),
r = n.length,
a = []
for (t = 0; t < r; t += 1)
'sans-serif' !== n[t] && 'monospace' !== n[t] && a.push(n[t])
return a.join(',')
})(e) +
', ' +
t),
{ node: r, w: a, parent: n }
)
}
function o(e, t) {
var n,
r = document.body && t ? 'svg' : 'canvas',
a = getFontProperties(e)
if ('svg' === r) {
var o = createNS('text')
;(o.style.fontSize = '100px'),
o.setAttribute('font-family', e.fFamily),
o.setAttribute('font-style', a.style),
o.setAttribute('font-weight', a.weight),
(o.textContent = '1'),
e.fClass
? ((o.style.fontFamily = 'inherit'), o.setAttribute('class', e.fClass))
: (o.style.fontFamily = e.fFamily),
t.appendChild(o),
(n = o)
} else {
var i = new OffscreenCanvas(500, 500).getContext('2d')
;(i.font = a.style + ' ' + a.weight + ' 100px ' + e.fFamily), (n = i)
}
return {
measureText: function (e) {
return 'svg' === r
? ((n.textContent = e), n.getComputedTextLength())
: n.measureText(e).width
}
}
}
var i = function () {
;(this.fonts = []),
(this.chars = null),
(this.typekitLoaded = 0),
(this.isLoaded = !1),
(this._warned = !1),
(this.initTime = Date.now()),
(this.setIsLoadedBinded = this.setIsLoaded.bind(this)),
(this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this))
}
;(i.isModifier = function (e, t) {
var r = e.toString(16) + t.toString(16)
return -1 !== n.indexOf(r)
}),
(i.isZeroWidthJoiner = function (e, t) {
return t ? e === r[0] && t === r[1] : e === r[1]
}),
(i.isCombinedCharacter = function (e) {
return -1 !== t.indexOf(e)
})
var s = {
addChars: function (e) {
if (e) {
var t
this.chars || (this.chars = [])
var n,
r,
a = e.length,
o = this.chars.length
for (t = 0; t < a; t += 1) {
for (n = 0, r = !1; n < o; )
this.chars[n].style === e[t].style &&
this.chars[n].fFamily === e[t].fFamily &&
this.chars[n].ch === e[t].ch &&
(r = !0),
(n += 1)
r || (this.chars.push(e[t]), (o += 1))
}
}
},
addFonts: function (e, t) {
if (e) {
if (this.chars) return (this.isLoaded = !0), void (this.fonts = e.list)
if (!document.body)
return (
(this.isLoaded = !0),
e.list.forEach(function (e) {
;(e.helper = o(e)), (e.cache = {})
}),
void (this.fonts = e.list)
)
var n,
r = e.list,
i = r.length,
s = i
for (n = 0; n < i; n += 1) {
var l,
c,
u = !0
if (
((r[n].loaded = !1),
(r[n].monoCase = a(r[n].fFamily, 'monospace')),
(r[n].sansCase = a(r[n].fFamily, 'sans-serif')),
r[n].fPath)
) {
if ('p' === r[n].fOrigin || 3 === r[n].origin) {
if (
((l = document.querySelectorAll(
'style[f-forigin="p"][f-family="' +
r[n].fFamily +
'"], style[f-origin="3"][f-family="' +
r[n].fFamily +
'"]'
)).length > 0 && (u = !1),
u)
) {
var p = createTag('style')
p.setAttribute('f-forigin', r[n].fOrigin),
p.setAttribute('f-origin', r[n].origin),
p.setAttribute('f-family', r[n].fFamily),
(p.type = 'text/css'),
(p.innerText =
'@font-face {font-family: ' +
r[n].fFamily +
"; font-style: normal; src: url('" +
r[n].fPath +
"');}"),
t.appendChild(p)
}
} else if ('g' === r[n].fOrigin || 1 === r[n].origin) {
for (
l = document.querySelectorAll(
'link[f-forigin="g"], link[f-origin="1"]'
),
c = 0;
c < l.length;
c += 1
)
-1 !== l[c].href.indexOf(r[n].fPath) && (u = !1)
if (u) {
var d = createTag('link')
d.setAttribute('f-forigin', r[n].fOrigin),
d.setAttribute('f-origin', r[n].origin),
(d.type = 'text/css'),
(d.rel = 'stylesheet'),
(d.href = r[n].fPath),
document.body.appendChild(d)
}
} else if ('t' === r[n].fOrigin || 2 === r[n].origin) {
for (
l = document.querySelectorAll(
'script[f-forigin="t"], script[f-origin="2"]'
),
c = 0;
c < l.length;
c += 1
)
r[n].fPath === l[c].src && (u = !1)
if (u) {
var f = createTag('link')
f.setAttribute('f-forigin', r[n].fOrigin),
f.setAttribute('f-origin', r[n].origin),
f.setAttribute('rel', 'stylesheet'),
f.setAttribute('href', r[n].fPath),
t.appendChild(f)
}
}
} else (r[n].loaded = !0), (s -= 1)
;(r[n].helper = o(r[n], t)), (r[n].cache = {}), this.fonts.push(r[n])
}
0 === s
? (this.isLoaded = !0)
: setTimeout(this.checkLoadedFonts.bind(this), 100)
} else this.isLoaded = !0
},
getCharData: function (t, n, r) {
for (var a = 0, o = this.chars.length; a < o; ) {
if (
this.chars[a].ch === t &&
this.chars[a].style === n &&
this.chars[a].fFamily === r
)
return this.chars[a]
a += 1
}
return (
(('string' == typeof t && 13 !== t.charCodeAt(0)) || !t) &&
console &&
console.warn &&
!this._warned &&
((this._warned = !0),
console.warn(
'Missing character from exported characters list: ',
t,
n,
r
)),
e
)
},
getFontByName: function (e) {
for (var t = 0, n = this.fonts.length; t < n; ) {
if (this.fonts[t].fName === e) return this.fonts[t]
t += 1
}
return this.fonts[0]
},
measureText: function (e, t, n) {
var r = this.getFontByName(t),
a = e.charCodeAt(0)
if (!r.cache[a + 1]) {
var o = r.helper
if (' ' === e) {
var i = o.measureText('|' + e + '|'),
s = o.measureText('||')
r.cache[a + 1] = (i - s) / 100
} else r.cache[a + 1] = o.measureText(e) / 100
}
return r.cache[a + 1] * n
},
checkLoadedFonts: function () {
var e,
t,
n,
r = this.fonts.length,
a = r
for (e = 0; e < r; e += 1)
this.fonts[e].loaded
? (a -= 1)
: 'n' === this.fonts[e].fOrigin || 0 === this.fonts[e].origin
? (this.fonts[e].loaded = !0)
: ((t = this.fonts[e].monoCase.node),
(n = this.fonts[e].monoCase.w),
t.offsetWidth !== n
? ((a -= 1), (this.fonts[e].loaded = !0))
: ((t = this.fonts[e].sansCase.node),
(n = this.fonts[e].sansCase.w),
t.offsetWidth !== n && ((a -= 1), (this.fonts[e].loaded = !0))),
this.fonts[e].loaded &&
(this.fonts[e].sansCase.parent.parentNode.removeChild(
this.fonts[e].sansCase.parent
),
this.fonts[e].monoCase.parent.parentNode.removeChild(
this.fonts[e].monoCase.parent
)))
0 !== a && Date.now() - this.initTime < 5e3
? setTimeout(this.checkLoadedFontsBinded, 20)
: setTimeout(this.setIsLoadedBinded, 10)
},
setIsLoaded: function () {
this.isLoaded = !0
}
}
return (i.prototype = s), i
})()
function RenderableElement() {}
RenderableElement.prototype = {
initRenderable: function () {
;(this.isInRange = !1),
(this.hidden = !1),
(this.isTransparent = !1),
(this.renderableComponents = [])
},
addRenderableComponent: function (e) {
;-1 === this.renderableComponents.indexOf(e) &&
this.renderableComponents.push(e)
},
removeRenderableComponent: function (e) {
;-1 !== this.renderableComponents.indexOf(e) &&
this.renderableComponents.splice(this.renderableComponents.indexOf(e), 1)
},
prepareRenderableFrame: function (e) {
this.checkLayerLimits(e)
},
checkTransparency: function () {
this.finalTransform.mProp.o.v <= 0
? !this.isTransparent &&
this.globalData.renderConfig.hideOnTransparent &&
((this.isTransparent = !0), this.hide())
: this.isTransparent && ((this.isTransparent = !1), this.show())
},
checkLayerLimits: function (e) {
this.data.ip - this.data.st <= e && this.data.op - this.data.st > e
? !0 !== this.isInRange &&
((this.globalData._mdf = !0),
(this._mdf = !0),
(this.isInRange = !0),
this.show())
: !1 !== this.isInRange &&
((this.globalData._mdf = !0), (this.isInRange = !1), this.hide())
},
renderRenderable: function () {
var e,
t = this.renderableComponents.length
for (e = 0; e < t; e += 1)
this.renderableComponents[e].renderFrame(this._isFirstFrame)
},
sourceRectAtTime: function () {
return { top: 0, left: 0, width: 100, height: 100 }
},
getLayerSize: function () {
return 5 === this.data.ty
? { w: this.data.textData.width, h: this.data.textData.height }
: { w: this.data.width, h: this.data.height }
}
}
var MaskManagerInterface = (function () {
function e(e, t) {
;(this._mask = e), (this._data = t)
}
return (
Object.defineProperty(e.prototype, 'maskPath', {
get: function () {
return this._mask.prop.k && this._mask.prop.getValue(), this._mask.prop
}
}),
Object.defineProperty(e.prototype, 'maskOpacity', {
get: function () {
return this._mask.op.k && this._mask.op.getValue(), 100 * this._mask.op.v
}
}),
function (t) {
var n,
r = createSizedArray(t.viewData.length),
a = t.viewData.length
for (n = 0; n < a; n += 1) r[n] = new e(t.viewData[n], t.masksProperties[n])
return function (e) {
for (n = 0; n < a; ) {
if (t.masksProperties[n].nm === e) return r[n]
n += 1
}
return null
}
}
)
})(),
ExpressionPropertyInterface = (function () {
var e = { pv: 0, v: 0, mult: 1 },
t = { pv: [0, 0, 0], v: [0, 0, 0], mult: 1 }
function n(e, t, n) {
Object.defineProperty(e, 'velocity', {
get: function () {
return t.getVelocityAtTime(t.comp.currentFrame)
}
}),
(e.numKeys = t.keyframes ? t.keyframes.length : 0),
(e.key = function (r) {
if (!e.numKeys) return 0
var a = ''
a =
's' in t.keyframes[r - 1]
? t.keyframes[r - 1].s
: 'e' in t.keyframes[r - 2]
? t.keyframes[r - 2].e
: t.keyframes[r - 2].s
var o = 'unidimensional' === n ? new Number(a) : Object.assign({}, a)
return (
(o.time = t.keyframes[r - 1].t / t.elem.comp.globalData.frameRate),
(o.value = 'unidimensional' === n ? a[0] : a),
o
)
}),
(e.valueAtTime = t.getValueAtTime),
(e.speedAtTime = t.getSpeedAtTime),
(e.velocityAtTime = t.getVelocityAtTime),
(e.propertyGroup = t.propertyGroup)
}
function r() {
return e
}
return function (a) {
return a
? 'unidimensional' === a.propType
? (function (t) {
;(t && 'pv' in t) || (t = e)
var r = 1 / t.mult,
a = t.pv * r,
o = new Number(a)
return (
(o.value = a),
n(o, t, 'unidimensional'),
function () {
return (
t.k && t.getValue(),
(a = t.v * r),
o.value !== a &&
(((o = new Number(a)).value = a), n(o, t, 'unidimensional')),
o
)
}
)
})(a)
: (function (e) {
;(e && 'pv' in e) || (e = t)
var r = 1 / e.mult,
a = (e.data && e.data.l) || e.pv.length,
o = createTypedArray('float32', a),
i = createTypedArray('float32', a)
return (
(o.value = i),
n(o, e, 'multidimensional'),
function () {
e.k && e.getValue()
for (var t = 0; t < a; t += 1) (i[t] = e.v[t] * r), (o[t] = i[t])
return o
}
)
})(a)
: r
}
})(),
TransformExpressionInterface = function (e) {
function t(e) {
switch (e) {
case 'scale':
case 'Scale':
case 'ADBE Scale':
case 6:
return t.scale
case 'rotation':
case 'Rotation':
case 'ADBE Rotation':
case 'ADBE Rotate Z':
case 10:
return t.rotation
case 'ADBE Rotate X':
return t.xRotation
case 'ADBE Rotate Y':
return t.yRotation
case 'position':
case 'Position':
case 'ADBE Position':
case 2:
return t.position
case 'ADBE Position_0':
return t.xPosition
case 'ADBE Position_1':
return t.yPosition
case 'ADBE Position_2':
return t.zPosition
case 'anchorPoint':
case 'AnchorPoint':
case 'Anchor Point':
case 'ADBE AnchorPoint':
case 1:
return t.anchorPoint
case 'opacity':
case 'Opacity':
case 11:
return t.opacity
default:
return null
}
}
var n, r, a, o
return (
Object.defineProperty(t, 'rotation', {
get: ExpressionPropertyInterface(e.r || e.rz)
}),
Object.defineProperty(t, 'zRotation', {
get: ExpressionPropertyInterface(e.rz || e.r)
}),
Object.defineProperty(t, 'xRotation', {
get: ExpressionPropertyInterface(e.rx)
}),
Object.defineProperty(t, 'yRotation', {
get: ExpressionPropertyInterface(e.ry)
}),
Object.defineProperty(t, 'scale', { get: ExpressionPropertyInterface(e.s) }),
e.p
? (o = ExpressionPropertyInterface(e.p))
: ((n = ExpressionPropertyInterface(e.px)),
(r = ExpressionPropertyInterface(e.py)),
e.pz && (a = ExpressionPropertyInterface(e.pz))),
Object.defineProperty(t, 'position', {
get: function () {
return e.p ? o() : [n(), r(), a ? a() : 0]
}
}),
Object.defineProperty(t, 'xPosition', {
get: ExpressionPropertyInterface(e.px)
}),
Object.defineProperty(t, 'yPosition', {
get: ExpressionPropertyInterface(e.py)
}),
Object.defineProperty(t, 'zPosition', {
get: ExpressionPropertyInterface(e.pz)
}),
Object.defineProperty(t, 'anchorPoint', {
get: ExpressionPropertyInterface(e.a)
}),
Object.defineProperty(t, 'opacity', {
get: ExpressionPropertyInterface(e.o)
}),
Object.defineProperty(t, 'skew', { get: ExpressionPropertyInterface(e.sk) }),
Object.defineProperty(t, 'skewAxis', {
get: ExpressionPropertyInterface(e.sa)
}),
Object.defineProperty(t, 'orientation', {
get: ExpressionPropertyInterface(e.or)
}),
t
)
},
LayerExpressionInterface = (function () {
function e(e) {
var t = new Matrix()
return (
void 0 !== e
? this._elem.finalTransform.mProp.getValueAtTime(e).clone(t)
: this._elem.finalTransform.mProp.applyToMatrix(t),
t
)
}
function t(e, t) {
var n = this.getMatrix(t)
return (
(n.props[12] = 0),
(n.props[13] = 0),
(n.props[14] = 0),
this.applyPoint(n, e)
)
}
function n(e, t) {
var n = this.getMatrix(t)
return this.applyPoint(n, e)
}
function r(e, t) {
var n = this.getMatrix(t)
return (
(n.props[12] = 0),
(n.props[13] = 0),
(n.props[14] = 0),
this.invertPoint(n, e)
)
}
function a(e, t) {
var n = this.getMatrix(t)
return this.invertPoint(n, e)
}
function o(e, t) {
if (this._elem.hierarchy && this._elem.hierarchy.length) {
var n,
r = this._elem.hierarchy.length
for (n = 0; n < r; n += 1)
this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
}
return e.applyToPointArray(t[0], t[1], t[2] || 0)
}
function i(e, t) {
if (this._elem.hierarchy && this._elem.hierarchy.length) {
var n,
r = this._elem.hierarchy.length
for (n = 0; n < r; n += 1)
this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
}
return e.inversePoint(t)
}
function s(e) {
var t = new Matrix()
if (
(t.reset(),
this._elem.finalTransform.mProp.applyToMatrix(t),
this._elem.hierarchy && this._elem.hierarchy.length)
) {
var n,
r = this._elem.hierarchy.length
for (n = 0; n < r; n += 1)
this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)
return t.inversePoint(e)
}
return t.inversePoint(e)
}
function l() {
return [1, 1, 1, 1]
}
return function (c) {
var u
function p(e) {
switch (e) {
case 'ADBE Root Vectors Group':
case 'Contents':
case 2:
return p.shapeInterface
case 1:
case 6:
case 'Transform':
case 'transform':
case 'ADBE Transform Group':
return u
case 4:
case 'ADBE Effect Parade':
case 'effects':
case 'Effects':
return p.effect
case 'ADBE Text Properties':
return p.textInterface
default:
return null
}
}
;(p.getMatrix = e),
(p.invertPoint = i),
(p.applyPoint = o),
(p.toWorld = n),
(p.toWorldVec = t),
(p.fromWorld = a),
(p.fromWorldVec = r),
(p.toComp = n),
(p.fromComp = s),
(p.sampleImage = l),
(p.sourceRectAtTime = c.sourceRectAtTime.bind(c)),
(p._elem = c)
var d = getDescriptor(
(u = TransformExpressionInterface(c.finalTransform.mProp)),
'anchorPoint'
)
return (
Object.defineProperties(p, {
hasParent: {
get: function () {
return c.hierarchy.length
}
},
parent: {
get: function () {
return c.hierarchy[0].layerInterface
}
},
rotation: getDescriptor(u, 'rotation'),
scale: getDescriptor(u, 'scale'),
position: getDescriptor(u, 'position'),
opacity: getDescriptor(u, 'opacity'),
anchorPoint: d,
anchor_point: d,
transform: {
get: function () {
return u
}
},
active: {
get: function () {
return c.isInRange
}
}
}),
(p.startTime = c.data.st),
(p.index = c.data.ind),
(p.source = c.data.refId),
(p.height = 0 === c.data.ty ? c.data.h : 100),
(p.width = 0 === c.data.ty ? c.data.w : 100),
(p.inPoint = c.data.ip / c.comp.globalData.frameRate),
(p.outPoint = c.data.op / c.comp.globalData.frameRate),
(p._name = c.data.nm),
(p.registerMaskInterface = function (e) {
p.mask = new MaskManagerInterface(e, c)
}),
(p.registerEffectsInterface = function (e) {
p.effect = e
}),
p
)
}
})(),
propertyGroupFactory = function (e, t) {
return function (n) {
return (n = void 0 === n ? 1 : n) <= 0 ? e : t(n - 1)
}
},
PropertyInterface = function (e, t) {
var n = { _name: e }
return function (e) {
return (e = void 0 === e ? 1 : e) <= 0 ? n : t(e - 1)
}
},
EffectsExpressionInterface = (function () {
var e = {
createEffectsInterface: function (e, n) {
if (e.effectsManager) {
var r,
a = [],
o = e.data.ef,
i = e.effectsManager.effectElements.length
for (r = 0; r < i; r += 1)
a.push(t(o[r], e.effectsManager.effectElements[r], n, e))
var s = e.data.ef || [],
l = function (e) {
for (r = 0, i = s.length; r < i; ) {
if (e === s[r].nm || e === s[r].mn || e === s[r].ix) return a[r]
r += 1
}
return null
}
return (
Object.defineProperty(l, 'numProperties', {
get: function () {
return s.length
}
}),
l
)
}
return null
}
}
function t(e, r, a, o) {
function i(t) {
for (var n = e.ef, r = 0, a = n.length; r < a; ) {
if (t === n[r].nm || t === n[r].mn || t === n[r].ix)
return 5 === n[r].ty ? c[r] : c[r]()
r += 1
}
throw new Error()
}
var s,
l = propertyGroupFactory(i, a),
c = [],
u = e.ef.length
for (s = 0; s < u; s += 1)
5 === e.ef[s].ty
? c.push(
t(e.ef[s], r.effectElements[s], r.effectElements[s].propertyGroup, o)
)
: c.push(n(r.effectElements[s], e.ef[s].ty, o, l))
return (
'ADBE Color Control' === e.mn &&
Object.defineProperty(i, 'color', {
get: function () {
return c[0]()
}
}),
Object.defineProperties(i, {
numProperties: {
get: function () {
return e.np
}
},
_name: { value: e.nm },
propertyGroup: { value: l }
}),
(i.enabled = 0 !== e.en),
(i.active = i.enabled),
i
)
}
function n(e, t, n, r) {
var a = ExpressionPropertyInterface(e.p)
return (
e.p.setGroupProperty && e.p.setGroupProperty(PropertyInterface('', r)),
function () {
return 10 === t ? n.comp.compInterface(e.p.v) : a()
}
)
}
return e
})(),
CompExpressionInterface = function (e) {
function t(t) {
for (var n = 0, r = e.layers.length; n < r; ) {
if (e.layers[n].nm === t || e.layers[n].ind === t)
return e.elements[n].layerInterface
n += 1
}
return null
}
return (
Object.defineProperty(t, '_name', { value: e.data.nm }),
(t.layer = t),
(t.pixelAspect = 1),
(t.height = e.data.h || e.globalData.compSize.h),
(t.width = e.data.w || e.globalData.compSize.w),
(t.pixelAspect = 1),
(t.frameDuration = 1 / e.globalData.frameRate),
(t.displayStartTime = 0),
(t.numLayers = e.layers.length),
t
)
},
ShapePathInterface = function (e, t, n) {
var r = t.sh
function a(e) {
return 'Shape' === e ||
'shape' === e ||
'Path' === e ||
'path' === e ||
'ADBE Vector Shape' === e ||
2 === e
? a.path
: null
}
var o = propertyGroupFactory(a, n)
return (
r.setGroupProperty(PropertyInterface('Path', o)),
Object.defineProperties(a, {
path: {
get: function () {
return r.k && r.getValue(), r
}
},
shape: {
get: function () {
return r.k && r.getValue(), r
}
},
_name: { value: e.nm },
ix: { value: e.ix },
propertyIndex: { value: e.ix },
mn: { value: e.mn },
propertyGroup: { value: n }
}),
a
)
},
ShapeExpressionInterface = (function () {
function e(e, i, d) {
var f,
h = [],
v = e ? e.length : 0
for (f = 0; f < v; f += 1)
'gr' === e[f].ty
? h.push(t(e[f], i[f], d))
: 'fl' === e[f].ty
? h.push(n(e[f], i[f], d))
: 'st' === e[f].ty
? h.push(a(e[f], i[f], d))
: 'tm' === e[f].ty
? h.push(o(e[f], i[f], d))
: 'tr' === e[f].ty ||
('el' === e[f].ty
? h.push(s(e[f], i[f], d))
: 'sr' === e[f].ty
? h.push(l(e[f], i[f], d))
: 'sh' === e[f].ty
? h.push(ShapePathInterface(e[f], i[f], d))
: 'rc' === e[f].ty
? h.push(c(e[f], i[f], d))
: 'rd' === e[f].ty
? h.push(u(e[f], i[f], d))
: 'rp' === e[f].ty
? h.push(p(e[f], i[f], d))
: 'gf' === e[f].ty
? h.push(r(e[f], i[f], d))
: h.push(
(e[f],
i[f],
function () {
return null
})
))
return h
}
function t(t, n, r) {
var a = function (e) {
switch (e) {
case 'ADBE Vectors Group':
case 'Contents':
case 2:
return a.content
default:
return a.transform
}
}
a.propertyGroup = propertyGroupFactory(a, r)
var o = (function (t, n, r) {
var a,
o = function (e) {
for (var t = 0, n = a.length; t < n; ) {
if (
a[t]._name === e ||
a[t].mn === e ||
a[t].propertyIndex === e ||
a[t].ix === e ||
a[t].ind === e
)
return a[t]
t += 1
}
return 'number' == typeof e ? a[e - 1] : null
}
;(o.propertyGroup = propertyGroupFactory(o, r)),
(a = e(t.it, n.it, o.propertyGroup)),
(o.numProperties = a.length)
var s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], o.propertyGroup)
return (o.transform = s), (o.propertyIndex = t.cix), (o._name = t.nm), o
})(t, n, a.propertyGroup),
s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], a.propertyGroup)
return (
(a.content = o),
(a.transform = s),
Object.defineProperty(a, '_name', {
get: function () {
return t.nm
}
}),
(a.numProperties = t.np),
(a.propertyIndex = t.ix),
(a.nm = t.nm),
(a.mn = t.mn),
a
)
}
function n(e, t, n) {
function r(e) {
return 'Color' === e || 'color' === e
? r.color
: 'Opacity' === e || 'opacity' === e
? r.opacity
: null
}
return (
Object.defineProperties(r, {
color: { get: ExpressionPropertyInterface(t.c) },
opacity: { get: ExpressionPropertyInterface(t.o) },
_name: { value: e.nm },
mn: { value: e.mn }
}),
t.c.setGroupProperty(PropertyInterface('Color', n)),
t.o.setGroupProperty(PropertyInterface('Opacity', n)),
r
)
}
function r(e, t, n) {
function r(e) {
return 'Start Point' === e || 'start point' === e
? r.startPoint
: 'End Point' === e || 'end point' === e
? r.endPoint
: 'Opacity' === e || 'opacity' === e
? r.opacity
: null
}
return (
Object.defineProperties(r, {
startPoint: { get: ExpressionPropertyInterface(t.s) },
endPoint: { get: ExpressionPropertyInterface(t.e) },
opacity: { get: ExpressionPropertyInterface(t.o) },
type: {
get: function () {
return 'a'
}
},
_name: { value: e.nm },
mn: { value: e.mn }
}),
t.s.setGroupProperty(PropertyInterface('Start Point', n)),
t.e.setGroupProperty(PropertyInterface('End Point', n)),
t.o.setGroupProperty(PropertyInterface('Opacity', n)),
r
)
}
function a(e, t, n) {
var r,
a = propertyGroupFactory(c, n),
o = propertyGroupFactory(l, a)
function i(n) {
Object.defineProperty(l, e.d[n].nm, {
get: ExpressionPropertyInterface(t.d.dataProps[n].p)
})
}
var s = e.d ? e.d.length : 0,
l = {}
for (r = 0; r < s; r += 1) i(r), t.d.dataProps[r].p.setGroupProperty(o)
function c(e) {
return 'Color' === e || 'color' === e
? c.color
: 'Opacity' === e || 'opacity' === e
? c.opacity
: 'Stroke Width' === e || 'stroke width' === e
? c.strokeWidth
: null
}
return (
Object.defineProperties(c, {
color: { get: ExpressionPropertyInterface(t.c) },
opacity: { get: ExpressionPropertyInterface(t.o) },
strokeWidth: { get: ExpressionPropertyInterface(t.w) },
dash: {
get: function () {
return l
}
},
_name: { value: e.nm },
mn: { value: e.mn }
}),
t.c.setGroupProperty(PropertyInterface('Color', a)),
t.o.setGroupProperty(PropertyInterface('Opacity', a)),
t.w.setGroupProperty(PropertyInterface('Stroke Width', a)),
c
)
}
function o(e, t, n) {
function r(t) {
return t === e.e.ix || 'End' === t || 'end' === t
? r.end
: t === e.s.ix
? r.start
: t === e.o.ix
? r.offset
: null
}
var a = propertyGroupFactory(r, n)
return (
(r.propertyIndex = e.ix),
t.s.setGroupProperty(PropertyInterface('Start', a)),
t.e.setGroupProperty(PropertyInterface('End', a)),
t.o.setGroupProperty(PropertyInterface('Offset', a)),
(r.propertyIndex = e.ix),
(r.propertyGroup = n),
Object.defineProperties(r, {
start: { get: ExpressionPropertyInterface(t.s) },
end: { get: ExpressionPropertyInterface(t.e) },
offset: { get: ExpressionPropertyInterface(t.o) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
function i(e, t, n) {
function r(t) {
return e.a.ix === t || 'Anchor Point' === t
? r.anchorPoint
: e.o.ix === t || 'Opacity' === t
? r.opacity
: e.p.ix === t || 'Position' === t
? r.position
: e.r.ix === t || 'Rotation' === t || 'ADBE Vector Rotation' === t
? r.rotation
: e.s.ix === t || 'Scale' === t
? r.scale
: (e.sk && e.sk.ix === t) || 'Skew' === t
? r.skew
: (e.sa && e.sa.ix === t) || 'Skew Axis' === t
? r.skewAxis
: null
}
var a = propertyGroupFactory(r, n)
return (
t.transform.mProps.o.setGroupProperty(PropertyInterface('Opacity', a)),
t.transform.mProps.p.setGroupProperty(PropertyInterface('Position', a)),
t.transform.mProps.a.setGroupProperty(PropertyInterface('Anchor Point', a)),
t.transform.mProps.s.setGroupProperty(PropertyInterface('Scale', a)),
t.transform.mProps.r.setGroupProperty(PropertyInterface('Rotation', a)),
t.transform.mProps.sk &&
(t.transform.mProps.sk.setGroupProperty(PropertyInterface('Skew', a)),
t.transform.mProps.sa.setGroupProperty(
PropertyInterface('Skew Angle', a)
)),
t.transform.op.setGroupProperty(PropertyInterface('Opacity', a)),
Object.defineProperties(r, {
opacity: { get: ExpressionPropertyInterface(t.transform.mProps.o) },
position: { get: ExpressionPropertyInterface(t.transform.mProps.p) },
anchorPoint: { get: ExpressionPropertyInterface(t.transform.mProps.a) },
scale: { get: ExpressionPropertyInterface(t.transform.mProps.s) },
rotation: { get: ExpressionPropertyInterface(t.transform.mProps.r) },
skew: { get: ExpressionPropertyInterface(t.transform.mProps.sk) },
skewAxis: { get: ExpressionPropertyInterface(t.transform.mProps.sa) },
_name: { value: e.nm }
}),
(r.ty = 'tr'),
(r.mn = e.mn),
(r.propertyGroup = n),
r
)
}
function s(e, t, n) {
function r(t) {
return e.p.ix === t ? r.position : e.s.ix === t ? r.size : null
}
var a = propertyGroupFactory(r, n)
r.propertyIndex = e.ix
var o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
return (
o.s.setGroupProperty(PropertyInterface('Size', a)),
o.p.setGroupProperty(PropertyInterface('Position', a)),
Object.defineProperties(r, {
size: { get: ExpressionPropertyInterface(o.s) },
position: { get: ExpressionPropertyInterface(o.p) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
function l(e, t, n) {
function r(t) {
return e.p.ix === t
? r.position
: e.r.ix === t
? r.rotation
: e.pt.ix === t
? r.points
: e.or.ix === t || 'ADBE Vector Star Outer Radius' === t
? r.outerRadius
: e.os.ix === t
? r.outerRoundness
: !e.ir || (e.ir.ix !== t && 'ADBE Vector Star Inner Radius' !== t)
? e.is && e.is.ix === t
? r.innerRoundness
: null
: r.innerRadius
}
var a = propertyGroupFactory(r, n),
o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
return (
(r.propertyIndex = e.ix),
o.or.setGroupProperty(PropertyInterface('Outer Radius', a)),
o.os.setGroupProperty(PropertyInterface('Outer Roundness', a)),
o.pt.setGroupProperty(PropertyInterface('Points', a)),
o.p.setGroupProperty(PropertyInterface('Position', a)),
o.r.setGroupProperty(PropertyInterface('Rotation', a)),
e.ir &&
(o.ir.setGroupProperty(PropertyInterface('Inner Radius', a)),
o.is.setGroupProperty(PropertyInterface('Inner Roundness', a))),
Object.defineProperties(r, {
position: { get: ExpressionPropertyInterface(o.p) },
rotation: { get: ExpressionPropertyInterface(o.r) },
points: { get: ExpressionPropertyInterface(o.pt) },
outerRadius: { get: ExpressionPropertyInterface(o.or) },
outerRoundness: { get: ExpressionPropertyInterface(o.os) },
innerRadius: { get: ExpressionPropertyInterface(o.ir) },
innerRoundness: { get: ExpressionPropertyInterface(o.is) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
function c(e, t, n) {
function r(t) {
return e.p.ix === t
? r.position
: e.r.ix === t
? r.roundness
: e.s.ix === t || 'Size' === t || 'ADBE Vector Rect Size' === t
? r.size
: null
}
var a = propertyGroupFactory(r, n),
o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
return (
(r.propertyIndex = e.ix),
o.p.setGroupProperty(PropertyInterface('Position', a)),
o.s.setGroupProperty(PropertyInterface('Size', a)),
o.r.setGroupProperty(PropertyInterface('Rotation', a)),
Object.defineProperties(r, {
position: { get: ExpressionPropertyInterface(o.p) },
roundness: { get: ExpressionPropertyInterface(o.r) },
size: { get: ExpressionPropertyInterface(o.s) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
function u(e, t, n) {
function r(t) {
return e.r.ix === t || 'Round Corners 1' === t ? r.radius : null
}
var a = propertyGroupFactory(r, n),
o = t
return (
(r.propertyIndex = e.ix),
o.rd.setGroupProperty(PropertyInterface('Radius', a)),
Object.defineProperties(r, {
radius: { get: ExpressionPropertyInterface(o.rd) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
function p(e, t, n) {
function r(t) {
return e.c.ix === t || 'Copies' === t
? r.copies
: e.o.ix === t || 'Offset' === t
? r.offset
: null
}
var a = propertyGroupFactory(r, n),
o = t
return (
(r.propertyIndex = e.ix),
o.c.setGroupProperty(PropertyInterface('Copies', a)),
o.o.setGroupProperty(PropertyInterface('Offset', a)),
Object.defineProperties(r, {
copies: { get: ExpressionPropertyInterface(o.c) },
offset: { get: ExpressionPropertyInterface(o.o) },
_name: { value: e.nm }
}),
(r.mn = e.mn),
r
)
}
return function (t, n, r) {
var a
function o(e) {
if ('number' == typeof e)
return 0 === (e = void 0 === e ? 1 : e) ? r : a[e - 1]
for (var t = 0, n = a.length; t < n; ) {
if (a[t]._name === e) return a[t]
t += 1
}
return null
}
return (
(o.propertyGroup = propertyGroupFactory(o, function () {
return r
})),
(a = e(t, n, o.propertyGroup)),
(o.numProperties = a.length),
(o._name = 'Contents'),
o
)
}
})(),
TextExpressionInterface = function (e) {
var t, n
function r(e) {
return 'ADBE Text Document' === e ? r.sourceText : null
}
return (
Object.defineProperty(r, 'sourceText', {
get: function () {
e.textProperty.getValue()
var r = e.textProperty.currentData.t
return (
r !== t &&
((e.textProperty.currentData.t = t),
((n = new String(r)).value = r || new String(r))),
n
)
}
}),
r
)
},
getBlendMode =
((blendModeEnums = {
0: 'source-over',
1: 'multiply',
2: 'screen',
3: 'overlay',
4: 'darken',
5: 'lighten',
6: 'color-dodge',
7: 'color-burn',
8: 'hard-light',
9: 'soft-light',
10: 'difference',
11: 'exclusion',
12: 'hue',
13: 'saturation',
14: 'color',
15: 'luminosity'
}),
function (e) {
return blendModeEnums[e] || ''
}),
blendModeEnums
function SliderEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
}
function AngleEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
}
function ColorEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
}
function PointEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
}
function LayerIndexEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
}
function MaskIndexEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
}
function CheckboxEffect(e, t, n) {
this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
}
function NoValueEffect() {
this.p = {}
}
function EffectsManager(e, t) {
var n,
r = e.ef || []
this.effectElements = []
var a,
o = r.length
for (n = 0; n < o; n += 1)
(a = new GroupEffect(r[n], t)), this.effectElements.push(a)
}
function GroupEffect(e, t) {
this.init(e, t)
}
function BaseElement() {}
function FrameElement() {}
function _typeof$2(e) {
return (
(_typeof$2 =
'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
}),
_typeof$2(e)
)
}
extendPrototype([DynamicPropertyContainer], GroupEffect),
(GroupEffect.prototype.getValue = GroupEffect.prototype.iterateDynamicProperties),
(GroupEffect.prototype.init = function (e, t) {
var n
;(this.data = e),
(this.effectElements = []),
this.initDynamicPropertyContainer(t)
var r,
a = this.data.ef.length,
o = this.data.ef
for (n = 0; n < a; n += 1) {
switch (((r = null), o[n].ty)) {
case 0:
r = new SliderEffect(o[n], t, this)
break
case 1:
r = new AngleEffect(o[n], t, this)
break
case 2:
r = new ColorEffect(o[n], t, this)
break
case 3:
r = new PointEffect(o[n], t, this)
break
case 4:
case 7:
r = new CheckboxEffect(o[n], t, this)
break
case 10:
r = new LayerIndexEffect(o[n], t, this)
break
case 11:
r = new MaskIndexEffect(o[n], t, this)
break
case 5:
r = new EffectsManager(o[n], t)
break
default:
r = new NoValueEffect(o[n])
}
r && this.effectElements.push(r)
}
}),
(BaseElement.prototype = {
checkMasks: function () {
if (!this.data.hasMask) return !1
for (var e = 0, t = this.data.masksProperties.length; e < t; ) {
if (
'n' !== this.data.masksProperties[e].mode &&
!1 !== this.data.masksProperties[e].cl
)
return !0
e += 1
}
return !1
},
initExpressions: function () {
;(this.layerInterface = LayerExpressionInterface(this)),
this.data.hasMask &&
this.maskManager &&
this.layerInterface.registerMaskInterface(this.maskManager)
var e = EffectsExpressionInterface.createEffectsInterface(
this,
this.layerInterface
)
this.layerInterface.registerEffectsInterface(e),
0 === this.data.ty || this.data.xt
? (this.compInterface = CompExpressionInterface(this))
: 4 === this.data.ty
? ((this.layerInterface.shapeInterface = ShapeExpressionInterface(
this.shapesData,
this.itemsData,
this.layerInterface
)),
(this.layerInterface.content = this.layerInterface.shapeInterface))
: 5 === this.data.ty &&
((this.layerInterface.textInterface = TextExpressionInterface(this)),
(this.layerInterface.text = this.layerInterface.textInterface))
},
setBlendMode: function () {
var e = getBlendMode(this.data.bm)
;(this.baseElement || this.layerElement).style['mix-blend-mode'] = e
},
initBaseData: function (e, t, n) {
;(this.globalData = t),
(this.comp = n),
(this.data = e),
(this.layerId = createElementID()),
this.data.sr || (this.data.sr = 1),
(this.effectsManager = new EffectsManager(
this.data,
this,
this.dynamicProperties
))
},
getType: function () {
return this.type
},
sourceRectAtTime: function () {}
}),
(FrameElement.prototype = {
initFrame: function () {
;(this._isFirstFrame = !1), (this.dynamicProperties = []), (this._mdf = !1)
},
prepareProperties: function (e, t) {
var n,
r = this.dynamicProperties.length
for (n = 0; n < r; n += 1)
(t ||
(this._isParent && 'transform' === this.dynamicProperties[n].propType)) &&
(this.dynamicProperties[n].getValue(),
this.dynamicProperties[n]._mdf &&
((this.globalData._mdf = !0), (this._mdf = !0)))
},
addDynamicProperty: function (e) {
;-1 === this.dynamicProperties.indexOf(e) && this.dynamicProperties.push(e)
}
})
var FootageInterface =
((dataInterfaceFactory = function (e) {
function t(e) {
return 'Outline' === e ? t.outlineInterface() : null
}
return (
(t._name = 'Outline'),
(t.outlineInterface = (function (e) {
var t = '',
n = e.getFootageData()
function r(e) {
if (n[e]) return (t = e), 'object' === _typeof$2((n = n[e])) ? r : n
var a = e.indexOf(t)
if (-1 !== a) {
var o = parseInt(e.substr(a + t.length), 10)
return 'object' === _typeof$2((n = n[o])) ? r : n
}
return ''
}
return function () {
return (t = ''), (n = e.getFootageData()), r
}
})(e)),
t
)
}),
function (e) {
function t(e) {
return 'Data' === e ? t.dataInterface : null
}
return (t._name = 'Data'), (t.dataInterface = dataInterfaceFactory(e)), t
}),
dataInterfaceFactory
function FootageElement(e, t, n) {
this.initFrame(),
this.initRenderable(),
(this.assetData = t.getAssetData(e.refId)),
(this.footageData = t.imageLoader.getAsset(this.assetData)),
this.initBaseData(e, t, n)
}
function AudioElement(e, t, n) {
this.initFrame(),
this.initRenderable(),
(this.assetData = t.getAssetData(e.refId)),
this.initBaseData(e, t, n),
(this._isPlaying = !1),
(this._canPlay = !1)
var r = this.globalData.getAssetsPath(this.assetData)
;(this.audio = this.globalData.audioController.createAudio(r)),
(this._currentTime = 0),
this.globalData.audioController.addAudio(this),
(this._volumeMultiplier = 1),
(this._volume = 1),
(this._previousVolume = null),
(this.tm = e.tm
? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
: { _placeholder: !0 }),
(this.lv = PropertyFactory.getProp(
this,
e.au && e.au.lv ? e.au.lv : { k: [100] },
1,
0.01,
this
))
}
function BaseRenderer() {}
function TransformElement() {}
function MaskElement(e, t, n) {
;(this.data = e),
(this.element = t),
(this.globalData = n),
(this.storedData = []),
(this.masksProperties = this.data.masksProperties || []),
(this.maskElement = null)
var r,
a,
o = this.globalData.defs,
i = this.masksProperties ? this.masksProperties.length : 0
;(this.viewData = createSizedArray(i)), (this.solidPath = '')
var s,
l,
c,
u,
p,
d,
f = this.masksProperties,
h = 0,
v = [],
m = createElementID(),
g = 'clipPath',
y = 'clip-path'
for (r = 0; r < i; r += 1)
if (
((('a' !== f[r].mode && 'n' !== f[r].mode) ||
f[r].inv ||
100 !== f[r].o.k ||
f[r].o.x) &&
((g = 'mask'), (y = 'mask')),
('s' !== f[r].mode && 'i' !== f[r].mode) || 0 !== h
? (c = null)
: ((c = createNS('rect')).setAttribute('fill', '#ffffff'),
c.setAttribute('width', this.element.comp.data.w || 0),
c.setAttribute('height', this.element.comp.data.h || 0),
v.push(c)),
(a = createNS('path')),
'n' === f[r].mode)
)
(this.viewData[r] = {
op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
elem: a,
lastPath: ''
}),
o.appendChild(a)
else {
var b
if (
((h += 1),
a.setAttribute('fill', 's' === f[r].mode ? '#000000' : '#ffffff'),
a.setAttribute('clip-rule', 'nonzero'),
0 !== f[r].x.k
? ((g = 'mask'),
(y = 'mask'),
(d = PropertyFactory.getProp(
this.element,
f[r].x,
0,
null,
this.element
)),
(b = createElementID()),
(u = createNS('filter')).setAttribute('id', b),
(p = createNS('feMorphology')).setAttribute('operator', 'erode'),
p.setAttribute('in', 'SourceGraphic'),
p.setAttribute('radius', '0'),
u.appendChild(p),
o.appendChild(u),
a.setAttribute('stroke', 's' === f[r].mode ? '#000000' : '#ffffff'))
: ((p = null), (d = null)),
(this.storedData[r] = {
elem: a,
x: d,
expan: p,
lastPath: '',
lastOperator: '',
filterId: b,
lastRadius: 0
}),
'i' === f[r].mode)
) {
l = v.length
var _ = createNS('g')
for (s = 0; s < l; s += 1) _.appendChild(v[s])
var A = createNS('mask')
A.setAttribute('mask-type', 'alpha'),
A.setAttribute('id', m + '_' + h),
A.appendChild(a),
o.appendChild(A),
_.setAttribute(
'mask',
'url(' + getLocationHref() + '#' + m + '_' + h + ')'
),
(v.length = 0),
v.push(_)
} else v.push(a)
f[r].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()),
(this.viewData[r] = {
elem: a,
lastPath: '',
op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
invRect: c
}),
this.viewData[r].prop.k ||
this.drawPath(f[r], this.viewData[r].prop.v, this.viewData[r])
}
for (this.maskElement = createNS(g), i = v.length, r = 0; r < i; r += 1)
this.maskElement.appendChild(v[r])
h > 0 &&
(this.maskElement.setAttribute('id', m),
this.element.maskedElement.setAttribute(
y,
'url(' + getLocationHref() + '#' + m + ')'
),
o.appendChild(this.maskElement)),
this.viewData.length && this.element.addRenderableComponent(this)
}
;(FootageElement.prototype.prepareFrame = function () {}),
extendPrototype([RenderableElement, BaseElement, FrameElement], FootageElement),
(FootageElement.prototype.getBaseElement = function () {
return null
}),
(FootageElement.prototype.renderFrame = function () {}),
(FootageElement.prototype.destroy = function () {}),
(FootageElement.prototype.initExpressions = function () {
this.layerInterface = FootageInterface(this)
}),
(FootageElement.prototype.getFootageData = function () {
return this.footageData
}),
(AudioElement.prototype.prepareFrame = function (e) {
if (
(this.prepareRenderableFrame(e, !0),
this.prepareProperties(e, !0),
this.tm._placeholder)
)
this._currentTime = e / this.data.sr
else {
var t = this.tm.v
this._currentTime = t
}
this._volume = this.lv.v[0]
var n = this._volume * this._volumeMultiplier
this._previousVolume !== n && ((this._previousVolume = n), this.audio.volume(n))
}),
extendPrototype([RenderableElement, BaseElement, FrameElement], AudioElement),
(AudioElement.prototype.renderFrame = function () {
this.isInRange &&
this._canPlay &&
(this._isPlaying
? (!this.audio.playing() ||
Math.abs(
this._currentTime / this.globalData.frameRate - this.audio.seek()
) > 0.1) &&
this.audio.seek(this._currentTime / this.globalData.frameRate)
: (this.audio.play(),
this.audio.seek(this._currentTime / this.globalData.frameRate),
(this._isPlaying = !0)))
}),
(AudioElement.prototype.show = function () {}),
(AudioElement.prototype.hide = function () {
this.audio.pause(), (this._isPlaying = !1)
}),
(AudioElement.prototype.pause = function () {
this.audio.pause(), (this._isPlaying = !1), (this._canPlay = !1)
}),
(AudioElement.prototype.resume = function () {
this._canPlay = !0
}),
(AudioElement.prototype.setRate = function (e) {
this.audio.rate(e)
}),
(AudioElement.prototype.volume = function (e) {
;(this._volumeMultiplier = e),
(this._previousVolume = e * this._volume),
this.audio.volume(this._previousVolume)
}),
(AudioElement.prototype.getBaseElement = function () {
return null
}),
(AudioElement.prototype.destroy = function () {}),
(AudioElement.prototype.sourceRectAtTime = function () {}),
(AudioElement.prototype.initExpressions = function () {}),
(BaseRenderer.prototype.checkLayers = function (e) {
var t,
n,
r = this.layers.length
for (this.completeLayers = !0, t = r - 1; t >= 0; t -= 1)
this.elements[t] ||
((n = this.layers[t]).ip - n.st <= e - this.layers[t].st &&
n.op - n.st > e - this.layers[t].st &&
this.buildItem(t)),
(this.completeLayers = !!this.elements[t] && this.completeLayers)
this.checkPendingElements()
}),
(BaseRenderer.prototype.createItem = function (e) {
switch (e.ty) {
case 2:
return this.createImage(e)
case 0:
return this.createComp(e)
case 1:
return this.createSolid(e)
case 3:
default:
return this.createNull(e)
case 4:
return this.createShape(e)
case 5:
return this.createText(e)
case 6:
return this.createAudio(e)
case 13:
return this.createCamera(e)
case 15:
return this.createFootage(e)
}
}),
(BaseRenderer.prototype.createCamera = function () {
throw new Error("You're using a 3d camera. Try the html renderer.")
}),
(BaseRenderer.prototype.createAudio = function (e) {
return new AudioElement(e, this.globalData, this)
}),
(BaseRenderer.prototype.createFootage = function (e) {
return new FootageElement(e, this.globalData, this)
}),
(BaseRenderer.prototype.buildAllItems = function () {
var e,
t = this.layers.length
for (e = 0; e < t; e += 1) this.buildItem(e)
this.checkPendingElements()
}),
(BaseRenderer.prototype.includeLayers = function (e) {
var t
this.completeLayers = !1
var n,
r = e.length,
a = this.layers.length
for (t = 0; t < r; t += 1)
for (n = 0; n < a; ) {
if (this.layers[n].id === e[t].id) {
this.layers[n] = e[t]
break
}
n += 1
}
}),
(BaseRenderer.prototype.setProjectInterface = function (e) {
this.globalData.projectInterface = e
}),
(BaseRenderer.prototype.initItems = function () {
this.globalData.progressiveLoad || this.buildAllItems()
}),
(BaseRenderer.prototype.buildElementParenting = function (e, t, n) {
for (var r = this.elements, a = this.layers, o = 0, i = a.length; o < i; )
a[o].ind == t &&
(r[o] && !0 !== r[o]
? (n.push(r[o]),
r[o].setAsParent(),
void 0 !== a[o].parent
? this.buildElementParenting(e, a[o].parent, n)
: e.setHierarchy(n))
: (this.buildItem(o), this.addPendingElement(e))),
(o += 1)
}),
(BaseRenderer.prototype.addPendingElement = function (e) {
this.pendingElements.push(e)
}),
(BaseRenderer.prototype.searchExtraCompositions = function (e) {
var t,
n = e.length
for (t = 0; t < n; t += 1)
if (e[t].xt) {
var r = this.createComp(e[t])
r.initExpressions(), this.globalData.projectInterface.registerComposition(r)
}
}),
(BaseRenderer.prototype.getElementByPath = function (e) {
var t,
n = e.shift()
if ('number' == typeof n) t = this.elements[n]
else {
var r,
a = this.elements.length
for (r = 0; r < a; r += 1)
if (this.elements[r].data.nm === n) {
t = this.elements[r]
break
}
}
return 0 === e.length ? t : t.getElementByPath(e)
}),
(BaseRenderer.prototype.setupGlobalData = function (e, t) {
;(this.globalData.fontManager = new FontManager()),
this.globalData.fontManager.addChars(e.chars),
this.globalData.fontManager.addFonts(e.fonts, t),
(this.globalData.getAssetData = this.animationItem.getAssetData.bind(
this.animationItem
)),
(this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(
this.animationItem
)),
(this.globalData.imageLoader = this.animationItem.imagePreloader),
(this.globalData.audioController = this.animationItem.audioController),
(this.globalData.frameId = 0),
(this.globalData.frameRate = e.fr),
(this.globalData.nm = e.nm),
(this.globalData.compSize = { w: e.w, h: e.h })
}),
(TransformElement.prototype = {
initTransform: function () {
;(this.finalTransform = {
mProp: this.data.ks
? TransformPropertyFactory.getTransformProperty(this, this.data.ks, this)
: { o: 0 },
_matMdf: !1,
_opMdf: !1,
mat: new Matrix()
}),
this.data.ao && (this.finalTransform.mProp.autoOriented = !0),
this.data.ty
},
renderTransform: function () {
if (
((this.finalTransform._opMdf =
this.finalTransform.mProp.o._mdf || this._isFirstFrame),
(this.finalTransform._matMdf =
this.finalTransform.mProp._mdf || this._isFirstFrame),
this.hierarchy)
) {
var e,
t = this.finalTransform.mat,
n = 0,
r = this.hierarchy.length
if (!this.finalTransform._matMdf)
for (; n < r; ) {
if (this.hierarchy[n].finalTransform.mProp._mdf) {
this.finalTransform._matMdf = !0
break
}
n += 1
}
if (this.finalTransform._matMdf)
for (
e = this.finalTransform.mProp.v.props, t.cloneFromProps(e), n = 0;
n < r;
n += 1
)
(e = this.hierarchy[n].finalTransform.mProp.v.props),
t.transform(
e[0],
e[1],
e[2],
e[3],
e[4],
e[5],
e[6],
e[7],
e[8],
e[9],
e[10],
e[11],
e[12],
e[13],
e[14],
e[15]
)
}
},
globalToLocal: function (e) {
var t = []
t.push(this.finalTransform)
for (var n, r = !0, a = this.comp; r; )
a.finalTransform
? (a.data.hasMask && t.splice(0, 0, a.finalTransform), (a = a.comp))
: (r = !1)
var o,
i = t.length
for (n = 0; n < i; n += 1)
(o = t[n].mat.applyToPointArray(0, 0, 0)),
(e = [e[0] - o[0], e[1] - o[1], 0])
return e
},
mHelper: new Matrix()
}),
(MaskElement.prototype.getMaskProperty = function (e) {
return this.viewData[e].prop
}),
(MaskElement.prototype.renderFrame = function (e) {
var t,
n = this.element.finalTransform.mat,
r = this.masksProperties.length
for (t = 0; t < r; t += 1)
if (
((this.viewData[t].prop._mdf || e) &&
this.drawPath(
this.masksProperties[t],
this.viewData[t].prop.v,
this.viewData[t]
),
(this.viewData[t].op._mdf || e) &&
this.viewData[t].elem.setAttribute('fill-opacity', this.viewData[t].op.v),
'n' !== this.masksProperties[t].mode &&
(this.viewData[t].invRect &&
(this.element.finalTransform.mProp._mdf || e) &&
this.viewData[t].invRect.setAttribute(
'transform',
n.getInverseMatrix().to2dCSS()
),
this.storedData[t].x && (this.storedData[t].x._mdf || e)))
) {
var a = this.storedData[t].expan
this.storedData[t].x.v < 0
? ('erode' !== this.storedData[t].lastOperator &&
((this.storedData[t].lastOperator = 'erode'),
this.storedData[t].elem.setAttribute(
'filter',
'url(' + getLocationHref() + '#' + this.storedData[t].filterId + ')'
)),
a.setAttribute('radius', -this.storedData[t].x.v))
: ('dilate' !== this.storedData[t].lastOperator &&
((this.storedData[t].lastOperator = 'dilate'),
this.storedData[t].elem.setAttribute('filter', null)),
this.storedData[t].elem.setAttribute(
'stroke-width',
2 * this.storedData[t].x.v
))
}
}),
(MaskElement.prototype.getMaskelement = function () {
return this.maskElement
}),
(MaskElement.prototype.createLayerSolidPath = function () {
var e = 'M0,0 '
return (
(e += ' h' + this.globalData.compSize.w),
(e += ' v' + this.globalData.compSize.h),
(e += ' h-' + this.globalData.compSize.w),
(e += ' v-' + this.globalData.compSize.h + ' ')
)
}),
(MaskElement.prototype.drawPath = function (e, t, n) {
var r,
a,
o = ' M' + t.v[0][0] + ',' + t.v[0][1]
for (a = t._length, r = 1; r < a; r += 1)
o +=
' C' +
t.o[r - 1][0] +
',' +
t.o[r - 1][1] +
' ' +
t.i[r][0] +
',' +
t.i[r][1] +
' ' +
t.v[r][0] +
',' +
t.v[r][1]
if (
(t.c &&
a > 1 &&
(o +=
' C' +
t.o[r - 1][0] +
',' +
t.o[r - 1][1] +
' ' +
t.i[0][0] +
',' +
t.i[0][1] +
' ' +
t.v[0][0] +
',' +
t.v[0][1]),
n.lastPath !== o)
) {
var i = ''
n.elem &&
(t.c && (i = e.inv ? this.solidPath + o : o), n.elem.setAttribute('d', i)),
(n.lastPath = o)
}
}),
(MaskElement.prototype.destroy = function () {
;(this.element = null),
(this.globalData = null),
(this.maskElement = null),
(this.data = null),
(this.masksProperties = null)
})
var filtersFactory = (function () {
var e = {
createFilter: function (e, t) {
var n = createNS('filter')
return (
n.setAttribute('id', e),
!0 !== t &&
(n.setAttribute('filterUnits', 'objectBoundingBox'),
n.setAttribute('x', '0%'),
n.setAttribute('y', '0%'),
n.setAttribute('width', '100%'),
n.setAttribute('height', '100%')),
n
)
},
createAlphaToLuminanceFilter: function () {
var e = createNS('feColorMatrix')
return (
e.setAttribute('type', 'matrix'),
e.setAttribute('color-interpolation-filters', 'sRGB'),
e.setAttribute('values', '0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1'),
e
)
}
}
return e
})(),
featureSupport = (function () {
var e = { maskType: !0 }
return (
(/MSIE 10/i.test(navigator.userAgent) ||
/MSIE 9/i.test(navigator.userAgent) ||
/rv:11.0/i.test(navigator.userAgent) ||
/Edge\/\d./i.test(navigator.userAgent)) &&
(e.maskType = !1),
e
)
})(),
registeredEffects = {},
idPrefix = 'filter_result_'
function SVGEffects(e) {
var t,
n,
r = 'SourceGraphic',
a = e.data.ef ? e.data.ef.length : 0,
o = createElementID(),
i = filtersFactory.createFilter(o, !0),
s = 0
for (this.filters = [], t = 0; t < a; t += 1) {
n = null
var l = e.data.ef[t].ty
registeredEffects[l] &&
((n = new (0, registeredEffects[l].effect)(
i,
e.effectsManager.effectElements[t],
e,
idPrefix + s,
r
)),
(r = idPrefix + s),
registeredEffects[l].countsAsEffect && (s += 1)),
n && this.filters.push(n)
}
s &&
(e.globalData.defs.appendChild(i),
e.layerElement.setAttribute(
'filter',
'url(' + getLocationHref() + '#' + o + ')'
)),
this.filters.length && e.addRenderableComponent(this)
}
function registerEffect(e, t, n) {
registeredEffects[e] = { effect: t, countsAsEffect: n }
}
function SVGBaseElement() {}
function HierarchyElement() {}
function RenderableDOMElement() {}
function IImageElement(e, t, n) {
;(this.assetData = t.getAssetData(e.refId)),
this.initElement(e, t, n),
(this.sourceRect = {
top: 0,
left: 0,
width: this.assetData.w,
height: this.assetData.h
})
}
function ProcessedElement(e, t) {
;(this.elem = e), (this.pos = t)
}
function IShapeElement() {}
;(SVGEffects.prototype.renderFrame = function (e) {
var t,
n = this.filters.length
for (t = 0; t < n; t += 1) this.filters[t].renderFrame(e)
}),
(SVGBaseElement.prototype = {
initRendererElement: function () {
this.layerElement = createNS('g')
},
createContainerElements: function () {
;(this.matteElement = createNS('g')),
(this.transformedElement = this.layerElement),
(this.maskedElement = this.layerElement),
(this._sizeChanged = !1)
var e,
t,
n,
r = null
if (this.data.td) {
if (3 == this.data.td || 1 == this.data.td) {
var a = createNS('mask')
a.setAttribute('id', this.layerId),
a.setAttribute('mask-type', 3 == this.data.td ? 'luminance' : 'alpha'),
a.appendChild(this.layerElement),
(r = a),
this.globalData.defs.appendChild(a),
featureSupport.maskType ||
1 != this.data.td ||
(a.setAttribute('mask-type', 'luminance'),
(e = createElementID()),
(t = filtersFactory.createFilter(e)),
this.globalData.defs.appendChild(t),
t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
(n = createNS('g')).appendChild(this.layerElement),
(r = n),
a.appendChild(n),
n.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'))
} else if (2 == this.data.td) {
var o = createNS('mask')
o.setAttribute('id', this.layerId), o.setAttribute('mask-type', 'alpha')
var i = createNS('g')
o.appendChild(i),
(e = createElementID()),
(t = filtersFactory.createFilter(e))
var s = createNS('feComponentTransfer')
s.setAttribute('in', 'SourceGraphic'), t.appendChild(s)
var l = createNS('feFuncA')
l.setAttribute('type', 'table'),
l.setAttribute('tableValues', '1.0 0.0'),
s.appendChild(l),
this.globalData.defs.appendChild(t)
var c = createNS('rect')
c.setAttribute('width', this.comp.data.w),
c.setAttribute('height', this.comp.data.h),
c.setAttribute('x', '0'),
c.setAttribute('y', '0'),
c.setAttribute('fill', '#ffffff'),
c.setAttribute('opacity', '0'),
i.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'),
i.appendChild(c),
i.appendChild(this.layerElement),
(r = i),
featureSupport.maskType ||
(o.setAttribute('mask-type', 'luminance'),
t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
(n = createNS('g')),
i.appendChild(c),
n.appendChild(this.layerElement),
(r = n),
i.appendChild(n)),
this.globalData.defs.appendChild(o)
}
} else
this.data.tt
? (this.matteElement.appendChild(this.layerElement),
(r = this.matteElement),
(this.baseElement = this.matteElement))
: (this.baseElement = this.layerElement)
if (
(this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
0 === this.data.ty && !this.data.hd)
) {
var u = createNS('clipPath'),
p = createNS('path')
p.setAttribute(
'd',
'M0,0 L' +
this.data.w +
',0 L' +
this.data.w +
',' +
this.data.h +
' L0,' +
this.data.h +
'z'
)
var d = createElementID()
if (
(u.setAttribute('id', d),
u.appendChild(p),
this.globalData.defs.appendChild(u),
this.checkMasks())
) {
var f = createNS('g')
f.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + d + ')'),
f.appendChild(this.layerElement),
(this.transformedElement = f),
r
? r.appendChild(this.transformedElement)
: (this.baseElement = this.transformedElement)
} else
this.layerElement.setAttribute(
'clip-path',
'url(' + getLocationHref() + '#' + d + ')'
)
}
0 !== this.data.bm && this.setBlendMode()
},
renderElement: function () {
this.finalTransform._matMdf &&
this.transformedElement.setAttribute(
'transform',
this.finalTransform.mat.to2dCSS()
),
this.finalTransform._opMdf &&
this.transformedElement.setAttribute(
'opacity',
this.finalTransform.mProp.o.v
)
},
destroyBaseElement: function () {
;(this.layerElement = null),
(this.matteElement = null),
this.maskManager.destroy()
},
getBaseElement: function () {
return this.data.hd ? null : this.baseElement
},
createRenderableComponents: function () {
;(this.maskManager = new MaskElement(this.data, this, this.globalData)),
(this.renderableEffectsManager = new SVGEffects(this))
},
setMatte: function (e) {
this.matteElement &&
this.matteElement.setAttribute(
'mask',
'url(' + getLocationHref() + '#' + e + ')'
)
}
}),
(HierarchyElement.prototype = {
initHierarchy: function () {
;(this.hierarchy = []), (this._isParent = !1), this.checkParenting()
},
setHierarchy: function (e) {
this.hierarchy = e
},
setAsParent: function () {
this._isParent = !0
},
checkParenting: function () {
void 0 !== this.data.parent &&
this.comp.buildElementParenting(this, this.data.parent, [])
}
}),
extendPrototype(
[
RenderableElement,
createProxyFunction({
initElement: function (e, t, n) {
this.initFrame(),
this.initBaseData(e, t, n),
this.initTransform(e, t, n),
this.initHierarchy(),
this.initRenderable(),
this.initRendererElement(),
this.createContainerElements(),
this.createRenderableComponents(),
this.createContent(),
this.hide()
},
hide: function () {
this.hidden ||
(this.isInRange && !this.isTransparent) ||
(((this.baseElement || this.layerElement).style.display = 'none'),
(this.hidden = !0))
},
show: function () {
this.isInRange &&
!this.isTransparent &&
(this.data.hd ||
((this.baseElement || this.layerElement).style.display = 'block'),
(this.hidden = !1),
(this._isFirstFrame = !0))
},
renderFrame: function () {
this.data.hd ||
this.hidden ||
(this.renderTransform(),
this.renderRenderable(),
this.renderElement(),
this.renderInnerContent(),
this._isFirstFrame && (this._isFirstFrame = !1))
},
renderInnerContent: function () {},
prepareFrame: function (e) {
;(this._mdf = !1),
this.prepareRenderableFrame(e),
this.prepareProperties(e, this.isInRange),
this.checkTransparency()
},
destroy: function () {
;(this.innerElem = null), this.destroyBaseElement()
}
})
],
RenderableDOMElement
),
extendPrototype(
[
BaseElement,
TransformElement,
SVGBaseElement,
HierarchyElement,
FrameElement,
RenderableDOMElement
],
IImageElement
),
(IImageElement.prototype.createContent = function () {
var e = this.globalData.getAssetsPath(this.assetData)
;(this.innerElem = createNS('image')),
this.innerElem.setAttribute('width', this.assetData.w + 'px'),
this.innerElem.setAttribute('height', this.assetData.h + 'px'),
this.innerElem.setAttribute(
'preserveAspectRatio',
this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
),
this.innerElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
this.layerElement.appendChild(this.innerElem)
}),
(IImageElement.prototype.sourceRectAtTime = function () {
return this.sourceRect
}),
(IShapeElement.prototype = {
addShapeToModifiers: function (e) {
var t,
n = this.shapeModifiers.length
for (t = 0; t < n; t += 1) this.shapeModifiers[t].addShape(e)
},
isShapeInAnimatedModifiers: function (e) {
for (var t = this.shapeModifiers.length; 0 < t; )
if (this.shapeModifiers[0].isAnimatedWithShape(e)) return !0
return !1
},
renderModifiers: function () {
if (this.shapeModifiers.length) {
var e,
t = this.shapes.length
for (e = 0; e < t; e += 1) this.shapes[e].sh.reset()
for (
e = (t = this.shapeModifiers.length) - 1;
e >= 0 && !this.shapeModifiers[e].processShapes(this._isFirstFrame);
e -= 1
);
}
},
searchProcessedElement: function (e) {
for (var t = this.processedElements, n = 0, r = t.length; n < r; ) {
if (t[n].elem === e) return t[n].pos
n += 1
}
return 0
},
addProcessedElement: function (e, t) {
for (var n = this.processedElements, r = n.length; r; )
if (n[(r -= 1)].elem === e) return void (n[r].pos = t)
n.push(new ProcessedElement(e, t))
},
prepareFrame: function (e) {
this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange)
}
})
var lineCapEnum = { 1: 'butt', 2: 'round', 3: 'square' },
lineJoinEnum = { 1: 'miter', 2: 'round', 3: 'bevel' }
function SVGShapeData(e, t, n) {
;(this.caches = []),
(this.styles = []),
(this.transformers = e),
(this.lStr = ''),
(this.sh = n),
(this.lvl = t),
(this._isAnimated = !!n.k)
for (var r = 0, a = e.length; r < a; ) {
if (e[r].mProps.dynamicProperties.length) {
this._isAnimated = !0
break
}
r += 1
}
}
function SVGStyleData(e, t) {
;(this.data = e),
(this.type = e.ty),
(this.d = ''),
(this.lvl = t),
(this._mdf = !1),
(this.closed = !0 === e.hd),
(this.pElem = createNS('path')),
(this.msElem = null)
}
function DashProperty(e, t, n, r) {
var a
;(this.elem = e),
(this.frameId = -1),
(this.dataProps = createSizedArray(t.length)),
(this.renderer = n),
(this.k = !1),
(this.dashStr = ''),
(this.dashArray = createTypedArray('float32', t.length ? t.length - 1 : 0)),
(this.dashoffset = createTypedArray('float32', 1)),
this.initDynamicPropertyContainer(r)
var o,
i = t.length || 0
for (a = 0; a < i; a += 1)
(o = PropertyFactory.getProp(e, t[a].v, 0, 0, this)),
(this.k = o.k || this.k),
(this.dataProps[a] = { n: t[a].n, p: o })
this.k || this.getValue(!0), (this._isAnimated = this.k)
}
function SVGStrokeStyleData(e, t, n) {
this.initDynamicPropertyContainer(e),
(this.getValue = this.iterateDynamicProperties),
(this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
(this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
(this.d = new DashProperty(e, t.d || {}, 'svg', this)),
(this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
(this.style = n),
(this._isAnimated = !!this._isAnimated)
}
function SVGFillStyleData(e, t, n) {
this.initDynamicPropertyContainer(e),
(this.getValue = this.iterateDynamicProperties),
(this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
(this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
(this.style = n)
}
function SVGNoStyleData(e, t, n) {
this.initDynamicPropertyContainer(e),
(this.getValue = this.iterateDynamicProperties),
(this.style = n)
}
function GradientProperty(e, t, n) {
;(this.data = t), (this.c = createTypedArray('uint8c', 4 * t.p))
var r = t.k.k[0].s ? t.k.k[0].s.length - 4 * t.p : t.k.k.length - 4 * t.p
;(this.o = createTypedArray('float32', r)),
(this._cmdf = !1),
(this._omdf = !1),
(this._collapsable = this.checkCollapsable()),
(this._hasOpacity = r),
this.initDynamicPropertyContainer(n),
(this.prop = PropertyFactory.getProp(e, t.k, 1, null, this)),
(this.k = this.prop.k),
this.getValue(!0)
}
function SVGGradientFillStyleData(e, t, n) {
this.initDynamicPropertyContainer(e),
(this.getValue = this.iterateDynamicProperties),
this.initGradientData(e, t, n)
}
function SVGGradientStrokeStyleData(e, t, n) {
this.initDynamicPropertyContainer(e),
(this.getValue = this.iterateDynamicProperties),
(this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
(this.d = new DashProperty(e, t.d || {}, 'svg', this)),
this.initGradientData(e, t, n),
(this._isAnimated = !!this._isAnimated)
}
function ShapeGroupData() {
;(this.it = []), (this.prevViewData = []), (this.gr = createNS('g'))
}
function SVGTransformData(e, t, n) {
;(this.transform = { mProps: e, op: t, container: n }),
(this.elements = []),
(this._isAnimated =
this.transform.mProps.dynamicProperties.length ||
this.transform.op.effectsSequence.length)
}
;(SVGShapeData.prototype.setAsAnimated = function () {
this._isAnimated = !0
}),
(SVGStyleData.prototype.reset = function () {
;(this.d = ''), (this._mdf = !1)
}),
(DashProperty.prototype.getValue = function (e) {
if (
(this.elem.globalData.frameId !== this.frameId || e) &&
((this.frameId = this.elem.globalData.frameId),
this.iterateDynamicProperties(),
(this._mdf = this._mdf || e),
this._mdf)
) {
var t = 0,
n = this.dataProps.length
for ('svg' === this.renderer && (this.dashStr = ''), t = 0; t < n; t += 1)
'o' !== this.dataProps[t].n
? 'svg' === this.renderer
? (this.dashStr += ' ' + this.dataProps[t].p.v)
: (this.dashArray[t] = this.dataProps[t].p.v)
: (this.dashoffset[0] = this.dataProps[t].p.v)
}
}),
extendPrototype([DynamicPropertyContainer], DashProperty),
extendPrototype([DynamicPropertyContainer], SVGStrokeStyleData),
extendPrototype([DynamicPropertyContainer], SVGFillStyleData),
extendPrototype([DynamicPropertyContainer], SVGNoStyleData),
(GradientProperty.prototype.comparePoints = function (e, t) {
for (var n = 0, r = this.o.length / 2; n < r; ) {
if (Math.abs(e[4 * n] - e[4 * t + 2 * n]) > 0.01) return !1
n += 1
}
return !0
}),
(GradientProperty.prototype.checkCollapsable = function () {
if (this.o.length / 2 != this.c.length / 4) return !1
if (this.data.k.k[0].s)
for (var e = 0, t = this.data.k.k.length; e < t; ) {
if (!this.comparePoints(this.data.k.k[e].s, this.data.p)) return !1
e += 1
}
else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1
return !0
}),
(GradientProperty.prototype.getValue = function (e) {
if (
(this.prop.getValue(),
(this._mdf = !1),
(this._cmdf = !1),
(this._omdf = !1),
this.prop._mdf || e)
) {
var t,
n,
r,
a = 4 * this.data.p
for (t = 0; t < a; t += 1)
(n = t % 4 == 0 ? 100 : 255),
(r = Math.round(this.prop.v[t] * n)),
this.c[t] !== r && ((this.c[t] = r), (this._cmdf = !e))
if (this.o.length)
for (a = this.prop.v.length, t = 4 * this.data.p; t < a; t += 1)
(n = t % 2 == 0 ? 100 : 1),
(r = t % 2 == 0 ? Math.round(100 * this.prop.v[t]) : this.prop.v[t]),
this.o[t - 4 * this.data.p] !== r &&
((this.o[t - 4 * this.data.p] = r), (this._omdf = !e))
this._mdf = !e
}
}),
extendPrototype([DynamicPropertyContainer], GradientProperty),
(SVGGradientFillStyleData.prototype.initGradientData = function (e, t, n) {
;(this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
(this.s = PropertyFactory.getProp(e, t.s, 1, null, this)),
(this.e = PropertyFactory.getProp(e, t.e, 1, null, this)),
(this.h = PropertyFactory.getProp(e, t.h || { k: 0 }, 0, 0.01, this)),
(this.a = PropertyFactory.getProp(e, t.a || { k: 0 }, 0, degToRads, this)),
(this.g = new GradientProperty(e, t.g, this)),
(this.style = n),
(this.stops = []),
this.setGradientData(n.pElem, t),
this.setGradientOpacity(t, n),
(this._isAnimated = !!this._isAnimated)
}),
(SVGGradientFillStyleData.prototype.setGradientData = function (e, t) {
var n = createElementID(),
r = createNS(1 === t.t ? 'linearGradient' : 'radialGradient')
r.setAttribute('id', n),
r.setAttribute('spreadMethod', 'pad'),
r.setAttribute('gradientUnits', 'userSpaceOnUse')
var a,
o,
i,
s = []
for (i = 4 * t.g.p, o = 0; o < i; o += 4)
(a = createNS('stop')), r.appendChild(a), s.push(a)
e.setAttribute(
'gf' === t.ty ? 'fill' : 'stroke',
'url(' + getLocationHref() + '#' + n + ')'
),
(this.gf = r),
(this.cst = s)
}),
(SVGGradientFillStyleData.prototype.setGradientOpacity = function (e, t) {
if (this.g._hasOpacity && !this.g._collapsable) {
var n,
r,
a,
o = createNS('mask'),
i = createNS('path')
o.appendChild(i)
var s = createElementID(),
l = createElementID()
o.setAttribute('id', l)
var c = createNS(1 === e.t ? 'linearGradient' : 'radialGradient')
c.setAttribute('id', s),
c.setAttribute('spreadMethod', 'pad'),
c.setAttribute('gradientUnits', 'userSpaceOnUse'),
(a = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length)
var u = this.stops
for (r = 4 * e.g.p; r < a; r += 2)
(n = createNS('stop')).setAttribute('stop-color', 'rgb(255,255,255)'),
c.appendChild(n),
u.push(n)
i.setAttribute(
'gf' === e.ty ? 'fill' : 'stroke',
'url(' + getLocationHref() + '#' + s + ')'
),
'gs' === e.ty &&
(i.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
i.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
1 === e.lj && i.setAttribute('stroke-miterlimit', e.ml)),
(this.of = c),
(this.ms = o),
(this.ost = u),
(this.maskId = l),
(t.msElem = i)
}
}),
extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData),
extendPrototype(
[SVGGradientFillStyleData, DynamicPropertyContainer],
SVGGradientStrokeStyleData
)
var buildShapeString = function (e, t, n, r) {
if (0 === t) return ''
var a,
o = e.o,
i = e.i,
s = e.v,
l = ' M' + r.applyToPointStringified(s[0][0], s[0][1])
for (a = 1; a < t; a += 1)
l +=
' C' +
r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
' ' +
r.applyToPointStringified(i[a][0], i[a][1]) +
' ' +
r.applyToPointStringified(s[a][0], s[a][1])
return (
n &&
t &&
((l +=
' C' +
r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
' ' +
r.applyToPointStringified(i[0][0], i[0][1]) +
' ' +
r.applyToPointStringified(s[0][0], s[0][1])),
(l += 'z')),
l
)
},
SVGElementsRenderer = (function () {
var e = new Matrix(),
t = new Matrix()
function n(e, t, n) {
;(n || t.transform.op._mdf) &&
t.transform.container.setAttribute('opacity', t.transform.op.v),
(n || t.transform.mProps._mdf) &&
t.transform.container.setAttribute(
'transform',
t.transform.mProps.v.to2dCSS()
)
}
function r() {}
function a(n, r, a) {
var o,
i,
s,
l,
c,
u,
p,
d,
f,
h,
v,
m = r.styles.length,
g = r.lvl
for (u = 0; u < m; u += 1) {
if (((l = r.sh._mdf || a), r.styles[u].lvl < g)) {
for (
d = t.reset(), h = g - r.styles[u].lvl, v = r.transformers.length - 1;
!l && h > 0;
)
(l = r.transformers[v].mProps._mdf || l), (h -= 1), (v -= 1)
if (l)
for (h = g - r.styles[u].lvl, v = r.transformers.length - 1; h > 0; )
(f = r.transformers[v].mProps.v.props),
d.transform(
f[0],
f[1],
f[2],
f[3],
f[4],
f[5],
f[6],
f[7],
f[8],
f[9],
f[10],
f[11],
f[12],
f[13],
f[14],
f[15]
),
(h -= 1),
(v -= 1)
} else d = e
if (((i = (p = r.sh.paths)._length), l)) {
for (s = '', o = 0; o < i; o += 1)
(c = p.shapes[o]) &&
c._length &&
(s += buildShapeString(c, c._length, c.c, d))
r.caches[u] = s
} else s = r.caches[u]
;(r.styles[u].d += !0 === n.hd ? '' : s),
(r.styles[u]._mdf = l || r.styles[u]._mdf)
}
}
function o(e, t, n) {
var r = t.style
;(t.c._mdf || n) &&
r.pElem.setAttribute(
'fill',
'rgb(' +
bmFloor(t.c.v[0]) +
',' +
bmFloor(t.c.v[1]) +
',' +
bmFloor(t.c.v[2]) +
')'
),
(t.o._mdf || n) && r.pElem.setAttribute('fill-opacity', t.o.v)
}
function i(e, t, n) {
s(e, t, n), l(0, t, n)
}
function s(e, t, n) {
var r,
a,
o,
i,
s,
l = t.gf,
c = t.g._hasOpacity,
u = t.s.v,
p = t.e.v
if (t.o._mdf || n) {
var d = 'gf' === e.ty ? 'fill-opacity' : 'stroke-opacity'
t.style.pElem.setAttribute(d, t.o.v)
}
if (t.s._mdf || n) {
var f = 1 === e.t ? 'x1' : 'cx',
h = 'x1' === f ? 'y1' : 'cy'
l.setAttribute(f, u[0]),
l.setAttribute(h, u[1]),
c &&
!t.g._collapsable &&
(t.of.setAttribute(f, u[0]), t.of.setAttribute(h, u[1]))
}
if (t.g._cmdf || n) {
r = t.cst
var v = t.g.c
for (o = r.length, a = 0; a < o; a += 1)
(i = r[a]).setAttribute('offset', v[4 * a] + '%'),
i.setAttribute(
'stop-color',
'rgb(' + v[4 * a + 1] + ',' + v[4 * a + 2] + ',' + v[4 * a + 3] + ')'
)
}
if (c && (t.g._omdf || n)) {
var m = t.g.o
for (
o = (r = t.g._collapsable ? t.cst : t.ost).length, a = 0;
a < o;
a += 1
)
(i = r[a]),
t.g._collapsable || i.setAttribute('offset', m[2 * a] + '%'),
i.setAttribute('stop-opacity', m[2 * a + 1])
}
if (1 === e.t)
(t.e._mdf || n) &&
(l.setAttribute('x2', p[0]),
l.setAttribute('y2', p[1]),
c &&
!t.g._collapsable &&
(t.of.setAttribute('x2', p[0]), t.of.setAttribute('y2', p[1])))
else if (
((t.s._mdf || t.e._mdf || n) &&
((s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2))),
l.setAttribute('r', s),
c && !t.g._collapsable && t.of.setAttribute('r', s)),
t.e._mdf || t.h._mdf || t.a._mdf || n)
) {
s || (s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2)))
var g = Math.atan2(p[1] - u[1], p[0] - u[0]),
y = t.h.v
y >= 1 ? (y = 0.99) : y <= -1 && (y = -0.99)
var b = s * y,
_ = Math.cos(g + t.a.v) * b + u[0],
A = Math.sin(g + t.a.v) * b + u[1]
l.setAttribute('fx', _),
l.setAttribute('fy', A),
c &&
!t.g._collapsable &&
(t.of.setAttribute('fx', _), t.of.setAttribute('fy', A))
}
}
function l(e, t, n) {
var r = t.style,
a = t.d
a &&
(a._mdf || n) &&
a.dashStr &&
(r.pElem.setAttribute('stroke-dasharray', a.dashStr),
r.pElem.setAttribute('stroke-dashoffset', a.dashoffset[0])),
t.c &&
(t.c._mdf || n) &&
r.pElem.setAttribute(
'stroke',
'rgb(' +
bmFloor(t.c.v[0]) +
',' +
bmFloor(t.c.v[1]) +
',' +
bmFloor(t.c.v[2]) +
')'
),
(t.o._mdf || n) && r.pElem.setAttribute('stroke-opacity', t.o.v),
(t.w._mdf || n) &&
(r.pElem.setAttribute('stroke-width', t.w.v),
r.msElem && r.msElem.setAttribute('stroke-width', t.w.v))
}
return {
createRenderFunction: function (e) {
switch (e.ty) {
case 'fl':
return o
case 'gf':
return s
case 'gs':
return i
case 'st':
return l
case 'sh':
case 'el':
case 'rc':
case 'sr':
return a
case 'tr':
return n
case 'no':
return r
default:
return null
}
}
}
})()
function SVGShapeElement(e, t, n) {
;(this.shapes = []),
(this.shapesData = e.shapes),
(this.stylesList = []),
(this.shapeModifiers = []),
(this.itemsData = []),
(this.processedElements = []),
(this.animatedContents = []),
this.initElement(e, t, n),
(this.prevViewData = [])
}
function LetterProps(e, t, n, r, a, o) {
;(this.o = e),
(this.sw = t),
(this.sc = n),
(this.fc = r),
(this.m = a),
(this.p = o),
(this._mdf = { o: !0, sw: !!t, sc: !!n, fc: !!r, m: !0, p: !0 })
}
function TextProperty(e, t) {
;(this._frameId = initialDefaultFrame),
(this.pv = ''),
(this.v = ''),
(this.kf = !1),
(this._isFirstFrame = !0),
(this._mdf = !1),
(this.data = t),
(this.elem = e),
(this.comp = this.elem.comp),
(this.keysIndex = 0),
(this.canResize = !1),
(this.minimumFontSize = 1),
(this.effectsSequence = []),
(this.currentData = {
ascent: 0,
boxWidth: this.defaultBoxWidth,
f: '',
fStyle: '',
fWeight: '',
fc: '',
j: '',
justifyOffset: '',
l: [],
lh: 0,
lineWidths: [],
ls: '',
of: '',
s: '',
sc: '',
sw: 0,
t: 0,
tr: 0,
sz: 0,
ps: null,
fillColorAnim: !1,
strokeColorAnim: !1,
strokeWidthAnim: !1,
yOffset: 0,
finalSize: 0,
finalText: [],
finalLineHeight: 0,
__complete: !1
}),
this.copyData(this.currentData, this.data.d.k[0].s),
this.searchProperty() || this.completeTextData(this.currentData)
}
extendPrototype(
[
BaseElement,
TransformElement,
SVGBaseElement,
IShapeElement,
HierarchyElement,
FrameElement,
RenderableDOMElement
],
SVGShapeElement
),
(SVGShapeElement.prototype.initSecondaryElement = function () {}),
(SVGShapeElement.prototype.identityMatrix = new Matrix()),
(SVGShapeElement.prototype.buildExpressionInterface = function () {}),
(SVGShapeElement.prototype.createContent = function () {
this.searchShapes(
this.shapesData,
this.itemsData,
this.prevViewData,
this.layerElement,
0,
[],
!0
),
this.filterUniqueShapes()
}),
(SVGShapeElement.prototype.filterUniqueShapes = function () {
var e,
t,
n,
r,
a = this.shapes.length,
o = this.stylesList.length,
i = [],
s = !1
for (n = 0; n < o; n += 1) {
for (r = this.stylesList[n], s = !1, i.length = 0, e = 0; e < a; e += 1)
-1 !== (t = this.shapes[e]).styles.indexOf(r) &&
(i.push(t), (s = t._isAnimated || s))
i.length > 1 && s && this.setShapesAsAnimated(i)
}
}),
(SVGShapeElement.prototype.setShapesAsAnimated = function (e) {
var t,
n = e.length
for (t = 0; t < n; t += 1) e[t].setAsAnimated()
}),
(SVGShapeElement.prototype.createStyleElement = function (e, t) {
var n,
r = new SVGStyleData(e, t),
a = r.pElem
return (
'st' === e.ty
? (n = new SVGStrokeStyleData(this, e, r))
: 'fl' === e.ty
? (n = new SVGFillStyleData(this, e, r))
: 'gf' === e.ty || 'gs' === e.ty
? ((n = new (
'gf' === e.ty ? SVGGradientFillStyleData : SVGGradientStrokeStyleData
)(this, e, r)),
this.globalData.defs.appendChild(n.gf),
n.maskId &&
(this.globalData.defs.appendChild(n.ms),
this.globalData.defs.appendChild(n.of),
a.setAttribute(
'mask',
'url(' + getLocationHref() + '#' + n.maskId + ')'
)))
: 'no' === e.ty && (n = new SVGNoStyleData(this, e, r)),
('st' !== e.ty && 'gs' !== e.ty) ||
(a.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
a.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
a.setAttribute('fill-opacity', '0'),
1 === e.lj && a.setAttribute('stroke-miterlimit', e.ml)),
2 === e.r && a.setAttribute('fill-rule', 'evenodd'),
e.ln && a.setAttribute('id', e.ln),
e.cl && a.setAttribute('class', e.cl),
e.bm && (a.style['mix-blend-mode'] = getBlendMode(e.bm)),
this.stylesList.push(r),
this.addToAnimatedContents(e, n),
n
)
}),
(SVGShapeElement.prototype.createGroupElement = function (e) {
var t = new ShapeGroupData()
return (
e.ln && t.gr.setAttribute('id', e.ln),
e.cl && t.gr.setAttribute('class', e.cl),
e.bm && (t.gr.style['mix-blend-mode'] = getBlendMode(e.bm)),
t
)
}),
(SVGShapeElement.prototype.createTransformElement = function (e, t) {
var n = TransformPropertyFactory.getTransformProperty(this, e, this),
r = new SVGTransformData(n, n.o, t)
return this.addToAnimatedContents(e, r), r
}),
(SVGShapeElement.prototype.createShapeElement = function (e, t, n) {
var r = 4
'rc' === e.ty ? (r = 5) : 'el' === e.ty ? (r = 6) : 'sr' === e.ty && (r = 7)
var a = new SVGShapeData(
t,
n,
ShapePropertyFactory.getShapeProp(this, e, r, this)
)
return (
this.shapes.push(a),
this.addShapeToModifiers(a),
this.addToAnimatedContents(e, a),
a
)
}),
(SVGShapeElement.prototype.addToAnimatedContents = function (e, t) {
for (var n = 0, r = this.animatedContents.length; n < r; ) {
if (this.animatedContents[n].element === t) return
n += 1
}
this.animatedContents.push({
fn: SVGElementsRenderer.createRenderFunction(e),
element: t,
data: e
})
}),
(SVGShapeElement.prototype.setElementStyles = function (e) {
var t,
n = e.styles,
r = this.stylesList.length
for (t = 0; t < r; t += 1)
this.stylesList[t].closed || n.push(this.stylesList[t])
}),
(SVGShapeElement.prototype.reloadShapes = function () {
var e
this._isFirstFrame = !0
var t = this.itemsData.length
for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
for (
this.searchShapes(
this.shapesData,
this.itemsData,
this.prevViewData,
this.layerElement,
0,
[],
!0
),
this.filterUniqueShapes(),
t = this.dynamicProperties.length,
e = 0;
e < t;
e += 1
)
this.dynamicProperties[e].getValue()
this.renderModifiers()
}),
(SVGShapeElement.prototype.searchShapes = function (e, t, n, r, a, o, i) {
var s,
l,
c,
u,
p,
d,
f = [].concat(o),
h = e.length - 1,
v = [],
m = []
for (s = h; s >= 0; s -= 1) {
if (
((d = this.searchProcessedElement(e[s]))
? (t[s] = n[d - 1])
: (e[s]._render = i),
'fl' === e[s].ty ||
'st' === e[s].ty ||
'gf' === e[s].ty ||
'gs' === e[s].ty ||
'no' === e[s].ty)
)
d ? (t[s].style.closed = !1) : (t[s] = this.createStyleElement(e[s], a)),
e[s]._render &&
t[s].style.pElem.parentNode !== r &&
r.appendChild(t[s].style.pElem),
v.push(t[s].style)
else if ('gr' === e[s].ty) {
if (d)
for (c = t[s].it.length, l = 0; l < c; l += 1)
t[s].prevViewData[l] = t[s].it[l]
else t[s] = this.createGroupElement(e[s])
this.searchShapes(
e[s].it,
t[s].it,
t[s].prevViewData,
t[s].gr,
a + 1,
f,
i
),
e[s]._render && t[s].gr.parentNode !== r && r.appendChild(t[s].gr)
} else
'tr' === e[s].ty
? (d || (t[s] = this.createTransformElement(e[s], r)),
(u = t[s].transform),
f.push(u))
: 'sh' === e[s].ty ||
'rc' === e[s].ty ||
'el' === e[s].ty ||
'sr' === e[s].ty
? (d || (t[s] = this.createShapeElement(e[s], f, a)),
this.setElementStyles(t[s]))
: 'tm' === e[s].ty ||
'rd' === e[s].ty ||
'ms' === e[s].ty ||
'pb' === e[s].ty
? (d
? ((p = t[s]).closed = !1)
: ((p = ShapeModifiers.getModifier(e[s].ty)).init(this, e[s]),
(t[s] = p),
this.shapeModifiers.push(p)),
m.push(p))
: 'rp' === e[s].ty &&
(d
? ((p = t[s]).closed = !0)
: ((p = ShapeModifiers.getModifier(e[s].ty)),
(t[s] = p),
p.init(this, e, s, t),
this.shapeModifiers.push(p),
(i = !1)),
m.push(p))
this.addProcessedElement(e[s], s + 1)
}
for (h = v.length, s = 0; s < h; s += 1) v[s].closed = !0
for (h = m.length, s = 0; s < h; s += 1) m[s].closed = !0
}),
(SVGShapeElement.prototype.renderInnerContent = function () {
var e
this.renderModifiers()
var t = this.stylesList.length
for (e = 0; e < t; e += 1) this.stylesList[e].reset()
for (this.renderShape(), e = 0; e < t; e += 1)
(this.stylesList[e]._mdf || this._isFirstFrame) &&
(this.stylesList[e].msElem &&
(this.stylesList[e].msElem.setAttribute('d', this.stylesList[e].d),
(this.stylesList[e].d = 'M0 0' + this.stylesList[e].d)),
this.stylesList[e].pElem.setAttribute('d', this.stylesList[e].d || 'M0 0'))
}),
(SVGShapeElement.prototype.renderShape = function () {
var e,
t,
n = this.animatedContents.length
for (e = 0; e < n; e += 1)
(t = this.animatedContents[e]),
(this._isFirstFrame || t.element._isAnimated) &&
!0 !== t.data &&
t.fn(t.data, t.element, this._isFirstFrame)
}),
(SVGShapeElement.prototype.destroy = function () {
this.destroyBaseElement(), (this.shapesData = null), (this.itemsData = null)
}),
(LetterProps.prototype.update = function (e, t, n, r, a, o) {
;(this._mdf.o = !1),
(this._mdf.sw = !1),
(this._mdf.sc = !1),
(this._mdf.fc = !1),
(this._mdf.m = !1),
(this._mdf.p = !1)
var i = !1
return (
this.o !== e && ((this.o = e), (this._mdf.o = !0), (i = !0)),
this.sw !== t && ((this.sw = t), (this._mdf.sw = !0), (i = !0)),
this.sc !== n && ((this.sc = n), (this._mdf.sc = !0), (i = !0)),
this.fc !== r && ((this.fc = r), (this._mdf.fc = !0), (i = !0)),
this.m !== a && ((this.m = a), (this._mdf.m = !0), (i = !0)),
!o.length ||
(this.p[0] === o[0] &&
this.p[1] === o[1] &&
this.p[4] === o[4] &&
this.p[5] === o[5] &&
this.p[12] === o[12] &&
this.p[13] === o[13]) ||
((this.p = o), (this._mdf.p = !0), (i = !0)),
i
)
}),
(TextProperty.prototype.defaultBoxWidth = [0, 0]),
(TextProperty.prototype.copyData = function (e, t) {
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
return e
}),
(TextProperty.prototype.setCurrentData = function (e) {
e.__complete || this.completeTextData(e),
(this.currentData = e),
(this.currentData.boxWidth =
this.currentData.boxWidth || this.defaultBoxWidth),
(this._mdf = !0)
}),
(TextProperty.prototype.searchProperty = function () {
return this.searchKeyframes()
}),
(TextProperty.prototype.searchKeyframes = function () {
return (
(this.kf = this.data.d.k.length > 1),
this.kf && this.addEffect(this.getKeyframeValue.bind(this)),
this.kf
)
}),
(TextProperty.prototype.addEffect = function (e) {
this.effectsSequence.push(e), this.elem.addDynamicProperty(this)
}),
(TextProperty.prototype.getValue = function (e) {
if (
(this.elem.globalData.frameId !== this.frameId &&
this.effectsSequence.length) ||
e
) {
this.currentData.t = this.data.d.k[this.keysIndex].s.t
var t = this.currentData,
n = this.keysIndex
if (this.lock) this.setCurrentData(this.currentData)
else {
var r
;(this.lock = !0), (this._mdf = !1)
var a = this.effectsSequence.length,
o = e || this.data.d.k[this.keysIndex].s
for (r = 0; r < a; r += 1)
o =
n !== this.keysIndex
? this.effectsSequence[r](o, o.t)
: this.effectsSequence[r](this.currentData, o.t)
t !== o && this.setCurrentData(o),
(this.v = this.currentData),
(this.pv = this.v),
(this.lock = !1),
(this.frameId = this.elem.globalData.frameId)
}
}
}),
(TextProperty.prototype.getKeyframeValue = function () {
for (
var e = this.data.d.k, t = this.elem.comp.renderedFrame, n = 0, r = e.length;
n <= r - 1 && !(n === r - 1 || e[n + 1].t > t);
)
n += 1
return (
this.keysIndex !== n && (this.keysIndex = n), this.data.d.k[this.keysIndex].s
)
}),
(TextProperty.prototype.buildFinalText = function (e) {
for (var t, n, r = [], a = 0, o = e.length, i = !1; a < o; )
(t = e.charCodeAt(a)),
FontManager.isCombinedCharacter(t)
? (r[r.length - 1] += e.charAt(a))
: t >= 55296 && t <= 56319
? (n = e.charCodeAt(a + 1)) >= 56320 && n <= 57343
? (i || FontManager.isModifier(t, n)
? ((r[r.length - 1] += e.substr(a, 2)), (i = !1))
: r.push(e.substr(a, 2)),
(a += 1))
: r.push(e.charAt(a))
: t > 56319
? ((n = e.charCodeAt(a + 1)),
FontManager.isZeroWidthJoiner(t, n)
? ((i = !0), (r[r.length - 1] += e.substr(a, 2)), (a += 1))
: r.push(e.charAt(a)))
: FontManager.isZeroWidthJoiner(t)
? ((r[r.length - 1] += e.charAt(a)), (i = !0))
: r.push(e.charAt(a)),
(a += 1)
return r
}),
(TextProperty.prototype.completeTextData = function (e) {
e.__complete = !0
var t,
n,
r,
a,
o,
i,
s,
l = this.elem.globalData.fontManager,
c = this.data,
u = [],
p = 0,
d = c.m.g,
f = 0,
h = 0,
v = 0,
m = [],
g = 0,
y = 0,
b = l.getFontByName(e.f),
_ = 0,
A = getFontProperties(b)
;(e.fWeight = A.weight),
(e.fStyle = A.style),
(e.finalSize = e.s),
(e.finalText = this.buildFinalText(e.t)),
(n = e.finalText.length),
(e.finalLineHeight = e.lh)
var x,
w = (e.tr / 1e3) * e.finalSize
if (e.sz)
for (var k, S, E = !0, P = e.sz[0], C = e.sz[1]; E; ) {
;(k = 0),
(g = 0),
(n = (S = this.buildFinalText(e.t)).length),
(w = (e.tr / 1e3) * e.finalSize)
var T = -1
for (t = 0; t < n; t += 1)
(x = S[t].charCodeAt(0)),
(r = !1),
' ' === S[t]
? (T = t)
: (13 !== x && 3 !== x) ||
((g = 0), (r = !0), (k += e.finalLineHeight || 1.2 * e.finalSize)),
l.chars
? ((s = l.getCharData(S[t], b.fStyle, b.fFamily)),
(_ = r ? 0 : (s.w * e.finalSize) / 100))
: (_ = l.measureText(S[t], e.f, e.finalSize)),
g + _ > P && ' ' !== S[t]
? (-1 === T ? (n += 1) : (t = T),
(k += e.finalLineHeight || 1.2 * e.finalSize),
S.splice(t, T === t ? 1 : 0, '\r'),
(T = -1),
(g = 0))
: ((g += _), (g += w))
;(k += (b.ascent * e.finalSize) / 100),
this.canResize && e.finalSize > this.minimumFontSize && C < k
? ((e.finalSize -= 1), (e.finalLineHeight = (e.finalSize * e.lh) / e.s))
: ((e.finalText = S), (n = e.finalText.length), (E = !1))
}
;(g = -w), (_ = 0)
var I,
M = 0
for (t = 0; t < n; t += 1)
if (
((r = !1),
13 === (x = (I = e.finalText[t]).charCodeAt(0)) || 3 === x
? ((M = 0),
m.push(g),
(y = g > y ? g : y),
(g = -2 * w),
(a = ''),
(r = !0),
(v += 1))
: (a = I),
l.chars
? ((s = l.getCharData(I, b.fStyle, l.getFontByName(e.f).fFamily)),
(_ = r ? 0 : (s.w * e.finalSize) / 100))
: (_ = l.measureText(a, e.f, e.finalSize)),
' ' === I ? (M += _ + w) : ((g += _ + w + M), (M = 0)),
u.push({
l: _,
an: _,
add: f,
n: r,
anIndexes: [],
val: a,
line: v,
animatorJustifyOffset: 0
}),
2 == d)
) {
if (((f += _), '' === a || ' ' === a || t === n - 1)) {
for (('' !== a && ' ' !== a) || (f -= _); h <= t; )
(u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
;(p += 1), (f = 0)
}
} else if (3 == d) {
if (((f += _), '' === a || t === n - 1)) {
for ('' === a && (f -= _); h <= t; )
(u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
;(f = 0), (p += 1)
}
} else (u[p].ind = p), (u[p].extra = 0), (p += 1)
if (((e.l = u), (y = g > y ? g : y), m.push(g), e.sz))
(e.boxWidth = e.sz[0]), (e.justifyOffset = 0)
else
switch (((e.boxWidth = y), e.j)) {
case 1:
e.justifyOffset = -e.boxWidth
break
case 2:
e.justifyOffset = -e.boxWidth / 2
break
default:
e.justifyOffset = 0
}
e.lineWidths = m
var R,
O,
z,
D,
F = c.a
i = F.length
var B = []
for (o = 0; o < i; o += 1) {
for (
(R = F[o]).a.sc && (e.strokeColorAnim = !0),
R.a.sw && (e.strokeWidthAnim = !0),
(R.a.fc || R.a.fh || R.a.fs || R.a.fb) && (e.fillColorAnim = !0),
D = 0,
z = R.s.b,
t = 0;
t < n;
t += 1
)
((O = u[t]).anIndexes[o] = D),
((1 == z && '' !== O.val) ||
(2 == z && '' !== O.val && ' ' !== O.val) ||
(3 == z && (O.n || ' ' == O.val || t == n - 1)) ||
(4 == z && (O.n || t == n - 1))) &&
(1 === R.s.rn && B.push(D), (D += 1))
c.a[o].s.totalChars = D
var N,
j = -1
if (1 === R.s.rn)
for (t = 0; t < n; t += 1)
j != (O = u[t]).anIndexes[o] &&
((j = O.anIndexes[o]),
(N = B.splice(Math.floor(Math.random() * B.length), 1)[0])),
(O.anIndexes[o] = N)
}
;(e.yOffset = e.finalLineHeight || 1.2 * e.finalSize),
(e.ls = e.ls || 0),
(e.ascent = (b.ascent * e.finalSize) / 100)
}),
(TextProperty.prototype.updateDocumentData = function (e, t) {
t = void 0 === t ? this.keysIndex : t
var n = this.copyData({}, this.data.d.k[t].s)
;(n = this.copyData(n, e)),
(this.data.d.k[t].s = n),
this.recalculate(t),
this.elem.addDynamicProperty(this)
}),
(TextProperty.prototype.recalculate = function (e) {
var t = this.data.d.k[e].s
;(t.__complete = !1),
(this.keysIndex = 0),
(this._isFirstFrame = !0),
this.getValue(t)
}),
(TextProperty.prototype.canResizeFont = function (e) {
;(this.canResize = e),
this.recalculate(this.keysIndex),
this.elem.addDynamicProperty(this)
}),
(TextProperty.prototype.setMinimumFontSize = function (e) {
;(this.minimumFontSize = Math.floor(e) || 1),
this.recalculate(this.keysIndex),
this.elem.addDynamicProperty(this)
})
var TextSelectorProp = (function () {
var e = Math.max,
t = Math.min,
n = Math.floor
function r(e, t) {
;(this._currentTextLength = -1),
(this.k = !1),
(this.data = t),
(this.elem = e),
(this.comp = e.comp),
(this.finalS = 0),
(this.finalE = 0),
this.initDynamicPropertyContainer(e),
(this.s = PropertyFactory.getProp(e, t.s || { k: 0 }, 0, 0, this)),
(this.e =
'e' in t ? PropertyFactory.getProp(e, t.e, 0, 0, this) : { v: 100 }),
(this.o = PropertyFactory.getProp(e, t.o || { k: 0 }, 0, 0, this)),
(this.xe = PropertyFactory.getProp(e, t.xe || { k: 0 }, 0, 0, this)),
(this.ne = PropertyFactory.getProp(e, t.ne || { k: 0 }, 0, 0, this)),
(this.sm = PropertyFactory.getProp(e, t.sm || { k: 100 }, 0, 0, this)),
(this.a = PropertyFactory.getProp(e, t.a, 0, 0.01, this)),
this.dynamicProperties.length || this.getValue()
}
return (
(r.prototype = {
getMult: function (r) {
this._currentTextLength !== this.elem.textProperty.currentData.l.length &&
this.getValue()
var a = 0,
o = 0,
i = 1,
s = 1
this.ne.v > 0 ? (a = this.ne.v / 100) : (o = -this.ne.v / 100),
this.xe.v > 0 ? (i = 1 - this.xe.v / 100) : (s = 1 + this.xe.v / 100)
var l = BezierFactory.getBezierEasing(a, o, i, s).get,
c = 0,
u = this.finalS,
p = this.finalE,
d = this.data.sh
if (2 === d)
c = l(
(c =
p === u
? r >= p
? 1
: 0
: e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
)
else if (3 === d)
c = l(
(c =
p === u
? r >= p
? 0
: 1
: 1 - e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
)
else if (4 === d)
p === u
? (c = 0)
: (c = e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1))) < 0.5
? (c *= 2)
: (c = 1 - 2 * (c - 0.5)),
(c = l(c))
else if (5 === d) {
if (p === u) c = 0
else {
var f = p - u,
h = -f / 2 + (r = t(e(0, r + 0.5 - u), p - u)),
v = f / 2
c = Math.sqrt(1 - (h * h) / (v * v))
}
c = l(c)
} else
6 === d
? (p === u
? (c = 0)
: ((r = t(e(0, r + 0.5 - u), p - u)),
(c = (1 + Math.cos(Math.PI + (2 * Math.PI * r) / (p - u))) / 2)),
(c = l(c)))
: (r >= n(u) && (c = e(0, t(r - u < 0 ? t(p, 1) - (u - r) : p - r, 1))),
(c = l(c)))
if (100 !== this.sm.v) {
var m = 0.01 * this.sm.v
0 === m && (m = 1e-8)
var g = 0.5 - 0.5 * m
c < g ? (c = 0) : (c = (c - g) / m) > 1 && (c = 1)
}
return c * this.a.v
},
getValue: function (e) {
this.iterateDynamicProperties(),
(this._mdf = e || this._mdf),
(this._currentTextLength =
this.elem.textProperty.currentData.l.length || 0),
e && 2 === this.data.r && (this.e.v = this._currentTextLength)
var t = 2 === this.data.r ? 1 : 100 / this.data.totalChars,
n = this.o.v / t,
r = this.s.v / t + n,
a = this.e.v / t + n
if (r > a) {
var o = r
;(r = a), (a = o)
}
;(this.finalS = r), (this.finalE = a)
}
}),
extendPrototype([DynamicPropertyContainer], r),
{
getTextSelectorProp: function (e, t, n) {
return new r(e, t)
}
}
)
})()
function TextAnimatorDataProperty(e, t, n) {
var r = { propType: !1 },
a = PropertyFactory.getProp,
o = t.a
;(this.a = {
r: o.r ? a(e, o.r, 0, degToRads, n) : r,
rx: o.rx ? a(e, o.rx, 0, degToRads, n) : r,
ry: o.ry ? a(e, o.ry, 0, degToRads, n) : r,
sk: o.sk ? a(e, o.sk, 0, degToRads, n) : r,
sa: o.sa ? a(e, o.sa, 0, degToRads, n) : r,
s: o.s ? a(e, o.s, 1, 0.01, n) : r,
a: o.a ? a(e, o.a, 1, 0, n) : r,
o: o.o ? a(e, o.o, 0, 0.01, n) : r,
p: o.p ? a(e, o.p, 1, 0, n) : r,
sw: o.sw ? a(e, o.sw, 0, 0, n) : r,
sc: o.sc ? a(e, o.sc, 1, 0, n) : r,
fc: o.fc ? a(e, o.fc, 1, 0, n) : r,
fh: o.fh ? a(e, o.fh, 0, 0, n) : r,
fs: o.fs ? a(e, o.fs, 0, 0.01, n) : r,
fb: o.fb ? a(e, o.fb, 0, 0.01, n) : r,
t: o.t ? a(e, o.t, 0, 0, n) : r
}),
(this.s = TextSelectorProp.getTextSelectorProp(e, t.s, n)),
(this.s.t = t.s.t)
}
function TextAnimatorProperty(e, t, n) {
;(this._isFirstFrame = !0),
(this._hasMaskedPath = !1),
(this._frameId = -1),
(this._textData = e),
(this._renderType = t),
(this._elem = n),
(this._animatorsData = createSizedArray(this._textData.a.length)),
(this._pathData = {}),
(this._moreOptions = { alignment: {} }),
(this.renderedLetters = []),
(this.lettersChangedFlag = !1),
this.initDynamicPropertyContainer(n)
}
function ITextElement() {}
;(TextAnimatorProperty.prototype.searchProperties = function () {
var e,
t,
n = this._textData.a.length,
r = PropertyFactory.getProp
for (e = 0; e < n; e += 1)
(t = this._textData.a[e]),
(this._animatorsData[e] = new TextAnimatorDataProperty(this._elem, t, this))
this._textData.p && 'm' in this._textData.p
? ((this._pathData = {
a: r(this._elem, this._textData.p.a, 0, 0, this),
f: r(this._elem, this._textData.p.f, 0, 0, this),
l: r(this._elem, this._textData.p.l, 0, 0, this),
r: r(this._elem, this._textData.p.r, 0, 0, this),
p: r(this._elem, this._textData.p.p, 0, 0, this),
m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
}),
(this._hasMaskedPath = !0))
: (this._hasMaskedPath = !1),
(this._moreOptions.alignment = r(this._elem, this._textData.m.a, 1, 0, this))
}),
(TextAnimatorProperty.prototype.getMeasures = function (e, t) {
if (
((this.lettersChangedFlag = t),
this._mdf ||
this._isFirstFrame ||
t ||
(this._hasMaskedPath && this._pathData.m._mdf))
) {
this._isFirstFrame = !1
var n,
r,
a,
o,
i,
s,
l,
c,
u,
p,
d,
f,
h,
v,
m,
g,
y,
b,
_,
A = this._moreOptions.alignment.v,
x = this._animatorsData,
w = this._textData,
k = this.mHelper,
S = this._renderType,
E = this.renderedLetters.length,
P = e.l
if (this._hasMaskedPath) {
if (((_ = this._pathData.m), !this._pathData.n || this._pathData._mdf)) {
var C,
T = _.v
for (
this._pathData.r.v && (T = T.reverse()),
i = { tLength: 0, segments: [] },
o = T._length - 1,
g = 0,
a = 0;
a < o;
a += 1
)
(C = bez.buildBezierData(
T.v[a],
T.v[a + 1],
[T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
[T.i[a + 1][0] - T.v[a + 1][0], T.i[a + 1][1] - T.v[a + 1][1]]
)),
(i.tLength += C.segmentLength),
i.segments.push(C),
(g += C.segmentLength)
;(a = o),
_.v.c &&
((C = bez.buildBezierData(
T.v[a],
T.v[0],
[T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
[T.i[0][0] - T.v[0][0], T.i[0][1] - T.v[0][1]]
)),
(i.tLength += C.segmentLength),
i.segments.push(C),
(g += C.segmentLength)),
(this._pathData.pi = i)
}
if (
((i = this._pathData.pi),
(s = this._pathData.f.v),
(d = 0),
(p = 1),
(c = 0),
(u = !0),
(v = i.segments),
s < 0 && _.v.c)
)
for (
i.tLength < Math.abs(s) && (s = -Math.abs(s) % i.tLength),
p = (h = v[(d = v.length - 1)].points).length - 1;
s < 0;
)
(s += h[p].partialLength),
(p -= 1) < 0 && (p = (h = v[(d -= 1)].points).length - 1)
;(f = (h = v[d].points)[p - 1]), (m = (l = h[p]).partialLength)
}
;(o = P.length), (n = 0), (r = 0)
var I,
M,
R,
O,
z,
D = 1.2 * e.finalSize * 0.714,
F = !0
R = x.length
var B,
N,
j,
V,
L,
H,
G,
q,
U,
W,
K,
$,
Y = -1,
J = s,
Q = d,
X = p,
Z = -1,
ee = '',
te = this.defaultPropsArray
if (2 === e.j || 1 === e.j) {
var ne = 0,
re = 0,
ae = 2 === e.j ? -0.5 : -1,
oe = 0,
ie = !0
for (a = 0; a < o; a += 1)
if (P[a].n) {
for (ne && (ne += re); oe < a; )
(P[oe].animatorJustifyOffset = ne), (oe += 1)
;(ne = 0), (ie = !0)
} else {
for (M = 0; M < R; M += 1)
(I = x[M].a).t.propType &&
(ie && 2 === e.j && (re += I.t.v * ae),
(z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)).length
? (ne += I.t.v * z[0] * ae)
: (ne += I.t.v * z * ae))
ie = !1
}
for (ne && (ne += re); oe < a; )
(P[oe].animatorJustifyOffset = ne), (oe += 1)
}
for (a = 0; a < o; a += 1) {
if ((k.reset(), (V = 1), P[a].n))
(n = 0),
(r += e.yOffset),
(r += F ? 1 : 0),
(s = J),
(F = !1),
this._hasMaskedPath &&
((p = X),
(f = (h = v[(d = Q)].points)[p - 1]),
(m = (l = h[p]).partialLength),
(c = 0)),
(ee = ''),
(K = ''),
(U = ''),
($ = ''),
(te = this.defaultPropsArray)
else {
if (this._hasMaskedPath) {
if (Z !== P[a].line) {
switch (e.j) {
case 1:
s += g - e.lineWidths[P[a].line]
break
case 2:
s += (g - e.lineWidths[P[a].line]) / 2
}
Z = P[a].line
}
Y !== P[a].ind &&
(P[Y] && (s += P[Y].extra), (s += P[a].an / 2), (Y = P[a].ind)),
(s += A[0] * P[a].an * 0.005)
var se = 0
for (M = 0; M < R; M += 1)
(I = x[M].a).p.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)).length
? (se += I.p.v[0] * z[0])
: (se += I.p.v[0] * z)),
I.a.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars))
.length
? (se += I.a.v[0] * z[0])
: (se += I.a.v[0] * z))
for (
u = !0,
this._pathData.a.v &&
((s =
0.5 * P[0].an +
((g -
this._pathData.f.v -
0.5 * P[0].an -
0.5 * P[P.length - 1].an) *
Y) /
(o - 1)),
(s += this._pathData.f.v));
u;
)
c + m >= s + se || !h
? ((y = (s + se - c) / l.partialLength),
(N = f.point[0] + (l.point[0] - f.point[0]) * y),
(j = f.point[1] + (l.point[1] - f.point[1]) * y),
k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01),
(u = !1))
: h &&
((c += l.partialLength),
(p += 1) >= h.length &&
((p = 0),
v[(d += 1)]
? (h = v[d].points)
: _.v.c
? ((p = 0), (h = v[(d = 0)].points))
: ((c -= l.partialLength), (h = null))),
h && ((f = l), (m = (l = h[p]).partialLength)))
;(B = P[a].an / 2 - P[a].add), k.translate(-B, 0, 0)
} else
(B = P[a].an / 2 - P[a].add),
k.translate(-B, 0, 0),
k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01, 0)
for (M = 0; M < R; M += 1)
(I = x[M].a).t.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)),
(0 === n && 0 === e.j) ||
(this._hasMaskedPath
? z.length
? (s += I.t.v * z[0])
: (s += I.t.v * z)
: z.length
? (n += I.t.v * z[0])
: (n += I.t.v * z)))
for (
e.strokeWidthAnim && (H = e.sw || 0),
e.strokeColorAnim &&
(L = e.sc ? [e.sc[0], e.sc[1], e.sc[2]] : [0, 0, 0]),
e.fillColorAnim && e.fc && (G = [e.fc[0], e.fc[1], e.fc[2]]),
M = 0;
M < R;
M += 1
)
(I = x[M].a).a.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)).length
? k.translate(-I.a.v[0] * z[0], -I.a.v[1] * z[1], I.a.v[2] * z[2])
: k.translate(-I.a.v[0] * z, -I.a.v[1] * z, I.a.v[2] * z))
for (M = 0; M < R; M += 1)
(I = x[M].a).s.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)).length
? k.scale(1 + (I.s.v[0] - 1) * z[0], 1 + (I.s.v[1] - 1) * z[1], 1)
: k.scale(1 + (I.s.v[0] - 1) * z, 1 + (I.s.v[1] - 1) * z, 1))
for (M = 0; M < R; M += 1) {
if (
((I = x[M].a),
(z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)),
I.sk.propType &&
(z.length
? k.skewFromAxis(-I.sk.v * z[0], I.sa.v * z[1])
: k.skewFromAxis(-I.sk.v * z, I.sa.v * z)),
I.r.propType &&
(z.length ? k.rotateZ(-I.r.v * z[2]) : k.rotateZ(-I.r.v * z)),
I.ry.propType &&
(z.length ? k.rotateY(I.ry.v * z[1]) : k.rotateY(I.ry.v * z)),
I.rx.propType &&
(z.length ? k.rotateX(I.rx.v * z[0]) : k.rotateX(I.rx.v * z)),
I.o.propType &&
(z.length
? (V += (I.o.v * z[0] - V) * z[0])
: (V += (I.o.v * z - V) * z)),
e.strokeWidthAnim &&
I.sw.propType &&
(z.length ? (H += I.sw.v * z[0]) : (H += I.sw.v * z)),
e.strokeColorAnim && I.sc.propType)
)
for (q = 0; q < 3; q += 1)
z.length
? (L[q] += (I.sc.v[q] - L[q]) * z[0])
: (L[q] += (I.sc.v[q] - L[q]) * z)
if (e.fillColorAnim && e.fc) {
if (I.fc.propType)
for (q = 0; q < 3; q += 1)
z.length
? (G[q] += (I.fc.v[q] - G[q]) * z[0])
: (G[q] += (I.fc.v[q] - G[q]) * z)
I.fh.propType &&
(G = z.length
? addHueToRGB(G, I.fh.v * z[0])
: addHueToRGB(G, I.fh.v * z)),
I.fs.propType &&
(G = z.length
? addSaturationToRGB(G, I.fs.v * z[0])
: addSaturationToRGB(G, I.fs.v * z)),
I.fb.propType &&
(G = z.length
? addBrightnessToRGB(G, I.fb.v * z[0])
: addBrightnessToRGB(G, I.fb.v * z))
}
}
for (M = 0; M < R; M += 1)
(I = x[M].a).p.propType &&
((z = x[M].s.getMult(P[a].anIndexes[M], w.a[M].s.totalChars)),
this._hasMaskedPath
? z.length
? k.translate(0, I.p.v[1] * z[0], -I.p.v[2] * z[1])
: k.translate(0, I.p.v[1] * z, -I.p.v[2] * z)
: z.length
? k.translate(I.p.v[0] * z[0], I.p.v[1] * z[1], -I.p.v[2] * z[2])
: k.translate(I.p.v[0] * z, I.p.v[1] * z, -I.p.v[2] * z))
if (
(e.strokeWidthAnim && (U = H < 0 ? 0 : H),
e.strokeColorAnim &&
(W =
'rgb(' +
Math.round(255 * L[0]) +
',' +
Math.round(255 * L[1]) +
',' +
Math.round(255 * L[2]) +
')'),
e.fillColorAnim &&
e.fc &&
(K =
'rgb(' +
Math.round(255 * G[0]) +
',' +
Math.round(255 * G[1]) +
',' +
Math.round(255 * G[2]) +
')'),
this._hasMaskedPath)
) {
if (
(k.translate(0, -e.ls),
k.translate(0, A[1] * D * 0.01 + r, 0),
this._pathData.p.v)
) {
b = (l.point[1] - f.point[1]) / (l.point[0] - f.point[0])
var le = (180 * Math.atan(b)) / Math.PI
l.point[0] < f.point[0] && (le += 180),
k.rotate((-le * Math.PI) / 180)
}
k.translate(N, j, 0),
(s -= A[0] * P[a].an * 0.005),
P[a + 1] &&
Y !== P[a + 1].ind &&
((s += P[a].an / 2), (s += 0.001 * e.tr * e.finalSize))
} else {
switch (
(k.translate(n, r, 0),
e.ps && k.translate(e.ps[0], e.ps[1] + e.ascent, 0),
e.j)
) {
case 1:
k.translate(
P[a].animatorJustifyOffset +
e.justifyOffset +
(e.boxWidth - e.lineWidths[P[a].line]),
0,
0
)
break
case 2:
k.translate(
P[a].animatorJustifyOffset +
e.justifyOffset +
(e.boxWidth - e.lineWidths[P[a].line]) / 2,
0,
0
)
}
k.translate(0, -e.ls),
k.translate(B, 0, 0),
k.translate(A[0] * P[a].an * 0.005, A[1] * D * 0.01, 0),
(n += P[a].l + 0.001 * e.tr * e.finalSize)
}
'html' === S
? (ee = k.toCSS())
: 'svg' === S
? (ee = k.to2dCSS())
: (te = [
k.props[0],
k.props[1],
k.props[2],
k.props[3],
k.props[4],
k.props[5],
k.props[6],
k.props[7],
k.props[8],
k.props[9],
k.props[10],
k.props[11],
k.props[12],
k.props[13],
k.props[14],
k.props[15]
]),
($ = V)
}
E <= a
? ((O = new LetterProps($, U, W, K, ee, te)),
this.renderedLetters.push(O),
(E += 1),
(this.lettersChangedFlag = !0))
: ((O = this.renderedLetters[a]),
(this.lettersChangedFlag =
O.update($, U, W, K, ee, te) || this.lettersChangedFlag))
}
}
}),
(TextAnimatorProperty.prototype.getValue = function () {
this._elem.globalData.frameId !== this._frameId &&
((this._frameId = this._elem.globalData.frameId),
this.iterateDynamicProperties())
}),
(TextAnimatorProperty.prototype.mHelper = new Matrix()),
(TextAnimatorProperty.prototype.defaultPropsArray = []),
extendPrototype([DynamicPropertyContainer], TextAnimatorProperty),
(ITextElement.prototype.initElement = function (e, t, n) {
;(this.lettersChangedFlag = !0),
this.initFrame(),
this.initBaseData(e, t, n),
(this.textProperty = new TextProperty(this, e.t, this.dynamicProperties)),
(this.textAnimator = new TextAnimatorProperty(e.t, this.renderType, this)),
this.initTransform(e, t, n),
this.initHierarchy(),
this.initRenderable(),
this.initRendererElement(),
this.createContainerElements(),
this.createRenderableComponents(),
this.createContent(),
this.hide(),
this.textAnimator.searchProperties(this.dynamicProperties)
}),
(ITextElement.prototype.prepareFrame = function (e) {
;(this._mdf = !1),
this.prepareRenderableFrame(e),
this.prepareProperties(e, this.isInRange),
(this.textProperty._mdf || this.textProperty._isFirstFrame) &&
(this.buildNewText(),
(this.textProperty._isFirstFrame = !1),
(this.textProperty._mdf = !1))
}),
(ITextElement.prototype.createPathShape = function (e, t) {
var n,
r,
a = t.length,
o = ''
for (n = 0; n < a; n += 1)
'sh' === t[n].ty &&
((r = t[n].ks.k), (o += buildShapeString(r, r.i.length, !0, e)))
return o
}),
(ITextElement.prototype.updateDocumentData = function (e, t) {
this.textProperty.updateDocumentData(e, t)
}),
(ITextElement.prototype.canResizeFont = function (e) {
this.textProperty.canResizeFont(e)
}),
(ITextElement.prototype.setMinimumFontSize = function (e) {
this.textProperty.setMinimumFontSize(e)
}),
(ITextElement.prototype.applyTextPropertiesToMatrix = function (e, t, n, r, a) {
switch (
(e.ps && t.translate(e.ps[0], e.ps[1] + e.ascent, 0),
t.translate(0, -e.ls, 0),
e.j)
) {
case 1:
t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]), 0, 0)
break
case 2:
t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0)
}
t.translate(r, a, 0)
}),
(ITextElement.prototype.buildColor = function (e) {
return (
'rgb(' +
Math.round(255 * e[0]) +
',' +
Math.round(255 * e[1]) +
',' +
Math.round(255 * e[2]) +
')'
)
}),
(ITextElement.prototype.emptyProp = new LetterProps()),
(ITextElement.prototype.destroy = function () {})
var emptyShapeData = { shapes: [] }
function SVGTextLottieElement(e, t, n) {
;(this.textSpans = []), (this.renderType = 'svg'), this.initElement(e, t, n)
}
function ISolidElement(e, t, n) {
this.initElement(e, t, n)
}
function NullElement(e, t, n) {
this.initFrame(),
this.initBaseData(e, t, n),
this.initFrame(),
this.initTransform(e, t, n),
this.initHierarchy()
}
function SVGRendererBase() {}
function ICompElement() {}
function SVGCompElement(e, t, n) {
;(this.layers = e.layers),
(this.supports3d = !0),
(this.completeLayers = !1),
(this.pendingElements = []),
(this.elements = this.layers ? createSizedArray(this.layers.length) : []),
this.initElement(e, t, n),
(this.tm = e.tm
? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
: { _placeholder: !0 })
}
function SVGRenderer(e, t) {
;(this.animationItem = e),
(this.layers = null),
(this.renderedFrame = -1),
(this.svgElement = createNS('svg'))
var n = ''
if (t && t.title) {
var r = createNS('title'),
a = createElementID()
r.setAttribute('id', a),
(r.textContent = t.title),
this.svgElement.appendChild(r),
(n += a)
}
if (t && t.description) {
var o = createNS('desc'),
i = createElementID()
o.setAttribute('id', i),
(o.textContent = t.description),
this.svgElement.appendChild(o),
(n += ' ' + i)
}
n && this.svgElement.setAttribute('aria-labelledby', n)
var s = createNS('defs')
this.svgElement.appendChild(s)
var l = createNS('g')
this.svgElement.appendChild(l),
(this.layerElement = l),
(this.renderConfig = {
preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
imagePreserveAspectRatio:
(t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
contentVisibility: (t && t.contentVisibility) || 'visible',
progressiveLoad: (t && t.progressiveLoad) || !1,
hideOnTransparent: !(t && !1 === t.hideOnTransparent),
viewBoxOnly: (t && t.viewBoxOnly) || !1,
viewBoxSize: (t && t.viewBoxSize) || !1,
className: (t && t.className) || '',
id: (t && t.id) || '',
focusable: t && t.focusable,
filterSize: {
width: (t && t.filterSize && t.filterSize.width) || '100%',
height: (t && t.filterSize && t.filterSize.height) || '100%',
x: (t && t.filterSize && t.filterSize.x) || '0%',
y: (t && t.filterSize && t.filterSize.y) || '0%'
},
width: t && t.width,
height: t && t.height
}),
(this.globalData = {
_mdf: !1,
frameNum: -1,
defs: s,
renderConfig: this.renderConfig
}),
(this.elements = []),
(this.pendingElements = []),
(this.destroyed = !1),
(this.rendererType = 'svg')
}
function CVContextData() {
var e
for (
this.saved = [],
this.cArrPos = 0,
this.cTr = new Matrix(),
this.cO = 1,
this.savedOp = createTypedArray('float32', 15),
e = 0;
e < 15;
e += 1
)
this.saved[e] = createTypedArray('float32', 16)
this._length = 15
}
function ShapeTransformManager() {
;(this.sequences = {}), (this.sequenceList = []), (this.transform_key_count = 0)
}
function CVEffects() {}
function CVMaskElement(e, t) {
var n
;(this.data = e),
(this.element = t),
(this.masksProperties = this.data.masksProperties || []),
(this.viewData = createSizedArray(this.masksProperties.length))
var r = this.masksProperties.length,
a = !1
for (n = 0; n < r; n += 1)
'n' !== this.masksProperties[n].mode && (a = !0),
(this.viewData[n] = ShapePropertyFactory.getShapeProp(
this.element,
this.masksProperties[n],
3
))
;(this.hasMasks = a), a && this.element.addRenderableComponent(this)
}
function CVBaseElement() {}
function CVShapeData(e, t, n, r) {
;(this.styledShapes = []), (this.tr = [0, 0, 0, 0, 0, 0])
var a,
o = 4
'rc' === t.ty ? (o = 5) : 'el' === t.ty ? (o = 6) : 'sr' === t.ty && (o = 7),
(this.sh = ShapePropertyFactory.getShapeProp(e, t, o, e))
var i,
s = n.length
for (a = 0; a < s; a += 1)
n[a].closed ||
((i = { transforms: r.addTransformSequence(n[a].transforms), trNodes: [] }),
this.styledShapes.push(i),
n[a].elements.push(i))
}
function CVShapeElement(e, t, n) {
;(this.shapes = []),
(this.shapesData = e.shapes),
(this.stylesList = []),
(this.itemsData = []),
(this.prevViewData = []),
(this.shapeModifiers = []),
(this.processedElements = []),
(this.transformsManager = new ShapeTransformManager()),
this.initElement(e, t, n)
}
function CVTextElement(e, t, n) {
;(this.textSpans = []),
(this.yOffset = 0),
(this.fillColorAnim = !1),
(this.strokeColorAnim = !1),
(this.strokeWidthAnim = !1),
(this.stroke = !1),
(this.fill = !1),
(this.justifyOffset = 0),
(this.currentRender = null),
(this.renderType = 'canvas'),
(this.values = {
fill: 'rgba(0,0,0,0)',
stroke: 'rgba(0,0,0,0)',
sWidth: 0,
fValue: ''
}),
this.initElement(e, t, n)
}
function CVImageElement(e, t, n) {
;(this.assetData = t.getAssetData(e.refId)),
(this.img = t.imageLoader.getAsset(this.assetData)),
this.initElement(e, t, n)
}
function CVSolidElement(e, t, n) {
this.initElement(e, t, n)
}
function CanvasRendererBase(e, t) {
;(this.animationItem = e),
(this.renderConfig = {
clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
context: (t && t.context) || null,
progressiveLoad: (t && t.progressiveLoad) || !1,
preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
imagePreserveAspectRatio:
(t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
contentVisibility: (t && t.contentVisibility) || 'visible',
className: (t && t.className) || '',
id: (t && t.id) || ''
}),
(this.renderConfig.dpr = (t && t.dpr) || 1),
this.animationItem.wrapper &&
(this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
(this.renderedFrame = -1),
(this.globalData = {
frameNum: -1,
_mdf: !1,
renderConfig: this.renderConfig,
currentGlobalAlpha: -1
}),
(this.contextData = new CVContextData()),
(this.elements = []),
(this.pendingElements = []),
(this.transformMat = new Matrix()),
(this.completeLayers = !1),
(this.rendererType = 'canvas')
}
function CVCompElement(e, t, n) {
;(this.completeLayers = !1),
(this.layers = e.layers),
(this.pendingElements = []),
(this.elements = createSizedArray(this.layers.length)),
this.initElement(e, t, n),
(this.tm = e.tm
? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
: { _placeholder: !0 })
}
function CanvasRenderer(e, t) {
;(this.animationItem = e),
(this.renderConfig = {
clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
context: (t && t.context) || null,
progressiveLoad: (t && t.progressiveLoad) || !1,
preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
imagePreserveAspectRatio:
(t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
contentVisibility: (t && t.contentVisibility) || 'visible',
className: (t && t.className) || '',
id: (t && t.id) || ''
}),
(this.renderConfig.dpr = (t && t.dpr) || 1),
this.animationItem.wrapper &&
(this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
(this.renderedFrame = -1),
(this.globalData = {
frameNum: -1,
_mdf: !1,
renderConfig: this.renderConfig,
currentGlobalAlpha: -1
}),
(this.contextData = new CVContextData()),
(this.elements = []),
(this.pendingElements = []),
(this.transformMat = new Matrix()),
(this.completeLayers = !1),
(this.rendererType = 'canvas')
}
function HBaseElement() {}
function HSolidElement(e, t, n) {
this.initElement(e, t, n)
}
function HShapeElement(e, t, n) {
;(this.shapes = []),
(this.shapesData = e.shapes),
(this.stylesList = []),
(this.shapeModifiers = []),
(this.itemsData = []),
(this.processedElements = []),
(this.animatedContents = []),
(this.shapesContainer = createNS('g')),
this.initElement(e, t, n),
(this.prevViewData = []),
(this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 })
}
function HTextElement(e, t, n) {
;(this.textSpans = []),
(this.textPaths = []),
(this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 }),
(this.renderType = 'svg'),
(this.isMasked = !1),
this.initElement(e, t, n)
}
function HCameraElement(e, t, n) {
this.initFrame(), this.initBaseData(e, t, n), this.initHierarchy()
var r = PropertyFactory.getProp
if (
((this.pe = r(this, e.pe, 0, 0, this)),
e.ks.p.s
? ((this.px = r(this, e.ks.p.x, 1, 0, this)),
(this.py = r(this, e.ks.p.y, 1, 0, this)),
(this.pz = r(this, e.ks.p.z, 1, 0, this)))
: (this.p = r(this, e.ks.p, 1, 0, this)),
e.ks.a && (this.a = r(this, e.ks.a, 1, 0, this)),
e.ks.or.k.length && e.ks.or.k[0].to)
) {
var a,
o = e.ks.or.k.length
for (a = 0; a < o; a += 1) (e.ks.or.k[a].to = null), (e.ks.or.k[a].ti = null)
}
;(this.or = r(this, e.ks.or, 1, degToRads, this)),
(this.or.sh = !0),
(this.rx = r(this, e.ks.rx, 0, degToRads, this)),
(this.ry = r(this, e.ks.ry, 0, degToRads, this)),
(this.rz = r(this, e.ks.rz, 0, degToRads, this)),
(this.mat = new Matrix()),
(this._prevMat = new Matrix()),
(this._isFirstFrame = !0),
(this.finalTransform = { mProp: this })
}
function HImageElement(e, t, n) {
;(this.assetData = t.getAssetData(e.refId)), this.initElement(e, t, n)
}
function HybridRendererBase(e, t) {
;(this.animationItem = e),
(this.layers = null),
(this.renderedFrame = -1),
(this.renderConfig = {
className: (t && t.className) || '',
imagePreserveAspectRatio:
(t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
hideOnTransparent: !(t && !1 === t.hideOnTransparent),
filterSize: {
width: (t && t.filterSize && t.filterSize.width) || '400%',
height: (t && t.filterSize && t.filterSize.height) || '400%',
x: (t && t.filterSize && t.filterSize.x) || '-100%',
y: (t && t.filterSize && t.filterSize.y) || '-100%'
}
}),
(this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
(this.pendingElements = []),
(this.elements = []),
(this.threeDElements = []),
(this.destroyed = !1),
(this.camera = null),
(this.supports3d = !0),
(this.rendererType = 'html')
}
function HCompElement(e, t, n) {
;(this.layers = e.layers),
(this.supports3d = !e.hasMask),
(this.completeLayers = !1),
(this.pendingElements = []),
(this.elements = this.layers ? createSizedArray(this.layers.length) : []),
this.initElement(e, t, n),
(this.tm = e.tm
? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
: { _placeholder: !0 })
}
function HybridRenderer(e, t) {
;(this.animationItem = e),
(this.layers = null),
(this.renderedFrame = -1),
(this.renderConfig = {
className: (t && t.className) || '',
imagePreserveAspectRatio:
(t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
hideOnTransparent: !(t && !1 === t.hideOnTransparent),
filterSize: {
width: (t && t.filterSize && t.filterSize.width) || '400%',
height: (t && t.filterSize && t.filterSize.height) || '400%',
x: (t && t.filterSize && t.filterSize.x) || '-100%',
y: (t && t.filterSize && t.filterSize.y) || '-100%'
}
}),
(this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
(this.pendingElements = []),
(this.elements = []),
(this.threeDElements = []),
(this.destroyed = !1),
(this.camera = null),
(this.supports3d = !0),
(this.rendererType = 'html')
}
extendPrototype(
[
BaseElement,
TransformElement,
SVGBaseElement,
HierarchyElement,
FrameElement,
RenderableDOMElement,
ITextElement
],
SVGTextLottieElement
),
(SVGTextLottieElement.prototype.createContent = function () {
this.data.singleShape &&
!this.globalData.fontManager.chars &&
(this.textContainer = createNS('text'))
}),
(SVGTextLottieElement.prototype.buildTextContents = function (e) {
for (var t = 0, n = e.length, r = [], a = ''; t < n; )
e[t] === String.fromCharCode(13) || e[t] === String.fromCharCode(3)
? (r.push(a), (a = ''))
: (a += e[t]),
(t += 1)
return r.push(a), r
}),
(SVGTextLottieElement.prototype.buildShapeData = function (e, t) {
if (e.shapes && e.shapes.length) {
var n = e.shapes[0]
if (n.it) {
var r = n.it[n.it.length - 1]
r.s && ((r.s.k[0] = t), (r.s.k[1] = t))
}
}
return e
}),
(SVGTextLottieElement.prototype.buildNewText = function () {
var e, t
this.addDynamicProperty(this)
var n = this.textProperty.currentData
;(this.renderedLetters = createSizedArray(n ? n.l.length : 0)),
n.fc
? this.layerElement.setAttribute('fill', this.buildColor(n.fc))
: this.layerElement.setAttribute('fill', 'rgba(0,0,0,0)'),
n.sc &&
(this.layerElement.setAttribute('stroke', this.buildColor(n.sc)),
this.layerElement.setAttribute('stroke-width', n.sw)),
this.layerElement.setAttribute('font-size', n.finalSize)
var r = this.globalData.fontManager.getFontByName(n.f)
if (r.fClass) this.layerElement.setAttribute('class', r.fClass)
else {
this.layerElement.setAttribute('font-family', r.fFamily)
var a = n.fWeight,
o = n.fStyle
this.layerElement.setAttribute('font-style', o),
this.layerElement.setAttribute('font-weight', a)
}
this.layerElement.setAttribute('aria-label', n.t)
var i,
s = n.l || [],
l = !!this.globalData.fontManager.chars
t = s.length
var c = this.mHelper,
u = this.data.singleShape,
p = 0,
d = 0,
f = !0,
h = 0.001 * n.tr * n.finalSize
if (!u || l || n.sz) {
var v,
m = this.textSpans.length
for (e = 0; e < t; e += 1) {
if (
(this.textSpans[e] ||
(this.textSpans[e] = { span: null, childSpan: null, glyph: null }),
!l || !u || 0 === e)
) {
if (
((i = m > e ? this.textSpans[e].span : createNS(l ? 'g' : 'text')),
m <= e)
) {
if (
(i.setAttribute('stroke-linecap', 'butt'),
i.setAttribute('stroke-linejoin', 'round'),
i.setAttribute('stroke-miterlimit', '4'),
(this.textSpans[e].span = i),
l)
) {
var g = createNS('g')
i.appendChild(g), (this.textSpans[e].childSpan = g)
}
;(this.textSpans[e].span = i), this.layerElement.appendChild(i)
}
i.style.display = 'inherit'
}
if (
(c.reset(),
u &&
(s[e].n && ((p = -h), (d += n.yOffset), (d += f ? 1 : 0), (f = !1)),
this.applyTextPropertiesToMatrix(n, c, s[e].line, p, d),
(p += s[e].l || 0),
(p += h)),
l)
) {
var y
if (
1 ===
(v = this.globalData.fontManager.getCharData(
n.finalText[e],
r.fStyle,
this.globalData.fontManager.getFontByName(n.f).fFamily
)).t
)
y = new SVGCompElement(v.data, this.globalData, this)
else {
var b = emptyShapeData
v.data &&
v.data.shapes &&
(b = this.buildShapeData(v.data, n.finalSize)),
(y = new SVGShapeElement(b, this.globalData, this))
}
if (this.textSpans[e].glyph) {
var _ = this.textSpans[e].glyph
this.textSpans[e].childSpan.removeChild(_.layerElement), _.destroy()
}
;(this.textSpans[e].glyph = y),
(y._debug = !0),
y.prepareFrame(0),
y.renderFrame(),
this.textSpans[e].childSpan.appendChild(y.layerElement),
1 === v.t &&
this.textSpans[e].childSpan.setAttribute(
'transform',
'scale(' + n.finalSize / 100 + ',' + n.finalSize / 100 + ')'
)
} else
u &&
i.setAttribute(
'transform',
'translate(' + c.props[12] + ',' + c.props[13] + ')'
),
(i.textContent = s[e].val),
i.setAttributeNS(
'http://www.w3.org/XML/1998/namespace',
'xml:space',
'preserve'
)
}
u && i && i.setAttribute('d', '')
} else {
var A = this.textContainer,
x = 'start'
switch (n.j) {
case 1:
x = 'end'
break
case 2:
x = 'middle'
break
default:
x = 'start'
}
A.setAttribute('text-anchor', x), A.setAttribute('letter-spacing', h)
var w = this.buildTextContents(n.finalText)
for (t = w.length, d = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1)
((i = this.textSpans[e].span || createNS('tspan')).textContent = w[e]),
i.setAttribute('x', 0),
i.setAttribute('y', d),
(i.style.display = 'inherit'),
A.appendChild(i),
this.textSpans[e] || (this.textSpans[e] = { span: null, glyph: null }),
(this.textSpans[e].span = i),
(d += n.finalLineHeight)
this.layerElement.appendChild(A)
}
for (; e < this.textSpans.length; )
(this.textSpans[e].span.style.display = 'none'), (e += 1)
this._sizeChanged = !0
}),
(SVGTextLottieElement.prototype.sourceRectAtTime = function () {
if (
(this.prepareFrame(this.comp.renderedFrame - this.data.st),
this.renderInnerContent(),
this._sizeChanged)
) {
this._sizeChanged = !1
var e = this.layerElement.getBBox()
this.bbox = { top: e.y, left: e.x, width: e.width, height: e.height }
}
return this.bbox
}),
(SVGTextLottieElement.prototype.getValue = function () {
var e,
t,
n = this.textSpans.length
for (this.renderedFrame = this.comp.renderedFrame, e = 0; e < n; e += 1)
(t = this.textSpans[e].glyph) &&
(t.prepareFrame(this.comp.renderedFrame - this.data.st),
t._mdf && (this._mdf = !0))
}),
(SVGTextLottieElement.prototype.renderInnerContent = function () {
if (
(!this.data.singleShape || this._mdf) &&
(this.textAnimator.getMeasures(
this.textProperty.currentData,
this.lettersChangedFlag
),
this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
) {
var e, t
this._sizeChanged = !0
var n,
r,
a,
o = this.textAnimator.renderedLetters,
i = this.textProperty.currentData.l
for (t = i.length, e = 0; e < t; e += 1)
i[e].n ||
((n = o[e]),
(r = this.textSpans[e].span),
(a = this.textSpans[e].glyph) && a.renderFrame(),
n._mdf.m && r.setAttribute('transform', n.m),
n._mdf.o && r.setAttribute('opacity', n.o),
n._mdf.sw && r.setAttribute('stroke-width', n.sw),
n._mdf.sc && r.setAttribute('stroke', n.sc),
n._mdf.fc && r.setAttribute('fill', n.fc))
}
}),
extendPrototype([IImageElement], ISolidElement),
(ISolidElement.prototype.createContent = function () {
var e = createNS('rect')
e.setAttribute('width', this.data.sw),
e.setAttribute('height', this.data.sh),
e.setAttribute('fill', this.data.sc),
this.layerElement.appendChild(e)
}),
(NullElement.prototype.prepareFrame = function (e) {
this.prepareProperties(e, !0)
}),
(NullElement.prototype.renderFrame = function () {}),
(NullElement.prototype.getBaseElement = function () {
return null
}),
(NullElement.prototype.destroy = function () {}),
(NullElement.prototype.sourceRectAtTime = function () {}),
(NullElement.prototype.hide = function () {}),
extendPrototype(
[BaseElement, TransformElement, HierarchyElement, FrameElement],
NullElement
),
extendPrototype([BaseRenderer], SVGRendererBase),
(SVGRendererBase.prototype.createNull = function (e) {
return new NullElement(e, this.globalData, this)
}),
(SVGRendererBase.prototype.createShape = function (e) {
return new SVGShapeElement(e, this.globalData, this)
}),
(SVGRendererBase.prototype.createText = function (e) {
return new SVGTextLottieElement(e, this.globalData, this)
}),
(SVGRendererBase.prototype.createImage = function (e) {
return new IImageElement(e, this.globalData, this)
}),
(SVGRendererBase.prototype.createSolid = function (e) {
return new ISolidElement(e, this.globalData, this)
}),
(SVGRendererBase.prototype.configAnimation = function (e) {
this.svgElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg'),
this.renderConfig.viewBoxSize
? this.svgElement.setAttribute('viewBox', this.renderConfig.viewBoxSize)
: this.svgElement.setAttribute('viewBox', '0 0 ' + e.w + ' ' + e.h),
this.renderConfig.viewBoxOnly ||
(this.svgElement.setAttribute('width', e.w),
this.svgElement.setAttribute('height', e.h),
(this.svgElement.style.width = '100%'),
(this.svgElement.style.height = '100%'),
(this.svgElement.style.transform = 'translate3d(0,0,0)'),
(this.svgElement.style.contentVisibility =
this.renderConfig.contentVisibility)),
this.renderConfig.width &&
this.svgElement.setAttribute('width', this.renderConfig.width),
this.renderConfig.height &&
this.svgElement.setAttribute('height', this.renderConfig.height),
this.renderConfig.className &&
this.svgElement.setAttribute('class', this.renderConfig.className),
this.renderConfig.id &&
this.svgElement.setAttribute('id', this.renderConfig.id),
void 0 !== this.renderConfig.focusable &&
this.svgElement.setAttribute('focusable', this.renderConfig.focusable),
this.svgElement.setAttribute(
'preserveAspectRatio',
this.renderConfig.preserveAspectRatio
),
this.animationItem.wrapper.appendChild(this.svgElement)
var t = this.globalData.defs
this.setupGlobalData(e, t),
(this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
(this.data = e)
var n = createNS('clipPath'),
r = createNS('rect')
r.setAttribute('width', e.w),
r.setAttribute('height', e.h),
r.setAttribute('x', 0),
r.setAttribute('y', 0)
var a = createElementID()
n.setAttribute('id', a),
n.appendChild(r),
this.layerElement.setAttribute(
'clip-path',
'url(' + getLocationHref() + '#' + a + ')'
),
t.appendChild(n),
(this.layers = e.layers),
(this.elements = createSizedArray(e.layers.length))
}),
(SVGRendererBase.prototype.destroy = function () {
var e
this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
(this.layerElement = null),
(this.globalData.defs = null)
var t = this.layers ? this.layers.length : 0
for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
}),
(SVGRendererBase.prototype.updateContainerSize = function () {}),
(SVGRendererBase.prototype.buildItem = function (e) {
var t = this.elements
if (!t[e] && 99 !== this.layers[e].ty) {
t[e] = !0
var n = this.createItem(this.layers[e])
;(t[e] = n),
getExpressionsPlugin() &&
(0 === this.layers[e].ty &&
this.globalData.projectInterface.registerComposition(n),
n.initExpressions()),
this.appendElementInPos(n, e),
this.layers[e].tt &&
(this.elements[e - 1] && !0 !== this.elements[e - 1]
? n.setMatte(t[e - 1].layerId)
: (this.buildItem(e - 1), this.addPendingElement(n)))
}
}),
(SVGRendererBase.prototype.checkPendingElements = function () {
for (; this.pendingElements.length; ) {
var e = this.pendingElements.pop()
if ((e.checkParenting(), e.data.tt))
for (var t = 0, n = this.elements.length; t < n; ) {
if (this.elements[t] === e) {
e.setMatte(this.elements[t - 1].layerId)
break
}
t += 1
}
}
}),
(SVGRendererBase.prototype.renderFrame = function (e) {
if (this.renderedFrame !== e && !this.destroyed) {
var t
null === e ? (e = this.renderedFrame) : (this.renderedFrame = e),
(this.globalData.frameNum = e),
(this.globalData.frameId += 1),
(this.globalData.projectInterface.currentFrame = e),
(this.globalData._mdf = !1)
var n = this.layers.length
for (this.completeLayers || this.checkLayers(e), t = n - 1; t >= 0; t -= 1)
(this.completeLayers || this.elements[t]) &&
this.elements[t].prepareFrame(e - this.layers[t].st)
if (this.globalData._mdf)
for (t = 0; t < n; t += 1)
(this.completeLayers || this.elements[t]) &&
this.elements[t].renderFrame()
}
}),
(SVGRendererBase.prototype.appendElementInPos = function (e, t) {
var n = e.getBaseElement()
if (n) {
for (var r, a = 0; a < t; )
this.elements[a] &&
!0 !== this.elements[a] &&
this.elements[a].getBaseElement() &&
(r = this.elements[a].getBaseElement()),
(a += 1)
r ? this.layerElement.insertBefore(n, r) : this.layerElement.appendChild(n)
}
}),
(SVGRendererBase.prototype.hide = function () {
this.layerElement.style.display = 'none'
}),
(SVGRendererBase.prototype.show = function () {
this.layerElement.style.display = 'block'
}),
extendPrototype(
[
BaseElement,
TransformElement,
HierarchyElement,
FrameElement,
RenderableDOMElement
],
ICompElement
),
(ICompElement.prototype.initElement = function (e, t, n) {
this.initFrame(),
this.initBaseData(e, t, n),
this.initTransform(e, t, n),
this.initRenderable(),
this.initHierarchy(),
this.initRendererElement(),
this.createContainerElements(),
this.createRenderableComponents(),
(!this.data.xt && t.progressiveLoad) || this.buildAllItems(),
this.hide()
}),
(ICompElement.prototype.prepareFrame = function (e) {
if (
((this._mdf = !1),
this.prepareRenderableFrame(e),
this.prepareProperties(e, this.isInRange),
this.isInRange || this.data.xt)
) {
if (this.tm._placeholder) this.renderedFrame = e / this.data.sr
else {
var t = this.tm.v
t === this.data.op && (t = this.data.op - 1), (this.renderedFrame = t)
}
var n,
r = this.elements.length
for (
this.completeLayers || this.checkLayers(this.renderedFrame), n = r - 1;
n >= 0;
n -= 1
)
(this.completeLayers || this.elements[n]) &&
(this.elements[n].prepareFrame(this.renderedFrame - this.layers[n].st),
this.elements[n]._mdf && (this._mdf = !0))
}
}),
(ICompElement.prototype.renderInnerContent = function () {
var e,
t = this.layers.length
for (e = 0; e < t; e += 1)
(this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
}),
(ICompElement.prototype.setElements = function (e) {
this.elements = e
}),
(ICompElement.prototype.getElements = function () {
return this.elements
}),
(ICompElement.prototype.destroyElements = function () {
var e,
t = this.layers.length
for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
}),
(ICompElement.prototype.destroy = function () {
this.destroyElements(), this.destroyBaseElement()
}),
extendPrototype([SVGRendererBase, ICompElement, SVGBaseElement], SVGCompElement),
(SVGCompElement.prototype.createComp = function (e) {
return new SVGCompElement(e, this.globalData, this)
}),
extendPrototype([SVGRendererBase], SVGRenderer),
(SVGRenderer.prototype.createComp = function (e) {
return new SVGCompElement(e, this.globalData, this)
}),
(CVContextData.prototype.duplicate = function () {
var e = 2 * this._length,
t = this.savedOp
;(this.savedOp = createTypedArray('float32', e)), this.savedOp.set(t)
var n = 0
for (n = this._length; n < e; n += 1)
this.saved[n] = createTypedArray('float32', 16)
this._length = e
}),
(CVContextData.prototype.reset = function () {
;(this.cArrPos = 0), this.cTr.reset(), (this.cO = 1)
}),
(ShapeTransformManager.prototype = {
addTransformSequence: function (e) {
var t,
n = e.length,
r = '_'
for (t = 0; t < n; t += 1) r += e[t].transform.key + '_'
var a = this.sequences[r]
return (
a ||
((a = {
transforms: [].concat(e),
finalTransform: new Matrix(),
_mdf: !1
}),
(this.sequences[r] = a),
this.sequenceList.push(a)),
a
)
},
processSequence: function (e, t) {
for (var n, r = 0, a = e.transforms.length, o = t; r < a && !t; ) {
if (e.transforms[r].transform.mProps._mdf) {
o = !0
break
}
r += 1
}
if (o)
for (e.finalTransform.reset(), r = a - 1; r >= 0; r -= 1)
(n = e.transforms[r].transform.mProps.v.props),
e.finalTransform.transform(
n[0],
n[1],
n[2],
n[3],
n[4],
n[5],
n[6],
n[7],
n[8],
n[9],
n[10],
n[11],
n[12],
n[13],
n[14],
n[15]
)
e._mdf = o
},
processSequences: function (e) {
var t,
n = this.sequenceList.length
for (t = 0; t < n; t += 1) this.processSequence(this.sequenceList[t], e)
},
getNewKey: function () {
return (this.transform_key_count += 1), '_' + this.transform_key_count
}
}),
(CVEffects.prototype.renderFrame = function () {}),
(CVMaskElement.prototype.renderFrame = function () {
if (this.hasMasks) {
var e,
t,
n,
r,
a = this.element.finalTransform.mat,
o = this.element.canvasContext,
i = this.masksProperties.length
for (o.beginPath(), e = 0; e < i; e += 1)
if ('n' !== this.masksProperties[e].mode) {
var s
this.masksProperties[e].inv &&
(o.moveTo(0, 0),
o.lineTo(this.element.globalData.compSize.w, 0),
o.lineTo(
this.element.globalData.compSize.w,
this.element.globalData.compSize.h
),
o.lineTo(0, this.element.globalData.compSize.h),
o.lineTo(0, 0)),
(r = this.viewData[e].v),
(t = a.applyToPointArray(r.v[0][0], r.v[0][1], 0)),
o.moveTo(t[0], t[1])
var l = r._length
for (s = 1; s < l; s += 1)
(n = a.applyToTriplePoints(r.o[s - 1], r.i[s], r.v[s])),
o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
;(n = a.applyToTriplePoints(r.o[s - 1], r.i[0], r.v[0])),
o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
}
this.element.globalData.renderer.save(!0), o.clip()
}
}),
(CVMaskElement.prototype.getMaskProperty = MaskElement.prototype.getMaskProperty),
(CVMaskElement.prototype.destroy = function () {
this.element = null
}),
(CVBaseElement.prototype = {
createElements: function () {},
initRendererElement: function () {},
createContainerElements: function () {
;(this.canvasContext = this.globalData.canvasContext),
(this.renderableEffectsManager = new CVEffects())
},
createContent: function () {},
setBlendMode: function () {
var e = this.globalData
if (e.blendMode !== this.data.bm) {
e.blendMode = this.data.bm
var t = getBlendMode(this.data.bm)
e.canvasContext.globalCompositeOperation = t
}
},
createRenderableComponents: function () {
this.maskManager = new CVMaskElement(this.data, this)
},
hideElement: function () {
this.hidden || (this.isInRange && !this.isTransparent) || (this.hidden = !0)
},
showElement: function () {
this.isInRange &&
!this.isTransparent &&
((this.hidden = !1),
(this._isFirstFrame = !0),
(this.maskManager._isFirstFrame = !0))
},
renderFrame: function () {
if (!this.hidden && !this.data.hd) {
this.renderTransform(), this.renderRenderable(), this.setBlendMode()
var e = 0 === this.data.ty
this.globalData.renderer.save(e),
this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),
this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),
this.renderInnerContent(),
this.globalData.renderer.restore(e),
this.maskManager.hasMasks && this.globalData.renderer.restore(!0),
this._isFirstFrame && (this._isFirstFrame = !1)
}
},
destroy: function () {
;(this.canvasContext = null),
(this.data = null),
(this.globalData = null),
this.maskManager.destroy()
},
mHelper: new Matrix()
}),
(CVBaseElement.prototype.hide = CVBaseElement.prototype.hideElement),
(CVBaseElement.prototype.show = CVBaseElement.prototype.showElement),
(CVShapeData.prototype.setAsAnimated = SVGShapeData.prototype.setAsAnimated),
extendPrototype(
[
BaseElement,
TransformElement,
CVBaseElement,
IShapeElement,
HierarchyElement,
FrameElement,
RenderableElement
],
CVShapeElement
),
(CVShapeElement.prototype.initElement =
RenderableDOMElement.prototype.initElement),
(CVShapeElement.prototype.transformHelper = { opacity: 1, _opMdf: !1 }),
(CVShapeElement.prototype.dashResetter = []),
(CVShapeElement.prototype.createContent = function () {
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, [])
}),
(CVShapeElement.prototype.createStyleElement = function (e, t) {
var n = {
data: e,
type: e.ty,
preTransforms: this.transformsManager.addTransformSequence(t),
transforms: [],
elements: [],
closed: !0 === e.hd
},
r = {}
if (
('fl' === e.ty || 'st' === e.ty
? ((r.c = PropertyFactory.getProp(this, e.c, 1, 255, this)),
r.c.k ||
(n.co =
'rgb(' +
bmFloor(r.c.v[0]) +
',' +
bmFloor(r.c.v[1]) +
',' +
bmFloor(r.c.v[2]) +
')'))
: ('gf' !== e.ty && 'gs' !== e.ty) ||
((r.s = PropertyFactory.getProp(this, e.s, 1, null, this)),
(r.e = PropertyFactory.getProp(this, e.e, 1, null, this)),
(r.h = PropertyFactory.getProp(this, e.h || { k: 0 }, 0, 0.01, this)),
(r.a = PropertyFactory.getProp(
this,
e.a || { k: 0 },
0,
degToRads,
this
)),
(r.g = new GradientProperty(this, e.g, this))),
(r.o = PropertyFactory.getProp(this, e.o, 0, 0.01, this)),
'st' === e.ty || 'gs' === e.ty)
) {
if (
((n.lc = lineCapEnum[e.lc || 2]),
(n.lj = lineJoinEnum[e.lj || 2]),
1 == e.lj && (n.ml = e.ml),
(r.w = PropertyFactory.getProp(this, e.w, 0, null, this)),
r.w.k || (n.wi = r.w.v),
e.d)
) {
var a = new DashProperty(this, e.d, 'canvas', this)
;(r.d = a), r.d.k || ((n.da = r.d.dashArray), (n.do = r.d.dashoffset[0]))
}
} else n.r = 2 === e.r ? 'evenodd' : 'nonzero'
return this.stylesList.push(n), (r.style = n), r
}),
(CVShapeElement.prototype.createGroupElement = function () {
return { it: [], prevViewData: [] }
}),
(CVShapeElement.prototype.createTransformElement = function (e) {
return {
transform: {
opacity: 1,
_opMdf: !1,
key: this.transformsManager.getNewKey(),
op: PropertyFactory.getProp(this, e.o, 0, 0.01, this),
mProps: TransformPropertyFactory.getTransformProperty(this, e, this)
}
}
}),
(CVShapeElement.prototype.createShapeElement = function (e) {
var t = new CVShapeData(this, e, this.stylesList, this.transformsManager)
return this.shapes.push(t), this.addShapeToModifiers(t), t
}),
(CVShapeElement.prototype.reloadShapes = function () {
var e
this._isFirstFrame = !0
var t = this.itemsData.length
for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
for (
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, []),
t = this.dynamicProperties.length,
e = 0;
e < t;
e += 1
)
this.dynamicProperties[e].getValue()
this.renderModifiers(),
this.transformsManager.processSequences(this._isFirstFrame)
}),
(CVShapeElement.prototype.addTransformToStyleList = function (e) {
var t,
n = this.stylesList.length
for (t = 0; t < n; t += 1)
this.stylesList[t].closed || this.stylesList[t].transforms.push(e)
}),
(CVShapeElement.prototype.removeTransformFromStyleList = function () {
var e,
t = this.stylesList.length
for (e = 0; e < t; e += 1)
this.stylesList[e].closed || this.stylesList[e].transforms.pop()
}),
(CVShapeElement.prototype.closeStyles = function (e) {
var t,
n = e.length
for (t = 0; t < n; t += 1) e[t].closed = !0
}),
(CVShapeElement.prototype.searchShapes = function (e, t, n, r, a) {
var o,
i,
s,
l,
c,
u,
p = e.length - 1,
d = [],
f = [],
h = [].concat(a)
for (o = p; o >= 0; o -= 1) {
if (
((l = this.searchProcessedElement(e[o]))
? (t[o] = n[l - 1])
: (e[o]._shouldRender = r),
'fl' === e[o].ty ||
'st' === e[o].ty ||
'gf' === e[o].ty ||
'gs' === e[o].ty)
)
l ? (t[o].style.closed = !1) : (t[o] = this.createStyleElement(e[o], h)),
d.push(t[o].style)
else if ('gr' === e[o].ty) {
if (l)
for (s = t[o].it.length, i = 0; i < s; i += 1)
t[o].prevViewData[i] = t[o].it[i]
else t[o] = this.createGroupElement(e[o])
this.searchShapes(e[o].it, t[o].it, t[o].prevViewData, r, h)
} else
'tr' === e[o].ty
? (l || ((u = this.createTransformElement(e[o])), (t[o] = u)),
h.push(t[o]),
this.addTransformToStyleList(t[o]))
: 'sh' === e[o].ty ||
'rc' === e[o].ty ||
'el' === e[o].ty ||
'sr' === e[o].ty
? l || (t[o] = this.createShapeElement(e[o]))
: 'tm' === e[o].ty || 'rd' === e[o].ty || 'pb' === e[o].ty
? (l
? ((c = t[o]).closed = !1)
: ((c = ShapeModifiers.getModifier(e[o].ty)).init(this, e[o]),
(t[o] = c),
this.shapeModifiers.push(c)),
f.push(c))
: 'rp' === e[o].ty &&
(l
? ((c = t[o]).closed = !0)
: ((c = ShapeModifiers.getModifier(e[o].ty)),
(t[o] = c),
c.init(this, e, o, t),
this.shapeModifiers.push(c),
(r = !1)),
f.push(c))
this.addProcessedElement(e[o], o + 1)
}
for (
this.removeTransformFromStyleList(), this.closeStyles(d), p = f.length, o = 0;
o < p;
o += 1
)
f[o].closed = !0
}),
(CVShapeElement.prototype.renderInnerContent = function () {
;(this.transformHelper.opacity = 1),
(this.transformHelper._opMdf = !1),
this.renderModifiers(),
this.transformsManager.processSequences(this._isFirstFrame),
this.renderShape(this.transformHelper, this.shapesData, this.itemsData, !0)
}),
(CVShapeElement.prototype.renderShapeTransform = function (e, t) {
;(e._opMdf || t.op._mdf || this._isFirstFrame) &&
((t.opacity = e.opacity), (t.opacity *= t.op.v), (t._opMdf = !0))
}),
(CVShapeElement.prototype.drawLayer = function () {
var e,
t,
n,
r,
a,
o,
i,
s,
l,
c = this.stylesList.length,
u = this.globalData.renderer,
p = this.globalData.canvasContext
for (e = 0; e < c; e += 1)
if (
(('st' !== (s = (l = this.stylesList[e]).type) && 'gs' !== s) ||
0 !== l.wi) &&
l.data._shouldRender &&
0 !== l.coOp &&
0 !== this.globalData.currentGlobalAlpha
) {
for (
u.save(),
o = l.elements,
'st' === s || 'gs' === s
? ((p.strokeStyle = 'st' === s ? l.co : l.grd),
(p.lineWidth = l.wi),
(p.lineCap = l.lc),
(p.lineJoin = l.lj),
(p.miterLimit = l.ml || 0))
: (p.fillStyle = 'fl' === s ? l.co : l.grd),
u.ctxOpacity(l.coOp),
'st' !== s && 'gs' !== s && p.beginPath(),
u.ctxTransform(l.preTransforms.finalTransform.props),
n = o.length,
t = 0;
t < n;
t += 1
) {
for (
('st' !== s && 'gs' !== s) ||
(p.beginPath(),
l.da && (p.setLineDash(l.da), (p.lineDashOffset = l.do))),
a = (i = o[t].trNodes).length,
r = 0;
r < a;
r += 1
)
'm' === i[r].t
? p.moveTo(i[r].p[0], i[r].p[1])
: 'c' === i[r].t
? p.bezierCurveTo(
i[r].pts[0],
i[r].pts[1],
i[r].pts[2],
i[r].pts[3],
i[r].pts[4],
i[r].pts[5]
)
: p.closePath()
;('st' !== s && 'gs' !== s) ||
(p.stroke(), l.da && p.setLineDash(this.dashResetter))
}
'st' !== s && 'gs' !== s && p.fill(l.r), u.restore()
}
}),
(CVShapeElement.prototype.renderShape = function (e, t, n, r) {
var a, o
for (o = e, a = t.length - 1; a >= 0; a -= 1)
'tr' === t[a].ty
? ((o = n[a].transform), this.renderShapeTransform(e, o))
: 'sh' === t[a].ty ||
'el' === t[a].ty ||
'rc' === t[a].ty ||
'sr' === t[a].ty
? this.renderPath(t[a], n[a])
: 'fl' === t[a].ty
? this.renderFill(t[a], n[a], o)
: 'st' === t[a].ty
? this.renderStroke(t[a], n[a], o)
: 'gf' === t[a].ty || 'gs' === t[a].ty
? this.renderGradientFill(t[a], n[a], o)
: 'gr' === t[a].ty
? this.renderShape(o, t[a].it, n[a].it)
: t[a].ty
r && this.drawLayer()
}),
(CVShapeElement.prototype.renderStyledShape = function (e, t) {
if (this._isFirstFrame || t._mdf || e.transforms._mdf) {
var n,
r,
a,
o = e.trNodes,
i = t.paths,
s = i._length
o.length = 0
var l = e.transforms.finalTransform
for (a = 0; a < s; a += 1) {
var c = i.shapes[a]
if (c && c.v) {
for (r = c._length, n = 1; n < r; n += 1)
1 === n &&
o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
o.push({
t: 'c',
pts: l.applyToTriplePoints(c.o[n - 1], c.i[n], c.v[n])
})
1 === r &&
o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
c.c &&
r &&
(o.push({
t: 'c',
pts: l.applyToTriplePoints(c.o[n - 1], c.i[0], c.v[0])
}),
o.push({ t: 'z' }))
}
}
e.trNodes = o
}
}),
(CVShapeElement.prototype.renderPath = function (e, t) {
if (!0 !== e.hd && e._shouldRender) {
var n,
r = t.styledShapes.length
for (n = 0; n < r; n += 1) this.renderStyledShape(t.styledShapes[n], t.sh)
}
}),
(CVShapeElement.prototype.renderFill = function (e, t, n) {
var r = t.style
;(t.c._mdf || this._isFirstFrame) &&
(r.co =
'rgb(' +
bmFloor(t.c.v[0]) +
',' +
bmFloor(t.c.v[1]) +
',' +
bmFloor(t.c.v[2]) +
')'),
(t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity)
}),
(CVShapeElement.prototype.renderGradientFill = function (e, t, n) {
var r,
a = t.style
if (
!a.grd ||
t.g._mdf ||
t.s._mdf ||
t.e._mdf ||
(1 !== e.t && (t.h._mdf || t.a._mdf))
) {
var o,
i = this.globalData.canvasContext,
s = t.s.v,
l = t.e.v
if (1 === e.t) r = i.createLinearGradient(s[0], s[1], l[0], l[1])
else {
var c = Math.sqrt(Math.pow(s[0] - l[0], 2) + Math.pow(s[1] - l[1], 2)),
u = Math.atan2(l[1] - s[1], l[0] - s[0]),
p = t.h.v
p >= 1 ? (p = 0.99) : p <= -1 && (p = -0.99)
var d = c * p,
f = Math.cos(u + t.a.v) * d + s[0],
h = Math.sin(u + t.a.v) * d + s[1]
r = i.createRadialGradient(f, h, 0, s[0], s[1], c)
}
var v = e.g.p,
m = t.g.c,
g = 1
for (o = 0; o < v; o += 1)
t.g._hasOpacity && t.g._collapsable && (g = t.g.o[2 * o + 1]),
r.addColorStop(
m[4 * o] / 100,
'rgba(' +
m[4 * o + 1] +
',' +
m[4 * o + 2] +
',' +
m[4 * o + 3] +
',' +
g +
')'
)
a.grd = r
}
a.coOp = t.o.v * n.opacity
}),
(CVShapeElement.prototype.renderStroke = function (e, t, n) {
var r = t.style,
a = t.d
a &&
(a._mdf || this._isFirstFrame) &&
((r.da = a.dashArray), (r.do = a.dashoffset[0])),
(t.c._mdf || this._isFirstFrame) &&
(r.co =
'rgb(' +
bmFloor(t.c.v[0]) +
',' +
bmFloor(t.c.v[1]) +
',' +
bmFloor(t.c.v[2]) +
')'),
(t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity),
(t.w._mdf || this._isFirstFrame) && (r.wi = t.w.v)
}),
(CVShapeElement.prototype.destroy = function () {
;(this.shapesData = null),
(this.globalData = null),
(this.canvasContext = null),
(this.stylesList.length = 0),
(this.itemsData.length = 0)
}),
extendPrototype(
[
BaseElement,
TransformElement,
CVBaseElement,
HierarchyElement,
FrameElement,
RenderableElement,
ITextElement
],
CVTextElement
),
(CVTextElement.prototype.tHelper = createTag('canvas').getContext('2d')),
(CVTextElement.prototype.buildNewText = function () {
var e = this.textProperty.currentData
this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
var t = !1
e.fc
? ((t = !0), (this.values.fill = this.buildColor(e.fc)))
: (this.values.fill = 'rgba(0,0,0,0)'),
(this.fill = t)
var n = !1
e.sc &&
((n = !0),
(this.values.stroke = this.buildColor(e.sc)),
(this.values.sWidth = e.sw))
var r,
a,
o,
i,
s,
l,
c,
u,
p,
d,
f,
h,
v = this.globalData.fontManager.getFontByName(e.f),
m = e.l,
g = this.mHelper
;(this.stroke = n),
(this.values.fValue =
e.finalSize +
'px ' +
this.globalData.fontManager.getFontByName(e.f).fFamily),
(a = e.finalText.length)
var y = this.data.singleShape,
b = 0.001 * e.tr * e.finalSize,
_ = 0,
A = 0,
x = !0,
w = 0
for (r = 0; r < a; r += 1) {
;(i =
((o = this.globalData.fontManager.getCharData(
e.finalText[r],
v.fStyle,
this.globalData.fontManager.getFontByName(e.f).fFamily
)) &&
o.data) ||
{}),
g.reset(),
y && m[r].n && ((_ = -b), (A += e.yOffset), (A += x ? 1 : 0), (x = !1)),
(p = (c = i.shapes ? i.shapes[0].it : []).length),
g.scale(e.finalSize / 100, e.finalSize / 100),
y && this.applyTextPropertiesToMatrix(e, g, m[r].line, _, A),
(f = createSizedArray(p - 1))
var k = 0
for (u = 0; u < p; u += 1)
if ('sh' === c[u].ty) {
for (l = c[u].ks.k.i.length, d = c[u].ks.k, h = [], s = 1; s < l; s += 1)
1 === s &&
h.push(
g.applyToX(d.v[0][0], d.v[0][1], 0),
g.applyToY(d.v[0][0], d.v[0][1], 0)
),
h.push(
g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
g.applyToX(d.i[s][0], d.i[s][1], 0),
g.applyToY(d.i[s][0], d.i[s][1], 0),
g.applyToX(d.v[s][0], d.v[s][1], 0),
g.applyToY(d.v[s][0], d.v[s][1], 0)
)
h.push(
g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
g.applyToX(d.i[0][0], d.i[0][1], 0),
g.applyToY(d.i[0][0], d.i[0][1], 0),
g.applyToX(d.v[0][0], d.v[0][1], 0),
g.applyToY(d.v[0][0], d.v[0][1], 0)
),
(f[k] = h),
(k += 1)
}
y && ((_ += m[r].l), (_ += b)),
this.textSpans[w]
? (this.textSpans[w].elem = f)
: (this.textSpans[w] = { elem: f }),
(w += 1)
}
}),
(CVTextElement.prototype.renderInnerContent = function () {
var e,
t,
n,
r,
a,
o,
i = this.canvasContext
;(i.font = this.values.fValue),
(i.lineCap = 'butt'),
(i.lineJoin = 'miter'),
(i.miterLimit = 4),
this.data.singleShape ||
this.textAnimator.getMeasures(
this.textProperty.currentData,
this.lettersChangedFlag
)
var s,
l = this.textAnimator.renderedLetters,
c = this.textProperty.currentData.l
t = c.length
var u,
p,
d = null,
f = null,
h = null
for (e = 0; e < t; e += 1)
if (!c[e].n) {
if (
((s = l[e]) &&
(this.globalData.renderer.save(),
this.globalData.renderer.ctxTransform(s.p),
this.globalData.renderer.ctxOpacity(s.o)),
this.fill)
) {
for (
s && s.fc
? d !== s.fc && ((d = s.fc), (i.fillStyle = s.fc))
: d !== this.values.fill &&
((d = this.values.fill), (i.fillStyle = this.values.fill)),
r = (u = this.textSpans[e].elem).length,
this.globalData.canvasContext.beginPath(),
n = 0;
n < r;
n += 1
)
for (
o = (p = u[n]).length,
this.globalData.canvasContext.moveTo(p[0], p[1]),
a = 2;
a < o;
a += 6
)
this.globalData.canvasContext.bezierCurveTo(
p[a],
p[a + 1],
p[a + 2],
p[a + 3],
p[a + 4],
p[a + 5]
)
this.globalData.canvasContext.closePath(),
this.globalData.canvasContext.fill()
}
if (this.stroke) {
for (
s && s.sw
? h !== s.sw && ((h = s.sw), (i.lineWidth = s.sw))
: h !== this.values.sWidth &&
((h = this.values.sWidth), (i.lineWidth = this.values.sWidth)),
s && s.sc
? f !== s.sc && ((f = s.sc), (i.strokeStyle = s.sc))
: f !== this.values.stroke &&
((f = this.values.stroke), (i.strokeStyle = this.values.stroke)),
r = (u = this.textSpans[e].elem).length,
this.globalData.canvasContext.beginPath(),
n = 0;
n < r;
n += 1
)
for (
o = (p = u[n]).length,
this.globalData.canvasContext.moveTo(p[0], p[1]),
a = 2;
a < o;
a += 6
)
this.globalData.canvasContext.bezierCurveTo(
p[a],
p[a + 1],
p[a + 2],
p[a + 3],
p[a + 4],
p[a + 5]
)
this.globalData.canvasContext.closePath(),
this.globalData.canvasContext.stroke()
}
s && this.globalData.renderer.restore()
}
}),
extendPrototype(
[
BaseElement,
TransformElement,
CVBaseElement,
HierarchyElement,
FrameElement,
RenderableElement
],
CVImageElement
),
(CVImageElement.prototype.initElement = SVGShapeElement.prototype.initElement),
(CVImageElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
(CVImageElement.prototype.createContent = function () {
if (
this.img.width &&
(this.assetData.w !== this.img.width || this.assetData.h !== this.img.height)
) {
var e = createTag('canvas')
;(e.width = this.assetData.w), (e.height = this.assetData.h)
var t,
n,
r = e.getContext('2d'),
a = this.img.width,
o = this.img.height,
i = a / o,
s = this.assetData.w / this.assetData.h,
l =
this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
;(i > s && 'xMidYMid slice' === l) || (i < s && 'xMidYMid slice' !== l)
? (t = (n = o) * s)
: (n = (t = a) / s),
r.drawImage(
this.img,
(a - t) / 2,
(o - n) / 2,
t,
n,
0,
0,
this.assetData.w,
this.assetData.h
),
(this.img = e)
}
}),
(CVImageElement.prototype.renderInnerContent = function () {
this.canvasContext.drawImage(this.img, 0, 0)
}),
(CVImageElement.prototype.destroy = function () {
this.img = null
}),
extendPrototype(
[
BaseElement,
TransformElement,
CVBaseElement,
HierarchyElement,
FrameElement,
RenderableElement
],
CVSolidElement
),
(CVSolidElement.prototype.initElement = SVGShapeElement.prototype.initElement),
(CVSolidElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
(CVSolidElement.prototype.renderInnerContent = function () {
var e = this.canvasContext
;(e.fillStyle = this.data.sc), e.fillRect(0, 0, this.data.sw, this.data.sh)
}),
extendPrototype([BaseRenderer], CanvasRendererBase),
(CanvasRendererBase.prototype.createShape = function (e) {
return new CVShapeElement(e, this.globalData, this)
}),
(CanvasRendererBase.prototype.createText = function (e) {
return new CVTextElement(e, this.globalData, this)
}),
(CanvasRendererBase.prototype.createImage = function (e) {
return new CVImageElement(e, this.globalData, this)
}),
(CanvasRendererBase.prototype.createSolid = function (e) {
return new CVSolidElement(e, this.globalData, this)
}),
(CanvasRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
(CanvasRendererBase.prototype.ctxTransform = function (e) {
if (
1 !== e[0] ||
0 !== e[1] ||
0 !== e[4] ||
1 !== e[5] ||
0 !== e[12] ||
0 !== e[13]
)
if (this.renderConfig.clearCanvas) {
this.transformMat.cloneFromProps(e)
var t = this.contextData.cTr.props
this.transformMat.transform(
t[0],
t[1],
t[2],
t[3],
t[4],
t[5],
t[6],
t[7],
t[8],
t[9],
t[10],
t[11],
t[12],
t[13],
t[14],
t[15]
),
this.contextData.cTr.cloneFromProps(this.transformMat.props)
var n = this.contextData.cTr.props
this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13])
} else this.canvasContext.transform(e[0], e[1], e[4], e[5], e[12], e[13])
}),
(CanvasRendererBase.prototype.ctxOpacity = function (e) {
if (!this.renderConfig.clearCanvas)
return (
(this.canvasContext.globalAlpha *= e < 0 ? 0 : e),
void (this.globalData.currentGlobalAlpha = this.contextData.cO)
)
;(this.contextData.cO *= e < 0 ? 0 : e),
this.globalData.currentGlobalAlpha !== this.contextData.cO &&
((this.canvasContext.globalAlpha = this.contextData.cO),
(this.globalData.currentGlobalAlpha = this.contextData.cO))
}),
(CanvasRendererBase.prototype.reset = function () {
this.renderConfig.clearCanvas
? this.contextData.reset()
: this.canvasContext.restore()
}),
(CanvasRendererBase.prototype.save = function (e) {
if (this.renderConfig.clearCanvas) {
e && this.canvasContext.save()
var t,
n = this.contextData.cTr.props
this.contextData._length <= this.contextData.cArrPos &&
this.contextData.duplicate()
var r = this.contextData.saved[this.contextData.cArrPos]
for (t = 0; t < 16; t += 1) r[t] = n[t]
;(this.contextData.savedOp[this.contextData.cArrPos] = this.contextData.cO),
(this.contextData.cArrPos += 1)
} else this.canvasContext.save()
}),
(CanvasRendererBase.prototype.restore = function (e) {
if (this.renderConfig.clearCanvas) {
e &&
(this.canvasContext.restore(), (this.globalData.blendMode = 'source-over')),
(this.contextData.cArrPos -= 1)
var t,
n = this.contextData.saved[this.contextData.cArrPos],
r = this.contextData.cTr.props
for (t = 0; t < 16; t += 1) r[t] = n[t]
this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13]),
(n = this.contextData.savedOp[this.contextData.cArrPos]),
(this.contextData.cO = n),
this.globalData.currentGlobalAlpha !== n &&
((this.canvasContext.globalAlpha = n),
(this.globalData.currentGlobalAlpha = n))
} else this.canvasContext.restore()
}),
(CanvasRendererBase.prototype.configAnimation = function (e) {
if (this.animationItem.wrapper) {
this.animationItem.container = createTag('canvas')
var t = this.animationItem.container.style
;(t.width = '100%'), (t.height = '100%')
var n = '0px 0px 0px'
;(t.transformOrigin = n),
(t.mozTransformOrigin = n),
(t.webkitTransformOrigin = n),
(t['-webkit-transform'] = n),
(t.contentVisibility = this.renderConfig.contentVisibility),
this.animationItem.wrapper.appendChild(this.animationItem.container),
(this.canvasContext = this.animationItem.container.getContext('2d')),
this.renderConfig.className &&
this.animationItem.container.setAttribute(
'class',
this.renderConfig.className
),
this.renderConfig.id &&
this.animationItem.container.setAttribute('id', this.renderConfig.id)
} else this.canvasContext = this.renderConfig.context
;(this.data = e),
(this.layers = e.layers),
(this.transformCanvas = { w: e.w, h: e.h, sx: 0, sy: 0, tx: 0, ty: 0 }),
this.setupGlobalData(e, document.body),
(this.globalData.canvasContext = this.canvasContext),
(this.globalData.renderer = this),
(this.globalData.isDashed = !1),
(this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
(this.globalData.transformCanvas = this.transformCanvas),
(this.elements = createSizedArray(e.layers.length)),
this.updateContainerSize()
}),
(CanvasRendererBase.prototype.updateContainerSize = function () {
var e, t, n, r
if (
(this.reset(),
this.animationItem.wrapper && this.animationItem.container
? ((e = this.animationItem.wrapper.offsetWidth),
(t = this.animationItem.wrapper.offsetHeight),
this.animationItem.container.setAttribute(
'width',
e * this.renderConfig.dpr
),
this.animationItem.container.setAttribute(
'height',
t * this.renderConfig.dpr
))
: ((e = this.canvasContext.canvas.width * this.renderConfig.dpr),
(t = this.canvasContext.canvas.height * this.renderConfig.dpr)),
-1 !== this.renderConfig.preserveAspectRatio.indexOf('meet') ||
-1 !== this.renderConfig.preserveAspectRatio.indexOf('slice'))
) {
var a = this.renderConfig.preserveAspectRatio.split(' '),
o = a[1] || 'meet',
i = a[0] || 'xMidYMid',
s = i.substr(0, 4),
l = i.substr(4)
;(n = e / t),
((r = this.transformCanvas.w / this.transformCanvas.h) > n &&
'meet' === o) ||
(r < n && 'slice' === o)
? ((this.transformCanvas.sx =
e / (this.transformCanvas.w / this.renderConfig.dpr)),
(this.transformCanvas.sy =
e / (this.transformCanvas.w / this.renderConfig.dpr)))
: ((this.transformCanvas.sx =
t / (this.transformCanvas.h / this.renderConfig.dpr)),
(this.transformCanvas.sy =
t / (this.transformCanvas.h / this.renderConfig.dpr))),
(this.transformCanvas.tx =
'xMid' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
? ((e - this.transformCanvas.w * (t / this.transformCanvas.h)) / 2) *
this.renderConfig.dpr
: 'xMax' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
? (e - this.transformCanvas.w * (t / this.transformCanvas.h)) *
this.renderConfig.dpr
: 0),
(this.transformCanvas.ty =
'YMid' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
? ((t - this.transformCanvas.h * (e / this.transformCanvas.w)) / 2) *
this.renderConfig.dpr
: 'YMax' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
? (t - this.transformCanvas.h * (e / this.transformCanvas.w)) *
this.renderConfig.dpr
: 0)
} else
'none' === this.renderConfig.preserveAspectRatio
? ((this.transformCanvas.sx =
e / (this.transformCanvas.w / this.renderConfig.dpr)),
(this.transformCanvas.sy =
t / (this.transformCanvas.h / this.renderConfig.dpr)),
(this.transformCanvas.tx = 0),
(this.transformCanvas.ty = 0))
: ((this.transformCanvas.sx = this.renderConfig.dpr),
(this.transformCanvas.sy = this.renderConfig.dpr),
(this.transformCanvas.tx = 0),
(this.transformCanvas.ty = 0))
;(this.transformCanvas.props = [
this.transformCanvas.sx,
0,
0,
0,
0,
this.transformCanvas.sy,
0,
0,
0,
0,
1,
0,
this.transformCanvas.tx,
this.transformCanvas.ty,
0,
1
]),
this.ctxTransform(this.transformCanvas.props),
this.canvasContext.beginPath(),
this.canvasContext.rect(0, 0, this.transformCanvas.w, this.transformCanvas.h),
this.canvasContext.closePath(),
this.canvasContext.clip(),
this.renderFrame(this.renderedFrame, !0)
}),
(CanvasRendererBase.prototype.destroy = function () {
var e
for (
this.renderConfig.clearCanvas &&
this.animationItem.wrapper &&
(this.animationItem.wrapper.innerText = ''),
e = (this.layers ? this.layers.length : 0) - 1;
e >= 0;
e -= 1
)
this.elements[e] && this.elements[e].destroy()
;(this.elements.length = 0),
(this.globalData.canvasContext = null),
(this.animationItem.container = null),
(this.destroyed = !0)
}),
(CanvasRendererBase.prototype.renderFrame = function (e, t) {
if (
(this.renderedFrame !== e || !0 !== this.renderConfig.clearCanvas || t) &&
!this.destroyed &&
-1 !== e
) {
var n
;(this.renderedFrame = e),
(this.globalData.frameNum = e - this.animationItem._isFirstFrame),
(this.globalData.frameId += 1),
(this.globalData._mdf = !this.renderConfig.clearCanvas || t),
(this.globalData.projectInterface.currentFrame = e)
var r = this.layers.length
for (this.completeLayers || this.checkLayers(e), n = 0; n < r; n += 1)
(this.completeLayers || this.elements[n]) &&
this.elements[n].prepareFrame(e - this.layers[n].st)
if (this.globalData._mdf) {
for (
!0 === this.renderConfig.clearCanvas
? this.canvasContext.clearRect(
0,
0,
this.transformCanvas.w,
this.transformCanvas.h
)
: this.save(),
n = r - 1;
n >= 0;
n -= 1
)
(this.completeLayers || this.elements[n]) &&
this.elements[n].renderFrame()
!0 !== this.renderConfig.clearCanvas && this.restore()
}
}
}),
(CanvasRendererBase.prototype.buildItem = function (e) {
var t = this.elements
if (!t[e] && 99 !== this.layers[e].ty) {
var n = this.createItem(this.layers[e], this, this.globalData)
;(t[e] = n), n.initExpressions()
}
}),
(CanvasRendererBase.prototype.checkPendingElements = function () {
for (; this.pendingElements.length; )
this.pendingElements.pop().checkParenting()
}),
(CanvasRendererBase.prototype.hide = function () {
this.animationItem.container.style.display = 'none'
}),
(CanvasRendererBase.prototype.show = function () {
this.animationItem.container.style.display = 'block'
}),
extendPrototype([CanvasRendererBase, ICompElement, CVBaseElement], CVCompElement),
(CVCompElement.prototype.renderInnerContent = function () {
var e,
t = this.canvasContext
for (
t.beginPath(),
t.moveTo(0, 0),
t.lineTo(this.data.w, 0),
t.lineTo(this.data.w, this.data.h),
t.lineTo(0, this.data.h),
t.lineTo(0, 0),
t.clip(),
e = this.layers.length - 1;
e >= 0;
e -= 1
)
(this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
}),
(CVCompElement.prototype.destroy = function () {
var e
for (e = this.layers.length - 1; e >= 0; e -= 1)
this.elements[e] && this.elements[e].destroy()
;(this.layers = null), (this.elements = null)
}),
(CVCompElement.prototype.createComp = function (e) {
return new CVCompElement(e, this.globalData, this)
}),
extendPrototype([CanvasRendererBase], CanvasRenderer),
(CanvasRenderer.prototype.createComp = function (e) {
return new CVCompElement(e, this.globalData, this)
}),
(HBaseElement.prototype = {
checkBlendMode: function () {},
initRendererElement: function () {
;(this.baseElement = createTag(this.data.tg || 'div')),
this.data.hasMask
? ((this.svgElement = createNS('svg')),
(this.layerElement = createNS('g')),
(this.maskedElement = this.layerElement),
this.svgElement.appendChild(this.layerElement),
this.baseElement.appendChild(this.svgElement))
: (this.layerElement = this.baseElement),
styleDiv(this.baseElement)
},
createContainerElements: function () {
;(this.renderableEffectsManager = new CVEffects()),
(this.transformedElement = this.baseElement),
(this.maskedElement = this.layerElement),
this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
0 !== this.data.bm && this.setBlendMode()
},
renderElement: function () {
var e = this.transformedElement ? this.transformedElement.style : {}
if (this.finalTransform._matMdf) {
var t = this.finalTransform.mat.toCSS()
;(e.transform = t), (e.webkitTransform = t)
}
this.finalTransform._opMdf && (e.opacity = this.finalTransform.mProp.o.v)
},
renderFrame: function () {
this.data.hd ||
this.hidden ||
(this.renderTransform(),
this.renderRenderable(),
this.renderElement(),
this.renderInnerContent(),
this._isFirstFrame && (this._isFirstFrame = !1))
},
destroy: function () {
;(this.layerElement = null),
(this.transformedElement = null),
this.matteElement && (this.matteElement = null),
this.maskManager && (this.maskManager.destroy(), (this.maskManager = null))
},
createRenderableComponents: function () {
this.maskManager = new MaskElement(this.data, this, this.globalData)
},
addEffects: function () {},
setMatte: function () {}
}),
(HBaseElement.prototype.getBaseElement = SVGBaseElement.prototype.getBaseElement),
(HBaseElement.prototype.destroyBaseElement = HBaseElement.prototype.destroy),
(HBaseElement.prototype.buildElementParenting =
BaseRenderer.prototype.buildElementParenting),
extendPrototype(
[
BaseElement,
TransformElement,
HBaseElement,
HierarchyElement,
FrameElement,
RenderableDOMElement
],
HSolidElement
),
(HSolidElement.prototype.createContent = function () {
var e
this.data.hasMask
? ((e = createNS('rect')).setAttribute('width', this.data.sw),
e.setAttribute('height', this.data.sh),
e.setAttribute('fill', this.data.sc),
this.svgElement.setAttribute('width', this.data.sw),
this.svgElement.setAttribute('height', this.data.sh))
: (((e = createTag('div')).style.width = this.data.sw + 'px'),
(e.style.height = this.data.sh + 'px'),
(e.style.backgroundColor = this.data.sc)),
this.layerElement.appendChild(e)
}),
extendPrototype(
[
BaseElement,
TransformElement,
HSolidElement,
SVGShapeElement,
HBaseElement,
HierarchyElement,
FrameElement,
RenderableElement
],
HShapeElement
),
(HShapeElement.prototype._renderShapeFrame =
HShapeElement.prototype.renderInnerContent),
(HShapeElement.prototype.createContent = function () {
var e
if (((this.baseElement.style.fontSize = 0), this.data.hasMask))
this.layerElement.appendChild(this.shapesContainer), (e = this.svgElement)
else {
e = createNS('svg')
var t = this.comp.data ? this.comp.data : this.globalData.compSize
e.setAttribute('width', t.w),
e.setAttribute('height', t.h),
e.appendChild(this.shapesContainer),
this.layerElement.appendChild(e)
}
this.searchShapes(
this.shapesData,
this.itemsData,
this.prevViewData,
this.shapesContainer,
0,
[],
!0
),
this.filterUniqueShapes(),
(this.shapeCont = e)
}),
(HShapeElement.prototype.getTransformedPoint = function (e, t) {
var n,
r = e.length
for (n = 0; n < r; n += 1) t = e[n].mProps.v.applyToPointArray(t[0], t[1], 0)
return t
}),
(HShapeElement.prototype.calculateShapeBoundingBox = function (e, t) {
var n,
r,
a,
o,
i,
s = e.sh.v,
l = e.transformers,
c = s._length
if (!(c <= 1)) {
for (n = 0; n < c - 1; n += 1)
(r = this.getTransformedPoint(l, s.v[n])),
(a = this.getTransformedPoint(l, s.o[n])),
(o = this.getTransformedPoint(l, s.i[n + 1])),
(i = this.getTransformedPoint(l, s.v[n + 1])),
this.checkBounds(r, a, o, i, t)
s.c &&
((r = this.getTransformedPoint(l, s.v[n])),
(a = this.getTransformedPoint(l, s.o[n])),
(o = this.getTransformedPoint(l, s.i[0])),
(i = this.getTransformedPoint(l, s.v[0])),
this.checkBounds(r, a, o, i, t))
}
}),
(HShapeElement.prototype.checkBounds = function (e, t, n, r, a) {
this.getBoundsOfCurve(e, t, n, r)
var o = this.shapeBoundingBox
;(a.x = bmMin(o.left, a.x)),
(a.xMax = bmMax(o.right, a.xMax)),
(a.y = bmMin(o.top, a.y)),
(a.yMax = bmMax(o.bottom, a.yMax))
}),
(HShapeElement.prototype.shapeBoundingBox = {
left: 0,
right: 0,
top: 0,
bottom: 0
}),
(HShapeElement.prototype.tempBoundingBox = {
x: 0,
xMax: 0,
y: 0,
yMax: 0,
width: 0,
height: 0
}),
(HShapeElement.prototype.getBoundsOfCurve = function (e, t, n, r) {
for (
var a,
o,
i,
s,
l,
c,
u,
p = [
[e[0], r[0]],
[e[1], r[1]]
],
d = 0;
d < 2;
++d
)
(o = 6 * e[d] - 12 * t[d] + 6 * n[d]),
(a = -3 * e[d] + 9 * t[d] - 9 * n[d] + 3 * r[d]),
(i = 3 * t[d] - 3 * e[d]),
(o |= 0),
(i |= 0),
(0 == (a |= 0) && 0 === o) ||
(0 === a
? (s = -i / o) > 0 &&
s < 1 &&
p[d].push(this.calculateF(s, e, t, n, r, d))
: (l = o * o - 4 * i * a) >= 0 &&
((c = (-o + bmSqrt(l)) / (2 * a)) > 0 &&
c < 1 &&
p[d].push(this.calculateF(c, e, t, n, r, d)),
(u = (-o - bmSqrt(l)) / (2 * a)) > 0 &&
u < 1 &&
p[d].push(this.calculateF(u, e, t, n, r, d))))
;(this.shapeBoundingBox.left = bmMin.apply(null, p[0])),
(this.shapeBoundingBox.top = bmMin.apply(null, p[1])),
(this.shapeBoundingBox.right = bmMax.apply(null, p[0])),
(this.shapeBoundingBox.bottom = bmMax.apply(null, p[1]))
}),
(HShapeElement.prototype.calculateF = function (e, t, n, r, a, o) {
return (
bmPow(1 - e, 3) * t[o] +
3 * bmPow(1 - e, 2) * e * n[o] +
3 * (1 - e) * bmPow(e, 2) * r[o] +
bmPow(e, 3) * a[o]
)
}),
(HShapeElement.prototype.calculateBoundingBox = function (e, t) {
var n,
r = e.length
for (n = 0; n < r; n += 1)
e[n] && e[n].sh
? this.calculateShapeBoundingBox(e[n], t)
: e[n] && e[n].it
? this.calculateBoundingBox(e[n].it, t)
: e[n] && e[n].style && e[n].w && this.expandStrokeBoundingBox(e[n].w, t)
}),
(HShapeElement.prototype.expandStrokeBoundingBox = function (e, t) {
var n = 0
if (e.keyframes) {
for (var r = 0; r < e.keyframes.length; r += 1) {
var a = e.keyframes[r].s
a > n && (n = a)
}
n *= e.mult
} else n = e.v * e.mult
;(t.x -= n), (t.xMax += n), (t.y -= n), (t.yMax += n)
}),
(HShapeElement.prototype.currentBoxContains = function (e) {
return (
this.currentBBox.x <= e.x &&
this.currentBBox.y <= e.y &&
this.currentBBox.width + this.currentBBox.x >= e.x + e.width &&
this.currentBBox.height + this.currentBBox.y >= e.y + e.height
)
}),
(HShapeElement.prototype.renderInnerContent = function () {
if (
(this._renderShapeFrame(), !this.hidden && (this._isFirstFrame || this._mdf))
) {
var e = this.tempBoundingBox,
t = 999999
if (
((e.x = t),
(e.xMax = -t),
(e.y = t),
(e.yMax = -t),
this.calculateBoundingBox(this.itemsData, e),
(e.width = e.xMax < e.x ? 0 : e.xMax - e.x),
(e.height = e.yMax < e.y ? 0 : e.yMax - e.y),
this.currentBoxContains(e))
)
return
var n = !1
if (
(this.currentBBox.w !== e.width &&
((this.currentBBox.w = e.width),
this.shapeCont.setAttribute('width', e.width),
(n = !0)),
this.currentBBox.h !== e.height &&
((this.currentBBox.h = e.height),
this.shapeCont.setAttribute('height', e.height),
(n = !0)),
n || this.currentBBox.x !== e.x || this.currentBBox.y !== e.y)
) {
;(this.currentBBox.w = e.width),
(this.currentBBox.h = e.height),
(this.currentBBox.x = e.x),
(this.currentBBox.y = e.y),
this.shapeCont.setAttribute(
'viewBox',
this.currentBBox.x +
' ' +
this.currentBBox.y +
' ' +
this.currentBBox.w +
' ' +
this.currentBBox.h
)
var r = this.shapeCont.style,
a = 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
;(r.transform = a), (r.webkitTransform = a)
}
}
}),
extendPrototype(
[
BaseElement,
TransformElement,
HBaseElement,
HierarchyElement,
FrameElement,
RenderableDOMElement,
ITextElement
],
HTextElement
),
(HTextElement.prototype.createContent = function () {
if (((this.isMasked = this.checkMasks()), this.isMasked)) {
;(this.renderType = 'svg'),
(this.compW = this.comp.data.w),
(this.compH = this.comp.data.h),
this.svgElement.setAttribute('width', this.compW),
this.svgElement.setAttribute('height', this.compH)
var e = createNS('g')
this.maskedElement.appendChild(e), (this.innerElem = e)
} else (this.renderType = 'html'), (this.innerElem = this.layerElement)
this.checkParenting()
}),
(HTextElement.prototype.buildNewText = function () {
var e = this.textProperty.currentData
this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
var t = this.innerElem.style,
n = e.fc ? this.buildColor(e.fc) : 'rgba(0,0,0,0)'
;(t.fill = n),
(t.color = n),
e.sc && ((t.stroke = this.buildColor(e.sc)), (t.strokeWidth = e.sw + 'px'))
var r,
a,
o = this.globalData.fontManager.getFontByName(e.f)
if (!this.globalData.fontManager.chars)
if (
((t.fontSize = e.finalSize + 'px'),
(t.lineHeight = e.finalSize + 'px'),
o.fClass)
)
this.innerElem.className = o.fClass
else {
t.fontFamily = o.fFamily
var i = e.fWeight,
s = e.fStyle
;(t.fontStyle = s), (t.fontWeight = i)
}
var l,
c,
u,
p = e.l
a = p.length
var d,
f = this.mHelper,
h = '',
v = 0
for (r = 0; r < a; r += 1) {
if (
(this.globalData.fontManager.chars
? (this.textPaths[v]
? (l = this.textPaths[v])
: ((l = createNS('path')).setAttribute(
'stroke-linecap',
lineCapEnum[1]
),
l.setAttribute('stroke-linejoin', lineJoinEnum[2]),
l.setAttribute('stroke-miterlimit', '4')),
this.isMasked ||
(this.textSpans[v]
? (u = (c = this.textSpans[v]).children[0])
: (((c = createTag('div')).style.lineHeight = 0),
(u = createNS('svg')).appendChild(l),
styleDiv(c))))
: this.isMasked
? (l = this.textPaths[v] ? this.textPaths[v] : createNS('text'))
: this.textSpans[v]
? ((c = this.textSpans[v]), (l = this.textPaths[v]))
: (styleDiv((c = createTag('span'))),
styleDiv((l = createTag('span'))),
c.appendChild(l)),
this.globalData.fontManager.chars)
) {
var m,
g = this.globalData.fontManager.getCharData(
e.finalText[r],
o.fStyle,
this.globalData.fontManager.getFontByName(e.f).fFamily
)
if (
((m = g ? g.data : null),
f.reset(),
m &&
m.shapes &&
m.shapes.length &&
((d = m.shapes[0].it),
f.scale(e.finalSize / 100, e.finalSize / 100),
(h = this.createPathShape(f, d)),
l.setAttribute('d', h)),
this.isMasked)
)
this.innerElem.appendChild(l)
else {
if ((this.innerElem.appendChild(c), m && m.shapes)) {
document.body.appendChild(u)
var y = u.getBBox()
u.setAttribute('width', y.width + 2),
u.setAttribute('height', y.height + 2),
u.setAttribute(
'viewBox',
y.x -
1 +
' ' +
(y.y - 1) +
' ' +
(y.width + 2) +
' ' +
(y.height + 2)
)
var b = u.style,
_ = 'translate(' + (y.x - 1) + 'px,' + (y.y - 1) + 'px)'
;(b.transform = _), (b.webkitTransform = _), (p[r].yOffset = y.y - 1)
} else u.setAttribute('width', 1), u.setAttribute('height', 1)
c.appendChild(u)
}
} else if (
((l.textContent = p[r].val),
l.setAttributeNS(
'http://www.w3.org/XML/1998/namespace',
'xml:space',
'preserve'
),
this.isMasked)
)
this.innerElem.appendChild(l)
else {
this.innerElem.appendChild(c)
var A = l.style,
x = 'translate3d(0,' + -e.finalSize / 1.2 + 'px,0)'
;(A.transform = x), (A.webkitTransform = x)
}
this.isMasked ? (this.textSpans[v] = l) : (this.textSpans[v] = c),
(this.textSpans[v].style.display = 'block'),
(this.textPaths[v] = l),
(v += 1)
}
for (; v < this.textSpans.length; )
(this.textSpans[v].style.display = 'none'), (v += 1)
}),
(HTextElement.prototype.renderInnerContent = function () {
var e
if (this.data.singleShape) {
if (!this._isFirstFrame && !this.lettersChangedFlag) return
if (this.isMasked && this.finalTransform._matMdf) {
this.svgElement.setAttribute(
'viewBox',
-this.finalTransform.mProp.p.v[0] +
' ' +
-this.finalTransform.mProp.p.v[1] +
' ' +
this.compW +
' ' +
this.compH
),
(e = this.svgElement.style)
var t =
'translate(' +
-this.finalTransform.mProp.p.v[0] +
'px,' +
-this.finalTransform.mProp.p.v[1] +
'px)'
;(e.transform = t), (e.webkitTransform = t)
}
}
if (
(this.textAnimator.getMeasures(
this.textProperty.currentData,
this.lettersChangedFlag
),
this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
) {
var n,
r,
a,
o,
i,
s = 0,
l = this.textAnimator.renderedLetters,
c = this.textProperty.currentData.l
for (r = c.length, n = 0; n < r; n += 1)
c[n].n
? (s += 1)
: ((o = this.textSpans[n]),
(i = this.textPaths[n]),
(a = l[s]),
(s += 1),
a._mdf.m &&
(this.isMasked
? o.setAttribute('transform', a.m)
: ((o.style.webkitTransform = a.m), (o.style.transform = a.m))),
(o.style.opacity = a.o),
a.sw && a._mdf.sw && i.setAttribute('stroke-width', a.sw),
a.sc && a._mdf.sc && i.setAttribute('stroke', a.sc),
a.fc &&
a._mdf.fc &&
(i.setAttribute('fill', a.fc), (i.style.color = a.fc)))
if (
this.innerElem.getBBox &&
!this.hidden &&
(this._isFirstFrame || this._mdf)
) {
var u = this.innerElem.getBBox()
if (
(this.currentBBox.w !== u.width &&
((this.currentBBox.w = u.width),
this.svgElement.setAttribute('width', u.width)),
this.currentBBox.h !== u.height &&
((this.currentBBox.h = u.height),
this.svgElement.setAttribute('height', u.height)),
this.currentBBox.w !== u.width + 2 ||
this.currentBBox.h !== u.height + 2 ||
this.currentBBox.x !== u.x - 1 ||
this.currentBBox.y !== u.y - 1)
) {
;(this.currentBBox.w = u.width + 2),
(this.currentBBox.h = u.height + 2),
(this.currentBBox.x = u.x - 1),
(this.currentBBox.y = u.y - 1),
this.svgElement.setAttribute(
'viewBox',
this.currentBBox.x +
' ' +
this.currentBBox.y +
' ' +
this.currentBBox.w +
' ' +
this.currentBBox.h
),
(e = this.svgElement.style)
var p =
'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
;(e.transform = p), (e.webkitTransform = p)
}
}
}
}),
extendPrototype([BaseElement, FrameElement, HierarchyElement], HCameraElement),
(HCameraElement.prototype.setup = function () {
var e,
t,
n,
r,
a = this.comp.threeDElements.length
for (e = 0; e < a; e += 1)
if ('3d' === (t = this.comp.threeDElements[e]).type) {
;(n = t.perspectiveElem.style), (r = t.container.style)
var o = this.pe.v + 'px',
i = '0px 0px 0px',
s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
;(n.perspective = o),
(n.webkitPerspective = o),
(r.transformOrigin = i),
(r.mozTransformOrigin = i),
(r.webkitTransformOrigin = i),
(n.transform = s),
(n.webkitTransform = s)
}
}),
(HCameraElement.prototype.createElements = function () {}),
(HCameraElement.prototype.hide = function () {}),
(HCameraElement.prototype.renderFrame = function () {
var e,
t,
n = this._isFirstFrame
if (this.hierarchy)
for (t = this.hierarchy.length, e = 0; e < t; e += 1)
n = this.hierarchy[e].finalTransform.mProp._mdf || n
if (
n ||
this.pe._mdf ||
(this.p && this.p._mdf) ||
(this.px && (this.px._mdf || this.py._mdf || this.pz._mdf)) ||
this.rx._mdf ||
this.ry._mdf ||
this.rz._mdf ||
this.or._mdf ||
(this.a && this.a._mdf)
) {
if ((this.mat.reset(), this.hierarchy))
for (e = t = this.hierarchy.length - 1; e >= 0; e -= 1) {
var r = this.hierarchy[e].finalTransform.mProp
this.mat.translate(-r.p.v[0], -r.p.v[1], r.p.v[2]),
this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),
this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),
this.mat.scale(1 / r.s.v[0], 1 / r.s.v[1], 1 / r.s.v[2]),
this.mat.translate(r.a.v[0], r.a.v[1], r.a.v[2])
}
if (
(this.p
? this.mat.translate(-this.p.v[0], -this.p.v[1], this.p.v[2])
: this.mat.translate(-this.px.v, -this.py.v, this.pz.v),
this.a)
) {
var a
a = this.p
? [
this.p.v[0] - this.a.v[0],
this.p.v[1] - this.a.v[1],
this.p.v[2] - this.a.v[2]
]
: [
this.px.v - this.a.v[0],
this.py.v - this.a.v[1],
this.pz.v - this.a.v[2]
]
var o = Math.sqrt(
Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2)
),
i = [a[0] / o, a[1] / o, a[2] / o],
s = Math.sqrt(i[2] * i[2] + i[0] * i[0]),
l = Math.atan2(i[1], s),
c = Math.atan2(i[0], -i[2])
this.mat.rotateY(c).rotateX(-l)
}
this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),
this.mat
.rotateX(-this.or.v[0])
.rotateY(-this.or.v[1])
.rotateZ(this.or.v[2]),
this.mat.translate(
this.globalData.compSize.w / 2,
this.globalData.compSize.h / 2,
0
),
this.mat.translate(0, 0, this.pe.v)
var u = !this._prevMat.equals(this.mat)
if ((u || this.pe._mdf) && this.comp.threeDElements) {
var p, d, f
for (t = this.comp.threeDElements.length, e = 0; e < t; e += 1)
if ('3d' === (p = this.comp.threeDElements[e]).type) {
if (u) {
var h = this.mat.toCSS()
;((f = p.container.style).transform = h), (f.webkitTransform = h)
}
this.pe._mdf &&
(((d = p.perspectiveElem.style).perspective = this.pe.v + 'px'),
(d.webkitPerspective = this.pe.v + 'px'))
}
this.mat.clone(this._prevMat)
}
}
this._isFirstFrame = !1
}),
(HCameraElement.prototype.prepareFrame = function (e) {
this.prepareProperties(e, !0)
}),
(HCameraElement.prototype.destroy = function () {}),
(HCameraElement.prototype.getBaseElement = function () {
return null
}),
extendPrototype(
[
BaseElement,
TransformElement,
HBaseElement,
HSolidElement,
HierarchyElement,
FrameElement,
RenderableElement
],
HImageElement
),
(HImageElement.prototype.createContent = function () {
var e = this.globalData.getAssetsPath(this.assetData),
t = new Image()
this.data.hasMask
? ((this.imageElem = createNS('image')),
this.imageElem.setAttribute('width', this.assetData.w + 'px'),
this.imageElem.setAttribute('height', this.assetData.h + 'px'),
this.imageElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
this.layerElement.appendChild(this.imageElem),
this.baseElement.setAttribute('width', this.assetData.w),
this.baseElement.setAttribute('height', this.assetData.h))
: this.layerElement.appendChild(t),
(t.crossOrigin = 'anonymous'),
(t.src = e),
this.data.ln && this.baseElement.setAttribute('id', this.data.ln)
}),
extendPrototype([BaseRenderer], HybridRendererBase),
(HybridRendererBase.prototype.buildItem = SVGRenderer.prototype.buildItem),
(HybridRendererBase.prototype.checkPendingElements = function () {
for (; this.pendingElements.length; )
this.pendingElements.pop().checkParenting()
}),
(HybridRendererBase.prototype.appendElementInPos = function (e, t) {
var n = e.getBaseElement()
if (n) {
var r = this.layers[t]
if (r.ddd && this.supports3d) this.addTo3dContainer(n, t)
else if (this.threeDElements) this.addTo3dContainer(n, t)
else {
for (var a, o, i = 0; i < t; )
this.elements[i] &&
!0 !== this.elements[i] &&
this.elements[i].getBaseElement &&
((o = this.elements[i]),
(a =
(this.layers[i].ddd
? this.getThreeDContainerByPos(i)
: o.getBaseElement()) || a)),
(i += 1)
a
? (r.ddd && this.supports3d) || this.layerElement.insertBefore(n, a)
: (r.ddd && this.supports3d) || this.layerElement.appendChild(n)
}
}
}),
(HybridRendererBase.prototype.createShape = function (e) {
return this.supports3d
? new HShapeElement(e, this.globalData, this)
: new SVGShapeElement(e, this.globalData, this)
}),
(HybridRendererBase.prototype.createText = function (e) {
return this.supports3d
? new HTextElement(e, this.globalData, this)
: new SVGTextLottieElement(e, this.globalData, this)
}),
(HybridRendererBase.prototype.createCamera = function (e) {
return (this.camera = new HCameraElement(e, this.globalData, this)), this.camera
}),
(HybridRendererBase.prototype.createImage = function (e) {
return this.supports3d
? new HImageElement(e, this.globalData, this)
: new IImageElement(e, this.globalData, this)
}),
(HybridRendererBase.prototype.createSolid = function (e) {
return this.supports3d
? new HSolidElement(e, this.globalData, this)
: new ISolidElement(e, this.globalData, this)
}),
(HybridRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
(HybridRendererBase.prototype.getThreeDContainerByPos = function (e) {
for (var t = 0, n = this.threeDElements.length; t < n; ) {
if (
this.threeDElements[t].startPos <= e &&
this.threeDElements[t].endPos >= e
)
return this.threeDElements[t].perspectiveElem
t += 1
}
return null
}),
(HybridRendererBase.prototype.createThreeDContainer = function (e, t) {
var n,
r,
a = createTag('div')
styleDiv(a)
var o = createTag('div')
if ((styleDiv(o), '3d' === t)) {
;((n = a.style).width = this.globalData.compSize.w + 'px'),
(n.height = this.globalData.compSize.h + 'px')
var i = '50% 50%'
;(n.webkitTransformOrigin = i),
(n.mozTransformOrigin = i),
(n.transformOrigin = i)
var s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
;((r = o.style).transform = s), (r.webkitTransform = s)
}
a.appendChild(o)
var l = { container: o, perspectiveElem: a, startPos: e, endPos: e, type: t }
return this.threeDElements.push(l), l
}),
(HybridRendererBase.prototype.build3dContainers = function () {
var e,
t,
n = this.layers.length,
r = ''
for (e = 0; e < n; e += 1)
this.layers[e].ddd && 3 !== this.layers[e].ty
? ('3d' !== r && ((r = '3d'), (t = this.createThreeDContainer(e, '3d'))),
(t.endPos = Math.max(t.endPos, e)))
: ('2d' !== r && ((r = '2d'), (t = this.createThreeDContainer(e, '2d'))),
(t.endPos = Math.max(t.endPos, e)))
for (e = (n = this.threeDElements.length) - 1; e >= 0; e -= 1)
this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)
}),
(HybridRendererBase.prototype.addTo3dContainer = function (e, t) {
for (var n = 0, r = this.threeDElements.length; n < r; ) {
if (t <= this.threeDElements[n].endPos) {
for (var a, o = this.threeDElements[n].startPos; o < t; )
this.elements[o] &&
this.elements[o].getBaseElement &&
(a = this.elements[o].getBaseElement()),
(o += 1)
a
? this.threeDElements[n].container.insertBefore(e, a)
: this.threeDElements[n].container.appendChild(e)
break
}
n += 1
}
}),
(HybridRendererBase.prototype.configAnimation = function (e) {
var t = createTag('div'),
n = this.animationItem.wrapper,
r = t.style
;(r.width = e.w + 'px'),
(r.height = e.h + 'px'),
(this.resizerElem = t),
styleDiv(t),
(r.transformStyle = 'flat'),
(r.mozTransformStyle = 'flat'),
(r.webkitTransformStyle = 'flat'),
this.renderConfig.className &&
t.setAttribute('class', this.renderConfig.className),
n.appendChild(t),
(r.overflow = 'hidden')
var a = createNS('svg')
a.setAttribute('width', '1'),
a.setAttribute('height', '1'),
styleDiv(a),
this.resizerElem.appendChild(a)
var o = createNS('defs')
a.appendChild(o),
(this.data = e),
this.setupGlobalData(e, a),
(this.globalData.defs = o),
(this.layers = e.layers),
(this.layerElement = this.resizerElem),
this.build3dContainers(),
this.updateContainerSize()
}),
(HybridRendererBase.prototype.destroy = function () {
var e
this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
(this.animationItem.container = null),
(this.globalData.defs = null)
var t = this.layers ? this.layers.length : 0
for (e = 0; e < t; e += 1) this.elements[e].destroy()
;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
}),
(HybridRendererBase.prototype.updateContainerSize = function () {
var e,
t,
n,
r,
a = this.animationItem.wrapper.offsetWidth,
o = this.animationItem.wrapper.offsetHeight,
i = a / o
this.globalData.compSize.w / this.globalData.compSize.h > i
? ((e = a / this.globalData.compSize.w),
(t = a / this.globalData.compSize.w),
(n = 0),
(r =
(o - this.globalData.compSize.h * (a / this.globalData.compSize.w)) / 2))
: ((e = o / this.globalData.compSize.h),
(t = o / this.globalData.compSize.h),
(n =
(a - this.globalData.compSize.w * (o / this.globalData.compSize.h)) / 2),
(r = 0))
var s = this.resizerElem.style
;(s.webkitTransform =
'matrix3d(' + e + ',0,0,0,0,' + t + ',0,0,0,0,1,0,' + n + ',' + r + ',0,1)'),
(s.transform = s.webkitTransform)
}),
(HybridRendererBase.prototype.renderFrame = SVGRenderer.prototype.renderFrame),
(HybridRendererBase.prototype.hide = function () {
this.resizerElem.style.display = 'none'
}),
(HybridRendererBase.prototype.show = function () {
this.resizerElem.style.display = 'block'
}),
(HybridRendererBase.prototype.initItems = function () {
if ((this.buildAllItems(), this.camera)) this.camera.setup()
else {
var e,
t = this.globalData.compSize.w,
n = this.globalData.compSize.h,
r = this.threeDElements.length
for (e = 0; e < r; e += 1) {
var a = this.threeDElements[e].perspectiveElem.style
;(a.webkitPerspective = Math.sqrt(Math.pow(t, 2) + Math.pow(n, 2)) + 'px'),
(a.perspective = a.webkitPerspective)
}
}
}),
(HybridRendererBase.prototype.searchExtraCompositions = function (e) {
var t,
n = e.length,
r = createTag('div')
for (t = 0; t < n; t += 1)
if (e[t].xt) {
var a = this.createComp(e[t], r, this.globalData.comp, null)
a.initExpressions(), this.globalData.projectInterface.registerComposition(a)
}
}),
extendPrototype([HybridRendererBase, ICompElement, HBaseElement], HCompElement),
(HCompElement.prototype._createBaseContainerElements =
HCompElement.prototype.createContainerElements),
(HCompElement.prototype.createContainerElements = function () {
this._createBaseContainerElements(),
this.data.hasMask
? (this.svgElement.setAttribute('width', this.data.w),
this.svgElement.setAttribute('height', this.data.h),
(this.transformedElement = this.baseElement))
: (this.transformedElement = this.layerElement)
}),
(HCompElement.prototype.addTo3dContainer = function (e, t) {
for (var n, r = 0; r < t; )
this.elements[r] &&
this.elements[r].getBaseElement &&
(n = this.elements[r].getBaseElement()),
(r += 1)
n ? this.layerElement.insertBefore(e, n) : this.layerElement.appendChild(e)
}),
(HCompElement.prototype.createComp = function (e) {
return this.supports3d
? new HCompElement(e, this.globalData, this)
: new SVGCompElement(e, this.globalData, this)
}),
extendPrototype([HybridRendererBase], HybridRenderer),
(HybridRenderer.prototype.createComp = function (e) {
return this.supports3d
? new HCompElement(e, this.globalData, this)
: new SVGCompElement(e, this.globalData, this)
})
var Expressions = (function () {
var e = {
initExpressions: function (e) {
var t = 0,
n = []
;(e.renderer.compInterface = CompExpressionInterface(e.renderer)),
e.renderer.globalData.projectInterface.registerComposition(e.renderer),
(e.renderer.globalData.pushExpression = function () {
t += 1
}),
(e.renderer.globalData.popExpression = function () {
0 == (t -= 1) &&
(function () {
var e,
t = n.length
for (e = 0; e < t; e += 1) n[e].release()
n.length = 0
})()
}),
(e.renderer.globalData.registerExpressionProperty = function (e) {
;-1 === n.indexOf(e) && n.push(e)
})
}
}
return e
})()
function _typeof$1(e) {
return (
(_typeof$1 =
'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
}),
_typeof$1(e)
)
}
function seedRandom(e, t) {
var n = this,
r = 256,
a = t.pow(r, 6),
o = t.pow(2, 52),
i = 2 * o,
s = 255
function l(e) {
var t,
n = e.length,
a = this,
o = 0,
i = (a.i = a.j = 0),
l = (a.S = [])
for (n || (e = [n++]); o < r; ) l[o] = o++
for (o = 0; o < r; o++)
(l[o] = l[(i = s & (i + e[o % n] + (t = l[o])))]), (l[i] = t)
a.g = function (e) {
for (var t, n = 0, o = a.i, i = a.j, l = a.S; e--; )
(t = l[(o = s & (o + 1))]),
(n = n * r + l[s & ((l[o] = l[(i = s & (i + t))]) + (l[i] = t))])
return (a.i = o), (a.j = i), n
}
}
function c(e, t) {
return (t.i = e.i), (t.j = e.j), (t.S = e.S.slice()), t
}
function u(e, t) {
var n,
r = [],
a = _typeof$1(e)
if (t && 'object' == a)
for (n in e)
try {
r.push(u(e[n], t - 1))
} catch (o) {}
return r.length ? r : 'string' == a ? e : e + '\0'
}
function p(e, t) {
for (var n, r = e + '', a = 0; a < r.length; )
t[s & a] = s & ((n ^= 19 * t[s & a]) + r.charCodeAt(a++))
return d(t)
}
function d(e) {
return String.fromCharCode.apply(0, e)
}
;(t.seedrandom = function (s, f, h) {
var v = [],
m = p(
u(
(f = !0 === f ? { entropy: !0 } : f || {}).entropy
? [s, d(e)]
: null === s
? (function () {
try {
var t = new Uint8Array(r)
return (n.crypto || n.msCrypto).getRandomValues(t), d(t)
} catch (i) {
var a = n.navigator,
o = a && a.plugins
return [+new Date(), n, o, n.screen, d(e)]
}
})()
: s,
3
),
v
),
g = new l(v),
y = function () {
for (var e = g.g(6), t = a, n = 0; e < o; )
(e = (e + n) * r), (t *= r), (n = g.g(1))
for (; e >= i; ) (e /= 2), (t /= 2), (n >>>= 1)
return (e + n) / t
}
return (
(y.int32 = function () {
return 0 | g.g(4)
}),
(y.quick = function () {
return g.g(4) / 4294967296
}),
(y.double = y),
p(d(g.S), e),
(
f.pass ||
h ||
function (e, n, r, a) {
return (
a &&
(a.S && c(a, g),
(e.state = function () {
return c(g, {})
})),
r ? ((t.random = e), n) : e
)
}
)(y, m, 'global' in f ? f.global : this == t, f.state)
)
}),
p(t.random(), e)
}
function initialize$2(e) {
seedRandom([], e)
}
var propTypes = { SHAPE: 'shape' }
function _typeof(e) {
return (
(_typeof =
'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
}),
_typeof(e)
)
}
var ExpressionManager = (function () {
var ob = {},
Math = BMMath,
window = null,
document = null,
XMLHttpRequest = null,
fetch = null,
frames = null
function $bm_isInstanceOfArray(e) {
return e.constructor === Array || e.constructor === Float32Array
}
function isNumerable(e, t) {
return (
'number' === e || 'boolean' === e || 'string' === e || t instanceof Number
)
}
function $bm_neg(e) {
var t = _typeof(e)
if ('number' === t || 'boolean' === t || e instanceof Number) return -e
if ($bm_isInstanceOfArray(e)) {
var n,
r = e.length,
a = []
for (n = 0; n < r; n += 1) a[n] = -e[n]
return a
}
return e.propType ? e.v : -e
}
initialize$2(BMMath)
var easeInBez = BezierFactory.getBezierEasing(
0.333,
0,
0.833,
0.833,
'easeIn'
).get,
easeOutBez = BezierFactory.getBezierEasing(
0.167,
0.167,
0.667,
1,
'easeOut'
).get,
easeInOutBez = BezierFactory.getBezierEasing(
0.33,
0,
0.667,
1,
'easeInOut'
).get
function sum(e, t) {
var n = _typeof(e),
r = _typeof(t)
if ('string' === n || 'string' === r) return e + t
if (isNumerable(n, e) && isNumerable(r, t)) return e + t
if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
return ((e = e.slice(0))[0] += t), e
if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
return ((t = t.slice(0))[0] = e + t[0]), t
if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
('number' == typeof e[a] || e[a] instanceof Number) &&
('number' == typeof t[a] || t[a] instanceof Number)
? (s[a] = e[a] + t[a])
: (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
(a += 1)
return s
}
return 0
}
var add = sum
function sub(e, t) {
var n = _typeof(e),
r = _typeof(t)
if (isNumerable(n, e) && isNumerable(r, t))
return (
'string' === n && (e = parseInt(e, 10)),
'string' === r && (t = parseInt(t, 10)),
e - t
)
if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
return ((e = e.slice(0))[0] -= t), e
if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
return ((t = t.slice(0))[0] = e - t[0]), t
if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
('number' == typeof e[a] || e[a] instanceof Number) &&
('number' == typeof t[a] || t[a] instanceof Number)
? (s[a] = e[a] - t[a])
: (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
(a += 1)
return s
}
return 0
}
function mul(e, t) {
var n,
r,
a,
o = _typeof(e),
i = _typeof(t)
if (isNumerable(o, e) && isNumerable(i, t)) return e * t
if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
n[r] = e[r] * t
return n
}
if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
n[r] = e * t[r]
return n
}
return 0
}
function div(e, t) {
var n,
r,
a,
o = _typeof(e),
i = _typeof(t)
if (isNumerable(o, e) && isNumerable(i, t)) return e / t
if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
n[r] = e[r] / t
return n
}
if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
n[r] = e / t[r]
return n
}
return 0
}
function mod(e, t) {
return (
'string' == typeof e && (e = parseInt(e, 10)),
'string' == typeof t && (t = parseInt(t, 10)),
e % t
)
}
var $bm_sum = sum,
$bm_sub = sub,
$bm_mul = mul,
$bm_div = div,
$bm_mod = mod
function clamp(e, t, n) {
if (t > n) {
var r = n
;(n = t), (t = r)
}
return Math.min(Math.max(e, t), n)
}
function radiansToDegrees(e) {
return e / degToRads
}
var radians_to_degrees = radiansToDegrees
function degreesToRadians(e) {
return e * degToRads
}
var degrees_to_radians = radiansToDegrees,
helperLengthArray = [0, 0, 0, 0, 0, 0]
function length(e, t) {
if ('number' == typeof e || e instanceof Number)
return (t = t || 0), Math.abs(e - t)
var n
t || (t = helperLengthArray)
var r = Math.min(e.length, t.length),
a = 0
for (n = 0; n < r; n += 1) a += Math.pow(t[n] - e[n], 2)
return Math.sqrt(a)
}
function normalize(e) {
return div(e, length(e))
}
function rgbToHsl(e) {
var t,
n,
r = e[0],
a = e[1],
o = e[2],
i = Math.max(r, a, o),
s = Math.min(r, a, o),
l = (i + s) / 2
if (i === s) (t = 0), (n = 0)
else {
var c = i - s
switch (((n = l > 0.5 ? c / (2 - i - s) : c / (i + s)), i)) {
case r:
t = (a - o) / c + (a < o ? 6 : 0)
break
case a:
t = (o - r) / c + 2
break
case o:
t = (r - a) / c + 4
}
t /= 6
}
return [t, n, l, e[3]]
}
function hue2rgb(e, t, n) {
return (
n < 0 && (n += 1),
n > 1 && (n -= 1),
n < 1 / 6
? e + 6 * (t - e) * n
: n < 0.5
? t
: n < 2 / 3
? e + (t - e) * (2 / 3 - n) * 6
: e
)
}
function hslToRgb(e) {
var t,
n,
r,
a = e[0],
o = e[1],
i = e[2]
if (0 === o) (t = i), (r = i), (n = i)
else {
var s = i < 0.5 ? i * (1 + o) : i + o - i * o,
l = 2 * i - s
;(t = hue2rgb(l, s, a + 1 / 3)),
(n = hue2rgb(l, s, a)),
(r = hue2rgb(l, s, a - 1 / 3))
}
return [t, n, r, e[3]]
}
function linear(e, t, n, r, a) {
if (
((void 0 !== r && void 0 !== a) || ((r = t), (a = n), (t = 0), (n = 1)),
n < t)
) {
var o = n
;(n = t), (t = o)
}
if (e <= t) return r
if (e >= n) return a
var i,
s = n === t ? 0 : (e - t) / (n - t)
if (!r.length) return r + (a - r) * s
var l = r.length,
c = createTypedArray('float32', l)
for (i = 0; i < l; i += 1) c[i] = r[i] + (a[i] - r[i]) * s
return c
}
function random(e, t) {
if (
(void 0 === t &&
(void 0 === e ? ((e = 0), (t = 1)) : ((t = e), (e = void 0))),
t.length)
) {
var n,
r = t.length
e || (e = createTypedArray('float32', r))
var a = createTypedArray('float32', r),
o = BMMath.random()
for (n = 0; n < r; n += 1) a[n] = e[n] + o * (t[n] - e[n])
return a
}
return void 0 === e && (e = 0), e + BMMath.random() * (t - e)
}
function createPath(e, t, n, r) {
var a,
o = e.length,
i = shapePool.newElement()
i.setPathData(!!r, o)
var s,
l,
c = [0, 0]
for (a = 0; a < o; a += 1)
(s = t && t[a] ? t[a] : c),
(l = n && n[a] ? n[a] : c),
i.setTripleAt(
e[a][0],
e[a][1],
l[0] + e[a][0],
l[1] + e[a][1],
s[0] + e[a][0],
s[1] + e[a][1],
a,
!0
)
return i
}
function initiateExpression(elem, data, property) {
var val = data.x,
needsVelocity = /velocity(?![\w\d])/.test(val),
_needsRandom = -1 !== val.indexOf('random'),
elemType = elem.data.ty,
transform,
$bm_transform,
content,
effect,
thisProperty = property
;(thisProperty.valueAtTime = thisProperty.getValueAtTime),
Object.defineProperty(thisProperty, 'value', {
get: function () {
return thisProperty.v
}
}),
(elem.comp.frameDuration = 1 / elem.comp.globalData.frameRate),
(elem.comp.displayStartTime = 0)
var inPoint = elem.data.ip / elem.comp.globalData.frameRate,
outPoint = elem.data.op / elem.comp.globalData.frameRate,
width = elem.data.sw ? elem.data.sw : 0,
height = elem.data.sh ? elem.data.sh : 0,
name = elem.data.nm,
loopIn,
loop_in,
loopOut,
loop_out,
smooth,
toWorld,
fromWorld,
fromComp,
toComp,
fromCompToSurface,
position,
rotation,
anchorPoint,
scale,
thisLayer,
thisComp,
mask,
valueAtTime,
velocityAtTime,
scoped_bm_rt,
expression_function = eval(
'[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]'
)[0],
numKeys = property.kf ? data.k.length : 0,
active = !this.data || !0 !== this.data.hd,
wiggle = function (e, t) {
var n,
r,
a = this.pv.length ? this.pv.length : 1,
o = createTypedArray('float32', a),
i = Math.floor(5 * time)
for (n = 0, r = 0; n < i; ) {
for (r = 0; r < a; r += 1) o[r] += -t + 2 * t * BMMath.random()
n += 1
}
var s = 5 * time,
l = s - Math.floor(s),
c = createTypedArray('float32', a)
if (a > 1) {
for (r = 0; r < a; r += 1)
c[r] = this.pv[r] + o[r] + (-t + 2 * t * BMMath.random()) * l
return c
}
return this.pv + o[0] + (-t + 2 * t * BMMath.random()) * l
}.bind(this)
function loopInDuration(e, t) {
return loopIn(e, t, !0)
}
function loopOutDuration(e, t) {
return loopOut(e, t, !0)
}
thisProperty.loopIn &&
((loopIn = thisProperty.loopIn.bind(thisProperty)), (loop_in = loopIn)),
thisProperty.loopOut &&
((loopOut = thisProperty.loopOut.bind(thisProperty)),
(loop_out = loopOut)),
thisProperty.smooth && (smooth = thisProperty.smooth.bind(thisProperty)),
this.getValueAtTime && (valueAtTime = this.getValueAtTime.bind(this)),
this.getVelocityAtTime &&
(velocityAtTime = this.getVelocityAtTime.bind(this))
var comp = elem.comp.globalData.projectInterface.bind(
elem.comp.globalData.projectInterface
),
time,
velocity,
value,
text,
textIndex,
textTotal,
selectorValue
function lookAt(e, t) {
var n = [t[0] - e[0], t[1] - e[1], t[2] - e[2]],
r = Math.atan2(n[0], Math.sqrt(n[1] * n[1] + n[2] * n[2])) / degToRads
return [-Math.atan2(n[1], n[2]) / degToRads, r, 0]
}
function easeOut(e, t, n, r, a) {
return applyEase(easeOutBez, e, t, n, r, a)
}
function easeIn(e, t, n, r, a) {
return applyEase(easeInBez, e, t, n, r, a)
}
function ease(e, t, n, r, a) {
return applyEase(easeInOutBez, e, t, n, r, a)
}
function applyEase(e, t, n, r, a, o) {
void 0 === a ? ((a = n), (o = r)) : (t = (t - n) / (r - n)),
t > 1 ? (t = 1) : t < 0 && (t = 0)
var i = e(t)
if ($bm_isInstanceOfArray(a)) {
var s,
l = a.length,
c = createTypedArray('float32', l)
for (s = 0; s < l; s += 1) c[s] = (o[s] - a[s]) * i + a[s]
return c
}
return (o - a) * i + a
}
function nearestKey(e) {
var t,
n,
r,
a = data.k.length
if (data.k.length && 'number' != typeof data.k[0])
if (((n = -1), (e *= elem.comp.globalData.frameRate) < data.k[0].t))
(n = 1), (r = data.k[0].t)
else {
for (t = 0; t < a - 1; t += 1) {
if (e === data.k[t].t) {
;(n = t + 1), (r = data.k[t].t)
break
}
if (e > data.k[t].t && e < data.k[t + 1].t) {
e - data.k[t].t > data.k[t + 1].t - e
? ((n = t + 2), (r = data.k[t + 1].t))
: ((n = t + 1), (r = data.k[t].t))
break
}
}
;-1 === n && ((n = t + 1), (r = data.k[t].t))
}
else (n = 0), (r = 0)
var o = {}
return (o.index = n), (o.time = r / elem.comp.globalData.frameRate), o
}
function key(e) {
var t, n, r
if (!data.k.length || 'number' == typeof data.k[0])
throw new Error('The property has no keyframe at index ' + e)
;(e -= 1),
(t = { time: data.k[e].t / elem.comp.globalData.frameRate, value: [] })
var a = Object.prototype.hasOwnProperty.call(data.k[e], 's')
? data.k[e].s
: data.k[e - 1].e
for (r = a.length, n = 0; n < r; n += 1) (t[n] = a[n]), (t.value[n] = a[n])
return t
}
function framesToTime(e, t) {
return t || (t = elem.comp.globalData.frameRate), e / t
}
function timeToFrames(e, t) {
return (
e || 0 === e || (e = time),
t || (t = elem.comp.globalData.frameRate),
e * t
)
}
function seedRandom(e) {
BMMath.seedrandom(randSeed + e)
}
function sourceRectAtTime() {
return elem.sourceRectAtTime()
}
function substring(e, t) {
return 'string' == typeof value
? void 0 === t
? value.substring(e)
: value.substring(e, t)
: ''
}
function substr(e, t) {
return 'string' == typeof value
? void 0 === t
? value.substr(e)
: value.substr(e, t)
: ''
}
function posterizeTime(e) {
;(time = 0 === e ? 0 : Math.floor(time * e) / e),
(value = valueAtTime(time))
}
var index = elem.data.ind,
hasParent = !(!elem.hierarchy || !elem.hierarchy.length),
parent,
randSeed = Math.floor(1e6 * Math.random()),
globalData = elem.globalData
function executeExpression(e) {
return (
(value = e),
this.frameExpressionId === elem.globalData.frameId &&
'textSelector' !== this.propType
? value
: ('textSelector' === this.propType &&
((textIndex = this.textIndex),
(textTotal = this.textTotal),
(selectorValue = this.selectorValue)),
thisLayer ||
((text = elem.layerInterface.text),
(thisLayer = elem.layerInterface),
(thisComp = elem.comp.compInterface),
(toWorld = thisLayer.toWorld.bind(thisLayer)),
(fromWorld = thisLayer.fromWorld.bind(thisLayer)),
(fromComp = thisLayer.fromComp.bind(thisLayer)),
(toComp = thisLayer.toComp.bind(thisLayer)),
(mask = thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null),
(fromCompToSurface = fromComp)),
transform ||
((transform = elem.layerInterface('ADBE Transform Group')),
($bm_transform = transform),
transform && (anchorPoint = transform.anchorPoint)),
4 !== elemType ||
content ||
(content = thisLayer('ADBE Root Vectors Group')),
effect || (effect = thisLayer(4)),
(hasParent = !(!elem.hierarchy || !elem.hierarchy.length)) &&
!parent &&
(parent = elem.hierarchy[0].layerInterface),
(time = this.comp.renderedFrame / this.comp.globalData.frameRate),
_needsRandom && seedRandom(randSeed + time),
needsVelocity && (velocity = velocityAtTime(time)),
expression_function(),
(this.frameExpressionId = elem.globalData.frameId),
(scoped_bm_rt =
scoped_bm_rt.propType === propTypes.SHAPE
? scoped_bm_rt.v
: scoped_bm_rt))
)
}
return (
(executeExpression.__preventDeadCodeRemoval = [
$bm_transform,
anchorPoint,
time,
velocity,
inPoint,
outPoint,
width,
height,
name,
loop_in,
loop_out,
smooth,
toComp,
fromCompToSurface,
toWorld,
fromWorld,
mask,
position,
rotation,
scale,
thisComp,
numKeys,
active,
wiggle,
loopInDuration,
loopOutDuration,
comp,
lookAt,
easeOut,
easeIn,
ease,
nearestKey,
key,
text,
textIndex,
textTotal,
selectorValue,
framesToTime,
timeToFrames,
sourceRectAtTime,
substring,
substr,
posterizeTime,
index,
globalData
]),
executeExpression
)
}
return (
(ob.initiateExpression = initiateExpression),
(ob.__preventDeadCodeRemoval = [
window,
document,
XMLHttpRequest,
fetch,
frames,
$bm_neg,
add,
$bm_sum,
$bm_sub,
$bm_mul,
$bm_div,
$bm_mod,
clamp,
radians_to_degrees,
degreesToRadians,
degrees_to_radians,
normalize,
rgbToHsl,
hslToRgb,
linear,
random,
createPath
]),
ob
)
})(),
expressionHelpers = {
searchExpressions: function (e, t, n) {
t.x &&
((n.k = !0),
(n.x = !0),
(n.initiateExpression = ExpressionManager.initiateExpression),
n.effectsSequence.push(n.initiateExpression(e, t, n).bind(n)))
},
getSpeedAtTime: function (e) {
var t = this.getValueAtTime(e),
n = this.getValueAtTime(e + -0.01),
r = 0
if (t.length) {
var a
for (a = 0; a < t.length; a += 1) r += Math.pow(n[a] - t[a], 2)
r = 100 * Math.sqrt(r)
} else r = 0
return r
},
getVelocityAtTime: function (e) {
if (void 0 !== this.vel) return this.vel
var t,
n,
r = -0.001,
a = this.getValueAtTime(e),
o = this.getValueAtTime(e + r)
if (a.length)
for (t = createTypedArray('float32', a.length), n = 0; n < a.length; n += 1)
t[n] = (o[n] - a[n]) / r
else t = (o - a) / r
return t
},
getValueAtTime: function (e) {
return (
(e *= this.elem.globalData.frameRate),
(e -= this.offsetTime) !== this._cachingAtTime.lastFrame &&
((this._cachingAtTime.lastIndex =
this._cachingAtTime.lastFrame < e ? this._cachingAtTime.lastIndex : 0),
(this._cachingAtTime.value = this.interpolateValue(
e,
this._cachingAtTime
)),
(this._cachingAtTime.lastFrame = e)),
this._cachingAtTime.value
)
},
getStaticValueAtTime: function () {
return this.pv
},
setGroupProperty: function (e) {
this.propertyGroup = e
}
}
function addPropertyDecorator() {
function e(e, t, n) {
if (!this.k || !this.keyframes) return this.pv
e = e ? e.toLowerCase() : ''
var r,
a,
o,
i,
s,
l = this.comp.renderedFrame,
c = this.keyframes,
u = c[c.length - 1].t
if (l <= u) return this.pv
if (
(n
? (a =
u -
(r = t
? Math.abs(u - this.elem.comp.globalData.frameRate * t)
: Math.max(0, u - this.elem.data.ip)))
: ((!t || t > c.length - 1) && (t = c.length - 1),
(r = u - (a = c[c.length - 1 - t].t))),
'pingpong' === e)
) {
if (Math.floor((l - a) / r) % 2 != 0)
return this.getValueAtTime(
(r - ((l - a) % r) + a) / this.comp.globalData.frameRate,
0
)
} else {
if ('offset' === e) {
var p = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
d = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
f = this.getValueAtTime(
(((l - a) % r) + a) / this.comp.globalData.frameRate,
0
),
h = Math.floor((l - a) / r)
if (this.pv.length) {
for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
s[o] = (d[o] - p[o]) * h + f[o]
return s
}
return (d - p) * h + f
}
if ('continue' === e) {
var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
m = this.getValueAtTime((u - 0.001) / this.comp.globalData.frameRate, 0)
if (this.pv.length) {
for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
s[o] =
v[o] +
((v[o] - m[o]) * ((l - u) / this.comp.globalData.frameRate)) / 5e-4
return s
}
return v + ((l - u) / 0.001) * (v - m)
}
}
return this.getValueAtTime(
(((l - a) % r) + a) / this.comp.globalData.frameRate,
0
)
}
function t(e, t, n) {
if (!this.k) return this.pv
e = e ? e.toLowerCase() : ''
var r,
a,
o,
i,
s,
l = this.comp.renderedFrame,
c = this.keyframes,
u = c[0].t
if (l >= u) return this.pv
if (
(n
? (a =
u +
(r = t
? Math.abs(this.elem.comp.globalData.frameRate * t)
: Math.max(0, this.elem.data.op - u)))
: ((!t || t > c.length - 1) && (t = c.length - 1), (r = (a = c[t].t) - u)),
'pingpong' === e)
) {
if (Math.floor((u - l) / r) % 2 == 0)
return this.getValueAtTime(
(((u - l) % r) + u) / this.comp.globalData.frameRate,
0
)
} else {
if ('offset' === e) {
var p = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
d = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
f = this.getValueAtTime(
(r - ((u - l) % r) + u) / this.comp.globalData.frameRate,
0
),
h = Math.floor((u - l) / r) + 1
if (this.pv.length) {
for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
s[o] = f[o] - (d[o] - p[o]) * h
return s
}
return f - (d - p) * h
}
if ('continue' === e) {
var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
m = this.getValueAtTime((u + 0.001) / this.comp.globalData.frameRate, 0)
if (this.pv.length) {
for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
s[o] = v[o] + ((v[o] - m[o]) * (u - l)) / 0.001
return s
}
return v + ((v - m) * (u - l)) / 0.001
}
}
return this.getValueAtTime(
(r - (((u - l) % r) + u)) / this.comp.globalData.frameRate,
0
)
}
function n(e, t) {
if (!this.k) return this.pv
if (((e = 0.5 * (e || 0.4)), (t = Math.floor(t || 5)) <= 1)) return this.pv
var n,
r,
a = this.comp.renderedFrame / this.comp.globalData.frameRate,
o = a - e,
i = t > 1 ? (a + e - o) / (t - 1) : 1,
s = 0,
l = 0
for (
n = this.pv.length ? createTypedArray('float32', this.pv.length) : 0;
s < t;
) {
if (((r = this.getValueAtTime(o + s * i)), this.pv.length))
for (l = 0; l < this.pv.length; l += 1) n[l] += r[l]
else n += r
s += 1
}
if (this.pv.length) for (l = 0; l < this.pv.length; l += 1) n[l] /= t
else n /= t
return n
}
function r(e) {
this._transformCachingAtTime ||
(this._transformCachingAtTime = { v: new Matrix() })
var t = this._transformCachingAtTime.v
if ((t.cloneFromProps(this.pre.props), this.appliedTransformations < 1)) {
var n = this.a.getValueAtTime(e)
t.translate(-n[0] * this.a.mult, -n[1] * this.a.mult, n[2] * this.a.mult)
}
if (this.appliedTransformations < 2) {
var r = this.s.getValueAtTime(e)
t.scale(r[0] * this.s.mult, r[1] * this.s.mult, r[2] * this.s.mult)
}
if (this.sk && this.appliedTransformations < 3) {
var a = this.sk.getValueAtTime(e),
o = this.sa.getValueAtTime(e)
t.skewFromAxis(-a * this.sk.mult, o * this.sa.mult)
}
if (this.r && this.appliedTransformations < 4) {
var i = this.r.getValueAtTime(e)
t.rotate(-i * this.r.mult)
} else if (!this.r && this.appliedTransformations < 4) {
var s = this.rz.getValueAtTime(e),
l = this.ry.getValueAtTime(e),
c = this.rx.getValueAtTime(e),
u = this.or.getValueAtTime(e)
t.rotateZ(-s * this.rz.mult)
.rotateY(l * this.ry.mult)
.rotateX(c * this.rx.mult)
.rotateZ(-u[2] * this.or.mult)
.rotateY(u[1] * this.or.mult)
.rotateX(u[0] * this.or.mult)
}
if (this.data.p && this.data.p.s) {
var p = this.px.getValueAtTime(e),
d = this.py.getValueAtTime(e)
if (this.data.p.z) {
var f = this.pz.getValueAtTime(e)
t.translate(p * this.px.mult, d * this.py.mult, -f * this.pz.mult)
} else t.translate(p * this.px.mult, d * this.py.mult, 0)
} else {
var h = this.p.getValueAtTime(e)
t.translate(h[0] * this.p.mult, h[1] * this.p.mult, -h[2] * this.p.mult)
}
return t
}
function a() {
return this.v.clone(new Matrix())
}
var o = TransformPropertyFactory.getTransformProperty
TransformPropertyFactory.getTransformProperty = function (e, t, n) {
var i = o(e, t, n)
return (
i.dynamicProperties.length
? (i.getValueAtTime = r.bind(i))
: (i.getValueAtTime = a.bind(i)),
(i.setGroupProperty = expressionHelpers.setGroupProperty),
i
)
}
var i = PropertyFactory.getProp
PropertyFactory.getProp = function (r, a, o, s, l) {
var c = i(r, a, o, s, l)
c.kf
? (c.getValueAtTime = expressionHelpers.getValueAtTime.bind(c))
: (c.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(c)),
(c.setGroupProperty = expressionHelpers.setGroupProperty),
(c.loopOut = e),
(c.loopIn = t),
(c.smooth = n),
(c.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(c)),
(c.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(c)),
(c.numKeys = 1 === a.a ? a.k.length : 0),
(c.propertyIndex = a.ix)
var u = 0
return (
0 !== o &&
(u = createTypedArray('float32', 1 === a.a ? a.k[0].s.length : a.k.length)),
(c._cachingAtTime = {
lastFrame: initialDefaultFrame,
lastIndex: 0,
value: u
}),
expressionHelpers.searchExpressions(r, a, c),
c.k && l.addDynamicProperty(c),
c
)
}
var s = ShapePropertyFactory.getConstructorFunction(),
l = ShapePropertyFactory.getKeyframedConstructorFunction()
function c() {}
;(c.prototype = {
vertices: function (e, t) {
this.k && this.getValue()
var n,
r = this.v
void 0 !== t && (r = this.getValueAtTime(t, 0))
var a = r._length,
o = r[e],
i = r.v,
s = createSizedArray(a)
for (n = 0; n < a; n += 1)
s[n] =
'i' === e || 'o' === e
? [o[n][0] - i[n][0], o[n][1] - i[n][1]]
: [o[n][0], o[n][1]]
return s
},
points: function (e) {
return this.vertices('v', e)
},
inTangents: function (e) {
return this.vertices('i', e)
},
outTangents: function (e) {
return this.vertices('o', e)
},
isClosed: function () {
return this.v.c
},
pointOnPath: function (e, t) {
var n = this.v
void 0 !== t && (n = this.getValueAtTime(t, 0)),
this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(n))
for (
var r,
a = this._segmentsLength,
o = a.lengths,
i = a.totalLength * e,
s = 0,
l = o.length,
c = 0;
s < l;
) {
if (c + o[s].addedLength > i) {
var u = s,
p = n.c && s === l - 1 ? 0 : s + 1,
d = (i - c) / o[s].addedLength
r = bez.getPointInSegment(n.v[u], n.v[p], n.o[u], n.i[p], d, o[s])
break
}
;(c += o[s].addedLength), (s += 1)
}
return (
r ||
(r = n.c
? [n.v[0][0], n.v[0][1]]
: [n.v[n._length - 1][0], n.v[n._length - 1][1]]),
r
)
},
vectorOnPath: function (e, t, n) {
1 == e ? (e = this.v.c) : 0 == e && (e = 0.999)
var r = this.pointOnPath(e, t),
a = this.pointOnPath(e + 0.001, t),
o = a[0] - r[0],
i = a[1] - r[1],
s = Math.sqrt(Math.pow(o, 2) + Math.pow(i, 2))
return 0 === s ? [0, 0] : 'tangent' === n ? [o / s, i / s] : [-i / s, o / s]
},
tangentOnPath: function (e, t) {
return this.vectorOnPath(e, t, 'tangent')
},
normalOnPath: function (e, t) {
return this.vectorOnPath(e, t, 'normal')
},
setGroupProperty: expressionHelpers.setGroupProperty,
getValueAtTime: expressionHelpers.getStaticValueAtTime
}),
extendPrototype([c], s),
extendPrototype([c], l),
(l.prototype.getValueAtTime = function (e) {
return (
this._cachingAtTime ||
(this._cachingAtTime = {
shapeValue: shapePool.clone(this.pv),
lastIndex: 0,
lastTime: initialDefaultFrame
}),
(e *= this.elem.globalData.frameRate),
(e -= this.offsetTime) !== this._cachingAtTime.lastTime &&
((this._cachingAtTime.lastIndex =
this._cachingAtTime.lastTime < e ? this._caching.lastIndex : 0),
(this._cachingAtTime.lastTime = e),
this.interpolateShape(
e,
this._cachingAtTime.shapeValue,
this._cachingAtTime
)),
this._cachingAtTime.shapeValue
)
}),
(l.prototype.initiateExpression = ExpressionManager.initiateExpression)
var u = ShapePropertyFactory.getShapeProp
ShapePropertyFactory.getShapeProp = function (e, t, n, r, a) {
var o = u(e, t, n, r, a)
return (
(o.propertyIndex = t.ix),
(o.lock = !1),
3 === n
? expressionHelpers.searchExpressions(e, t.pt, o)
: 4 === n && expressionHelpers.searchExpressions(e, t.ks, o),
o.k && e.addDynamicProperty(o),
o
)
}
}
function initialize$1() {
addPropertyDecorator()
}
function addDecorator() {
;(TextProperty.prototype.getExpressionValue = function (e, t) {
var n = this.calculateExpression(t)
if (e.t !== n) {
var r = {}
return this.copyData(r, e), (r.t = n.toString()), (r.__complete = !1), r
}
return e
}),
(TextProperty.prototype.searchProperty = function () {
var e = this.searchKeyframes(),
t = this.searchExpressions()
return (this.kf = e || t), this.kf
}),
(TextProperty.prototype.searchExpressions = function () {
return this.data.d.x
? ((this.calculateExpression = ExpressionManager.initiateExpression.bind(
this
)(this.elem, this.data.d, this)),
this.addEffect(this.getExpressionValue.bind(this)),
!0)
: null
})
}
function initialize() {
addDecorator()
}
function SVGComposableEffect() {}
function SVGTintFilter(e, t, n, r, a) {
this.filterManager = t
var o = createNS('feColorMatrix')
o.setAttribute('type', 'matrix'),
o.setAttribute('color-interpolation-filters', 'linearRGB'),
o.setAttribute(
'values',
'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
),
o.setAttribute('result', r + '_tint_1'),
e.appendChild(o),
(o = createNS('feColorMatrix')).setAttribute('type', 'matrix'),
o.setAttribute('color-interpolation-filters', 'sRGB'),
o.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
o.setAttribute('result', r + '_tint_2'),
e.appendChild(o),
(this.matrixFilter = o)
var i = this.createMergeNode(r, [a, r + '_tint_1', r + '_tint_2'])
e.appendChild(i)
}
function SVGFillFilter(e, t, n, r) {
this.filterManager = t
var a = createNS('feColorMatrix')
a.setAttribute('type', 'matrix'),
a.setAttribute('color-interpolation-filters', 'sRGB'),
a.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
a.setAttribute('result', r),
e.appendChild(a),
(this.matrixFilter = a)
}
function SVGStrokeEffect(e, t, n) {
;(this.initialized = !1),
(this.filterManager = t),
(this.elem = n),
(this.paths = [])
}
function SVGTritoneFilter(e, t, n, r) {
this.filterManager = t
var a = createNS('feColorMatrix')
a.setAttribute('type', 'matrix'),
a.setAttribute('color-interpolation-filters', 'linearRGB'),
a.setAttribute(
'values',
'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
),
e.appendChild(a)
var o = createNS('feComponentTransfer')
o.setAttribute('color-interpolation-filters', 'sRGB'),
o.setAttribute('result', r),
(this.matrixFilter = o)
var i = createNS('feFuncR')
i.setAttribute('type', 'table'), o.appendChild(i), (this.feFuncR = i)
var s = createNS('feFuncG')
s.setAttribute('type', 'table'), o.appendChild(s), (this.feFuncG = s)
var l = createNS('feFuncB')
l.setAttribute('type', 'table'),
o.appendChild(l),
(this.feFuncB = l),
e.appendChild(o)
}
function SVGProLevelsFilter(e, t, n, r) {
this.filterManager = t
var a = this.filterManager.effectElements,
o = createNS('feComponentTransfer')
;(a[10].p.k ||
0 !== a[10].p.v ||
a[11].p.k ||
1 !== a[11].p.v ||
a[12].p.k ||
1 !== a[12].p.v ||
a[13].p.k ||
0 !== a[13].p.v ||
a[14].p.k ||
1 !== a[14].p.v) &&
(this.feFuncR = this.createFeFunc('feFuncR', o)),
(a[17].p.k ||
0 !== a[17].p.v ||
a[18].p.k ||
1 !== a[18].p.v ||
a[19].p.k ||
1 !== a[19].p.v ||
a[20].p.k ||
0 !== a[20].p.v ||
a[21].p.k ||
1 !== a[21].p.v) &&
(this.feFuncG = this.createFeFunc('feFuncG', o)),
(a[24].p.k ||
0 !== a[24].p.v ||
a[25].p.k ||
1 !== a[25].p.v ||
a[26].p.k ||
1 !== a[26].p.v ||
a[27].p.k ||
0 !== a[27].p.v ||
a[28].p.k ||
1 !== a[28].p.v) &&
(this.feFuncB = this.createFeFunc('feFuncB', o)),
(a[31].p.k ||
0 !== a[31].p.v ||
a[32].p.k ||
1 !== a[32].p.v ||
a[33].p.k ||
1 !== a[33].p.v ||
a[34].p.k ||
0 !== a[34].p.v ||
a[35].p.k ||
1 !== a[35].p.v) &&
(this.feFuncA = this.createFeFunc('feFuncA', o)),
(this.feFuncR || this.feFuncG || this.feFuncB || this.feFuncA) &&
(o.setAttribute('color-interpolation-filters', 'sRGB'), e.appendChild(o)),
(a[3].p.k ||
0 !== a[3].p.v ||
a[4].p.k ||
1 !== a[4].p.v ||
a[5].p.k ||
1 !== a[5].p.v ||
a[6].p.k ||
0 !== a[6].p.v ||
a[7].p.k ||
1 !== a[7].p.v) &&
((o = createNS('feComponentTransfer')).setAttribute(
'color-interpolation-filters',
'sRGB'
),
o.setAttribute('result', r),
e.appendChild(o),
(this.feFuncRComposed = this.createFeFunc('feFuncR', o)),
(this.feFuncGComposed = this.createFeFunc('feFuncG', o)),
(this.feFuncBComposed = this.createFeFunc('feFuncB', o)))
}
function SVGDropShadowEffect(e, t, n, r, a) {
var o = t.container.globalData.renderConfig.filterSize,
i = t.data.fs || o
e.setAttribute('x', i.x || o.x),
e.setAttribute('y', i.y || o.y),
e.setAttribute('width', i.width || o.width),
e.setAttribute('height', i.height || o.height),
(this.filterManager = t)
var s = createNS('feGaussianBlur')
s.setAttribute('in', 'SourceAlpha'),
s.setAttribute('result', r + '_drop_shadow_1'),
s.setAttribute('stdDeviation', '0'),
(this.feGaussianBlur = s),
e.appendChild(s)
var l = createNS('feOffset')
l.setAttribute('dx', '25'),
l.setAttribute('dy', '0'),
l.setAttribute('in', r + '_drop_shadow_1'),
l.setAttribute('result', r + '_drop_shadow_2'),
(this.feOffset = l),
e.appendChild(l)
var c = createNS('feFlood')
c.setAttribute('flood-color', '#00ff00'),
c.setAttribute('flood-opacity', '1'),
c.setAttribute('result', r + '_drop_shadow_3'),
(this.feFlood = c),
e.appendChild(c)
var u = createNS('feComposite')
u.setAttribute('in', r + '_drop_shadow_3'),
u.setAttribute('in2', r + '_drop_shadow_2'),
u.setAttribute('operator', 'in'),
u.setAttribute('result', r + '_drop_shadow_4'),
e.appendChild(u)
var p = this.createMergeNode(r, [r + '_drop_shadow_4', a])
e.appendChild(p)
}
;(SVGComposableEffect.prototype = {
createMergeNode: function (e, t) {
var n,
r,
a = createNS('feMerge')
for (a.setAttribute('result', e), r = 0; r < t.length; r += 1)
(n = createNS('feMergeNode')).setAttribute('in', t[r]),
a.appendChild(n),
a.appendChild(n)
return a
}
}),
extendPrototype([SVGComposableEffect], SVGTintFilter),
(SVGTintFilter.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
var t = this.filterManager.effectElements[0].p.v,
n = this.filterManager.effectElements[1].p.v,
r = this.filterManager.effectElements[2].p.v / 100
this.matrixFilter.setAttribute(
'values',
n[0] -
t[0] +
' 0 0 0 ' +
t[0] +
' ' +
(n[1] - t[1]) +
' 0 0 0 ' +
t[1] +
' ' +
(n[2] - t[2]) +
' 0 0 0 ' +
t[2] +
' 0 0 0 ' +
r +
' 0'
)
}
}),
(SVGFillFilter.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
var t = this.filterManager.effectElements[2].p.v,
n = this.filterManager.effectElements[6].p.v
this.matrixFilter.setAttribute(
'values',
'0 0 0 0 ' +
t[0] +
' 0 0 0 0 ' +
t[1] +
' 0 0 0 0 ' +
t[2] +
' 0 0 0 ' +
n +
' 0'
)
}
}),
(SVGStrokeEffect.prototype.initialize = function () {
var e,
t,
n,
r,
a = this.elem.layerElement.children || this.elem.layerElement.childNodes
for (
1 === this.filterManager.effectElements[1].p.v
? ((r = this.elem.maskManager.masksProperties.length), (n = 0))
: (r = 1 + (n = this.filterManager.effectElements[0].p.v - 1)),
(t = createNS('g')).setAttribute('fill', 'none'),
t.setAttribute('stroke-linecap', 'round'),
t.setAttribute('stroke-dashoffset', 1);
n < r;
n += 1
)
(e = createNS('path')), t.appendChild(e), this.paths.push({ p: e, m: n })
if (3 === this.filterManager.effectElements[10].p.v) {
var o = createNS('mask'),
i = createElementID()
o.setAttribute('id', i),
o.setAttribute('mask-type', 'alpha'),
o.appendChild(t),
this.elem.globalData.defs.appendChild(o)
var s = createNS('g')
for (
s.setAttribute('mask', 'url(' + getLocationHref() + '#' + i + ')');
a[0];
)
s.appendChild(a[0])
this.elem.layerElement.appendChild(s),
(this.masker = o),
t.setAttribute('stroke', '#fff')
} else if (
1 === this.filterManager.effectElements[10].p.v ||
2 === this.filterManager.effectElements[10].p.v
) {
if (2 === this.filterManager.effectElements[10].p.v)
for (
a = this.elem.layerElement.children || this.elem.layerElement.childNodes;
a.length;
)
this.elem.layerElement.removeChild(a[0])
this.elem.layerElement.appendChild(t),
this.elem.layerElement.removeAttribute('mask'),
t.setAttribute('stroke', '#fff')
}
;(this.initialized = !0), (this.pathMasker = t)
}),
(SVGStrokeEffect.prototype.renderFrame = function (e) {
var t
this.initialized || this.initialize()
var n,
r,
a = this.paths.length
for (t = 0; t < a; t += 1)
if (
-1 !== this.paths[t].m &&
((n = this.elem.maskManager.viewData[this.paths[t].m]),
(r = this.paths[t].p),
(e || this.filterManager._mdf || n.prop._mdf) &&
r.setAttribute('d', n.lastPath),
e ||
this.filterManager.effectElements[9].p._mdf ||
this.filterManager.effectElements[4].p._mdf ||
this.filterManager.effectElements[7].p._mdf ||
this.filterManager.effectElements[8].p._mdf ||
n.prop._mdf)
) {
var o
if (
0 !== this.filterManager.effectElements[7].p.v ||
100 !== this.filterManager.effectElements[8].p.v
) {
var i =
0.01 *
Math.min(
this.filterManager.effectElements[7].p.v,
this.filterManager.effectElements[8].p.v
),
s =
0.01 *
Math.max(
this.filterManager.effectElements[7].p.v,
this.filterManager.effectElements[8].p.v
),
l = r.getTotalLength()
o = '0 0 0 ' + l * i + ' '
var c,
u = l * (s - i),
p =
1 +
2 *
this.filterManager.effectElements[4].p.v *
this.filterManager.effectElements[9].p.v *
0.01,
d = Math.floor(u / p)
for (c = 0; c < d; c += 1)
o +=
'1 ' +
2 *
this.filterManager.effectElements[4].p.v *
this.filterManager.effectElements[9].p.v *
0.01 +
' '
o += '0 ' + 10 * l + ' 0 0'
} else
o =
'1 ' +
2 *
this.filterManager.effectElements[4].p.v *
this.filterManager.effectElements[9].p.v *
0.01
r.setAttribute('stroke-dasharray', o)
}
if (
((e || this.filterManager.effectElements[4].p._mdf) &&
this.pathMasker.setAttribute(
'stroke-width',
2 * this.filterManager.effectElements[4].p.v
),
(e || this.filterManager.effectElements[6].p._mdf) &&
this.pathMasker.setAttribute(
'opacity',
this.filterManager.effectElements[6].p.v
),
(1 === this.filterManager.effectElements[10].p.v ||
2 === this.filterManager.effectElements[10].p.v) &&
(e || this.filterManager.effectElements[3].p._mdf))
) {
var f = this.filterManager.effectElements[3].p.v
this.pathMasker.setAttribute(
'stroke',
'rgb(' +
bmFloor(255 * f[0]) +
',' +
bmFloor(255 * f[1]) +
',' +
bmFloor(255 * f[2]) +
')'
)
}
}),
(SVGTritoneFilter.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
var t = this.filterManager.effectElements[0].p.v,
n = this.filterManager.effectElements[1].p.v,
r = this.filterManager.effectElements[2].p.v,
a = r[0] + ' ' + n[0] + ' ' + t[0],
o = r[1] + ' ' + n[1] + ' ' + t[1],
i = r[2] + ' ' + n[2] + ' ' + t[2]
this.feFuncR.setAttribute('tableValues', a),
this.feFuncG.setAttribute('tableValues', o),
this.feFuncB.setAttribute('tableValues', i)
}
}),
(SVGProLevelsFilter.prototype.createFeFunc = function (e, t) {
var n = createNS(e)
return n.setAttribute('type', 'table'), t.appendChild(n), n
}),
(SVGProLevelsFilter.prototype.getTableValue = function (e, t, n, r, a) {
for (
var o,
i,
s = 0,
l = Math.min(e, t),
c = Math.max(e, t),
u = Array.call(null, { length: 256 }),
p = 0,
d = a - r,
f = t - e;
s <= 256;
)
(i =
(o = s / 256) <= l
? f < 0
? a
: r
: o >= c
? f < 0
? r
: a
: r + d * Math.pow((o - e) / f, 1 / n)),
(u[p] = i),
(p += 1),
(s += 256 / 255)
return u.join(' ')
}),
(SVGProLevelsFilter.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
var t,
n = this.filterManager.effectElements
this.feFuncRComposed &&
(e ||
n[3].p._mdf ||
n[4].p._mdf ||
n[5].p._mdf ||
n[6].p._mdf ||
n[7].p._mdf) &&
((t = this.getTableValue(n[3].p.v, n[4].p.v, n[5].p.v, n[6].p.v, n[7].p.v)),
this.feFuncRComposed.setAttribute('tableValues', t),
this.feFuncGComposed.setAttribute('tableValues', t),
this.feFuncBComposed.setAttribute('tableValues', t)),
this.feFuncR &&
(e ||
n[10].p._mdf ||
n[11].p._mdf ||
n[12].p._mdf ||
n[13].p._mdf ||
n[14].p._mdf) &&
((t = this.getTableValue(
n[10].p.v,
n[11].p.v,
n[12].p.v,
n[13].p.v,
n[14].p.v
)),
this.feFuncR.setAttribute('tableValues', t)),
this.feFuncG &&
(e ||
n[17].p._mdf ||
n[18].p._mdf ||
n[19].p._mdf ||
n[20].p._mdf ||
n[21].p._mdf) &&
((t = this.getTableValue(
n[17].p.v,
n[18].p.v,
n[19].p.v,
n[20].p.v,
n[21].p.v
)),
this.feFuncG.setAttribute('tableValues', t)),
this.feFuncB &&
(e ||
n[24].p._mdf ||
n[25].p._mdf ||
n[26].p._mdf ||
n[27].p._mdf ||
n[28].p._mdf) &&
((t = this.getTableValue(
n[24].p.v,
n[25].p.v,
n[26].p.v,
n[27].p.v,
n[28].p.v
)),
this.feFuncB.setAttribute('tableValues', t)),
this.feFuncA &&
(e ||
n[31].p._mdf ||
n[32].p._mdf ||
n[33].p._mdf ||
n[34].p._mdf ||
n[35].p._mdf) &&
((t = this.getTableValue(
n[31].p.v,
n[32].p.v,
n[33].p.v,
n[34].p.v,
n[35].p.v
)),
this.feFuncA.setAttribute('tableValues', t))
}
}),
extendPrototype([SVGComposableEffect], SVGDropShadowEffect),
(SVGDropShadowEffect.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
if (
((e || this.filterManager.effectElements[4].p._mdf) &&
this.feGaussianBlur.setAttribute(
'stdDeviation',
this.filterManager.effectElements[4].p.v / 4
),
e || this.filterManager.effectElements[0].p._mdf)
) {
var t = this.filterManager.effectElements[0].p.v
this.feFlood.setAttribute(
'flood-color',
rgbToHex(
Math.round(255 * t[0]),
Math.round(255 * t[1]),
Math.round(255 * t[2])
)
)
}
if (
((e || this.filterManager.effectElements[1].p._mdf) &&
this.feFlood.setAttribute(
'flood-opacity',
this.filterManager.effectElements[1].p.v / 255
),
e ||
this.filterManager.effectElements[2].p._mdf ||
this.filterManager.effectElements[3].p._mdf)
) {
var n = this.filterManager.effectElements[3].p.v,
r = (this.filterManager.effectElements[2].p.v - 90) * degToRads,
a = n * Math.cos(r),
o = n * Math.sin(r)
this.feOffset.setAttribute('dx', a), this.feOffset.setAttribute('dy', o)
}
}
})
var _svgMatteSymbols = []
function SVGMatte3Effect(e, t, n) {
;(this.initialized = !1),
(this.filterManager = t),
(this.filterElem = e),
(this.elem = n),
(n.matteElement = createNS('g')),
n.matteElement.appendChild(n.layerElement),
n.matteElement.appendChild(n.transformedElement),
(n.baseElement = n.matteElement)
}
function SVGGaussianBlurEffect(e, t, n, r) {
e.setAttribute('x', '-100%'),
e.setAttribute('y', '-100%'),
e.setAttribute('width', '300%'),
e.setAttribute('height', '300%'),
(this.filterManager = t)
var a = createNS('feGaussianBlur')
a.setAttribute('result', r), e.appendChild(a), (this.feGaussianBlur = a)
}
return (
(SVGMatte3Effect.prototype.findSymbol = function (e) {
for (var t = 0, n = _svgMatteSymbols.length; t < n; ) {
if (_svgMatteSymbols[t] === e) return _svgMatteSymbols[t]
t += 1
}
return null
}),
(SVGMatte3Effect.prototype.replaceInParent = function (e, t) {
var n = e.layerElement.parentNode
if (n) {
for (
var r, a = n.children, o = 0, i = a.length;
o < i && a[o] !== e.layerElement;
)
o += 1
o <= i - 2 && (r = a[o + 1])
var s = createNS('use')
s.setAttribute('href', '#' + t), r ? n.insertBefore(s, r) : n.appendChild(s)
}
}),
(SVGMatte3Effect.prototype.setElementAsMask = function (e, t) {
if (!this.findSymbol(t)) {
var n = createElementID(),
r = createNS('mask')
r.setAttribute('id', t.layerId),
r.setAttribute('mask-type', 'alpha'),
_svgMatteSymbols.push(t)
var a = e.globalData.defs
a.appendChild(r)
var o = createNS('symbol')
o.setAttribute('id', n),
this.replaceInParent(t, n),
o.appendChild(t.layerElement),
a.appendChild(o)
var i = createNS('use')
i.setAttribute('href', '#' + n), r.appendChild(i), (t.data.hd = !1), t.show()
}
e.setMatte(t.layerId)
}),
(SVGMatte3Effect.prototype.initialize = function () {
for (
var e = this.filterManager.effectElements[0].p.v,
t = this.elem.comp.elements,
n = 0,
r = t.length;
n < r;
)
t[n] && t[n].data.ind === e && this.setElementAsMask(this.elem, t[n]),
(n += 1)
this.initialized = !0
}),
(SVGMatte3Effect.prototype.renderFrame = function () {
this.initialized || this.initialize()
}),
(SVGGaussianBlurEffect.prototype.renderFrame = function (e) {
if (e || this.filterManager._mdf) {
var t = 0.3 * this.filterManager.effectElements[0].p.v,
n = this.filterManager.effectElements[1].p.v,
r = 3 == n ? 0 : t,
a = 2 == n ? 0 : t
this.feGaussianBlur.setAttribute('stdDeviation', r + ' ' + a)
var o = 1 == this.filterManager.effectElements[2].p.v ? 'wrap' : 'duplicate'
this.feGaussianBlur.setAttribute('edgeMode', o)
}
}),
registerRenderer('canvas', CanvasRenderer),
registerRenderer('html', HybridRenderer),
registerRenderer('svg', SVGRenderer),
ShapeModifiers.registerModifier('tm', TrimModifier),
ShapeModifiers.registerModifier('pb', PuckerAndBloatModifier),
ShapeModifiers.registerModifier('rp', RepeaterModifier),
ShapeModifiers.registerModifier('rd', RoundCornersModifier),
setExpressionsPlugin(Expressions),
initialize$1(),
initialize(),
registerEffect(20, SVGTintFilter, !0),
registerEffect(21, SVGFillFilter, !0),
registerEffect(22, SVGStrokeEffect, !1),
registerEffect(23, SVGTritoneFilter, !0),
registerEffect(24, SVGProLevelsFilter, !0),
registerEffect(25, SVGDropShadowEffect, !0),
registerEffect(28, SVGMatte3Effect, !1),
registerEffect(29, SVGGaussianBlurEffect, !0),
lottie
)
}),
(module.exports = factory()))
})(lottie, lottie.exports)
var Lottie = lottie.exports,
commonjsGlobal =
'undefined' != typeof globalThis
? globalThis
: 'undefined' != typeof window
? window
: 'undefined' != typeof global
? global
: 'undefined' != typeof self
? self
: {},
lodash = { exports: {} }
/**
* @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 (e, t) {
;(function () {
var n,
r = 'Expected a function',
a = '__lodash_hash_undefined__',
o = '__lodash_placeholder__',
i = 16,
s = 32,
l = 64,
c = 128,
u = 256,
p = 1 / 0,
d = 9007199254740991,
f = NaN,
h = 4294967295,
v = [
['ary', c],
['bind', 1],
['bindKey', 2],
['curry', 8],
['curryRight', i],
['flip', 512],
['partial', s],
['partialRight', l],
['rearg', u]
],
m = '[object Arguments]',
g = '[object Array]',
y = '[object Boolean]',
b = '[object Date]',
_ = '[object Error]',
A = '[object Function]',
x = '[object GeneratorFunction]',
w = '[object Map]',
k = '[object Number]',
S = '[object Object]',
E = '[object Promise]',
P = '[object RegExp]',
C = '[object Set]',
T = '[object String]',
I = '[object Symbol]',
M = '[object WeakMap]',
R = '[object ArrayBuffer]',
O = '[object DataView]',
z = '[object Float32Array]',
D = '[object Float64Array]',
F = '[object Int8Array]',
B = '[object Int16Array]',
N = '[object Int32Array]',
j = '[object Uint8Array]',
V = '[object Uint8ClampedArray]',
L = '[object Uint16Array]',
H = '[object Uint32Array]',
G = /\b__p \+= '';/g,
q = /\b(__p \+=) '' \+/g,
U = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
W = /&(?:amp|lt|gt|quot|#39);/g,
K = /[&<>"']/g,
$ = RegExp(W.source),
Y = RegExp(K.source),
J = /<%-([\s\S]+?)%>/g,
Q = /<%([\s\S]+?)%>/g,
X = /<%=([\s\S]+?)%>/g,
Z = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
ee = /^\w*$/,
te =
/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
ne = /[\\^$.*+?()[\]{}|]/g,
re = RegExp(ne.source),
ae = /^\s+/,
oe = /\s/,
ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
se = /\{\n\/\* \[wrapped with (.+)\] \*/,
le = /,? & /,
ce = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
ue = /[()=,{}\[\]\/\s]/,
pe = /\\(\\)?/g,
de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
fe = /\w*$/,
he = /^[-+]0x[0-9a-f]+$/i,
ve = /^0b[01]+$/i,
me = /^\[object .+?Constructor\]$/,
ge = /^0o[0-7]+$/i,
ye = /^(?:0|[1-9]\d*)$/,
be = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
_e = /($^)/,
Ae = /['\n\r\u2028\u2029\\]/g,
xe = '\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff',
we = '\\u2700-\\u27bf',
ke = 'a-z\\xdf-\\xf6\\xf8-\\xff',
Se = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
Ee = '\\ufe0e\\ufe0f',
Pe =
'\\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',
Ce = "['’]",
Te = '[\\ud800-\\udfff]',
Ie = '[' + Pe + ']',
Me = '[' + xe + ']',
Re = '\\d+',
Oe = '[\\u2700-\\u27bf]',
ze = '[' + ke + ']',
De = '[^\\ud800-\\udfff' + Pe + Re + we + ke + Se + ']',
Fe = '\\ud83c[\\udffb-\\udfff]',
Be = '[^\\ud800-\\udfff]',
Ne = '(?:\\ud83c[\\udde6-\\uddff]){2}',
je = '[\\ud800-\\udbff][\\udc00-\\udfff]',
Ve = '[' + Se + ']',
Le = '(?:' + ze + '|' + De + ')',
He = '(?:' + Ve + '|' + De + ')',
Ge = "(?:['’](?:d|ll|m|re|s|t|ve))?",
qe = "(?:['’](?:D|LL|M|RE|S|T|VE))?",
Ue = '(?:' + Me + '|' + Fe + ')' + '?',
We = '[\\ufe0e\\ufe0f]?',
Ke = We + Ue + ('(?:\\u200d(?:' + [Be, Ne, je].join('|') + ')' + We + Ue + ')*'),
$e = '(?:' + [Oe, Ne, je].join('|') + ')' + Ke,
Ye = '(?:' + [Be + Me + '?', Me, Ne, je, Te].join('|') + ')',
Je = RegExp(Ce, 'g'),
Qe = RegExp(Me, 'g'),
Xe = RegExp(Fe + '(?=' + Fe + ')|' + Ye + Ke, 'g'),
Ze = RegExp(
[
Ve + '?' + ze + '+' + Ge + '(?=' + [Ie, Ve, '$'].join('|') + ')',
He + '+' + qe + '(?=' + [Ie, Ve + Le, '$'].join('|') + ')',
Ve + '?' + Le + '+' + Ge,
Ve + '+' + qe,
'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
'\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
Re,
$e
].join('|'),
'g'
),
et = RegExp('[\\u200d\\ud800-\\udfff' + xe + Ee + ']'),
tt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
nt = [
'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'
],
rt = -1,
at = {}
;(at[z] = at[D] = at[F] = at[B] = at[N] = at[j] = at[V] = at[L] = at[H] = !0),
(at[m] =
at[g] =
at[R] =
at[y] =
at[O] =
at[b] =
at[_] =
at[A] =
at[w] =
at[k] =
at[S] =
at[P] =
at[C] =
at[T] =
at[M] =
!1)
var ot = {}
;(ot[m] =
ot[g] =
ot[R] =
ot[O] =
ot[y] =
ot[b] =
ot[z] =
ot[D] =
ot[F] =
ot[B] =
ot[N] =
ot[w] =
ot[k] =
ot[S] =
ot[P] =
ot[C] =
ot[T] =
ot[I] =
ot[j] =
ot[V] =
ot[L] =
ot[H] =
!0),
(ot[_] = ot[A] = ot[M] = !1)
var it = {
'\\': '\\',
"'": "'",
'\n': 'n',
'\r': 'r',
'\u2028': 'u2028',
'\u2029': 'u2029'
},
st = parseFloat,
lt = parseInt,
ct =
'object' == _typeof2(commonjsGlobal) &&
commonjsGlobal &&
commonjsGlobal.Object === Object &&
commonjsGlobal,
ut =
'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
self &&
self.Object === Object &&
self,
pt = ct || ut || Function('return this')(),
dt = t && !t.nodeType && t,
ft = dt && e && !e.nodeType && e,
ht = ft && ft.exports === dt,
vt = ht && ct.process,
mt = (function () {
try {
var e = ft && ft.require && ft.require('util').types
return e || (vt && vt.binding && vt.binding('util'))
} catch (t) {}
})(),
gt = mt && mt.isArrayBuffer,
yt = mt && mt.isDate,
bt = mt && mt.isMap,
_t = mt && mt.isRegExp,
At = mt && mt.isSet,
xt = mt && mt.isTypedArray
function wt(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 kt(e, t, n, r) {
for (var a = -1, o = null == e ? 0 : e.length; ++a < o; ) {
var i = e[a]
t(r, i, n(i), 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 Et(e, t) {
for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e); );
return e
}
function Pt(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, a = 0, o = []; ++n < r; ) {
var i = e[n]
t(i, n, e) && (o[a++] = i)
}
return o
}
function Tt(e, t) {
return !!(null == e ? 0 : e.length) && jt(e, t, 0) > -1
}
function It(e, t, n) {
for (var r = -1, a = null == e ? 0 : e.length; ++r < a; ) if (n(t, e[r])) return !0
return !1
}
function Mt(e, t) {
for (var n = -1, r = null == e ? 0 : e.length, a = Array(r); ++n < r; )
a[n] = t(e[n], n, e)
return a
}
function Rt(e, t) {
for (var n = -1, r = t.length, a = e.length; ++n < r; ) e[a + n] = t[n]
return e
}
function Ot(e, t, n, r) {
var a = -1,
o = null == e ? 0 : e.length
for (r && o && (n = e[++a]); ++a < o; ) n = t(n, e[a], a, e)
return n
}
function zt(e, t, n, r) {
var a = null == e ? 0 : e.length
for (r && a && (n = e[--a]); a--; ) n = t(n, e[a], a, e)
return n
}
function Dt(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 Ft = Gt('length')
function Bt(e, t, n) {
var r
return (
n(e, function (e, n, a) {
if (t(e, n, a)) return (r = n), !1
}),
r
)
}
function Nt(e, t, n, r) {
for (var a = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < a; )
if (t(e[o], o, e)) return o
return -1
}
function jt(e, t, n) {
return t == t
? (function (e, t, n) {
var r = n - 1,
a = e.length
for (; ++r < a; ) if (e[r] === t) return r
return -1
})(e, t, n)
: Nt(e, Lt, n)
}
function Vt(e, t, n, r) {
for (var a = n - 1, o = e.length; ++a < o; ) if (r(e[a], t)) return a
return -1
}
function Lt(e) {
return e != e
}
function Ht(e, t) {
var n = null == e ? 0 : e.length
return n ? Wt(e, t) / n : f
}
function Gt(e) {
return function (t) {
return null == t ? n : t[e]
}
}
function qt(e) {
return function (t) {
return null == e ? n : e[t]
}
}
function Ut(e, t, n, r, a) {
return (
a(e, function (e, a, o) {
n = r ? ((r = !1), e) : t(n, e, a, o)
}),
n
)
}
function Wt(e, t) {
for (var r, a = -1, o = e.length; ++a < o; ) {
var i = t(e[a])
i !== n && (r = r === n ? i : r + i)
}
return r
}
function Kt(e, t) {
for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
return r
}
function $t(e) {
return e ? e.slice(0, dn(e) + 1).replace(ae, '') : e
}
function Yt(e) {
return function (t) {
return e(t)
}
}
function Jt(e, t) {
return Mt(t, function (t) {
return e[t]
})
}
function Qt(e, t) {
return e.has(t)
}
function Xt(e, t) {
for (var n = -1, r = e.length; ++n < r && jt(t, e[n], 0) > -1; );
return n
}
function Zt(e, t) {
for (var n = e.length; n-- && jt(t, e[n], 0) > -1; );
return n
}
function en(e, t) {
for (var n = e.length, r = 0; n--; ) e[n] === t && ++r
return r
}
var tn = qt({
À: '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'
}),
nn = qt({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })
function rn(e) {
return '\\' + it[e]
}
function an(e) {
return et.test(e)
}
function on(e) {
var t = -1,
n = Array(e.size)
return (
e.forEach(function (e, r) {
n[++t] = [r, e]
}),
n
)
}
function sn(e, t) {
return function (n) {
return e(t(n))
}
}
function ln(e, t) {
for (var n = -1, r = e.length, a = 0, i = []; ++n < r; ) {
var s = e[n]
;(s !== t && s !== o) || ((e[n] = o), (i[a++] = n))
}
return i
}
function cn(e) {
var t = -1,
n = Array(e.size)
return (
e.forEach(function (e) {
n[++t] = e
}),
n
)
}
function un(e) {
return an(e)
? (function (e) {
var t = (Xe.lastIndex = 0)
for (; Xe.test(e); ) ++t
return t
})(e)
: Ft(e)
}
function pn(e) {
return an(e)
? (function (e) {
return e.match(Xe) || []
})(e)
: (function (e) {
return e.split('')
})(e)
}
function dn(e) {
for (var t = e.length; t-- && oe.test(e.charAt(t)); );
return t
}
var fn = qt({ '&': '&', '<': '<', '>': '>', '"': '"', ''': "'" })
var hn = (function e(t) {
var oe = (t = null == t ? pt : hn.defaults(pt.Object(), t, hn.pick(pt, nt))).Array,
xe = t.Date,
we = t.Error,
ke = t.Function,
Se = t.Math,
Ee = t.Object,
Pe = t.RegExp,
Ce = t.String,
Te = t.TypeError,
Ie = oe.prototype,
Me = ke.prototype,
Re = Ee.prototype,
Oe = t['__core-js_shared__'],
ze = Me.toString,
De = Re.hasOwnProperty,
Fe = 0,
Be = (function () {
var e = /[^.]+$/.exec((Oe && Oe.keys && Oe.keys.IE_PROTO) || '')
return e ? 'Symbol(src)_1.' + e : ''
})(),
Ne = Re.toString,
je = ze.call(Ee),
Ve = pt._,
Le = Pe(
'^' +
ze
.call(De)
.replace(ne, '\\$&')
.replace(
/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
'$1.*?'
) +
'$'
),
He = ht ? t.Buffer : n,
Ge = t.Symbol,
qe = t.Uint8Array,
Ue = He ? He.allocUnsafe : n,
We = sn(Ee.getPrototypeOf, Ee),
Ke = Ee.create,
$e = Re.propertyIsEnumerable,
Ye = Ie.splice,
Xe = Ge ? Ge.isConcatSpreadable : n,
et = Ge ? Ge.iterator : n,
it = Ge ? Ge.toStringTag : n,
ct = (function () {
try {
var e = po(Ee, 'defineProperty')
return e({}, '', {}), e
} catch (t) {}
})(),
ut = t.clearTimeout !== pt.clearTimeout && t.clearTimeout,
dt = xe && xe.now !== pt.Date.now && xe.now,
ft = t.setTimeout !== pt.setTimeout && t.setTimeout,
vt = Se.ceil,
mt = Se.floor,
Ft = Ee.getOwnPropertySymbols,
qt = He ? He.isBuffer : n,
vn = t.isFinite,
mn = Ie.join,
gn = sn(Ee.keys, Ee),
yn = Se.max,
bn = Se.min,
_n = xe.now,
An = t.parseInt,
xn = Se.random,
wn = Ie.reverse,
kn = po(t, 'DataView'),
Sn = po(t, 'Map'),
En = po(t, 'Promise'),
Pn = po(t, 'Set'),
Cn = po(t, 'WeakMap'),
Tn = po(Ee, 'create'),
In = Cn && new Cn(),
Mn = {},
Rn = Ho(kn),
On = Ho(Sn),
zn = Ho(En),
Dn = Ho(Pn),
Fn = Ho(Cn),
Bn = Ge ? Ge.prototype : n,
Nn = Bn ? Bn.valueOf : n,
jn = Bn ? Bn.toString : n
function Vn(e) {
if (os(e) && !$i(e) && !(e instanceof qn)) {
if (e instanceof Gn) return e
if (De.call(e, '__wrapped__')) return Go(e)
}
return new Gn(e)
}
var Ln = (function () {
function e() {}
return function (t) {
if (!as(t)) return {}
if (Ke) return Ke(t)
e.prototype = t
var r = new e()
return (e.prototype = n), r
}
})()
function Hn() {}
function Gn(e, t) {
;(this.__wrapped__ = e),
(this.__actions__ = []),
(this.__chain__ = !!t),
(this.__index__ = 0),
(this.__values__ = n)
}
function qn(e) {
;(this.__wrapped__ = e),
(this.__actions__ = []),
(this.__dir__ = 1),
(this.__filtered__ = !1),
(this.__iteratees__ = []),
(this.__takeCount__ = h),
(this.__views__ = [])
}
function Un(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 Wn(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 Kn(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 $n(e) {
var t = -1,
n = null == e ? 0 : e.length
for (this.__data__ = new Kn(); ++t < n; ) this.add(e[t])
}
function Yn(e) {
var t = (this.__data__ = new Wn(e))
this.size = t.size
}
function Jn(e, t) {
var n = $i(e),
r = !n && Ki(e),
a = !n && !r && Xi(e),
o = !n && !r && !a && fs(e),
i = n || r || a || o,
s = i ? Kt(e.length, Ce) : [],
l = s.length
for (var c in e)
(!t && !De.call(e, c)) ||
(i &&
('length' == c ||
(a && ('offset' == c || 'parent' == c)) ||
(o && ('buffer' == c || 'byteLength' == c || 'byteOffset' == c)) ||
bo(c, l))) ||
s.push(c)
return s
}
function Qn(e) {
var t = e.length
return t ? e[$r(0, t - 1)] : n
}
function Xn(e, t) {
return Fo(Ta(e), sr(t, 0, e.length))
}
function Zn(e) {
return Fo(Ta(e))
}
function er(e, t, r) {
;((r !== n && !qi(e[t], r)) || (r === n && !(t in e))) && or(e, t, r)
}
function tr(e, t, r) {
var a = e[t]
;(De.call(e, t) && qi(a, r) && (r !== n || t in e)) || or(e, t, r)
}
function nr(e, t) {
for (var n = e.length; n--; ) if (qi(e[n][0], t)) return n
return -1
}
function rr(e, t, n, r) {
return (
dr(e, function (e, a, o) {
t(r, e, n(e), o)
}),
r
)
}
function ar(e, t) {
return e && Ia(t, Ds(t), e)
}
function or(e, t, n) {
'__proto__' == t && ct
? ct(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 })
: (e[t] = n)
}
function ir(e, t) {
for (var r = -1, a = t.length, o = oe(a), i = null == e; ++r < a; )
o[r] = i ? n : Is(e, t[r])
return o
}
function sr(e, t, r) {
return (
e == e && (r !== n && (e = e <= r ? e : r), t !== n && (e = e >= t ? e : t)), e
)
}
function lr(e, t, r, a, o, i) {
var s,
l = 1 & t,
c = 2 & t,
u = 4 & t
if ((r && (s = o ? r(e, a, o, i) : r(e)), s !== n)) return s
if (!as(e)) return e
var p = $i(e)
if (p) {
if (
((s = (function (e) {
var t = e.length,
n = new e.constructor(t)
t &&
'string' == typeof e[0] &&
De.call(e, 'index') &&
((n.index = e.index), (n.input = e.input))
return n
})(e)),
!l)
)
return Ta(e, s)
} else {
var d = vo(e),
f = d == A || d == x
if (Xi(e)) return wa(e, l)
if (d == S || d == m || (f && !o)) {
if (((s = c || f ? {} : go(e)), !l))
return c
? (function (e, t) {
return Ia(e, ho(e), t)
})(
e,
(function (e, t) {
return e && Ia(t, Fs(t), e)
})(s, e)
)
: (function (e, t) {
return Ia(e, fo(e), t)
})(e, ar(s, e))
} else {
if (!ot[d]) return o ? e : {}
s = (function (e, t, n) {
var r = e.constructor
switch (t) {
case R:
return ka(e)
case y:
case b:
return new r(+e)
case O:
return (function (e, t) {
var n = t ? ka(e.buffer) : e.buffer
return new e.constructor(n, e.byteOffset, e.byteLength)
})(e, n)
case z:
case D:
case F:
case B:
case N:
case j:
case V:
case L:
case H:
return Sa(e, n)
case w:
return new r()
case k:
case T:
return new r(e)
case P:
return (function (e) {
var t = new e.constructor(e.source, fe.exec(e))
return (t.lastIndex = e.lastIndex), t
})(e)
case C:
return new r()
case I:
return (a = e), Nn ? Ee(Nn.call(a)) : {}
}
var a
})(e, d, l)
}
}
i || (i = new Yn())
var h = i.get(e)
if (h) return h
i.set(e, s),
us(e)
? e.forEach(function (n) {
s.add(lr(n, t, r, n, e, i))
})
: is(e) &&
e.forEach(function (n, a) {
s.set(a, lr(n, t, r, a, e, i))
})
var v = p ? n : (u ? (c ? ao : ro) : c ? Fs : Ds)(e)
return (
St(v || e, function (n, a) {
v && (n = e[(a = n)]), tr(s, a, lr(n, t, r, a, e, i))
}),
s
)
}
function cr(e, t, r) {
var a = r.length
if (null == e) return !a
for (e = Ee(e); a--; ) {
var o = r[a],
i = t[o],
s = e[o]
if ((s === n && !(o in e)) || !i(s)) return !1
}
return !0
}
function ur(e, t, a) {
if ('function' != typeof e) throw new Te(r)
return Ro(function () {
e.apply(n, a)
}, t)
}
function pr(e, t, n, r) {
var a = -1,
o = Tt,
i = !0,
s = e.length,
l = [],
c = t.length
if (!s) return l
n && (t = Mt(t, Yt(n))),
r
? ((o = It), (i = !1))
: t.length >= 200 && ((o = Qt), (i = !1), (t = new $n(t)))
e: for (; ++a < s; ) {
var u = e[a],
p = null == n ? u : n(u)
if (((u = r || 0 !== u ? u : 0), i && p == p)) {
for (var d = c; d--; ) if (t[d] === p) continue e
l.push(u)
} else o(t, p, r) || l.push(u)
}
return l
}
;(Vn.templateSettings = {
escape: J,
evaluate: Q,
interpolate: X,
variable: '',
imports: { _: Vn }
}),
(Vn.prototype = Hn.prototype),
(Vn.prototype.constructor = Vn),
(Gn.prototype = Ln(Hn.prototype)),
(Gn.prototype.constructor = Gn),
(qn.prototype = Ln(Hn.prototype)),
(qn.prototype.constructor = qn),
(Un.prototype.clear = function () {
;(this.__data__ = Tn ? Tn(null) : {}), (this.size = 0)
}),
(Un.prototype.delete = function (e) {
var t = this.has(e) && delete this.__data__[e]
return (this.size -= t ? 1 : 0), t
}),
(Un.prototype.get = function (e) {
var t = this.__data__
if (Tn) {
var r = t[e]
return r === a ? n : r
}
return De.call(t, e) ? t[e] : n
}),
(Un.prototype.has = function (e) {
var t = this.__data__
return Tn ? t[e] !== n : De.call(t, e)
}),
(Un.prototype.set = function (e, t) {
var r = this.__data__
return (this.size += this.has(e) ? 0 : 1), (r[e] = Tn && t === n ? a : t), this
}),
(Wn.prototype.clear = function () {
;(this.__data__ = []), (this.size = 0)
}),
(Wn.prototype.delete = function (e) {
var t = this.__data__,
n = nr(t, e)
return (
!(n < 0) && (n == t.length - 1 ? t.pop() : Ye.call(t, n, 1), --this.size, !0)
)
}),
(Wn.prototype.get = function (e) {
var t = this.__data__,
r = nr(t, e)
return r < 0 ? n : t[r][1]
}),
(Wn.prototype.has = function (e) {
return nr(this.__data__, e) > -1
}),
(Wn.prototype.set = function (e, t) {
var n = this.__data__,
r = nr(n, e)
return r < 0 ? (++this.size, n.push([e, t])) : (n[r][1] = t), this
}),
(Kn.prototype.clear = function () {
;(this.size = 0),
(this.__data__ = { hash: new Un(), map: new (Sn || Wn)(), string: new Un() })
}),
(Kn.prototype.delete = function (e) {
var t = co(this, e).delete(e)
return (this.size -= t ? 1 : 0), t
}),
(Kn.prototype.get = function (e) {
return co(this, e).get(e)
}),
(Kn.prototype.has = function (e) {
return co(this, e).has(e)
}),
(Kn.prototype.set = function (e, t) {
var n = co(this, e),
r = n.size
return n.set(e, t), (this.size += n.size == r ? 0 : 1), this
}),
($n.prototype.add = $n.prototype.push =
function (e) {
return this.__data__.set(e, a), this
}),
($n.prototype.has = function (e) {
return this.__data__.has(e)
}),
(Yn.prototype.clear = function () {
;(this.__data__ = new Wn()), (this.size = 0)
}),
(Yn.prototype.delete = function (e) {
var t = this.__data__,
n = t.delete(e)
return (this.size = t.size), n
}),
(Yn.prototype.get = function (e) {
return this.__data__.get(e)
}),
(Yn.prototype.has = function (e) {
return this.__data__.has(e)
}),
(Yn.prototype.set = function (e, t) {
var n = this.__data__
if (n instanceof Wn) {
var r = n.__data__
if (!Sn || r.length < 199) return r.push([e, t]), (this.size = ++n.size), this
n = this.__data__ = new Kn(r)
}
return n.set(e, t), (this.size = n.size), this
})
var dr = Oa(_r),
fr = Oa(Ar, !0)
function hr(e, t) {
var n = !0
return (
dr(e, function (e, r, a) {
return (n = !!t(e, r, a))
}),
n
)
}
function vr(e, t, r) {
for (var a = -1, o = e.length; ++a < o; ) {
var i = e[a],
s = t(i)
if (null != s && (l === n ? s == s && !ds(s) : r(s, l)))
var l = s,
c = i
}
return c
}
function mr(e, t) {
var n = []
return (
dr(e, function (e, r, a) {
t(e, r, a) && n.push(e)
}),
n
)
}
function gr(e, t, n, r, a) {
var o = -1,
i = e.length
for (n || (n = yo), a || (a = []); ++o < i; ) {
var s = e[o]
t > 0 && n(s)
? t > 1
? gr(s, t - 1, n, r, a)
: Rt(a, s)
: r || (a[a.length] = s)
}
return a
}
var yr = za(),
br = za(!0)
function _r(e, t) {
return e && yr(e, t, Ds)
}
function Ar(e, t) {
return e && br(e, t, Ds)
}
function xr(e, t) {
return Ct(t, function (t) {
return ts(e[t])
})
}
function wr(e, t) {
for (var r = 0, a = (t = ba(t, e)).length; null != e && r < a; ) e = e[Lo(t[r++])]
return r && r == a ? e : n
}
function kr(e, t, n) {
var r = t(e)
return $i(e) ? r : Rt(r, n(e))
}
function Sr(e) {
return null == e
? e === n
? '[object Undefined]'
: '[object Null]'
: it && it in Ee(e)
? (function (e) {
var t = De.call(e, it),
r = e[it]
try {
e[it] = n
var a = !0
} catch (i) {}
var o = Ne.call(e)
a && (t ? (e[it] = r) : delete e[it])
return o
})(e)
: (function (e) {
return Ne.call(e)
})(e)
}
function Er(e, t) {
return e > t
}
function Pr(e, t) {
return null != e && De.call(e, t)
}
function Cr(e, t) {
return null != e && t in Ee(e)
}
function Tr(e, t, r) {
for (
var a = r ? It : Tt,
o = e[0].length,
i = e.length,
s = i,
l = oe(i),
c = 1 / 0,
u = [];
s--;
) {
var p = e[s]
s && t && (p = Mt(p, Yt(t))),
(c = bn(p.length, c)),
(l[s] = !r && (t || (o >= 120 && p.length >= 120)) ? new $n(s && p) : n)
}
p = e[0]
var d = -1,
f = l[0]
e: for (; ++d < o && u.length < c; ) {
var h = p[d],
v = t ? t(h) : h
if (((h = r || 0 !== h ? h : 0), !(f ? Qt(f, v) : a(u, v, r)))) {
for (s = i; --s; ) {
var m = l[s]
if (!(m ? Qt(m, v) : a(e[s], v, r))) continue e
}
f && f.push(v), u.push(h)
}
}
return u
}
function Ir(e, t, r) {
var a = null == (e = Co(e, (t = ba(t, e)))) ? e : e[Lo(ei(t))]
return null == a ? n : wt(a, e, r)
}
function Mr(e) {
return os(e) && Sr(e) == m
}
function Rr(e, t, r, a, o) {
return (
e === t ||
(null == e || null == t || (!os(e) && !os(t))
? e != e && t != t
: (function (e, t, r, a, o, i) {
var s = $i(e),
l = $i(t),
c = s ? g : vo(e),
u = l ? g : vo(t),
p = (c = c == m ? S : c) == S,
d = (u = u == m ? S : u) == S,
f = c == u
if (f && Xi(e)) {
if (!Xi(t)) return !1
;(s = !0), (p = !1)
}
if (f && !p)
return (
i || (i = new Yn()),
s || fs(e)
? to(e, t, r, a, o, i)
: (function (e, t, n, r, a, o, i) {
switch (n) {
case O:
if (
e.byteLength != t.byteLength ||
e.byteOffset != t.byteOffset
)
return !1
;(e = e.buffer), (t = t.buffer)
case R:
return !(
e.byteLength != t.byteLength || !o(new qe(e), new qe(t))
)
case y:
case b:
case k:
return qi(+e, +t)
case _:
return e.name == t.name && e.message == t.message
case P:
case T:
return e == t + ''
case w:
var s = on
case C:
var l = 1 & r
if ((s || (s = cn), e.size != t.size && !l)) return !1
var c = i.get(e)
if (c) return c == t
;(r |= 2), i.set(e, t)
var u = to(s(e), s(t), r, a, o, i)
return i.delete(e), u
case I:
if (Nn) return Nn.call(e) == Nn.call(t)
}
return !1
})(e, t, c, r, a, o, i)
)
if (!(1 & r)) {
var h = p && De.call(e, '__wrapped__'),
v = d && De.call(t, '__wrapped__')
if (h || v) {
var A = h ? e.value() : e,
x = v ? t.value() : t
return i || (i = new Yn()), o(A, x, r, a, i)
}
}
if (!f) return !1
return (
i || (i = new Yn()),
(function (e, t, r, a, o, i) {
var s = 1 & r,
l = ro(e),
c = l.length,
u = ro(t).length
if (c != u && !s) return !1
var p = c
for (; p--; ) {
var d = l[p]
if (!(s ? d in t : De.call(t, d))) return !1
}
var f = i.get(e),
h = i.get(t)
if (f && h) return f == t && h == e
var v = !0
i.set(e, t), i.set(t, e)
var m = s
for (; ++p < c; ) {
var g = e[(d = l[p])],
y = t[d]
if (a) var b = s ? a(y, g, d, t, e, i) : a(g, y, d, e, t, i)
if (!(b === n ? g === y || o(g, y, r, a, i) : b)) {
v = !1
break
}
m || (m = 'constructor' == d)
}
if (v && !m) {
var _ = e.constructor,
A = t.constructor
_ == A ||
!('constructor' in e) ||
!('constructor' in t) ||
('function' == typeof _ &&
_ instanceof _ &&
'function' == typeof A &&
A instanceof A) ||
(v = !1)
}
return i.delete(e), i.delete(t), v
})(e, t, r, a, o, i)
)
})(e, t, r, a, Rr, o))
)
}
function Or(e, t, r, a) {
var o = r.length,
i = o,
s = !a
if (null == e) return !i
for (e = Ee(e); o--; ) {
var l = r[o]
if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
}
for (; ++o < i; ) {
var c = (l = r[o])[0],
u = e[c],
p = l[1]
if (s && l[2]) {
if (u === n && !(c in e)) return !1
} else {
var d = new Yn()
if (a) var f = a(u, p, c, e, t, d)
if (!(f === n ? Rr(p, u, 3, a, d) : f)) return !1
}
}
return !0
}
function zr(e) {
return !(!as(e) || ((t = e), Be && Be in t)) && (ts(e) ? Le : me).test(Ho(e))
var t
}
function Dr(e) {
return 'function' == typeof e
? e
: null == e
? sl
: 'object' == _typeof2(e)
? $i(e)
? Lr(e[0], e[1])
: Vr(e)
: ml(e)
}
function Fr(e) {
if (!ko(e)) return gn(e)
var t = []
for (var n in Ee(e)) De.call(e, n) && 'constructor' != n && t.push(n)
return t
}
function Br(e) {
if (!as(e))
return (function (e) {
var t = []
if (null != e) for (var n in Ee(e)) t.push(n)
return t
})(e)
var t = ko(e),
n = []
for (var r in e) ('constructor' != r || (!t && De.call(e, r))) && n.push(r)
return n
}
function Nr(e, t) {
return e < t
}
function jr(e, t) {
var n = -1,
r = Ji(e) ? oe(e.length) : []
return (
dr(e, function (e, a, o) {
r[++n] = t(e, a, o)
}),
r
)
}
function Vr(e) {
var t = uo(e)
return 1 == t.length && t[0][2]
? Eo(t[0][0], t[0][1])
: function (n) {
return n === e || Or(n, e, t)
}
}
function Lr(e, t) {
return Ao(e) && So(t)
? Eo(Lo(e), t)
: function (r) {
var a = Is(r, e)
return a === n && a === t ? Ms(r, e) : Rr(t, a, 3)
}
}
function Hr(e, t, r, a, o) {
e !== t &&
yr(
t,
function (i, s) {
if ((o || (o = new Yn()), as(i)))
!(function (e, t, r, a, o, i, s) {
var l = Io(e, r),
c = Io(t, r),
u = s.get(c)
if (u) return void er(e, r, u)
var p = i ? i(l, c, r + '', e, t, s) : n,
d = p === n
if (d) {
var f = $i(c),
h = !f && Xi(c),
v = !f && !h && fs(c)
;(p = c),
f || h || v
? $i(l)
? (p = l)
: Qi(l)
? (p = Ta(l))
: h
? ((d = !1), (p = wa(c, !0)))
: v
? ((d = !1), (p = Sa(c, !0)))
: (p = [])
: ls(c) || Ki(c)
? ((p = l),
Ki(l) ? (p = As(l)) : (as(l) && !ts(l)) || (p = go(c)))
: (d = !1)
}
d && (s.set(c, p), o(p, c, a, i, s), s.delete(c))
er(e, r, p)
})(e, t, s, r, Hr, a, o)
else {
var l = a ? a(Io(e, s), i, s + '', e, t, o) : n
l === n && (l = i), er(e, s, l)
}
},
Fs
)
}
function Gr(e, t) {
var r = e.length
if (r) return bo((t += t < 0 ? r : 0), r) ? e[t] : n
}
function qr(e, t, n) {
t = t.length
? Mt(t, function (e) {
return $i(e)
? function (t) {
return wr(t, 1 === e.length ? e[0] : e)
}
: e
})
: [sl]
var r = -1
return (
(t = Mt(t, Yt(lo()))),
(function (e, t) {
var n = e.length
for (e.sort(t); n--; ) e[n] = e[n].value
return e
})(
jr(e, function (e, n, a) {
return {
criteria: Mt(t, function (t) {
return t(e)
}),
index: ++r,
value: e
}
}),
function (e, t) {
return (function (e, t, n) {
var r = -1,
a = e.criteria,
o = t.criteria,
i = a.length,
s = n.length
for (; ++r < i; ) {
var l = Ea(a[r], o[r])
if (l) return r >= s ? l : l * ('desc' == n[r] ? -1 : 1)
}
return e.index - t.index
})(e, t, n)
}
)
)
}
function Ur(e, t, n) {
for (var r = -1, a = t.length, o = {}; ++r < a; ) {
var i = t[r],
s = wr(e, i)
n(s, i) && Zr(o, ba(i, e), s)
}
return o
}
function Wr(e, t, n, r) {
var a = r ? Vt : jt,
o = -1,
i = t.length,
s = e
for (e === t && (t = Ta(t)), n && (s = Mt(e, Yt(n))); ++o < i; )
for (var l = 0, c = t[o], u = n ? n(c) : c; (l = a(s, u, l, r)) > -1; )
s !== e && Ye.call(s, l, 1), Ye.call(e, l, 1)
return e
}
function Kr(e, t) {
for (var n = e ? t.length : 0, r = n - 1; n--; ) {
var a = t[n]
if (n == r || a !== o) {
var o = a
bo(a) ? Ye.call(e, a, 1) : pa(e, a)
}
}
return e
}
function $r(e, t) {
return e + mt(xn() * (t - e + 1))
}
function Yr(e, t) {
var n = ''
if (!e || t < 1 || t > d) return n
do {
t % 2 && (n += e), (t = mt(t / 2)) && (e += e)
} while (t)
return n
}
function Jr(e, t) {
return Oo(Po(e, t, sl), e + '')
}
function Qr(e) {
return Qn(qs(e))
}
function Xr(e, t) {
var n = qs(e)
return Fo(n, sr(t, 0, n.length))
}
function Zr(e, t, r, a) {
if (!as(e)) return e
for (
var o = -1, i = (t = ba(t, e)).length, s = i - 1, l = e;
null != l && ++o < i;
) {
var c = Lo(t[o]),
u = r
if ('__proto__' === c || 'constructor' === c || 'prototype' === c) return e
if (o != s) {
var p = l[c]
;(u = a ? a(p, c, l) : n) === n && (u = as(p) ? p : bo(t[o + 1]) ? [] : {})
}
tr(l, c, u), (l = l[c])
}
return e
}
var ea = In
? function (e, t) {
return In.set(e, t), e
}
: sl,
ta = ct
? function (e, t) {
return ct(e, 'toString', {
configurable: !0,
enumerable: !1,
value: al(t),
writable: !0
})
}
: sl
function na(e) {
return Fo(qs(e))
}
function ra(e, t, n) {
var r = -1,
a = e.length
t < 0 && (t = -t > a ? 0 : a + t),
(n = n > a ? a : n) < 0 && (n += a),
(a = t > n ? 0 : (n - t) >>> 0),
(t >>>= 0)
for (var o = oe(a); ++r < a; ) o[r] = e[r + t]
return o
}
function aa(e, t) {
var n
return (
dr(e, function (e, r, a) {
return !(n = t(e, r, a))
}),
!!n
)
}
function oa(e, t, n) {
var r = 0,
a = null == e ? r : e.length
if ('number' == typeof t && t == t && a <= 2147483647) {
for (; r < a; ) {
var o = (r + a) >>> 1,
i = e[o]
null !== i && !ds(i) && (n ? i <= t : i < t) ? (r = o + 1) : (a = o)
}
return a
}
return ia(e, t, sl, n)
}
function ia(e, t, r, a) {
var o = 0,
i = null == e ? 0 : e.length
if (0 === i) return 0
for (var s = (t = r(t)) != t, l = null === t, c = ds(t), u = t === n; o < i; ) {
var p = mt((o + i) / 2),
d = r(e[p]),
f = d !== n,
h = null === d,
v = d == d,
m = ds(d)
if (s) var g = a || v
else
g = u
? v && (a || f)
: l
? v && f && (a || !h)
: c
? v && f && !h && (a || !m)
: !h && !m && (a ? d <= t : d < t)
g ? (o = p + 1) : (i = p)
}
return bn(i, 4294967294)
}
function sa(e, t) {
for (var n = -1, r = e.length, a = 0, o = []; ++n < r; ) {
var i = e[n],
s = t ? t(i) : i
if (!n || !qi(s, l)) {
var l = s
o[a++] = 0 === i ? 0 : i
}
}
return o
}
function la(e) {
return 'number' == typeof e ? e : ds(e) ? f : +e
}
function ca(e) {
if ('string' == typeof e) return e
if ($i(e)) return Mt(e, ca) + ''
if (ds(e)) return jn ? jn.call(e) : ''
var t = e + ''
return '0' == t && 1 / e == -1 / 0 ? '-0' : t
}
function ua(e, t, n) {
var r = -1,
a = Tt,
o = e.length,
i = !0,
s = [],
l = s
if (n) (i = !1), (a = It)
else if (o >= 200) {
var c = t ? null : Ya(e)
if (c) return cn(c)
;(i = !1), (a = Qt), (l = new $n())
} else l = t ? [] : s
e: for (; ++r < o; ) {
var u = e[r],
p = t ? t(u) : u
if (((u = n || 0 !== u ? u : 0), i && p == p)) {
for (var d = l.length; d--; ) if (l[d] === p) continue e
t && l.push(p), s.push(u)
} else a(l, p, n) || (l !== s && l.push(p), s.push(u))
}
return s
}
function pa(e, t) {
return null == (e = Co(e, (t = ba(t, e)))) || delete e[Lo(ei(t))]
}
function da(e, t, n, r) {
return Zr(e, t, n(wr(e, t)), r)
}
function fa(e, t, n, r) {
for (var a = e.length, o = r ? a : -1; (r ? o-- : ++o < a) && t(e[o], o, e); );
return n ? ra(e, r ? 0 : o, r ? o + 1 : a) : ra(e, r ? o + 1 : 0, r ? a : o)
}
function ha(e, t) {
var n = e
return (
n instanceof qn && (n = n.value()),
Ot(
t,
function (e, t) {
return t.func.apply(t.thisArg, Rt([e], t.args))
},
n
)
)
}
function va(e, t, n) {
var r = e.length
if (r < 2) return r ? ua(e[0]) : []
for (var a = -1, o = oe(r); ++a < r; )
for (var i = e[a], s = -1; ++s < r; )
s != a && (o[a] = pr(o[a] || i, e[s], t, n))
return ua(gr(o, 1), t, n)
}
function ma(e, t, r) {
for (var a = -1, o = e.length, i = t.length, s = {}; ++a < o; ) {
var l = a < i ? t[a] : n
r(s, e[a], l)
}
return s
}
function ga(e) {
return Qi(e) ? e : []
}
function ya(e) {
return 'function' == typeof e ? e : sl
}
function ba(e, t) {
return $i(e) ? e : Ao(e, t) ? [e] : Vo(xs(e))
}
var _a = Jr
function Aa(e, t, r) {
var a = e.length
return (r = r === n ? a : r), !t && r >= a ? e : ra(e, t, r)
}
var xa =
ut ||
function (e) {
return pt.clearTimeout(e)
}
function wa(e, t) {
if (t) return e.slice()
var n = e.length,
r = Ue ? Ue(n) : new e.constructor(n)
return e.copy(r), r
}
function ka(e) {
var t = new e.constructor(e.byteLength)
return new qe(t).set(new qe(e)), t
}
function Sa(e, t) {
var n = t ? ka(e.buffer) : e.buffer
return new e.constructor(n, e.byteOffset, e.length)
}
function Ea(e, t) {
if (e !== t) {
var r = e !== n,
a = null === e,
o = e == e,
i = ds(e),
s = t !== n,
l = null === t,
c = t == t,
u = ds(t)
if (
(!l && !u && !i && e > t) ||
(i && s && c && !l && !u) ||
(a && s && c) ||
(!r && c) ||
!o
)
return 1
if (
(!a && !i && !u && e < t) ||
(u && r && o && !a && !i) ||
(l && r && o) ||
(!s && o) ||
!c
)
return -1
}
return 0
}
function Pa(e, t, n, r) {
for (
var a = -1,
o = e.length,
i = n.length,
s = -1,
l = t.length,
c = yn(o - i, 0),
u = oe(l + c),
p = !r;
++s < l;
)
u[s] = t[s]
for (; ++a < i; ) (p || a < o) && (u[n[a]] = e[a])
for (; c--; ) u[s++] = e[a++]
return u
}
function Ca(e, t, n, r) {
for (
var a = -1,
o = e.length,
i = -1,
s = n.length,
l = -1,
c = t.length,
u = yn(o - s, 0),
p = oe(u + c),
d = !r;
++a < u;
)
p[a] = e[a]
for (var f = a; ++l < c; ) p[f + l] = t[l]
for (; ++i < s; ) (d || a < o) && (p[f + n[i]] = e[a++])
return p
}
function Ta(e, t) {
var n = -1,
r = e.length
for (t || (t = oe(r)); ++n < r; ) t[n] = e[n]
return t
}
function Ia(e, t, r, a) {
var o = !r
r || (r = {})
for (var i = -1, s = t.length; ++i < s; ) {
var l = t[i],
c = a ? a(r[l], e[l], l, r, e) : n
c === n && (c = e[l]), o ? or(r, l, c) : tr(r, l, c)
}
return r
}
function Ma(e, t) {
return function (n, r) {
var a = $i(n) ? kt : rr,
o = t ? t() : {}
return a(n, e, lo(r, 2), o)
}
}
function Ra(e) {
return Jr(function (t, r) {
var a = -1,
o = r.length,
i = o > 1 ? r[o - 1] : n,
s = o > 2 ? r[2] : n
for (
i = e.length > 3 && 'function' == typeof i ? (o--, i) : n,
s && _o(r[0], r[1], s) && ((i = o < 3 ? n : i), (o = 1)),
t = Ee(t);
++a < o;
) {
var l = r[a]
l && e(t, l, a, i)
}
return t
})
}
function Oa(e, t) {
return function (n, r) {
if (null == n) return n
if (!Ji(n)) return e(n, r)
for (
var a = n.length, o = t ? a : -1, i = Ee(n);
(t ? o-- : ++o < a) && !1 !== r(i[o], o, i);
);
return n
}
}
function za(e) {
return function (t, n, r) {
for (var a = -1, o = Ee(t), i = r(t), s = i.length; s--; ) {
var l = i[e ? s : ++a]
if (!1 === n(o[l], l, o)) break
}
return t
}
}
function Da(e) {
return function (t) {
var r = an((t = xs(t))) ? pn(t) : n,
a = r ? r[0] : t.charAt(0),
o = r ? Aa(r, 1).join('') : t.slice(1)
return a[e]() + o
}
}
function Fa(e) {
return function (t) {
return Ot(tl(Ks(t).replace(Je, '')), e, '')
}
}
function Ba(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 = Ln(e.prototype),
r = e.apply(n, t)
return as(r) ? r : n
}
}
function Na(e) {
return function (t, r, a) {
var o = Ee(t)
if (!Ji(t)) {
var i = lo(r, 3)
;(t = Ds(t)),
(r = function (e) {
return i(o[e], e, o)
})
}
var s = e(t, r, a)
return s > -1 ? o[i ? t[s] : s] : n
}
}
function ja(e) {
return no(function (t) {
var a = t.length,
o = a,
i = Gn.prototype.thru
for (e && t.reverse(); o--; ) {
var s = t[o]
if ('function' != typeof s) throw new Te(r)
if (i && !l && 'wrapper' == io(s)) var l = new Gn([], !0)
}
for (o = l ? o : a; ++o < a; ) {
var c = io((s = t[o])),
u = 'wrapper' == c ? oo(s) : n
l =
u && xo(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9]
? l[io(u[0])].apply(l, u[3])
: 1 == s.length && xo(s)
? l[c]()
: l.thru(s)
}
return function () {
var e = arguments,
n = e[0]
if (l && 1 == e.length && $i(n)) return l.plant(n).value()
for (var r = 0, o = a ? t[r].apply(this, e) : n; ++r < a; )
o = t[r].call(this, o)
return o
}
})
}
function Va(e, t, r, a, o, i, s, l, u, p) {
var d = t & c,
f = 1 & t,
h = 2 & t,
v = 24 & t,
m = 512 & t,
g = h ? n : Ba(e)
return function n() {
for (var c = arguments.length, y = oe(c), b = c; b--; ) y[b] = arguments[b]
if (v)
var _ = so(n),
A = en(y, _)
if (
(a && (y = Pa(y, a, o, v)), i && (y = Ca(y, i, s, v)), (c -= A), v && c < p)
) {
var x = ln(y, _)
return Ka(e, t, Va, n.placeholder, r, y, x, l, u, p - c)
}
var w = f ? r : this,
k = h ? w[e] : e
return (
(c = y.length),
l ? (y = To(y, l)) : m && c > 1 && y.reverse(),
d && u < c && (y.length = u),
this && this !== pt && this instanceof n && (k = g || Ba(k)),
k.apply(w, y)
)
}
}
function La(e, t) {
return function (n, r) {
return (function (e, t, n, r) {
return (
_r(e, function (e, a, o) {
t(r, n(e), a, o)
}),
r
)
})(n, e, t(r), {})
}
}
function Ha(e, t) {
return function (r, a) {
var o
if (r === n && a === n) return t
if ((r !== n && (o = r), a !== n)) {
if (o === n) return a
'string' == typeof r || 'string' == typeof a
? ((r = ca(r)), (a = ca(a)))
: ((r = la(r)), (a = la(a))),
(o = e(r, a))
}
return o
}
}
function Ga(e) {
return no(function (t) {
return (
(t = Mt(t, Yt(lo()))),
Jr(function (n) {
var r = this
return e(t, function (e) {
return wt(e, r, n)
})
})
)
})
}
function qa(e, t) {
var r = (t = t === n ? ' ' : ca(t)).length
if (r < 2) return r ? Yr(t, e) : t
var a = Yr(t, vt(e / un(t)))
return an(t) ? Aa(pn(a), 0, e).join('') : a.slice(0, e)
}
function Ua(e) {
return function (t, r, a) {
return (
a && 'number' != typeof a && _o(t, r, a) && (r = a = n),
(t = gs(t)),
r === n ? ((r = t), (t = 0)) : (r = gs(r)),
(function (e, t, n, r) {
for (var a = -1, o = yn(vt((t - e) / (n || 1)), 0), i = oe(o); o--; )
(i[r ? o : ++a] = e), (e += n)
return i
})(t, r, (a = a === n ? (t < r ? 1 : -1) : gs(a)), e)
)
}
}
function Wa(e) {
return function (t, n) {
return (
('string' == typeof t && 'string' == typeof n) || ((t = _s(t)), (n = _s(n))),
e(t, n)
)
}
}
function Ka(e, t, r, a, o, i, c, u, p, d) {
var f = 8 & t
;(t |= f ? s : l), 4 & (t &= ~(f ? l : s)) || (t &= -4)
var h = [e, t, o, f ? i : n, f ? c : n, f ? n : i, f ? n : c, u, p, d],
v = r.apply(n, h)
return xo(e) && Mo(v, h), (v.placeholder = a), zo(v, e, t)
}
function $a(e) {
var t = Se[e]
return function (e, n) {
if (((e = _s(e)), (n = null == n ? 0 : bn(ys(n), 292)) && vn(e))) {
var r = (xs(e) + 'e').split('e')
return +(
(r = (xs(t(r[0] + 'e' + (+r[1] + n))) + 'e').split('e'))[0] +
'e' +
(+r[1] - n)
)
}
return t(e)
}
}
var Ya =
Pn && 1 / cn(new Pn([, -0]))[1] == p
? function (e) {
return new Pn(e)
}
: dl
function Ja(e) {
return function (t) {
var n = vo(t)
return n == w
? on(t)
: n == C
? (function (e) {
var t = -1,
n = Array(e.size)
return (
e.forEach(function (e) {
n[++t] = [e, e]
}),
n
)
})(t)
: (function (e, t) {
return Mt(t, function (t) {
return [t, e[t]]
})
})(t, e(t))
}
}
function Qa(e, t, a, p, d, f, h, v) {
var m = 2 & t
if (!m && 'function' != typeof e) throw new Te(r)
var g = p ? p.length : 0
if (
(g || ((t &= -97), (p = d = n)),
(h = h === n ? h : yn(ys(h), 0)),
(v = v === n ? v : ys(v)),
(g -= d ? d.length : 0),
t & l)
) {
var y = p,
b = d
p = d = n
}
var _ = m ? n : oo(e),
A = [e, t, a, p, d, y, b, f, h, v]
if (
(_ &&
(function (e, t) {
var n = e[1],
r = t[1],
a = n | r,
i = a < 131,
s =
(r == c && 8 == n) ||
(r == c && n == u && e[7].length <= t[8]) ||
(384 == r && t[7].length <= t[8] && 8 == n)
if (!i && !s) return e
1 & r && ((e[2] = t[2]), (a |= 1 & n ? 0 : 4))
var l = t[3]
if (l) {
var p = e[3]
;(e[3] = p ? Pa(p, l, t[4]) : l), (e[4] = p ? ln(e[3], o) : t[4])
}
;(l = t[5]) &&
((p = e[5]),
(e[5] = p ? Ca(p, l, t[6]) : l),
(e[6] = p ? ln(e[5], o) : t[6]))
;(l = t[7]) && (e[7] = l)
r & c && (e[8] = null == e[8] ? t[8] : bn(e[8], t[8]))
null == e[9] && (e[9] = t[9])
;(e[0] = t[0]), (e[1] = a)
})(A, _),
(e = A[0]),
(t = A[1]),
(a = A[2]),
(p = A[3]),
(d = A[4]),
!(v = A[9] = A[9] === n ? (m ? 0 : e.length) : yn(A[9] - g, 0)) &&
24 & t &&
(t &= -25),
t && 1 != t)
)
x =
8 == t || t == i
? (function (e, t, r) {
var a = Ba(e)
return function o() {
for (var i = arguments.length, s = oe(i), l = i, c = so(o); l--; )
s[l] = arguments[l]
var u = i < 3 && s[0] !== c && s[i - 1] !== c ? [] : ln(s, c)
return (i -= u.length) < r
? Ka(e, t, Va, o.placeholder, n, s, u, n, n, r - i)
: wt(this && this !== pt && this instanceof o ? a : e, this, s)
}
})(e, t, v)
: (t != s && 33 != t) || d.length
? Va.apply(n, A)
: (function (e, t, n, r) {
var a = 1 & t,
o = Ba(e)
return function t() {
for (
var i = -1,
s = arguments.length,
l = -1,
c = r.length,
u = oe(c + s),
p = this && this !== pt && this instanceof t ? o : e;
++l < c;
)
u[l] = r[l]
for (; s--; ) u[l++] = arguments[++i]
return wt(p, a ? n : this, u)
}
})(e, t, a, p)
else
var x = (function (e, t, n) {
var r = 1 & t,
a = Ba(e)
return function t() {
return (this && this !== pt && this instanceof t ? a : e).apply(
r ? n : this,
arguments
)
}
})(e, t, a)
return zo((_ ? ea : Mo)(x, A), e, t)
}
function Xa(e, t, r, a) {
return e === n || (qi(e, Re[r]) && !De.call(a, r)) ? t : e
}
function Za(e, t, r, a, o, i) {
return as(e) && as(t) && (i.set(t, e), Hr(e, t, n, Za, i), i.delete(t)), e
}
function eo(e) {
return ls(e) ? n : e
}
function to(e, t, r, a, o, i) {
var s = 1 & r,
l = e.length,
c = t.length
if (l != c && !(s && c > l)) return !1
var u = i.get(e),
p = i.get(t)
if (u && p) return u == t && p == e
var d = -1,
f = !0,
h = 2 & r ? new $n() : n
for (i.set(e, t), i.set(t, e); ++d < l; ) {
var v = e[d],
m = t[d]
if (a) var g = s ? a(m, v, d, t, e, i) : a(v, m, d, e, t, i)
if (g !== n) {
if (g) continue
f = !1
break
}
if (h) {
if (
!Dt(t, function (e, t) {
if (!Qt(h, t) && (v === e || o(v, e, r, a, i))) return h.push(t)
})
) {
f = !1
break
}
} else if (v !== m && !o(v, m, r, a, i)) {
f = !1
break
}
}
return i.delete(e), i.delete(t), f
}
function no(e) {
return Oo(Po(e, n, Yo), e + '')
}
function ro(e) {
return kr(e, Ds, fo)
}
function ao(e) {
return kr(e, Fs, ho)
}
var oo = In
? function (e) {
return In.get(e)
}
: dl
function io(e) {
for (var t = e.name + '', n = Mn[t], r = De.call(Mn, t) ? n.length : 0; r--; ) {
var a = n[r],
o = a.func
if (null == o || o == e) return a.name
}
return t
}
function so(e) {
return (De.call(Vn, 'placeholder') ? Vn : e).placeholder
}
function lo() {
var e = Vn.iteratee || ll
return (
(e = e === ll ? Dr : e), arguments.length ? e(arguments[0], arguments[1]) : e
)
}
function co(e, t) {
var n,
r,
a = e.__data__
return (
'string' == (r = _typeof2((n = t))) ||
'number' == r ||
'symbol' == r ||
'boolean' == r
? '__proto__' !== n
: null === n
)
? a['string' == typeof t ? 'string' : 'hash']
: a.map
}
function uo(e) {
for (var t = Ds(e), n = t.length; n--; ) {
var r = t[n],
a = e[r]
t[n] = [r, a, So(a)]
}
return t
}
function po(e, t) {
var r = (function (e, t) {
return null == e ? n : e[t]
})(e, t)
return zr(r) ? r : n
}
var fo = Ft
? function (e) {
return null == e
? []
: ((e = Ee(e)),
Ct(Ft(e), function (t) {
return $e.call(e, t)
}))
}
: bl,
ho = Ft
? function (e) {
for (var t = []; e; ) Rt(t, fo(e)), (e = We(e))
return t
}
: bl,
vo = Sr
function mo(e, t, n) {
for (var r = -1, a = (t = ba(t, e)).length, o = !1; ++r < a; ) {
var i = Lo(t[r])
if (!(o = null != e && n(e, i))) break
e = e[i]
}
return o || ++r != a
? o
: !!(a = null == e ? 0 : e.length) && rs(a) && bo(i, a) && ($i(e) || Ki(e))
}
function go(e) {
return 'function' != typeof e.constructor || ko(e) ? {} : Ln(We(e))
}
function yo(e) {
return $i(e) || Ki(e) || !!(Xe && e && e[Xe])
}
function bo(e, t) {
var n = _typeof2(e)
return (
!!(t = null == t ? d : t) &&
('number' == n || ('symbol' != n && ye.test(e))) &&
e > -1 &&
e % 1 == 0 &&
e < t
)
}
function _o(e, t, n) {
if (!as(n)) return !1
var r = _typeof2(t)
return (
!!('number' == r ? Ji(n) && bo(t, n.length) : 'string' == r && t in n) &&
qi(n[t], e)
)
}
function Ao(e, t) {
if ($i(e)) return !1
var n = _typeof2(e)
return (
!('number' != n && 'symbol' != n && 'boolean' != n && null != e && !ds(e)) ||
ee.test(e) ||
!Z.test(e) ||
(null != t && e in Ee(t))
)
}
function xo(e) {
var t = io(e),
n = Vn[t]
if ('function' != typeof n || !(t in qn.prototype)) return !1
if (e === n) return !0
var r = oo(n)
return !!r && e === r[0]
}
;((kn && vo(new kn(new ArrayBuffer(1))) != O) ||
(Sn && vo(new Sn()) != w) ||
(En && vo(En.resolve()) != E) ||
(Pn && vo(new Pn()) != C) ||
(Cn && vo(new Cn()) != M)) &&
(vo = function (e) {
var t = Sr(e),
r = t == S ? e.constructor : n,
a = r ? Ho(r) : ''
if (a)
switch (a) {
case Rn:
return O
case On:
return w
case zn:
return E
case Dn:
return C
case Fn:
return M
}
return t
})
var wo = Oe ? ts : _l
function ko(e) {
var t = e && e.constructor
return e === (('function' == typeof t && t.prototype) || Re)
}
function So(e) {
return e == e && !as(e)
}
function Eo(e, t) {
return function (r) {
return null != r && r[e] === t && (t !== n || e in Ee(r))
}
}
function Po(e, t, r) {
return (
(t = yn(t === n ? e.length - 1 : t, 0)),
function () {
for (var n = arguments, a = -1, o = yn(n.length - t, 0), i = oe(o); ++a < o; )
i[a] = n[t + a]
a = -1
for (var s = oe(t + 1); ++a < t; ) s[a] = n[a]
return (s[t] = r(i)), wt(e, this, s)
}
)
}
function Co(e, t) {
return t.length < 2 ? e : wr(e, ra(t, 0, -1))
}
function To(e, t) {
for (var r = e.length, a = bn(t.length, r), o = Ta(e); a--; ) {
var i = t[a]
e[a] = bo(i, r) ? o[i] : n
}
return e
}
function Io(e, t) {
if (('constructor' !== t || 'function' != typeof e[t]) && '__proto__' != t)
return e[t]
}
var Mo = Do(ea),
Ro =
ft ||
function (e, t) {
return pt.setTimeout(e, t)
},
Oo = Do(ta)
function zo(e, t, n) {
var r = t + ''
return Oo(
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(ie, '{\n/* [wrapped with ' + t + '] */\n')
)
})(
r,
(function (e, t) {
return (
St(v, function (n) {
var r = '_.' + n[0]
t & n[1] && !Tt(e, r) && e.push(r)
}),
e.sort()
)
})(
(function (e) {
var t = e.match(se)
return t ? t[1].split(le) : []
})(r),
n
)
)
)
}
function Do(e) {
var t = 0,
r = 0
return function () {
var a = _n(),
o = 16 - (a - r)
if (((r = a), o > 0)) {
if (++t >= 800) return arguments[0]
} else t = 0
return e.apply(n, arguments)
}
}
function Fo(e, t) {
var r = -1,
a = e.length,
o = a - 1
for (t = t === n ? a : t; ++r < t; ) {
var i = $r(r, o),
s = e[i]
;(e[i] = e[r]), (e[r] = s)
}
return (e.length = t), e
}
var Bo,
No,
jo,
Vo =
((Bo = function (e) {
var t = []
return (
46 === e.charCodeAt(0) && t.push(''),
e.replace(te, function (e, n, r, a) {
t.push(r ? a.replace(pe, '$1') : n || e)
}),
t
)
}),
(No = Ni(Bo, function (e) {
return 500 === jo.size && jo.clear(), e
})),
(jo = No.cache),
No)
function Lo(e) {
if ('string' == typeof e || ds(e)) return e
var t = e + ''
return '0' == t && 1 / e == -1 / 0 ? '-0' : t
}
function Ho(e) {
if (null != e) {
try {
return ze.call(e)
} catch (t) {}
try {
return e + ''
} catch (t) {}
}
return ''
}
function Go(e) {
if (e instanceof qn) return e.clone()
var t = new Gn(e.__wrapped__, e.__chain__)
return (
(t.__actions__ = Ta(e.__actions__)),
(t.__index__ = e.__index__),
(t.__values__ = e.__values__),
t
)
}
var qo = Jr(function (e, t) {
return Qi(e) ? pr(e, gr(t, 1, Qi, !0)) : []
}),
Uo = Jr(function (e, t) {
var r = ei(t)
return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), lo(r, 2)) : []
}),
Wo = Jr(function (e, t) {
var r = ei(t)
return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), n, r) : []
})
function Ko(e, t, n) {
var r = null == e ? 0 : e.length
if (!r) return -1
var a = null == n ? 0 : ys(n)
return a < 0 && (a = yn(r + a, 0)), Nt(e, lo(t, 3), a)
}
function $o(e, t, r) {
var a = null == e ? 0 : e.length
if (!a) return -1
var o = a - 1
return (
r !== n && ((o = ys(r)), (o = r < 0 ? yn(a + o, 0) : bn(o, a - 1))),
Nt(e, lo(t, 3), o, !0)
)
}
function Yo(e) {
return (null == e ? 0 : e.length) ? gr(e, 1) : []
}
function Jo(e) {
return e && e.length ? e[0] : n
}
var Qo = Jr(function (e) {
var t = Mt(e, ga)
return t.length && t[0] === e[0] ? Tr(t) : []
}),
Xo = Jr(function (e) {
var t = ei(e),
r = Mt(e, ga)
return (
t === ei(r) ? (t = n) : r.pop(),
r.length && r[0] === e[0] ? Tr(r, lo(t, 2)) : []
)
}),
Zo = Jr(function (e) {
var t = ei(e),
r = Mt(e, ga)
return (
(t = 'function' == typeof t ? t : n) && r.pop(),
r.length && r[0] === e[0] ? Tr(r, n, t) : []
)
})
function ei(e) {
var t = null == e ? 0 : e.length
return t ? e[t - 1] : n
}
var ti = Jr(ni)
function ni(e, t) {
return e && e.length && t && t.length ? Wr(e, t) : e
}
var ri = no(function (e, t) {
var n = null == e ? 0 : e.length,
r = ir(e, t)
return (
Kr(
e,
Mt(t, function (e) {
return bo(e, n) ? +e : e
}).sort(Ea)
),
r
)
})
function ai(e) {
return null == e ? e : wn.call(e)
}
var oi = Jr(function (e) {
return ua(gr(e, 1, Qi, !0))
}),
ii = Jr(function (e) {
var t = ei(e)
return Qi(t) && (t = n), ua(gr(e, 1, Qi, !0), lo(t, 2))
}),
si = Jr(function (e) {
var t = ei(e)
return (t = 'function' == typeof t ? t : n), ua(gr(e, 1, Qi, !0), n, t)
})
function li(e) {
if (!e || !e.length) return []
var t = 0
return (
(e = Ct(e, function (e) {
if (Qi(e)) return (t = yn(e.length, t)), !0
})),
Kt(t, function (t) {
return Mt(e, Gt(t))
})
)
}
function ci(e, t) {
if (!e || !e.length) return []
var r = li(e)
return null == t
? r
: Mt(r, function (e) {
return wt(t, n, e)
})
}
var ui = Jr(function (e, t) {
return Qi(e) ? pr(e, t) : []
}),
pi = Jr(function (e) {
return va(Ct(e, Qi))
}),
di = Jr(function (e) {
var t = ei(e)
return Qi(t) && (t = n), va(Ct(e, Qi), lo(t, 2))
}),
fi = Jr(function (e) {
var t = ei(e)
return (t = 'function' == typeof t ? t : n), va(Ct(e, Qi), n, t)
}),
hi = Jr(li)
var vi = Jr(function (e) {
var t = e.length,
r = t > 1 ? e[t - 1] : n
return (r = 'function' == typeof r ? (e.pop(), r) : n), ci(e, r)
})
function mi(e) {
var t = Vn(e)
return (t.__chain__ = !0), t
}
function gi(e, t) {
return t(e)
}
var yi = no(function (e) {
var t = e.length,
r = t ? e[0] : 0,
a = this.__wrapped__,
o = function (t) {
return ir(t, e)
}
return !(t > 1 || this.__actions__.length) && a instanceof qn && bo(r)
? ((a = a.slice(r, +r + (t ? 1 : 0))).__actions__.push({
func: gi,
args: [o],
thisArg: n
}),
new Gn(a, this.__chain__).thru(function (e) {
return t && !e.length && e.push(n), e
}))
: this.thru(o)
})
var bi = Ma(function (e, t, n) {
De.call(e, n) ? ++e[n] : or(e, n, 1)
})
var _i = Na(Ko),
Ai = Na($o)
function xi(e, t) {
return ($i(e) ? St : dr)(e, lo(t, 3))
}
function wi(e, t) {
return ($i(e) ? Et : fr)(e, lo(t, 3))
}
var ki = Ma(function (e, t, n) {
De.call(e, n) ? e[n].push(t) : or(e, n, [t])
})
var Si = Jr(function (e, t, n) {
var r = -1,
a = 'function' == typeof t,
o = Ji(e) ? oe(e.length) : []
return (
dr(e, function (e) {
o[++r] = a ? wt(t, e, n) : Ir(e, t, n)
}),
o
)
}),
Ei = Ma(function (e, t, n) {
or(e, n, t)
})
function Pi(e, t) {
return ($i(e) ? Mt : jr)(e, lo(t, 3))
}
var Ci = Ma(
function (e, t, n) {
e[n ? 0 : 1].push(t)
},
function () {
return [[], []]
}
)
var Ti = Jr(function (e, t) {
if (null == e) return []
var n = t.length
return (
n > 1 && _o(e, t[0], t[1])
? (t = [])
: n > 2 && _o(t[0], t[1], t[2]) && (t = [t[0]]),
qr(e, gr(t, 1), [])
)
}),
Ii =
dt ||
function () {
return pt.Date.now()
}
function Mi(e, t, r) {
return (
(t = r ? n : t), (t = e && null == t ? e.length : t), Qa(e, c, n, n, n, n, t)
)
}
function Ri(e, t) {
var a
if ('function' != typeof t) throw new Te(r)
return (
(e = ys(e)),
function () {
return --e > 0 && (a = t.apply(this, arguments)), e <= 1 && (t = n), a
}
)
}
var Oi = Jr(function (e, t, n) {
var r = 1
if (n.length) {
var a = ln(n, so(Oi))
r |= s
}
return Qa(e, r, t, n, a)
}),
zi = Jr(function (e, t, n) {
var r = 3
if (n.length) {
var a = ln(n, so(zi))
r |= s
}
return Qa(t, r, e, n, a)
})
function Di(e, t, a) {
var o,
i,
s,
l,
c,
u,
p = 0,
d = !1,
f = !1,
h = !0
if ('function' != typeof e) throw new Te(r)
function v(t) {
var r = o,
a = i
return (o = i = n), (p = t), (l = e.apply(a, r))
}
function m(e) {
return (p = e), (c = Ro(y, t)), d ? v(e) : l
}
function g(e) {
var r = e - u
return u === n || r >= t || r < 0 || (f && e - p >= s)
}
function y() {
var e = Ii()
if (g(e)) return b(e)
c = Ro(
y,
(function (e) {
var n = t - (e - u)
return f ? bn(n, s - (e - p)) : n
})(e)
)
}
function b(e) {
return (c = n), h && o ? v(e) : ((o = i = n), l)
}
function _() {
var e = Ii(),
r = g(e)
if (((o = arguments), (i = this), (u = e), r)) {
if (c === n) return m(u)
if (f) return xa(c), (c = Ro(y, t)), v(u)
}
return c === n && (c = Ro(y, t)), l
}
return (
(t = _s(t) || 0),
as(a) &&
((d = !!a.leading),
(s = (f = 'maxWait' in a) ? yn(_s(a.maxWait) || 0, t) : s),
(h = 'trailing' in a ? !!a.trailing : h)),
(_.cancel = function () {
c !== n && xa(c), (p = 0), (o = u = i = c = n)
}),
(_.flush = function () {
return c === n ? l : b(Ii())
}),
_
)
}
var Fi = Jr(function (e, t) {
return ur(e, 1, t)
}),
Bi = Jr(function (e, t, n) {
return ur(e, _s(t) || 0, n)
})
function Ni(e, t) {
if ('function' != typeof e || (null != t && 'function' != typeof t))
throw new Te(r)
var n = function n() {
var r = arguments,
a = t ? t.apply(this, r) : r[0],
o = n.cache
if (o.has(a)) return o.get(a)
var i = e.apply(this, r)
return (n.cache = o.set(a, i) || o), i
}
return (n.cache = new (Ni.Cache || Kn)()), n
}
function ji(e) {
if ('function' != typeof e) throw new Te(r)
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)
}
}
Ni.Cache = Kn
var Vi = _a(function (e, t) {
var n = (t =
1 == t.length && $i(t[0]) ? Mt(t[0], Yt(lo())) : Mt(gr(t, 1), Yt(lo())))
.length
return Jr(function (r) {
for (var a = -1, o = bn(r.length, n); ++a < o; ) r[a] = t[a].call(this, r[a])
return wt(e, this, r)
})
}),
Li = Jr(function (e, t) {
var r = ln(t, so(Li))
return Qa(e, s, n, t, r)
}),
Hi = Jr(function (e, t) {
var r = ln(t, so(Hi))
return Qa(e, l, n, t, r)
}),
Gi = no(function (e, t) {
return Qa(e, u, n, n, n, t)
})
function qi(e, t) {
return e === t || (e != e && t != t)
}
var Ui = Wa(Er),
Wi = Wa(function (e, t) {
return e >= t
}),
Ki = Mr(
(function () {
return arguments
})()
)
? Mr
: function (e) {
return os(e) && De.call(e, 'callee') && !$e.call(e, 'callee')
},
$i = oe.isArray,
Yi = gt
? Yt(gt)
: function (e) {
return os(e) && Sr(e) == R
}
function Ji(e) {
return null != e && rs(e.length) && !ts(e)
}
function Qi(e) {
return os(e) && Ji(e)
}
var Xi = qt || _l,
Zi = yt
? Yt(yt)
: function (e) {
return os(e) && Sr(e) == b
}
function es(e) {
if (!os(e)) return !1
var t = Sr(e)
return (
t == _ ||
'[object DOMException]' == t ||
('string' == typeof e.message && 'string' == typeof e.name && !ls(e))
)
}
function ts(e) {
if (!as(e)) return !1
var t = Sr(e)
return t == A || t == x || '[object AsyncFunction]' == t || '[object Proxy]' == t
}
function ns(e) {
return 'number' == typeof e && e == ys(e)
}
function rs(e) {
return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= d
}
function as(e) {
var t = _typeof2(e)
return null != e && ('object' == t || 'function' == t)
}
function os(e) {
return null != e && 'object' == _typeof2(e)
}
var is = bt
? Yt(bt)
: function (e) {
return os(e) && vo(e) == w
}
function ss(e) {
return 'number' == typeof e || (os(e) && Sr(e) == k)
}
function ls(e) {
if (!os(e) || Sr(e) != S) return !1
var t = We(e)
if (null === t) return !0
var n = De.call(t, 'constructor') && t.constructor
return 'function' == typeof n && n instanceof n && ze.call(n) == je
}
var cs = _t
? Yt(_t)
: function (e) {
return os(e) && Sr(e) == P
}
var us = At
? Yt(At)
: function (e) {
return os(e) && vo(e) == C
}
function ps(e) {
return 'string' == typeof e || (!$i(e) && os(e) && Sr(e) == T)
}
function ds(e) {
return 'symbol' == _typeof2(e) || (os(e) && Sr(e) == I)
}
var fs = xt
? Yt(xt)
: function (e) {
return os(e) && rs(e.length) && !!at[Sr(e)]
}
var hs = Wa(Nr),
vs = Wa(function (e, t) {
return e <= t
})
function ms(e) {
if (!e) return []
if (Ji(e)) return ps(e) ? pn(e) : Ta(e)
if (et && e[et])
return (function (e) {
for (var t, n = []; !(t = e.next()).done; ) n.push(t.value)
return n
})(e[et]())
var t = vo(e)
return (t == w ? on : t == C ? cn : qs)(e)
}
function gs(e) {
return e
? (e = _s(e)) === p || e === -1 / 0
? 17976931348623157e292 * (e < 0 ? -1 : 1)
: e == e
? e
: 0
: 0 === e
? e
: 0
}
function ys(e) {
var t = gs(e),
n = t % 1
return t == t ? (n ? t - n : t) : 0
}
function bs(e) {
return e ? sr(ys(e), 0, h) : 0
}
function _s(e) {
if ('number' == typeof e) return e
if (ds(e)) return f
if (as(e)) {
var t = 'function' == typeof e.valueOf ? e.valueOf() : e
e = as(t) ? t + '' : t
}
if ('string' != typeof e) return 0 === e ? e : +e
e = $t(e)
var n = ve.test(e)
return n || ge.test(e) ? lt(e.slice(2), n ? 2 : 8) : he.test(e) ? f : +e
}
function As(e) {
return Ia(e, Fs(e))
}
function xs(e) {
return null == e ? '' : ca(e)
}
var ws = Ra(function (e, t) {
if (ko(t) || Ji(t)) Ia(t, Ds(t), e)
else for (var n in t) De.call(t, n) && tr(e, n, t[n])
}),
ks = Ra(function (e, t) {
Ia(t, Fs(t), e)
}),
Ss = Ra(function (e, t, n, r) {
Ia(t, Fs(t), e, r)
}),
Es = Ra(function (e, t, n, r) {
Ia(t, Ds(t), e, r)
}),
Ps = no(ir)
var Cs = Jr(function (e, t) {
e = Ee(e)
var r = -1,
a = t.length,
o = a > 2 ? t[2] : n
for (o && _o(t[0], t[1], o) && (a = 1); ++r < a; )
for (var i = t[r], s = Fs(i), l = -1, c = s.length; ++l < c; ) {
var u = s[l],
p = e[u]
;(p === n || (qi(p, Re[u]) && !De.call(e, u))) && (e[u] = i[u])
}
return e
}),
Ts = Jr(function (e) {
return e.push(n, Za), wt(Ns, n, e)
})
function Is(e, t, r) {
var a = null == e ? n : wr(e, t)
return a === n ? r : a
}
function Ms(e, t) {
return null != e && mo(e, t, Cr)
}
var Rs = La(function (e, t, n) {
null != t && 'function' != typeof t.toString && (t = Ne.call(t)), (e[t] = n)
}, al(sl)),
Os = La(function (e, t, n) {
null != t && 'function' != typeof t.toString && (t = Ne.call(t)),
De.call(e, t) ? e[t].push(n) : (e[t] = [n])
}, lo),
zs = Jr(Ir)
function Ds(e) {
return Ji(e) ? Jn(e) : Fr(e)
}
function Fs(e) {
return Ji(e) ? Jn(e, !0) : Br(e)
}
var Bs = Ra(function (e, t, n) {
Hr(e, t, n)
}),
Ns = Ra(function (e, t, n, r) {
Hr(e, t, n, r)
}),
js = no(function (e, t) {
var n = {}
if (null == e) return n
var r = !1
;(t = Mt(t, function (t) {
return (t = ba(t, e)), r || (r = t.length > 1), t
})),
Ia(e, ao(e), n),
r && (n = lr(n, 7, eo))
for (var a = t.length; a--; ) pa(n, t[a])
return n
})
var Vs = no(function (e, t) {
return null == e
? {}
: (function (e, t) {
return Ur(e, t, function (t, n) {
return Ms(e, n)
})
})(e, t)
})
function Ls(e, t) {
if (null == e) return {}
var n = Mt(ao(e), function (e) {
return [e]
})
return (
(t = lo(t)),
Ur(e, n, function (e, n) {
return t(e, n[0])
})
)
}
var Hs = Ja(Ds),
Gs = Ja(Fs)
function qs(e) {
return null == e ? [] : Jt(e, Ds(e))
}
var Us = Fa(function (e, t, n) {
return (t = t.toLowerCase()), e + (n ? Ws(t) : t)
})
function Ws(e) {
return el(xs(e).toLowerCase())
}
function Ks(e) {
return (e = xs(e)) && e.replace(be, tn).replace(Qe, '')
}
var $s = Fa(function (e, t, n) {
return e + (n ? '-' : '') + t.toLowerCase()
}),
Ys = Fa(function (e, t, n) {
return e + (n ? ' ' : '') + t.toLowerCase()
}),
Js = Da('toLowerCase')
var Qs = Fa(function (e, t, n) {
return e + (n ? '_' : '') + t.toLowerCase()
})
var Xs = Fa(function (e, t, n) {
return e + (n ? ' ' : '') + el(t)
})
var Zs = Fa(function (e, t, n) {
return e + (n ? ' ' : '') + t.toUpperCase()
}),
el = Da('toUpperCase')
function tl(e, t, r) {
return (
(e = xs(e)),
(t = r ? n : t) === n
? (function (e) {
return tt.test(e)
})(e)
? (function (e) {
return e.match(Ze) || []
})(e)
: (function (e) {
return e.match(ce) || []
})(e)
: e.match(t) || []
)
}
var nl = Jr(function (e, t) {
try {
return wt(e, n, t)
} catch (r) {
return es(r) ? r : new we(r)
}
}),
rl = no(function (e, t) {
return (
St(t, function (t) {
;(t = Lo(t)), or(e, t, Oi(e[t], e))
}),
e
)
})
function al(e) {
return function () {
return e
}
}
var ol = ja(),
il = ja(!0)
function sl(e) {
return e
}
function ll(e) {
return Dr('function' == typeof e ? e : lr(e, 1))
}
var cl = Jr(function (e, t) {
return function (n) {
return Ir(n, e, t)
}
}),
ul = Jr(function (e, t) {
return function (n) {
return Ir(e, n, t)
}
})
function pl(e, t, n) {
var r = Ds(t),
a = xr(t, r)
null != n ||
(as(t) && (a.length || !r.length)) ||
((n = t), (t = e), (e = this), (a = xr(t, Ds(t))))
var o = !(as(n) && 'chain' in n && !n.chain),
i = ts(e)
return (
St(a, function (n) {
var r = t[n]
;(e[n] = r),
i &&
(e.prototype[n] = function () {
var t = this.__chain__
if (o || t) {
var n = e(this.__wrapped__),
a = (n.__actions__ = Ta(this.__actions__))
return (
a.push({ func: r, args: arguments, thisArg: e }),
(n.__chain__ = t),
n
)
}
return r.apply(e, Rt([this.value()], arguments))
})
}),
e
)
}
function dl() {}
var fl = Ga(Mt),
hl = Ga(Pt),
vl = Ga(Dt)
function ml(e) {
return Ao(e)
? Gt(Lo(e))
: (function (e) {
return function (t) {
return wr(t, e)
}
})(e)
}
var gl = Ua(),
yl = Ua(!0)
function bl() {
return []
}
function _l() {
return !1
}
var Al = Ha(function (e, t) {
return e + t
}, 0),
xl = $a('ceil'),
wl = Ha(function (e, t) {
return e / t
}, 1),
kl = $a('floor')
var Sl,
El = Ha(function (e, t) {
return e * t
}, 1),
Pl = $a('round'),
Cl = Ha(function (e, t) {
return e - t
}, 0)
return (
(Vn.after = function (e, t) {
if ('function' != typeof t) throw new Te(r)
return (
(e = ys(e)),
function () {
if (--e < 1) return t.apply(this, arguments)
}
)
}),
(Vn.ary = Mi),
(Vn.assign = ws),
(Vn.assignIn = ks),
(Vn.assignInWith = Ss),
(Vn.assignWith = Es),
(Vn.at = Ps),
(Vn.before = Ri),
(Vn.bind = Oi),
(Vn.bindAll = rl),
(Vn.bindKey = zi),
(Vn.castArray = function () {
if (!arguments.length) return []
var e = arguments[0]
return $i(e) ? e : [e]
}),
(Vn.chain = mi),
(Vn.chunk = function (e, t, r) {
t = (r ? _o(e, t, r) : t === n) ? 1 : yn(ys(t), 0)
var a = null == e ? 0 : e.length
if (!a || t < 1) return []
for (var o = 0, i = 0, s = oe(vt(a / t)); o < a; ) s[i++] = ra(e, o, (o += t))
return s
}),
(Vn.compact = function (e) {
for (var t = -1, n = null == e ? 0 : e.length, r = 0, a = []; ++t < n; ) {
var o = e[t]
o && (a[r++] = o)
}
return a
}),
(Vn.concat = function () {
var e = arguments.length
if (!e) return []
for (var t = oe(e - 1), n = arguments[0], r = e; r--; ) t[r - 1] = arguments[r]
return Rt($i(n) ? Ta(n) : [n], gr(t, 1))
}),
(Vn.cond = function (e) {
var t = null == e ? 0 : e.length,
n = lo()
return (
(e = t
? Mt(e, function (e) {
if ('function' != typeof e[1]) throw new Te(r)
return [n(e[0]), e[1]]
})
: []),
Jr(function (n) {
for (var r = -1; ++r < t; ) {
var a = e[r]
if (wt(a[0], this, n)) return wt(a[1], this, n)
}
})
)
}),
(Vn.conforms = function (e) {
return (function (e) {
var t = Ds(e)
return function (n) {
return cr(n, e, t)
}
})(lr(e, 1))
}),
(Vn.constant = al),
(Vn.countBy = bi),
(Vn.create = function (e, t) {
var n = Ln(e)
return null == t ? n : ar(n, t)
}),
(Vn.curry = function e(t, r, a) {
var o = Qa(t, 8, n, n, n, n, n, (r = a ? n : r))
return (o.placeholder = e.placeholder), o
}),
(Vn.curryRight = function e(t, r, a) {
var o = Qa(t, i, n, n, n, n, n, (r = a ? n : r))
return (o.placeholder = e.placeholder), o
}),
(Vn.debounce = Di),
(Vn.defaults = Cs),
(Vn.defaultsDeep = Ts),
(Vn.defer = Fi),
(Vn.delay = Bi),
(Vn.difference = qo),
(Vn.differenceBy = Uo),
(Vn.differenceWith = Wo),
(Vn.drop = function (e, t, r) {
var a = null == e ? 0 : e.length
return a ? ra(e, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t, a) : []
}),
(Vn.dropRight = function (e, t, r) {
var a = null == e ? 0 : e.length
return a ? ra(e, 0, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t) : []
}),
(Vn.dropRightWhile = function (e, t) {
return e && e.length ? fa(e, lo(t, 3), !0, !0) : []
}),
(Vn.dropWhile = function (e, t) {
return e && e.length ? fa(e, lo(t, 3), !0) : []
}),
(Vn.fill = function (e, t, r, a) {
var o = null == e ? 0 : e.length
return o
? (r && 'number' != typeof r && _o(e, t, r) && ((r = 0), (a = o)),
(function (e, t, r, a) {
var o = e.length
for (
(r = ys(r)) < 0 && (r = -r > o ? 0 : o + r),
(a = a === n || a > o ? o : ys(a)) < 0 && (a += o),
a = r > a ? 0 : bs(a);
r < a;
)
e[r++] = t
return e
})(e, t, r, a))
: []
}),
(Vn.filter = function (e, t) {
return ($i(e) ? Ct : mr)(e, lo(t, 3))
}),
(Vn.flatMap = function (e, t) {
return gr(Pi(e, t), 1)
}),
(Vn.flatMapDeep = function (e, t) {
return gr(Pi(e, t), p)
}),
(Vn.flatMapDepth = function (e, t, r) {
return (r = r === n ? 1 : ys(r)), gr(Pi(e, t), r)
}),
(Vn.flatten = Yo),
(Vn.flattenDeep = function (e) {
return (null == e ? 0 : e.length) ? gr(e, p) : []
}),
(Vn.flattenDepth = function (e, t) {
return (null == e ? 0 : e.length) ? gr(e, (t = t === n ? 1 : ys(t))) : []
}),
(Vn.flip = function (e) {
return Qa(e, 512)
}),
(Vn.flow = ol),
(Vn.flowRight = il),
(Vn.fromPairs = function (e) {
for (var t = -1, n = null == e ? 0 : e.length, r = {}; ++t < n; ) {
var a = e[t]
r[a[0]] = a[1]
}
return r
}),
(Vn.functions = function (e) {
return null == e ? [] : xr(e, Ds(e))
}),
(Vn.functionsIn = function (e) {
return null == e ? [] : xr(e, Fs(e))
}),
(Vn.groupBy = ki),
(Vn.initial = function (e) {
return (null == e ? 0 : e.length) ? ra(e, 0, -1) : []
}),
(Vn.intersection = Qo),
(Vn.intersectionBy = Xo),
(Vn.intersectionWith = Zo),
(Vn.invert = Rs),
(Vn.invertBy = Os),
(Vn.invokeMap = Si),
(Vn.iteratee = ll),
(Vn.keyBy = Ei),
(Vn.keys = Ds),
(Vn.keysIn = Fs),
(Vn.map = Pi),
(Vn.mapKeys = function (e, t) {
var n = {}
return (
(t = lo(t, 3)),
_r(e, function (e, r, a) {
or(n, t(e, r, a), e)
}),
n
)
}),
(Vn.mapValues = function (e, t) {
var n = {}
return (
(t = lo(t, 3)),
_r(e, function (e, r, a) {
or(n, r, t(e, r, a))
}),
n
)
}),
(Vn.matches = function (e) {
return Vr(lr(e, 1))
}),
(Vn.matchesProperty = function (e, t) {
return Lr(e, lr(t, 1))
}),
(Vn.memoize = Ni),
(Vn.merge = Bs),
(Vn.mergeWith = Ns),
(Vn.method = cl),
(Vn.methodOf = ul),
(Vn.mixin = pl),
(Vn.negate = ji),
(Vn.nthArg = function (e) {
return (
(e = ys(e)),
Jr(function (t) {
return Gr(t, e)
})
)
}),
(Vn.omit = js),
(Vn.omitBy = function (e, t) {
return Ls(e, ji(lo(t)))
}),
(Vn.once = function (e) {
return Ri(2, e)
}),
(Vn.orderBy = function (e, t, r, a) {
return null == e
? []
: ($i(t) || (t = null == t ? [] : [t]),
$i((r = a ? n : r)) || (r = null == r ? [] : [r]),
qr(e, t, r))
}),
(Vn.over = fl),
(Vn.overArgs = Vi),
(Vn.overEvery = hl),
(Vn.overSome = vl),
(Vn.partial = Li),
(Vn.partialRight = Hi),
(Vn.partition = Ci),
(Vn.pick = Vs),
(Vn.pickBy = Ls),
(Vn.property = ml),
(Vn.propertyOf = function (e) {
return function (t) {
return null == e ? n : wr(e, t)
}
}),
(Vn.pull = ti),
(Vn.pullAll = ni),
(Vn.pullAllBy = function (e, t, n) {
return e && e.length && t && t.length ? Wr(e, t, lo(n, 2)) : e
}),
(Vn.pullAllWith = function (e, t, r) {
return e && e.length && t && t.length ? Wr(e, t, n, r) : e
}),
(Vn.pullAt = ri),
(Vn.range = gl),
(Vn.rangeRight = yl),
(Vn.rearg = Gi),
(Vn.reject = function (e, t) {
return ($i(e) ? Ct : mr)(e, ji(lo(t, 3)))
}),
(Vn.remove = function (e, t) {
var n = []
if (!e || !e.length) return n
var r = -1,
a = [],
o = e.length
for (t = lo(t, 3); ++r < o; ) {
var i = e[r]
t(i, r, e) && (n.push(i), a.push(r))
}
return Kr(e, a), n
}),
(Vn.rest = function (e, t) {
if ('function' != typeof e) throw new Te(r)
return Jr(e, (t = t === n ? t : ys(t)))
}),
(Vn.reverse = ai),
(Vn.sampleSize = function (e, t, r) {
return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), ($i(e) ? Xn : Xr)(e, t)
}),
(Vn.set = function (e, t, n) {
return null == e ? e : Zr(e, t, n)
}),
(Vn.setWith = function (e, t, r, a) {
return (a = 'function' == typeof a ? a : n), null == e ? e : Zr(e, t, r, a)
}),
(Vn.shuffle = function (e) {
return ($i(e) ? Zn : na)(e)
}),
(Vn.slice = function (e, t, r) {
var a = null == e ? 0 : e.length
return a
? (r && 'number' != typeof r && _o(e, t, r)
? ((t = 0), (r = a))
: ((t = null == t ? 0 : ys(t)), (r = r === n ? a : ys(r))),
ra(e, t, r))
: []
}),
(Vn.sortBy = Ti),
(Vn.sortedUniq = function (e) {
return e && e.length ? sa(e) : []
}),
(Vn.sortedUniqBy = function (e, t) {
return e && e.length ? sa(e, lo(t, 2)) : []
}),
(Vn.split = function (e, t, r) {
return (
r && 'number' != typeof r && _o(e, t, r) && (t = r = n),
(r = r === n ? h : r >>> 0)
? (e = xs(e)) &&
('string' == typeof t || (null != t && !cs(t))) &&
!(t = ca(t)) &&
an(e)
? Aa(pn(e), 0, r)
: e.split(t, r)
: []
)
}),
(Vn.spread = function (e, t) {
if ('function' != typeof e) throw new Te(r)
return (
(t = null == t ? 0 : yn(ys(t), 0)),
Jr(function (n) {
var r = n[t],
a = Aa(n, 0, t)
return r && Rt(a, r), wt(e, this, a)
})
)
}),
(Vn.tail = function (e) {
var t = null == e ? 0 : e.length
return t ? ra(e, 1, t) : []
}),
(Vn.take = function (e, t, r) {
return e && e.length ? ra(e, 0, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t) : []
}),
(Vn.takeRight = function (e, t, r) {
var a = null == e ? 0 : e.length
return a ? ra(e, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t, a) : []
}),
(Vn.takeRightWhile = function (e, t) {
return e && e.length ? fa(e, lo(t, 3), !1, !0) : []
}),
(Vn.takeWhile = function (e, t) {
return e && e.length ? fa(e, lo(t, 3)) : []
}),
(Vn.tap = function (e, t) {
return t(e), e
}),
(Vn.throttle = function (e, t, n) {
var a = !0,
o = !0
if ('function' != typeof e) throw new Te(r)
return (
as(n) &&
((a = 'leading' in n ? !!n.leading : a),
(o = 'trailing' in n ? !!n.trailing : o)),
Di(e, t, { leading: a, maxWait: t, trailing: o })
)
}),
(Vn.thru = gi),
(Vn.toArray = ms),
(Vn.toPairs = Hs),
(Vn.toPairsIn = Gs),
(Vn.toPath = function (e) {
return $i(e) ? Mt(e, Lo) : ds(e) ? [e] : Ta(Vo(xs(e)))
}),
(Vn.toPlainObject = As),
(Vn.transform = function (e, t, n) {
var r = $i(e),
a = r || Xi(e) || fs(e)
if (((t = lo(t, 4)), null == n)) {
var o = e && e.constructor
n = a ? (r ? new o() : []) : as(e) && ts(o) ? Ln(We(e)) : {}
}
return (
(a ? St : _r)(e, function (e, r, a) {
return t(n, e, r, a)
}),
n
)
}),
(Vn.unary = function (e) {
return Mi(e, 1)
}),
(Vn.union = oi),
(Vn.unionBy = ii),
(Vn.unionWith = si),
(Vn.uniq = function (e) {
return e && e.length ? ua(e) : []
}),
(Vn.uniqBy = function (e, t) {
return e && e.length ? ua(e, lo(t, 2)) : []
}),
(Vn.uniqWith = function (e, t) {
return (t = 'function' == typeof t ? t : n), e && e.length ? ua(e, n, t) : []
}),
(Vn.unset = function (e, t) {
return null == e || pa(e, t)
}),
(Vn.unzip = li),
(Vn.unzipWith = ci),
(Vn.update = function (e, t, n) {
return null == e ? e : da(e, t, ya(n))
}),
(Vn.updateWith = function (e, t, r, a) {
return (a = 'function' == typeof a ? a : n), null == e ? e : da(e, t, ya(r), a)
}),
(Vn.values = qs),
(Vn.valuesIn = function (e) {
return null == e ? [] : Jt(e, Fs(e))
}),
(Vn.without = ui),
(Vn.words = tl),
(Vn.wrap = function (e, t) {
return Li(ya(t), e)
}),
(Vn.xor = pi),
(Vn.xorBy = di),
(Vn.xorWith = fi),
(Vn.zip = hi),
(Vn.zipObject = function (e, t) {
return ma(e || [], t || [], tr)
}),
(Vn.zipObjectDeep = function (e, t) {
return ma(e || [], t || [], Zr)
}),
(Vn.zipWith = vi),
(Vn.entries = Hs),
(Vn.entriesIn = Gs),
(Vn.extend = ks),
(Vn.extendWith = Ss),
pl(Vn, Vn),
(Vn.add = Al),
(Vn.attempt = nl),
(Vn.camelCase = Us),
(Vn.capitalize = Ws),
(Vn.ceil = xl),
(Vn.clamp = function (e, t, r) {
return (
r === n && ((r = t), (t = n)),
r !== n && (r = (r = _s(r)) == r ? r : 0),
t !== n && (t = (t = _s(t)) == t ? t : 0),
sr(_s(e), t, r)
)
}),
(Vn.clone = function (e) {
return lr(e, 4)
}),
(Vn.cloneDeep = function (e) {
return lr(e, 5)
}),
(Vn.cloneDeepWith = function (e, t) {
return lr(e, 5, (t = 'function' == typeof t ? t : n))
}),
(Vn.cloneWith = function (e, t) {
return lr(e, 4, (t = 'function' == typeof t ? t : n))
}),
(Vn.conformsTo = function (e, t) {
return null == t || cr(e, t, Ds(t))
}),
(Vn.deburr = Ks),
(Vn.defaultTo = function (e, t) {
return null == e || e != e ? t : e
}),
(Vn.divide = wl),
(Vn.endsWith = function (e, t, r) {
;(e = xs(e)), (t = ca(t))
var a = e.length,
o = (r = r === n ? a : sr(ys(r), 0, a))
return (r -= t.length) >= 0 && e.slice(r, o) == t
}),
(Vn.eq = qi),
(Vn.escape = function (e) {
return (e = xs(e)) && Y.test(e) ? e.replace(K, nn) : e
}),
(Vn.escapeRegExp = function (e) {
return (e = xs(e)) && re.test(e) ? e.replace(ne, '\\$&') : e
}),
(Vn.every = function (e, t, r) {
var a = $i(e) ? Pt : hr
return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
}),
(Vn.find = _i),
(Vn.findIndex = Ko),
(Vn.findKey = function (e, t) {
return Bt(e, lo(t, 3), _r)
}),
(Vn.findLast = Ai),
(Vn.findLastIndex = $o),
(Vn.findLastKey = function (e, t) {
return Bt(e, lo(t, 3), Ar)
}),
(Vn.floor = kl),
(Vn.forEach = xi),
(Vn.forEachRight = wi),
(Vn.forIn = function (e, t) {
return null == e ? e : yr(e, lo(t, 3), Fs)
}),
(Vn.forInRight = function (e, t) {
return null == e ? e : br(e, lo(t, 3), Fs)
}),
(Vn.forOwn = function (e, t) {
return e && _r(e, lo(t, 3))
}),
(Vn.forOwnRight = function (e, t) {
return e && Ar(e, lo(t, 3))
}),
(Vn.get = Is),
(Vn.gt = Ui),
(Vn.gte = Wi),
(Vn.has = function (e, t) {
return null != e && mo(e, t, Pr)
}),
(Vn.hasIn = Ms),
(Vn.head = Jo),
(Vn.identity = sl),
(Vn.includes = function (e, t, n, r) {
;(e = Ji(e) ? e : qs(e)), (n = n && !r ? ys(n) : 0)
var a = e.length
return (
n < 0 && (n = yn(a + n, 0)),
ps(e) ? n <= a && e.indexOf(t, n) > -1 : !!a && jt(e, t, n) > -1
)
}),
(Vn.indexOf = function (e, t, n) {
var r = null == e ? 0 : e.length
if (!r) return -1
var a = null == n ? 0 : ys(n)
return a < 0 && (a = yn(r + a, 0)), jt(e, t, a)
}),
(Vn.inRange = function (e, t, r) {
return (
(t = gs(t)),
r === n ? ((r = t), (t = 0)) : (r = gs(r)),
(function (e, t, n) {
return e >= bn(t, n) && e < yn(t, n)
})((e = _s(e)), t, r)
)
}),
(Vn.invoke = zs),
(Vn.isArguments = Ki),
(Vn.isArray = $i),
(Vn.isArrayBuffer = Yi),
(Vn.isArrayLike = Ji),
(Vn.isArrayLikeObject = Qi),
(Vn.isBoolean = function (e) {
return !0 === e || !1 === e || (os(e) && Sr(e) == y)
}),
(Vn.isBuffer = Xi),
(Vn.isDate = Zi),
(Vn.isElement = function (e) {
return os(e) && 1 === e.nodeType && !ls(e)
}),
(Vn.isEmpty = function (e) {
if (null == e) return !0
if (
Ji(e) &&
($i(e) ||
'string' == typeof e ||
'function' == typeof e.splice ||
Xi(e) ||
fs(e) ||
Ki(e))
)
return !e.length
var t = vo(e)
if (t == w || t == C) return !e.size
if (ko(e)) return !Fr(e).length
for (var n in e) if (De.call(e, n)) return !1
return !0
}),
(Vn.isEqual = function (e, t) {
return Rr(e, t)
}),
(Vn.isEqualWith = function (e, t, r) {
var a = (r = 'function' == typeof r ? r : n) ? r(e, t) : n
return a === n ? Rr(e, t, n, r) : !!a
}),
(Vn.isError = es),
(Vn.isFinite = function (e) {
return 'number' == typeof e && vn(e)
}),
(Vn.isFunction = ts),
(Vn.isInteger = ns),
(Vn.isLength = rs),
(Vn.isMap = is),
(Vn.isMatch = function (e, t) {
return e === t || Or(e, t, uo(t))
}),
(Vn.isMatchWith = function (e, t, r) {
return (r = 'function' == typeof r ? r : n), Or(e, t, uo(t), r)
}),
(Vn.isNaN = function (e) {
return ss(e) && e != +e
}),
(Vn.isNative = function (e) {
if (wo(e))
throw new we(
'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.'
)
return zr(e)
}),
(Vn.isNil = function (e) {
return null == e
}),
(Vn.isNull = function (e) {
return null === e
}),
(Vn.isNumber = ss),
(Vn.isObject = as),
(Vn.isObjectLike = os),
(Vn.isPlainObject = ls),
(Vn.isRegExp = cs),
(Vn.isSafeInteger = function (e) {
return ns(e) && e >= -9007199254740991 && e <= d
}),
(Vn.isSet = us),
(Vn.isString = ps),
(Vn.isSymbol = ds),
(Vn.isTypedArray = fs),
(Vn.isUndefined = function (e) {
return e === n
}),
(Vn.isWeakMap = function (e) {
return os(e) && vo(e) == M
}),
(Vn.isWeakSet = function (e) {
return os(e) && '[object WeakSet]' == Sr(e)
}),
(Vn.join = function (e, t) {
return null == e ? '' : mn.call(e, t)
}),
(Vn.kebabCase = $s),
(Vn.last = ei),
(Vn.lastIndexOf = function (e, t, r) {
var a = null == e ? 0 : e.length
if (!a) return -1
var o = a
return (
r !== n && (o = (o = ys(r)) < 0 ? yn(a + o, 0) : bn(o, a - 1)),
t == t
? (function (e, t, n) {
for (var r = n + 1; r--; ) if (e[r] === t) return r
return r
})(e, t, o)
: Nt(e, Lt, o, !0)
)
}),
(Vn.lowerCase = Ys),
(Vn.lowerFirst = Js),
(Vn.lt = hs),
(Vn.lte = vs),
(Vn.max = function (e) {
return e && e.length ? vr(e, sl, Er) : n
}),
(Vn.maxBy = function (e, t) {
return e && e.length ? vr(e, lo(t, 2), Er) : n
}),
(Vn.mean = function (e) {
return Ht(e, sl)
}),
(Vn.meanBy = function (e, t) {
return Ht(e, lo(t, 2))
}),
(Vn.min = function (e) {
return e && e.length ? vr(e, sl, Nr) : n
}),
(Vn.minBy = function (e, t) {
return e && e.length ? vr(e, lo(t, 2), Nr) : n
}),
(Vn.stubArray = bl),
(Vn.stubFalse = _l),
(Vn.stubObject = function () {
return {}
}),
(Vn.stubString = function () {
return ''
}),
(Vn.stubTrue = function () {
return !0
}),
(Vn.multiply = El),
(Vn.nth = function (e, t) {
return e && e.length ? Gr(e, ys(t)) : n
}),
(Vn.noConflict = function () {
return pt._ === this && (pt._ = Ve), this
}),
(Vn.noop = dl),
(Vn.now = Ii),
(Vn.pad = function (e, t, n) {
e = xs(e)
var r = (t = ys(t)) ? un(e) : 0
if (!t || r >= t) return e
var a = (t - r) / 2
return qa(mt(a), n) + e + qa(vt(a), n)
}),
(Vn.padEnd = function (e, t, n) {
e = xs(e)
var r = (t = ys(t)) ? un(e) : 0
return t && r < t ? e + qa(t - r, n) : e
}),
(Vn.padStart = function (e, t, n) {
e = xs(e)
var r = (t = ys(t)) ? un(e) : 0
return t && r < t ? qa(t - r, n) + e : e
}),
(Vn.parseInt = function (e, t, n) {
return (
n || null == t ? (t = 0) : t && (t = +t), An(xs(e).replace(ae, ''), t || 0)
)
}),
(Vn.random = function (e, t, r) {
if (
(r && 'boolean' != typeof r && _o(e, t, r) && (t = r = n),
r === n &&
('boolean' == typeof t
? ((r = t), (t = n))
: 'boolean' == typeof e && ((r = e), (e = n))),
e === n && t === n
? ((e = 0), (t = 1))
: ((e = gs(e)), t === n ? ((t = e), (e = 0)) : (t = gs(t))),
e > t)
) {
var a = e
;(e = t), (t = a)
}
if (r || e % 1 || t % 1) {
var o = xn()
return bn(e + o * (t - e + st('1e-' + ((o + '').length - 1))), t)
}
return $r(e, t)
}),
(Vn.reduce = function (e, t, n) {
var r = $i(e) ? Ot : Ut,
a = arguments.length < 3
return r(e, lo(t, 4), n, a, dr)
}),
(Vn.reduceRight = function (e, t, n) {
var r = $i(e) ? zt : Ut,
a = arguments.length < 3
return r(e, lo(t, 4), n, a, fr)
}),
(Vn.repeat = function (e, t, r) {
return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), Yr(xs(e), t)
}),
(Vn.replace = function () {
var e = arguments,
t = xs(e[0])
return e.length < 3 ? t : t.replace(e[1], e[2])
}),
(Vn.result = function (e, t, r) {
var a = -1,
o = (t = ba(t, e)).length
for (o || ((o = 1), (e = n)); ++a < o; ) {
var i = null == e ? n : e[Lo(t[a])]
i === n && ((a = o), (i = r)), (e = ts(i) ? i.call(e) : i)
}
return e
}),
(Vn.round = Pl),
(Vn.runInContext = e),
(Vn.sample = function (e) {
return ($i(e) ? Qn : Qr)(e)
}),
(Vn.size = function (e) {
if (null == e) return 0
if (Ji(e)) return ps(e) ? un(e) : e.length
var t = vo(e)
return t == w || t == C ? e.size : Fr(e).length
}),
(Vn.snakeCase = Qs),
(Vn.some = function (e, t, r) {
var a = $i(e) ? Dt : aa
return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
}),
(Vn.sortedIndex = function (e, t) {
return oa(e, t)
}),
(Vn.sortedIndexBy = function (e, t, n) {
return ia(e, t, lo(n, 2))
}),
(Vn.sortedIndexOf = function (e, t) {
var n = null == e ? 0 : e.length
if (n) {
var r = oa(e, t)
if (r < n && qi(e[r], t)) return r
}
return -1
}),
(Vn.sortedLastIndex = function (e, t) {
return oa(e, t, !0)
}),
(Vn.sortedLastIndexBy = function (e, t, n) {
return ia(e, t, lo(n, 2), !0)
}),
(Vn.sortedLastIndexOf = function (e, t) {
if (null == e ? 0 : e.length) {
var n = oa(e, t, !0) - 1
if (qi(e[n], t)) return n
}
return -1
}),
(Vn.startCase = Xs),
(Vn.startsWith = function (e, t, n) {
return (
(e = xs(e)),
(n = null == n ? 0 : sr(ys(n), 0, e.length)),
(t = ca(t)),
e.slice(n, n + t.length) == t
)
}),
(Vn.subtract = Cl),
(Vn.sum = function (e) {
return e && e.length ? Wt(e, sl) : 0
}),
(Vn.sumBy = function (e, t) {
return e && e.length ? Wt(e, lo(t, 2)) : 0
}),
(Vn.template = function (e, t, r) {
var a = Vn.templateSettings
r && _o(e, t, r) && (t = n), (e = xs(e)), (t = Ss({}, t, a, Xa))
var o,
i,
s = Ss({}, t.imports, a.imports, Xa),
l = Ds(s),
c = Jt(s, l),
u = 0,
p = t.interpolate || _e,
d = "__p += '",
f = Pe(
(t.escape || _e).source +
'|' +
p.source +
'|' +
(p === X ? de : _e).source +
'|' +
(t.evaluate || _e).source +
'|$',
'g'
),
h =
'//# sourceURL=' +
(De.call(t, 'sourceURL')
? (t.sourceURL + '').replace(/\s/g, ' ')
: 'lodash.templateSources[' + ++rt + ']') +
'\n'
e.replace(f, function (t, n, r, a, s, l) {
return (
r || (r = a),
(d += e.slice(u, l).replace(Ae, rn)),
n && ((o = !0), (d += "' +\n__e(" + n + ") +\n'")),
s && ((i = !0), (d += "';\n" + s + ";\n__p += '")),
r && (d += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"),
(u = l + t.length),
t
)
}),
(d += "';\n")
var v = De.call(t, 'variable') && t.variable
if (v) {
if (ue.test(v))
throw new we('Invalid `variable` option passed into `_.template`')
} else d = 'with (obj) {\n' + d + '\n}\n'
;(d = (i ? d.replace(G, '') : d).replace(q, '$1').replace(U, '$1;')),
(d =
'function(' +
(v || 'obj') +
') {\n' +
(v ? '' : 'obj || (obj = {});\n') +
"var __t, __p = ''" +
(o ? ', __e = _.escape' : '') +
(i
? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n"
: ';\n') +
d +
'return __p\n}')
var m = nl(function () {
return ke(l, h + 'return ' + d).apply(n, c)
})
if (((m.source = d), es(m))) throw m
return m
}),
(Vn.times = function (e, t) {
if ((e = ys(e)) < 1 || e > d) return []
var n = h,
r = bn(e, h)
;(t = lo(t)), (e -= h)
for (var a = Kt(r, t); ++n < e; ) t(n)
return a
}),
(Vn.toFinite = gs),
(Vn.toInteger = ys),
(Vn.toLength = bs),
(Vn.toLower = function (e) {
return xs(e).toLowerCase()
}),
(Vn.toNumber = _s),
(Vn.toSafeInteger = function (e) {
return e ? sr(ys(e), -9007199254740991, d) : 0 === e ? e : 0
}),
(Vn.toString = xs),
(Vn.toUpper = function (e) {
return xs(e).toUpperCase()
}),
(Vn.trim = function (e, t, r) {
if ((e = xs(e)) && (r || t === n)) return $t(e)
if (!e || !(t = ca(t))) return e
var a = pn(e),
o = pn(t)
return Aa(a, Xt(a, o), Zt(a, o) + 1).join('')
}),
(Vn.trimEnd = function (e, t, r) {
if ((e = xs(e)) && (r || t === n)) return e.slice(0, dn(e) + 1)
if (!e || !(t = ca(t))) return e
var a = pn(e)
return Aa(a, 0, Zt(a, pn(t)) + 1).join('')
}),
(Vn.trimStart = function (e, t, r) {
if ((e = xs(e)) && (r || t === n)) return e.replace(ae, '')
if (!e || !(t = ca(t))) return e
var a = pn(e)
return Aa(a, Xt(a, pn(t))).join('')
}),
(Vn.truncate = function (e, t) {
var r = 30,
a = '...'
if (as(t)) {
var o = 'separator' in t ? t.separator : o
;(r = 'length' in t ? ys(t.length) : r),
(a = 'omission' in t ? ca(t.omission) : a)
}
var i = (e = xs(e)).length
if (an(e)) {
var s = pn(e)
i = s.length
}
if (r >= i) return e
var l = r - un(a)
if (l < 1) return a
var c = s ? Aa(s, 0, l).join('') : e.slice(0, l)
if (o === n) return c + a
if ((s && (l += c.length - l), cs(o))) {
if (e.slice(l).search(o)) {
var u,
p = c
for (
o.global || (o = Pe(o.source, xs(fe.exec(o)) + 'g')), o.lastIndex = 0;
(u = o.exec(p));
)
var d = u.index
c = c.slice(0, d === n ? l : d)
}
} else if (e.indexOf(ca(o), l) != l) {
var f = c.lastIndexOf(o)
f > -1 && (c = c.slice(0, f))
}
return c + a
}),
(Vn.unescape = function (e) {
return (e = xs(e)) && $.test(e) ? e.replace(W, fn) : e
}),
(Vn.uniqueId = function (e) {
var t = ++Fe
return xs(e) + t
}),
(Vn.upperCase = Zs),
(Vn.upperFirst = el),
(Vn.each = xi),
(Vn.eachRight = wi),
(Vn.first = Jo),
pl(
Vn,
((Sl = {}),
_r(Vn, function (e, t) {
De.call(Vn.prototype, t) || (Sl[t] = e)
}),
Sl),
{ chain: !1 }
),
(Vn.VERSION = '2.4.0'),
St(
['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'],
function (e) {
Vn[e].placeholder = Vn
}
),
St(['drop', 'take'], function (e, t) {
;(qn.prototype[e] = function (r) {
r = r === n ? 1 : yn(ys(r), 0)
var a = this.__filtered__ && !t ? new qn(this) : this.clone()
return (
a.__filtered__
? (a.__takeCount__ = bn(r, a.__takeCount__))
: a.__views__.push({
size: bn(r, h),
type: e + (a.__dir__ < 0 ? 'Right' : '')
}),
a
)
}),
(qn.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
qn.prototype[e] = function (e) {
var t = this.clone()
return (
t.__iteratees__.push({ iteratee: lo(e, 3), type: n }),
(t.__filtered__ = t.__filtered__ || r),
t
)
}
}),
St(['head', 'last'], function (e, t) {
var n = 'take' + (t ? 'Right' : '')
qn.prototype[e] = function () {
return this[n](1).value()[0]
}
}),
St(['initial', 'tail'], function (e, t) {
var n = 'drop' + (t ? '' : 'Right')
qn.prototype[e] = function () {
return this.__filtered__ ? new qn(this) : this[n](1)
}
}),
(qn.prototype.compact = function () {
return this.filter(sl)
}),
(qn.prototype.find = function (e) {
return this.filter(e).head()
}),
(qn.prototype.findLast = function (e) {
return this.reverse().find(e)
}),
(qn.prototype.invokeMap = Jr(function (e, t) {
return 'function' == typeof e
? new qn(this)
: this.map(function (n) {
return Ir(n, e, t)
})
})),
(qn.prototype.reject = function (e) {
return this.filter(ji(lo(e)))
}),
(qn.prototype.slice = function (e, t) {
e = ys(e)
var r = this
return r.__filtered__ && (e > 0 || t < 0)
? new qn(r)
: (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)),
t !== n && (r = (t = ys(t)) < 0 ? r.dropRight(-t) : r.take(t - e)),
r)
}),
(qn.prototype.takeRightWhile = function (e) {
return this.reverse().takeWhile(e).reverse()
}),
(qn.prototype.toArray = function () {
return this.take(h)
}),
_r(qn.prototype, function (e, t) {
var r = /^(?:filter|find|map|reject)|While$/.test(t),
a = /^(?:head|last)$/.test(t),
o = Vn[a ? 'take' + ('last' == t ? 'Right' : '') : t],
i = a || /^find/.test(t)
o &&
(Vn.prototype[t] = function () {
var t = this.__wrapped__,
s = a ? [1] : arguments,
l = t instanceof qn,
c = s[0],
u = l || $i(t),
p = function (e) {
var t = o.apply(Vn, Rt([e], s))
return a && d ? t[0] : t
}
u && r && 'function' == typeof c && 1 != c.length && (l = u = !1)
var d = this.__chain__,
f = !!this.__actions__.length,
h = i && !d,
v = l && !f
if (!i && u) {
t = v ? t : new qn(this)
var m = e.apply(t, s)
return (
m.__actions__.push({ func: gi, args: [p], thisArg: n }), new Gn(m, d)
)
}
return h && v
? e.apply(this, s)
: ((m = this.thru(p)), h ? (a ? m.value()[0] : m.value()) : m)
})
}),
St(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function (e) {
var t = Ie[e],
n = /^(?:push|sort|unshift)$/.test(e) ? 'tap' : 'thru',
r = /^(?:pop|shift)$/.test(e)
Vn.prototype[e] = function () {
var e = arguments
if (r && !this.__chain__) {
var a = this.value()
return t.apply($i(a) ? a : [], e)
}
return this[n](function (n) {
return t.apply($i(n) ? n : [], e)
})
}
}),
_r(qn.prototype, function (e, t) {
var n = Vn[t]
if (n) {
var r = n.name + ''
De.call(Mn, r) || (Mn[r] = []), Mn[r].push({ name: t, func: n })
}
}),
(Mn[Va(n, 2).name] = [{ name: 'wrapper', func: n }]),
(qn.prototype.clone = function () {
var e = new qn(this.__wrapped__)
return (
(e.__actions__ = Ta(this.__actions__)),
(e.__dir__ = this.__dir__),
(e.__filtered__ = this.__filtered__),
(e.__iteratees__ = Ta(this.__iteratees__)),
(e.__takeCount__ = this.__takeCount__),
(e.__views__ = Ta(this.__views__)),
e
)
}),
(qn.prototype.reverse = function () {
if (this.__filtered__) {
var e = new qn(this)
;(e.__dir__ = -1), (e.__filtered__ = !0)
} else (e = this.clone()).__dir__ *= -1
return e
}),
(qn.prototype.value = function () {
var e = this.__wrapped__.value(),
t = this.__dir__,
n = $i(e),
r = t < 0,
a = n ? e.length : 0,
o = (function (e, t, n) {
var r = -1,
a = n.length
for (; ++r < a; ) {
var o = n[r],
i = o.size
switch (o.type) {
case 'drop':
e += i
break
case 'dropRight':
t -= i
break
case 'take':
t = bn(t, e + i)
break
case 'takeRight':
e = yn(e, t - i)
}
}
return { start: e, end: t }
})(0, a, this.__views__),
i = o.start,
s = o.end,
l = s - i,
c = r ? s : i - 1,
u = this.__iteratees__,
p = u.length,
d = 0,
f = bn(l, this.__takeCount__)
if (!n || (!r && a == l && f == l)) return ha(e, this.__actions__)
var h = []
e: for (; l-- && d < f; ) {
for (var v = -1, m = e[(c += t)]; ++v < p; ) {
var g = u[v],
y = g.iteratee,
b = g.type,
_ = y(m)
if (2 == b) m = _
else if (!_) {
if (1 == b) continue e
break e
}
}
h[d++] = m
}
return h
}),
(Vn.prototype.at = yi),
(Vn.prototype.chain = function () {
return mi(this)
}),
(Vn.prototype.commit = function () {
return new Gn(this.value(), this.__chain__)
}),
(Vn.prototype.next = function () {
this.__values__ === n && (this.__values__ = ms(this.value()))
var e = this.__index__ >= this.__values__.length
return { done: e, value: e ? n : this.__values__[this.__index__++] }
}),
(Vn.prototype.plant = function (e) {
for (var t, r = this; r instanceof Hn; ) {
var a = Go(r)
;(a.__index__ = 0), (a.__values__ = n), t ? (o.__wrapped__ = a) : (t = a)
var o = a
r = r.__wrapped__
}
return (o.__wrapped__ = e), t
}),
(Vn.prototype.reverse = function () {
var e = this.__wrapped__
if (e instanceof qn) {
var t = e
return (
this.__actions__.length && (t = new qn(this)),
(t = t.reverse()).__actions__.push({ func: gi, args: [ai], thisArg: n }),
new Gn(t, this.__chain__)
)
}
return this.thru(ai)
}),
(Vn.prototype.toJSON =
Vn.prototype.valueOf =
Vn.prototype.value =
function () {
return ha(this.__wrapped__, this.__actions__)
}),
(Vn.prototype.first = Vn.prototype.head),
et &&
(Vn.prototype[et] = function () {
return this
}),
Vn
)
})()
ft ? (((ft.exports = hn)._ = hn), (dt._ = hn)) : (pt._ = hn)
}.call(commonjsGlobal))
})(lodash, lodash.exports)
var _export_sfc = function (e, t) {
var n,
r = e.__vccOpts || e,
a = _createForOfIteratorHelper(t)
try {
for (a.s(); !(n = a.n()).done; ) {
var o = _slicedToArray(n.value, 2),
i = o[0],
s = o[1]
r[i] = s
}
} catch (l) {
a.e(l)
} finally {
a.f()
}
return r
},
_sfc_main = defineComponent({
props: {
animationData: {
type: Object,
default: function () {
return {}
}
},
animationLink: { type: String, default: '' },
loop: { type: [Boolean, Number], default: !0 },
autoPlay: { type: Boolean, default: !0 },
width: { type: [Number, String], default: '100%' },
height: { type: [Number, String], default: '100%' },
speed: { type: Number, default: 1 },
delay: { type: Number, default: 0 },
direction: { type: String, default: 'forward' },
pauseOnHover: { type: Boolean, default: !1 },
playOnHover: { type: Boolean, default: !1 },
backgroundColor: { type: String, default: 'transparent' },
pauseAnimation: { type: Boolean, default: !1 },
renderer: { type: String, default: 'svg' },
rendererSettings: {
type: Object,
default: function () {
return {}
}
}
},
emits: {
onComplete: null,
onLoopComplete: null,
onEnterFrame: null,
onSegmentStart: null,
onAnimationLoaded: null
},
setup: function (e, t) {
var n = t.emit,
r = ref(null),
a = ref(''),
o = 1,
i = (function () {
var t = _asyncToGenerator(
regeneratorRuntime.mark(function t(a) {
var i, s, l, c, u, p
return regeneratorRuntime.wrap(
function (t) {
for (;;)
switch ((t.prev = t.next)) {
case 0:
if (
((i = e.autoPlay),
e.playOnHover && (i = !1),
(s = {}),
!1 === lodash.exports.isEqual(e.animationData, {}) &&
(s = lodash.exports.cloneDeep(e.animationData)),
'' == e.animationLink)
) {
t.next = 19
break
}
return (t.prev = 5), (t.next = 8), fetch(e.animationLink)
case 8:
return (l = t.sent), (t.next = 11), l.json()
case 11:
;(c = t.sent), (s = c), (t.next = 19)
break
case 15:
return (
(t.prev = 15),
(t.t0 = t.catch(5)),
console.error(t.t0),
t.abrupt('return')
)
case 19:
'number' == typeof (u = e.loop) && u > 0 && (u -= 1),
e.delay > 0 && (i = !1),
(p = {
container: a,
renderer: e.renderer,
loop: u,
autoplay: i,
animationData: s
}),
!1 === lodash.exports.isEqual(e.rendererSettings, {}) &&
(p.rendererSettings = e.rendererSettings),
(r = Lottie.loadAnimation(p)),
setTimeout(function () {
;(i = e.autoPlay),
e.playOnHover ? r.pause() : i ? r.play() : r.pause(),
n('onAnimationLoaded')
}, e.delay),
r.setSpeed(e.speed),
'reverse' === e.direction && r.setDirection(-1),
'normal' === e.direction && r.setDirection(1),
(e.pauseAnimation || e.playOnHover) && r.pause(),
r.addEventListener('loopComplete', function () {
'alternate' === e.direction &&
(r.stop(), (o *= -1), r.setDirection(o), r.play()),
n('onLoopComplete')
}),
r.addEventListener('complete', function () {
n('onComplete')
}),
r.addEventListener('enterFrame', function () {
n('onEnterFrame')
}),
r.addEventListener('segmentStart', function () {
n('onSegmentStart')
})
case 34:
case 'end':
return t.stop()
}
},
t,
null,
[[5, 15]]
)
})
)
return function (e) {
return t.apply(this, arguments)
}
})(),
s = computed(function () {
var t = e.width,
n = e.height
return (
'number' == typeof e.width && (t = ''.concat(e.width, 'px')),
'number' == typeof e.height && (n = ''.concat(e.height, 'px')),
{
'--lottie-animation-container-width': t,
'--lottie-animation-container-height': n,
'--lottie-animation-container-background-color': e.backgroundColor
}
)
})
watch(
function () {
return e.pauseAnimation
},
function () {
;(e.pauseOnHover || e.playOnHover) && e.pauseAnimation
? console.error(
'If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover'
)
: r && (e.pauseAnimation ? r.pause() : r.play())
}
)
var l = function (e) {
for (
var t = '',
n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
r = n.length,
a = 0;
a < e;
a++
)
t += n.charAt(Math.floor(Math.random() * r))
return t
},
c = function (t) {
if (e.pauseOnHover && e.playOnHover)
throw new Error(
'You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.'
)
if ('' === e.animationLink && lodash.exports.isEqual(e.animationData, {}))
throw (
(console.log(
e.animationData,
'animationData',
e.animationLink,
'animationLink'
),
new Error('You must provide either animationLink or animationData'))
)
var n = setInterval(function () {
if (
(function (e) {
return null !== document.querySelector('[data-id="'.concat(e, '"]'))
})(t)
) {
clearInterval(n)
var e = document.querySelector('[data-id="'.concat(t, '" ]'))
e && i(e)
}
}, 0)
}
return (
onMounted(
_asyncToGenerator(
regeneratorRuntime.mark(function e() {
return regeneratorRuntime.wrap(function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
;(a.value = l(20)), c(a.value)
case 2:
case 'end':
return e.stop()
}
}, e)
})
)
),
{
elementid: a,
hoverEnded: function () {
r && e.pauseOnHover && r.play(), r && e.playOnHover && r.pause()
},
hoverStarted: function () {
r && e.pauseOnHover && r.pause(), r && e.playOnHover && r.play()
},
getCurrentStyle: s,
play: function () {
r && r.play()
},
pause: function () {
r && r.pause()
},
stop: function () {
r && r.stop()
},
destroy: function () {
r && r.destroy()
},
setSpeed: function () {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1
if (e <= 0) throw new Error('Speed must be greater than 0')
r && r.setSpeed(e)
},
setDirection: function (e) {
r &&
('forward' === e
? r.setDirection(1)
: 'reverse' === e && r.setDirection(-1))
},
goToAndStop: function (e) {
var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
r && r.goToAndStop(e, t)
},
goToAndPlay: function (e) {
var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
r && r.goToAndPlay(e, t)
},
playSegments: function (e) {
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
r && r.playSegments(e, t)
},
setSubFrame: function () {
var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
r && r.setSubframe(e)
},
getDuration: function () {
var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
if (r) return r.getDuration(e)
},
updateDocumentData: function (e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
r && r.renderer.elements[t].updateDocumentData(e)
}
}
)
}
}),
_hoisted_1 = ['data-id']
function _sfc_render(e, t, n, r, a, o) {
return (
openBlock(),
createElementBlock(
'div',
{
'data-id': e.elementid,
class: 'lottie-animation-container',
style: normalizeStyle(e.getCurrentStyle),
onMouseenter:
t[0] ||
(t[0] = function () {
return e.hoverStarted && e.hoverStarted.apply(e, arguments)
}),
onMouseleave:
t[1] ||
(t[1] = function () {
return e.hoverEnded && e.hoverEnded.apply(e, arguments)
})
},
null,
44,
_hoisted_1
)
)
}
var Vue3Lottie = exports('V', _export_sfc(_sfc_main, [['render', _sfc_render]]))
function install(e, t) {
var n = Object.assign({}, { name: 'Vue3Lottie' }, t)
e.component(''.concat(n.name), Vue3Lottie)
}
var plugin = exports('h', { version: '2.4.0', install: install }),
v = '5.7.1',
fr = 60,
ip = 0,
op = 49,
w = 180,
h = 180,
nm = '蚂蚁刷新',
ddd = 0,
assets = [
{
id: 'image_0',
w: 32,
h: 36,
u: '',
p: 'data:image/png;base64,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',
e: 1
},
{
id: 'image_1',
w: 104,
h: 103,
u: '',
p: 'data:image/png;base64,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',
e: 1
}
],
layers = [
{
ddd: 0,
ind: 1,
ty: 4,
nm: '形状图层 3',
parent: 7,
sr: 1,
ks: {
o: { a: 0, k: 100, ix: 11 },
r: { a: 0, k: 0, ix: 10 },
p: { a: 0, k: [50.466, 41.239, 0], ix: 2 },
a: { a: 0, k: [0, 0, 0], ix: 1 },
s: { a: 0, k: [-105.026, 97.953, 100], ix: 6 }
},
ao: 0,
shapes: [
{
ty: 'gr',
it: [
{
ind: 0,
ty: 'sh',
ix: 1,
ks: {
a: 1,
k: [
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 0,
s: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
],
e: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 8,
s: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
],
e: [
{
i: [
[0.741, 0.453],
[4.1, -0.475],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.842, -0.003],
[-0.624, 0.886],
[0.51, 1.203]
],
o: [
[-2.249, -1.375],
[-2.478, 0.287],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.428, 0.002],
[0.932, -1.324],
[-0.388, -0.916]
],
v: [
[28.76, -30.58],
[19.256, -31.863],
[13.493, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.958, -25.744],
[24.143, -21.524],
[28.831, -20.791],
[32.332, -22.209],
[32.606, -26.651]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 23,
s: [
{
i: [
[0.741, 0.453],
[4.1, -0.475],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.842, -0.003],
[-0.624, 0.886],
[0.51, 1.203]
],
o: [
[-2.249, -1.375],
[-2.478, 0.287],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.428, 0.002],
[0.932, -1.324],
[-0.388, -0.916]
],
v: [
[28.76, -30.58],
[19.256, -31.863],
[13.493, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.958, -25.744],
[24.143, -21.524],
[28.831, -20.791],
[32.332, -22.209],
[32.606, -26.651]
],
c: !0
}
],
e: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 31,
s: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
],
e: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 49,
s: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
],
e: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 57,
s: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
],
e: [
{
i: [
[0.674, 0.548],
[3.612, -0.078],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.802, 0.384],
[-0.624, 0.886],
[0.17, 1.003]
],
o: [
[-1.929, -1.568],
[-2.494, 0.054],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.183, -0.252],
[0.932, -1.324],
[-0.166, -0.981]
],
v: [
[29.831, -29.177],
[20.387, -31.48],
[13.731, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.72, -25.617],
[24.143, -21.524],
[28.712, -20.919],
[32.154, -22.464],
[32.546, -26.14]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 72,
s: [
{
i: [
[0.674, 0.548],
[3.612, -0.078],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.802, 0.384],
[-0.624, 0.886],
[0.17, 1.003]
],
o: [
[-1.929, -1.568],
[-2.494, 0.054],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.183, -0.252],
[0.932, -1.324],
[-0.166, -0.981]
],
v: [
[29.831, -29.177],
[20.387, -31.48],
[13.731, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.72, -25.617],
[24.143, -21.524],
[28.712, -20.919],
[32.154, -22.464],
[32.546, -26.14]
],
c: !0
}
],
e: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 80,
s: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
],
e: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
]
},
{ t: 98 }
],
ix: 2
},
nm: '路径 1',
mn: 'ADBE Vector Shape - Group',
hd: !1
},
{
ty: 'fl',
c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
o: { a: 0, k: 100, ix: 5 },
r: 1,
bm: 0,
nm: '填充 1',
mn: 'ADBE Vector Graphic - Fill',
hd: !1
},
{
ty: 'tr',
p: { a: 0, k: [-0.472, 0], ix: 2 },
a: { a: 0, k: [0, 0], ix: 1 },
s: { a: 0, k: [100, 100], ix: 3 },
r: { a: 0, k: 0, ix: 6 },
o: { a: 0, k: 100, ix: 7 },
sk: { a: 0, k: 0, ix: 4 },
sa: { a: 0, k: 0, ix: 5 },
nm: '变换'
}
],
nm: '形状 1',
np: 3,
cix: 2,
bm: 0,
ix: 1,
mn: 'ADBE Vector Group',
hd: !1
}
],
ip: 0,
op: 180,
st: 0,
cp: !0,
bm: 0
},
{
ddd: 0,
ind: 3,
ty: 4,
nm: '形状图层 1',
parent: 7,
sr: 1,
ks: {
o: { a: 0, k: 100, ix: 11 },
r: { a: 0, k: 0, ix: 10 },
p: { a: 0, k: [52.591, 41.239, 0], ix: 2 },
a: { a: 0, k: [0, 0, 0], ix: 1 },
s: { a: 0, k: [105.026, 97.953, 100], ix: 6 }
},
ao: 0,
shapes: [
{
ty: 'gr',
it: [
{
ind: 0,
ty: 'sh',
ix: 1,
ks: {
a: 1,
k: [
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 0,
s: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
],
e: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 8,
s: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
],
e: [
{
i: [
[0.741, 0.453],
[4.1, -0.475],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.842, -0.003],
[-0.624, 0.886],
[0.51, 1.203]
],
o: [
[-2.249, -1.375],
[-2.478, 0.287],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.428, 0.002],
[0.932, -1.324],
[-0.388, -0.916]
],
v: [
[28.76, -30.58],
[19.256, -31.863],
[13.493, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.958, -25.744],
[24.143, -21.524],
[28.831, -20.791],
[32.332, -22.209],
[32.606, -26.651]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 23,
s: [
{
i: [
[0.741, 0.453],
[4.1, -0.475],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.842, -0.003],
[-0.624, 0.886],
[0.51, 1.203]
],
o: [
[-2.249, -1.375],
[-2.478, 0.287],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.428, 0.002],
[0.932, -1.324],
[-0.388, -0.916]
],
v: [
[28.76, -30.58],
[19.256, -31.863],
[13.493, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.958, -25.744],
[24.143, -21.524],
[28.831, -20.791],
[32.332, -22.209],
[32.606, -26.651]
],
c: !0
}
],
e: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 31,
s: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
],
e: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 49,
s: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
],
e: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 57,
s: [
{
i: [
[0.552, 0.671],
[4.593, -0.166],
[1.963, -1.16],
[0.527, -1.054],
[-0.625, -1.25],
[0, 0],
[-2.529, 4.951],
[-1.42, -0.303],
[-0.948, -0.736],
[-2.533, 0.099],
[-0.821, 0.744],
[0.14, 1.068]
],
o: [
[-1.533, -1.865],
[-2.738, 0.099],
[-1.116, 0.66],
[-2.408, 4.812],
[0.625, 1.25],
[0, 0],
[0.871, -1.705],
[1.483, 0.317],
[1.09, 0.846],
[1.724, -0.067],
[0.495, -0.449],
[-0.137, -1.044]
],
v: [
[31.735, -32.494],
[20.905, -35.342],
[13.505, -33.516],
[10.977, -30.609],
[8.253, -20.384],
[10.887, -20.312],
[13.101, -29.31],
[17.12, -31.092],
[21.753, -27.258],
[28.068, -25.521],
[32.332, -27.154],
[32.815, -29.684]
],
c: !0
}
],
e: [
{
i: [
[0.674, 0.548],
[3.612, -0.078],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.802, 0.384],
[-0.624, 0.886],
[0.17, 1.003]
],
o: [
[-1.929, -1.568],
[-2.494, 0.054],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.183, -0.252],
[0.932, -1.324],
[-0.166, -0.981]
],
v: [
[29.831, -29.177],
[20.387, -31.48],
[13.731, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.72, -25.617],
[24.143, -21.524],
[28.712, -20.919],
[32.154, -22.464],
[32.546, -26.14]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 72,
s: [
{
i: [
[0.674, 0.548],
[3.612, -0.078],
[1.088, -0.742],
[0.711, -1.233],
[-0.922, -1.05],
[0, 0],
[-3.304, 4.605],
[-0.795, -2.012],
[-1.129, -0.407],
[-1.802, 0.384],
[-0.624, 0.886],
[0.17, 1.003]
],
o: [
[-1.929, -1.568],
[-2.494, 0.054],
[-1.205, 1.055],
[-1.197, 2.076],
[0.821, 0.935],
[0, 0],
[1.18, -1.645],
[0.899, 2.275],
[1.594, 0.576],
[1.183, -0.252],
[0.932, -1.324],
[-0.166, -0.981]
],
v: [
[29.831, -29.177],
[20.387, -31.48],
[13.731, -29.374],
[10.45, -25.672],
[8.432, -20.256],
[10.292, -20.376],
[14.283, -26.543],
[19.72, -25.617],
[24.143, -21.524],
[28.712, -20.919],
[32.154, -22.464],
[32.546, -26.14]
],
c: !0
}
],
e: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 80,
s: [
{
i: [
[0.789, 0.364],
[3.847, -1.112],
[1.569, -1.705],
[0.527, -1.054],
[-0.589, -1.267],
[0, 0],
[-2.888, 4.861],
[-1.357, -0.517],
[-1.474, -0.144],
[-1.91, 0.877],
[-0.187, 1.607],
[0.662, 0.764]
],
o: [
[-2.286, -1.054],
[-2.293, 0.663],
[-0.855, 0.929],
[-2.408, 4.812],
[0.643, 1.381],
[0, 0],
[0.906, -1.525],
[1.48, 0.563],
[1.393, 0.136],
[1.254, -0.576],
[0.077, -0.664],
[-0.647, -0.747]
],
v: [
[30.178, -34.211],
[19.85, -34.366],
[13.819, -30.865],
[11.179, -27.569],
[8.253, -20.384],
[10.411, -20.44],
[13.839, -27.233],
[19.034, -28.105],
[25.507, -25.889],
[31.366, -26.584],
[33.783, -29.741],
[33.003, -32.165]
],
c: !0
}
],
e: [
{
i: [
[0.648, 0.617],
[3.423, -2.186],
[1.457, -2.142],
[0.427, -1.424],
[-0.625, -1.25],
[0, 0],
[-0.875, 5.125],
[-1.517, 0.46],
[-1.179, 0.129],
[-1.14, 0.694],
[-0.834, 0.893],
[-0.089, 1.662]
],
o: [
[-1.804, -1.718],
[-2.04, 1.303],
[-0.828, 1.218],
[-1.545, 5.154],
[0.625, 1.25],
[0, 0],
[0.433, -2.536],
[1.548, -0.47],
[1.462, -0.161],
[0.748, -0.456],
[0.308, -0.329],
[0.077, -1.439]
],
v: [
[25.858, -46.958],
[16.996, -45.772],
[11.534, -40.502],
[9.376, -36.075],
[8.125, -20.5],
[10.375, -20.312],
[10.798, -31.05],
[13.243, -35.902],
[19.625, -36.58],
[23.37, -37.717],
[25.699, -39.7],
[26.822, -43.263]
],
c: !0
}
]
},
{ t: 98 }
],
ix: 2
},
nm: '路径 1',
mn: 'ADBE Vector Shape - Group',
hd: !1
},
{
ty: 'fl',
c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
o: { a: 0, k: 100, ix: 5 },
r: 1,
bm: 0,
nm: '填充 1',
mn: 'ADBE Vector Graphic - Fill',
hd: !1
},
{
ty: 'tr',
p: { a: 0, k: [-0.472, 0], ix: 2 },
a: { a: 0, k: [0, 0], ix: 1 },
s: { a: 0, k: [100, 100], ix: 3 },
r: { a: 0, k: 0, ix: 6 },
o: { a: 0, k: 100, ix: 7 },
sk: { a: 0, k: 0, ix: 4 },
sa: { a: 0, k: 0, ix: 5 },
nm: '变换'
}
],
nm: '形状 1',
np: 3,
cix: 2,
bm: 0,
ix: 1,
mn: 'ADBE Vector Group',
hd: !1
}
],
ip: 0,
op: 180,
st: 0,
cp: !0,
bm: 0
},
{
ddd: 0,
ind: 4,
ty: 2,
nm: '嘴巴2.png',
cl: 'png',
parent: 7,
refId: 'image_0',
sr: 1,
ks: {
o: { a: 0, k: 100, ix: 11 },
r: { a: 0, k: 0, ix: 10 },
p: { a: 0, k: [51, 82.5, 0], ix: 2 },
a: { a: 0, k: [16, 18, 0], ix: 1 },
s: {
a: 1,
k: [
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 0,
s: [130, 100, 100],
e: [100, 70, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 23,
s: [100, 70, 100],
e: [130, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 49,
s: [130, 100, 100],
e: [100, 70, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 72,
s: [100, 70, 100],
e: [130, 100, 100]
},
{ t: 98 }
],
ix: 6
}
},
ao: 0,
ip: 0,
op: 180,
st: 0,
cp: !1,
bm: 0
},
{
ddd: 0,
ind: 7,
ty: 2,
nm: '脸蛋2.png',
cl: 'png',
refId: 'image_1',
sr: 1,
ks: {
o: { a: 0, k: 100, ix: 11 },
r: { a: 0, k: 0, ix: 10 },
p: {
a: 1,
k: [
{
i: { x: 0.57, y: 1 },
o: { x: 0.449, y: 0 },
t: 0,
s: [90, 158, 0],
e: [90, 110, 0],
to: [0, -8, 0],
ti: [0, 8.833, 0]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 17,
s: [90, 110, 0],
e: [90, 105, 0],
to: [0, -8.833, 0],
ti: [0, -8, 0]
},
{
i: { x: 0.597, y: 1 },
o: { x: 0.432, y: 0 },
t: 23,
s: [90, 105, 0],
e: [90, 158, 0],
to: [0, 8, 0],
ti: [0, -8.833, 0]
},
{
i: { x: 0.833, y: 0.833 },
o: { x: 0.167, y: 0.167 },
t: 41,
s: [90, 158, 0],
e: [90, 158, 0],
to: [0, 0, 0],
ti: [0, 0, 0]
},
{
i: { x: 0.571, y: 1 },
o: { x: 0.449, y: 0 },
t: 49,
s: [90, 158, 0],
e: [90, 110, 0],
to: [0, -8, 0],
ti: [0, 8.833, 0]
},
{
i: { x: 0.667, y: 1 },
o: { x: 0.333, y: 0 },
t: 66,
s: [90, 110, 0],
e: [90, 105, 0],
to: [0, -8.833, 0],
ti: [0, -8, 0]
},
{
i: { x: 0.619, y: 1 },
o: { x: 0.432, y: 0 },
t: 72,
s: [90, 105, 0],
e: [90, 158, 0],
to: [0, 8, 0],
ti: [0, -8.833, 0]
},
{
i: { x: 0.833, y: 0.833 },
o: { x: 0.167, y: 0.167 },
t: 90,
s: [90, 158, 0],
e: [90, 158, 0],
to: [0, 0, 0],
ti: [0, 0, 0]
},
{ t: 98 }
],
ix: 2
},
a: { a: 0, k: [52, 100, 0], ix: 1 },
s: {
a: 1,
k: [
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 0,
s: [100, 85, 100],
e: [93, 110, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 8,
s: [93, 110, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 17,
s: [100, 100, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 23,
s: [100, 100, 100],
e: [93, 110, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 31,
s: [93, 110, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
t: 41,
s: [100, 100, 100],
e: [100, 85, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 49,
s: [100, 85, 100],
e: [93, 110, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 57,
s: [93, 110, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 66,
s: [100, 100, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 72,
s: [100, 100, 100],
e: [93, 110, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
t: 80,
s: [93, 110, 100],
e: [100, 100, 100]
},
{
i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
t: 90,
s: [100, 100, 100],
e: [100, 85, 100]
},
{ t: 98 }
],
ix: 6
}
},
ao: 0,
ip: 0,
op: 180,
st: 0,
cp: !1,
bm: 0
},
{
ddd: 0,
ind: 8,
ty: 4,
nm: '投影 1',
sr: 1,
ks: {
o: { a: 0, k: 100, ix: 11 },
r: { a: 0, k: 0, ix: 10 },
p: { a: 0, k: [90, 160.5, 0], ix: 2 },
a: { a: 0, k: [0, 0, 0], ix: 1 },
s: {
a: 1,
k: [
{
i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
t: 0,
s: [100, 100, 100],
e: [50, 50, 100]
},
{
i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
t: 23,
s: [50, 50, 100],
e: [100, 100, 100]
},
{ t: 49 }
],
ix: 6
}
},
ao: 0,
shapes: [
{
ty: 'gr',
it: [
{
d: 1,
ty: 'el',
s: { a: 0, k: [60, 9], ix: 2 },
p: { a: 0, k: [0, 0], ix: 3 },
nm: '椭圆路径 1',
mn: 'ADBE Vector Shape - Ellipse',
hd: !1
},
{
ty: 'fl',
c: { a: 0, k: [0.949019610882, 0.839215695858, 0.72549021244, 1], ix: 4 },
o: { a: 0, k: 100, ix: 5 },
r: 1,
bm: 0,
nm: '填充 1',
mn: 'ADBE Vector Graphic - Fill',
hd: !1
},
{
ty: 'tr',
p: { a: 0, k: [0, 0], ix: 2 },
a: { a: 0, k: [0, 0], ix: 1 },
s: { a: 0, k: [100, 100], ix: 3 },
r: { a: 0, k: 0, ix: 6 },
o: { a: 0, k: 100, ix: 7 },
sk: { a: 0, k: 0, ix: 4 },
sa: { a: 0, k: 0, ix: 5 },
nm: '变换'
}
],
nm: '椭圆形',
np: 2,
cix: 2,
bm: 0,
ix: 1,
mn: 'ADBE Vector Group',
hd: !1
}
],
ip: 0,
op: 180,
st: 0,
cp: !0,
bm: 0
}
],
markers = [],
AstronautJSON = exports('A', {
v: v,
fr: fr,
ip: ip,
op: op,
w: w,
h: h,
nm: nm,
ddd: ddd,
assets: assets,
layers: layers,
markers: markers
}),
eventemitter3 = { exports: {} }
!(function (e) {
var t = Object.prototype.hasOwnProperty,
n = '~'
function r() {}
function a(e, t, n) {
;(this.fn = e), (this.context = t), (this.once = n || !1)
}
function o(e, t, r, o, i) {
if ('function' != typeof r) throw new TypeError('The listener must be a function')
var s = new a(r, o || e, i),
l = n ? n + t : t
return (
e._events[l]
? e._events[l].fn
? (e._events[l] = [e._events[l], s])
: e._events[l].push(s)
: ((e._events[l] = s), e._eventsCount++),
e
)
}
function i(e, t) {
0 == --e._eventsCount ? (e._events = new r()) : delete e._events[t]
}
function s() {
;(this._events = new r()), (this._eventsCount = 0)
}
Object.create && ((r.prototype = Object.create(null)), new r().__proto__ || (n = !1)),
(s.prototype.eventNames = function () {
var e,
r,
a = []
if (0 === this._eventsCount) return a
for (r in (e = this._events)) t.call(e, r) && a.push(n ? r.slice(1) : r)
return Object.getOwnPropertySymbols ? a.concat(Object.getOwnPropertySymbols(e)) : a
}),
(s.prototype.listeners = function (e) {
var t = n ? n + e : e,
r = this._events[t]
if (!r) return []
if (r.fn) return [r.fn]
for (var a = 0, o = r.length, i = new Array(o); a < o; a++) i[a] = r[a].fn
return i
}),
(s.prototype.listenerCount = function (e) {
var t = n ? n + e : e,
r = this._events[t]
return r ? (r.fn ? 1 : r.length) : 0
}),
(s.prototype.emit = function (e, t, r, a, o, i) {
var s = n ? n + e : e
if (!this._events[s]) return !1
var l,
c,
u = this._events[s],
p = arguments.length
if (u.fn) {
switch ((u.once && this.removeListener(e, u.fn, void 0, !0), p)) {
case 1:
return u.fn.call(u.context), !0
case 2:
return u.fn.call(u.context, t), !0
case 3:
return u.fn.call(u.context, t, r), !0
case 4:
return u.fn.call(u.context, t, r, a), !0
case 5:
return u.fn.call(u.context, t, r, a, o), !0
case 6:
return u.fn.call(u.context, t, r, a, o, i), !0
}
for (c = 1, l = new Array(p - 1); c < p; c++) l[c - 1] = arguments[c]
u.fn.apply(u.context, l)
} else {
var d,
f = u.length
for (c = 0; c < f; c++)
switch ((u[c].once && this.removeListener(e, u[c].fn, void 0, !0), p)) {
case 1:
u[c].fn.call(u[c].context)
break
case 2:
u[c].fn.call(u[c].context, t)
break
case 3:
u[c].fn.call(u[c].context, t, r)
break
case 4:
u[c].fn.call(u[c].context, t, r, a)
break
default:
if (!l)
for (d = 1, l = new Array(p - 1); d < p; d++) l[d - 1] = arguments[d]
u[c].fn.apply(u[c].context, l)
}
}
return !0
}),
(s.prototype.on = function (e, t, n) {
return o(this, e, t, n, !1)
}),
(s.prototype.once = function (e, t, n) {
return o(this, e, t, n, !0)
}),
(s.prototype.removeListener = function (e, t, r, a) {
var o = n ? n + e : e
if (!this._events[o]) return this
if (!t) return i(this, o), this
var s = this._events[o]
if (s.fn) s.fn !== t || (a && !s.once) || (r && s.context !== r) || i(this, o)
else {
for (var l = 0, c = [], u = s.length; l < u; l++)
(s[l].fn !== t || (a && !s[l].once) || (r && s[l].context !== r)) &&
c.push(s[l])
c.length ? (this._events[o] = 1 === c.length ? c[0] : c) : i(this, o)
}
return this
}),
(s.prototype.removeAllListeners = function (e) {
var t
return (
e
? ((t = n ? n + e : e), this._events[t] && i(this, t))
: ((this._events = new r()), (this._eventsCount = 0)),
this
)
}),
(s.prototype.off = s.prototype.removeListener),
(s.prototype.addListener = s.prototype.on),
(s.prefixed = n),
(s.EventEmitter = s),
(e.exports = s)
})(eventemitter3)
var EventEmitter = exports('dk', eventemitter3.exports),
baseEvent = exports('b', new EventEmitter()),
dayjs_min = { exports: {} }
!(function (e, t) {
e.exports = (function () {
var e = 1e3,
t = 6e4,
n = 36e5,
r = 'millisecond',
a = 'second',
o = 'minute',
i = 'hour',
s = 'day',
l = 'week',
c = 'month',
u = 'quarter',
p = 'year',
d = 'date',
f = 'Invalid Date',
h =
/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
v =
/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
m = {
name: 'en',
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
months:
'January_February_March_April_May_June_July_August_September_October_November_December'.split(
'_'
)
},
g = function (e, t, n) {
var r = String(e)
return !r || r.length >= t ? e : '' + Array(t + 1 - r.length).join(n) + e
},
y = {
s: g,
z: function (e) {
var t = -e.utcOffset(),
n = Math.abs(t),
r = Math.floor(n / 60),
a = n % 60
return (t <= 0 ? '+' : '-') + g(r, 2, '0') + ':' + g(a, 2, '0')
},
m: function e(t, n) {
if (t.date() < n.date()) return -e(n, t)
var r = 12 * (n.year() - t.year()) + (n.month() - t.month()),
a = t.clone().add(r, c),
o = n - a < 0,
i = t.clone().add(r + (o ? -1 : 1), c)
return +(-(r + (n - a) / (o ? a - i : i - a)) || 0)
},
a: function (e) {
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
},
p: function (e) {
return (
{ M: c, y: p, w: l, d: s, D: d, h: i, m: o, s: a, ms: r, Q: u }[e] ||
String(e || '')
.toLowerCase()
.replace(/s$/, '')
)
},
u: function (e) {
return void 0 === e
}
},
b = 'en',
_ = {}
_[b] = m
var A = function (e) {
return e instanceof S
},
x = function e(t, n, r) {
var a
if (!t) return b
if ('string' == typeof t) {
var o = t.toLowerCase()
_[o] && (a = o), n && ((_[o] = n), (a = o))
var i = t.split('-')
if (!a && i.length > 1) return e(i[0])
} else {
var s = t.name
;(_[s] = t), (a = s)
}
return !r && a && (b = a), a || (!r && b)
},
w = function (e, t) {
if (A(e)) return e.clone()
var n = 'object' == _typeof2(t) ? t : {}
return (n.date = e), (n.args = arguments), new S(n)
},
k = y
;(k.l = x),
(k.i = A),
(k.w = function (e, t) {
return w(e, { locale: t.$L, utc: t.$u, x: t.$x, $offset: t.$offset })
})
var S = (function () {
function m(e) {
;(this.$L = x(e.locale, null, !0)), this.parse(e)
}
var g = m.prototype
return (
(g.parse = function (e) {
;(this.$d = (function (e) {
var t = e.date,
n = e.utc
if (null === t) return new Date(NaN)
if (k.u(t)) return new Date()
if (t instanceof Date) return new Date(t)
if ('string' == typeof t && !/Z$/i.test(t)) {
var r = t.match(h)
if (r) {
var a = r[2] - 1 || 0,
o = (r[7] || '0').substring(0, 3)
return n
? new Date(
Date.UTC(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
)
: new Date(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
}
}
return new Date(t)
})(e)),
(this.$x = e.x || {}),
this.init()
}),
(g.init = function () {
var e = this.$d
;(this.$y = e.getFullYear()),
(this.$M = e.getMonth()),
(this.$D = e.getDate()),
(this.$W = e.getDay()),
(this.$H = e.getHours()),
(this.$m = e.getMinutes()),
(this.$s = e.getSeconds()),
(this.$ms = e.getMilliseconds())
}),
(g.$utils = function () {
return k
}),
(g.isValid = function () {
return !(this.$d.toString() === f)
}),
(g.isSame = function (e, t) {
var n = w(e)
return this.startOf(t) <= n && n <= this.endOf(t)
}),
(g.isAfter = function (e, t) {
return w(e) < this.startOf(t)
}),
(g.isBefore = function (e, t) {
return this.endOf(t) < w(e)
}),
(g.$g = function (e, t, n) {
return k.u(e) ? this[t] : this.set(n, e)
}),
(g.unix = function () {
return Math.floor(this.valueOf() / 1e3)
}),
(g.valueOf = function () {
return this.$d.getTime()
}),
(g.startOf = function (e, t) {
var n = this,
r = !!k.u(t) || t,
u = k.p(e),
f = function (e, t) {
var a = k.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n)
return r ? a : a.endOf(s)
},
h = function (e, t) {
return k.w(
n
.toDate()
[e].apply(
n.toDate('s'),
(r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(t)
),
n
)
},
v = this.$W,
m = this.$M,
g = this.$D,
y = 'set' + (this.$u ? 'UTC' : '')
switch (u) {
case p:
return r ? f(1, 0) : f(31, 11)
case c:
return r ? f(1, m) : f(0, m + 1)
case l:
var b = this.$locale().weekStart || 0,
_ = (v < b ? v + 7 : v) - b
return f(r ? g - _ : g + (6 - _), m)
case s:
case d:
return h(y + 'Hours', 0)
case i:
return h(y + 'Minutes', 1)
case o:
return h(y + 'Seconds', 2)
case a:
return h(y + 'Milliseconds', 3)
default:
return this.clone()
}
}),
(g.endOf = function (e) {
return this.startOf(e, !1)
}),
(g.$set = function (e, t) {
var n,
l = k.p(e),
u = 'set' + (this.$u ? 'UTC' : ''),
f = ((n = {}),
(n[s] = u + 'Date'),
(n[d] = u + 'Date'),
(n[c] = u + 'Month'),
(n[p] = u + 'FullYear'),
(n[i] = u + 'Hours'),
(n[o] = u + 'Minutes'),
(n[a] = u + 'Seconds'),
(n[r] = u + 'Milliseconds'),
n)[l],
h = l === s ? this.$D + (t - this.$W) : t
if (l === c || l === p) {
var v = this.clone().set(d, 1)
v.$d[f](h),
v.init(),
(this.$d = v.set(d, Math.min(this.$D, v.daysInMonth())).$d)
} else f && this.$d[f](h)
return this.init(), this
}),
(g.set = function (e, t) {
return this.clone().$set(e, t)
}),
(g.get = function (e) {
return this[k.p(e)]()
}),
(g.add = function (r, u) {
var d,
f = this
r = Number(r)
var h = k.p(u),
v = function (e) {
var t = w(f)
return k.w(t.date(t.date() + Math.round(e * r)), f)
}
if (h === c) return this.set(c, this.$M + r)
if (h === p) return this.set(p, this.$y + r)
if (h === s) return v(1)
if (h === l) return v(7)
var m = ((d = {}), (d[o] = t), (d[i] = n), (d[a] = e), d)[h] || 1,
g = this.$d.getTime() + r * m
return k.w(g, this)
}),
(g.subtract = function (e, t) {
return this.add(-1 * e, t)
}),
(g.format = function (e) {
var t = this,
n = this.$locale()
if (!this.isValid()) return n.invalidDate || f
var r = e || 'YYYY-MM-DDTHH:mm:ssZ',
a = k.z(this),
o = this.$H,
i = this.$m,
s = this.$M,
l = n.weekdays,
c = n.months,
u = function (e, n, a, o) {
return (e && (e[n] || e(t, r))) || a[n].slice(0, o)
},
p = function (e) {
return k.s(o % 12 || 12, e, '0')
},
d =
n.meridiem ||
function (e, t, n) {
var r = e < 12 ? 'AM' : 'PM'
return n ? r.toLowerCase() : r
},
h = {
YY: String(this.$y).slice(-2),
YYYY: this.$y,
M: s + 1,
MM: k.s(s + 1, 2, '0'),
MMM: u(n.monthsShort, s, c, 3),
MMMM: u(c, s),
D: this.$D,
DD: k.s(this.$D, 2, '0'),
d: String(this.$W),
dd: u(n.weekdaysMin, this.$W, l, 2),
ddd: u(n.weekdaysShort, this.$W, l, 3),
dddd: l[this.$W],
H: String(o),
HH: k.s(o, 2, '0'),
h: p(1),
hh: p(2),
a: d(o, i, !0),
A: d(o, i, !1),
m: String(i),
mm: k.s(i, 2, '0'),
s: String(this.$s),
ss: k.s(this.$s, 2, '0'),
SSS: k.s(this.$ms, 3, '0'),
Z: a
}
return r.replace(v, function (e, t) {
return t || h[e] || a.replace(':', '')
})
}),
(g.utcOffset = function () {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15)
}),
(g.diff = function (r, d, f) {
var h,
v = k.p(d),
m = w(r),
g = (m.utcOffset() - this.utcOffset()) * t,
y = this - m,
b = k.m(this, m)
return (
(b =
((h = {}),
(h[p] = b / 12),
(h[c] = b),
(h[u] = b / 3),
(h[l] = (y - g) / 6048e5),
(h[s] = (y - g) / 864e5),
(h[i] = y / n),
(h[o] = y / t),
(h[a] = y / e),
h)[v] || y),
f ? b : k.a(b)
)
}),
(g.daysInMonth = function () {
return this.endOf(c).$D
}),
(g.$locale = function () {
return _[this.$L]
}),
(g.locale = function (e, t) {
if (!e) return this.$L
var n = this.clone(),
r = x(e, t, !0)
return r && (n.$L = r), n
}),
(g.clone = function () {
return k.w(this.$d, this)
}),
(g.toDate = function () {
return new Date(this.valueOf())
}),
(g.toJSON = function () {
return this.isValid() ? this.toISOString() : null
}),
(g.toISOString = function () {
return this.$d.toISOString()
}),
(g.toString = function () {
return this.$d.toUTCString()
}),
m
)
})(),
E = S.prototype
return (
(w.prototype = E),
[
['$ms', r],
['$s', a],
['$m', o],
['$H', i],
['$W', s],
['$M', c],
['$y', p],
['$D', d]
].forEach(function (e) {
E[e[1]] = function (t) {
return this.$g(t, e[0], e[1])
}
}),
(w.extend = function (e, t) {
return e.$i || (e(t, S, w), (e.$i = !0)), w
}),
(w.locale = x),
(w.isDayjs = A),
(w.unix = function (e) {
return w(1e3 * e)
}),
(w.en = _[b]),
(w.Ls = _),
(w.p = {}),
w
)
})()
})(dayjs_min)
var dayjs = exports('ah', dayjs_min.exports),
numeral$1 = { exports: {} }
/*! @preserve
* numeral.js
* version : 2.0.6
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/
!(function (e) {
!(function (t, n) {
e.exports ? (e.exports = n()) : (t.numeral = n())
})(commonjsGlobal$1, function () {
var e,
t,
n,
r,
a,
o = {},
i = {},
s = {
currentLocale: 'en',
zeroFormat: null,
nullFormat: null,
defaultFormat: '0,0',
scalePercentBy100: !0
},
l = {
currentLocale: s.currentLocale,
zeroFormat: s.zeroFormat,
nullFormat: s.nullFormat,
defaultFormat: s.defaultFormat,
scalePercentBy100: s.scalePercentBy100
}
function c(e, t) {
;(this._input = e), (this._value = t)
}
return (
((e = function (n) {
var r, a, i, s
if (e.isNumeral(n)) r = n.value()
else if (0 === n || void 0 === n) r = 0
else if (null === n || t.isNaN(n)) r = null
else if ('string' == typeof n)
if (l.zeroFormat && n === l.zeroFormat) r = 0
else if (
(l.nullFormat && n === l.nullFormat) ||
!n.replace(/[^0-9]+/g, '').length
)
r = null
else {
for (a in o)
if (
(s =
'function' == typeof o[a].regexps.unformat
? o[a].regexps.unformat()
: o[a].regexps.unformat) &&
n.match(s)
) {
i = o[a].unformat
break
}
r = (i = i || e._.stringToNumber)(n)
}
else r = Number(n) || null
return new c(n, r)
}).version = '2.0.6'),
(e.isNumeral = function (e) {
return e instanceof c
}),
(e._ = t =
{
numberToFormat: function (t, n, r) {
var a,
o,
s,
l,
c,
u,
p,
d,
f = i[e.options.currentLocale],
h = !1,
v = !1,
m = '',
g = 1e12,
y = 1e9,
b = 1e6,
_ = '',
A = !1
if (
((t = t || 0),
(s = Math.abs(t)),
e._.includes(n, '(')
? ((h = !0), (n = n.replace(/[\(|\)]/g, '')))
: (e._.includes(n, '+') || e._.includes(n, '-')) &&
((u = e._.includes(n, '+')
? n.indexOf('+')
: t < 0
? n.indexOf('-')
: -1),
(n = n.replace(/[\+|\-]/g, ''))),
e._.includes(n, 'a') &&
((o = !!(o = n.match(/a(k|m|b|t)?/)) && o[1]),
e._.includes(n, ' a') && (m = ' '),
(n = n.replace(new RegExp(m + 'a[kmbt]?'), '')),
(s >= g && !o) || 't' === o
? ((m += f.abbreviations.trillion), (t /= g))
: (s < g && s >= y && !o) || 'b' === o
? ((m += f.abbreviations.billion), (t /= y))
: (s < y && s >= b && !o) || 'm' === o
? ((m += f.abbreviations.million), (t /= b))
: ((s < b && s >= 1e3 && !o) || 'k' === o) &&
((m += f.abbreviations.thousand), (t /= 1e3))),
e._.includes(n, '[.]') && ((v = !0), (n = n.replace('[.]', '.'))),
(l = t.toString().split('.')[0]),
(c = n.split('.')[1]),
(p = n.indexOf(',')),
(a = (n.split('.')[0].split(',')[0].match(/0/g) || []).length),
c
? (e._.includes(c, '[')
? ((c = (c = c.replace(']', '')).split('[')),
(_ = e._.toFixed(t, c[0].length + c[1].length, r, c[1].length)))
: (_ = e._.toFixed(t, c.length, r)),
(l = _.split('.')[0]),
(_ = e._.includes(_, '.')
? f.delimiters.decimal + _.split('.')[1]
: ''),
v && 0 === Number(_.slice(1)) && (_ = ''))
: (l = e._.toFixed(t, 0, r)),
m && !o && Number(l) >= 1e3 && m !== f.abbreviations.trillion)
)
switch (((l = String(Number(l) / 1e3)), m)) {
case f.abbreviations.thousand:
m = f.abbreviations.million
break
case f.abbreviations.million:
m = f.abbreviations.billion
break
case f.abbreviations.billion:
m = f.abbreviations.trillion
}
if ((e._.includes(l, '-') && ((l = l.slice(1)), (A = !0)), l.length < a))
for (var x = a - l.length; x > 0; x--) l = '0' + l
return (
p > -1 &&
(l = l
.toString()
.replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1' + f.delimiters.thousands)),
0 === n.indexOf('.') && (l = ''),
(d = l + _ + (m || '')),
h
? (d = (h && A ? '(' : '') + d + (h && A ? ')' : ''))
: u >= 0
? (d = 0 === u ? (A ? '-' : '+') + d : d + (A ? '-' : '+'))
: A && (d = '-' + d),
d
)
},
stringToNumber: function (e) {
var t,
n,
r,
a = i[l.currentLocale],
o = e,
s = { thousand: 3, million: 6, billion: 9, trillion: 12 }
if (l.zeroFormat && e === l.zeroFormat) n = 0
else if (
(l.nullFormat && e === l.nullFormat) ||
!e.replace(/[^0-9]+/g, '').length
)
n = null
else {
for (t in ((n = 1),
'.' !== a.delimiters.decimal &&
(e = e.replace(/\./g, '').replace(a.delimiters.decimal, '.')),
s))
if (
((r = new RegExp(
'[^a-zA-Z]' +
a.abbreviations[t] +
'(?:\\)|(\\' +
a.currency.symbol +
')?(?:\\))?)?$'
)),
o.match(r))
) {
n *= Math.pow(10, s[t])
break
}
;(n *=
(e.split('-').length +
Math.min(e.split('(').length - 1, e.split(')').length - 1)) %
2
? 1
: -1),
(e = e.replace(/[^0-9\.]+/g, '')),
(n *= Number(e))
}
return n
},
isNaN: (function (e) {
function t(t) {
return e.apply(this, arguments)
}
return (
(t.toString = function () {
return e.toString()
}),
t
)
})(function (e) {
return 'number' == typeof e && isNaN(e)
}),
includes: function (e, t) {
return -1 !== e.indexOf(t)
},
insert: function (e, t, n) {
return e.slice(0, n) + t + e.slice(n)
},
reduce: function (e, t) {
if (null === this)
throw new TypeError('Array.prototype.reduce called on null or undefined')
if ('function' != typeof t) throw new TypeError(t + ' is not a function')
var n,
r = Object(e),
a = r.length >>> 0,
o = 0
if (3 === arguments.length) n = arguments[2]
else {
for (; o < a && !(o in r); ) o++
if (o >= a)
throw new TypeError('Reduce of empty array with no initial value')
n = r[o++]
}
for (; o < a; o++) o in r && (n = t(n, r[o], o, r))
return n
},
multiplier: function (e) {
var t = e.toString().split('.')
return t.length < 2 ? 1 : Math.pow(10, t[1].length)
},
correctionFactor: function () {
var e = Array.prototype.slice.call(arguments)
return e.reduce(function (e, n) {
var r = t.multiplier(n)
return e > r ? e : r
}, 1)
},
toFixed: function (e, t, n, r) {
var a,
o,
i,
s,
l = e.toString().split('.'),
c = t - (r || 0)
return (
(a = 2 === l.length ? Math.min(Math.max(l[1].length, c), t) : c),
(i = Math.pow(10, a)),
(s = (n(e + 'e+' + a) / i).toFixed(a)),
r > t - a &&
((o = new RegExp('\\.?0{1,' + (r - (t - a)) + '}$')),
(s = s.replace(o, ''))),
s
)
}
}),
(e.options = l),
(e.formats = o),
(e.locales = i),
(e.locale = function (e) {
return e && (l.currentLocale = e.toLowerCase()), l.currentLocale
}),
(e.localeData = function (e) {
if (!e) return i[l.currentLocale]
if (((e = e.toLowerCase()), !i[e])) throw new Error('Unknown locale : ' + e)
return i[e]
}),
(e.reset = function () {
for (var e in s) l[e] = s[e]
}),
(e.zeroFormat = function (e) {
l.zeroFormat = 'string' == typeof e ? e : null
}),
(e.nullFormat = function (e) {
l.nullFormat = 'string' == typeof e ? e : null
}),
(e.defaultFormat = function (e) {
l.defaultFormat = 'string' == typeof e ? e : '0.0'
}),
(e.register = function (e, t, n) {
if (((t = t.toLowerCase()), this[e + 's'][t]))
throw new TypeError(t + ' ' + e + ' already registered.')
return (this[e + 's'][t] = n), n
}),
(e.validate = function (t, n) {
var r, a, o, i, s, l, c, u
if (
('string' != typeof t &&
((t += ''),
console.warn &&
console.warn(
'Numeral.js: Value is not string. It has been co-erced to: ',
t
)),
(t = t.trim()).match(/^\d+$/))
)
return !0
if ('' === t) return !1
try {
c = e.localeData(n)
} catch (p) {
c = e.localeData(e.locale())
}
return (
(o = c.currency.symbol),
(s = c.abbreviations),
(r = c.delimiters.decimal),
(a = '.' === c.delimiters.thousands ? '\\.' : c.delimiters.thousands),
(null === (u = t.match(/^[^\d]+/)) || ((t = t.substr(1)), u[0] === o)) &&
(null === (u = t.match(/[^\d]+$/)) ||
((t = t.slice(0, -1)),
u[0] === s.thousand ||
u[0] === s.million ||
u[0] === s.billion ||
u[0] === s.trillion)) &&
((l = new RegExp(a + '{2}')),
!t.match(/[^\d.,]/g) &&
!((i = t.split(r)).length > 2) &&
(i.length < 2
? !!i[0].match(/^\d+.*\d$/) && !i[0].match(l)
: 1 === i[0].length
? !!i[0].match(/^\d+$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)
: !!i[0].match(/^\d+.*\d$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)))
)
}),
(e.fn = c.prototype =
{
clone: function () {
return e(this)
},
format: function (t, n) {
var r,
a,
i,
s = this._value,
c = t || l.defaultFormat
if (((n = n || Math.round), 0 === s && null !== l.zeroFormat))
a = l.zeroFormat
else if (null === s && null !== l.nullFormat) a = l.nullFormat
else {
for (r in o)
if (c.match(o[r].regexps.format)) {
i = o[r].format
break
}
a = (i = i || e._.numberToFormat)(s, c, n)
}
return a
},
value: function () {
return this._value
},
input: function () {
return this._input
},
set: function (e) {
return (this._value = Number(e)), this
},
add: function (e) {
var n = t.correctionFactor.call(null, this._value, e)
return (
(this._value =
t.reduce(
[this._value, e],
function (e, t, r, a) {
return e + Math.round(n * t)
},
0
) / n),
this
)
},
subtract: function (e) {
var n = t.correctionFactor.call(null, this._value, e)
return (
(this._value =
t.reduce(
[e],
function (e, t, r, a) {
return e - Math.round(n * t)
},
Math.round(this._value * n)
) / n),
this
)
},
multiply: function (e) {
return (
(this._value = t.reduce(
[this._value, e],
function (e, n, r, a) {
var o = t.correctionFactor(e, n)
return (Math.round(e * o) * Math.round(n * o)) / Math.round(o * o)
},
1
)),
this
)
},
divide: function (e) {
return (
(this._value = t.reduce([this._value, e], function (e, n, r, a) {
var o = t.correctionFactor(e, n)
return Math.round(e * o) / Math.round(n * o)
})),
this
)
},
difference: function (t) {
return Math.abs(e(this._value).subtract(t).value())
}
}),
e.register('locale', 'en', {
delimiters: { thousands: ',', decimal: '.' },
abbreviations: { thousand: 'k', million: 'm', billion: 'b', trillion: 't' },
ordinal: function (e) {
var t = e % 10
return 1 == ~~((e % 100) / 10)
? 'th'
: 1 === t
? 'st'
: 2 === t
? 'nd'
: 3 === t
? 'rd'
: 'th'
},
currency: { symbol: '$' }
}),
e.register('format', 'bps', {
regexps: { format: /(BPS)/, unformat: /(BPS)/ },
format: function (t, n, r) {
var a,
o = e._.includes(n, ' BPS') ? ' ' : ''
return (
(t *= 1e4),
(n = n.replace(/\s?BPS/, '')),
(a = e._.numberToFormat(t, n, r)),
e._.includes(a, ')')
? ((a = a.split('')).splice(-1, 0, o + 'BPS'), (a = a.join('')))
: (a = a + o + 'BPS'),
a
)
},
unformat: function (t) {
return +(1e-4 * e._.stringToNumber(t)).toFixed(15)
}
}),
(r = {
base: 1024,
suffixes: ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']
}),
(a =
'(' +
(a = (n = {
base: 1e3,
suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
}).suffixes
.concat(
r.suffixes.filter(function (e) {
return n.suffixes.indexOf(e) < 0
})
)
.join('|')).replace('B', 'B(?!PS)') +
')'),
e.register('format', 'bytes', {
regexps: { format: /([0\s]i?b)/, unformat: new RegExp(a) },
format: function (t, a, o) {
var i,
s,
l,
c = e._.includes(a, 'ib') ? r : n,
u = e._.includes(a, ' b') || e._.includes(a, ' ib') ? ' ' : ''
for (a = a.replace(/\s?i?b/, ''), i = 0; i <= c.suffixes.length; i++)
if (
((s = Math.pow(c.base, i)),
(l = Math.pow(c.base, i + 1)),
null === t || 0 === t || (t >= s && t < l))
) {
;(u += c.suffixes[i]), s > 0 && (t /= s)
break
}
return e._.numberToFormat(t, a, o) + u
},
unformat: function (t) {
var a,
o,
i = e._.stringToNumber(t)
if (i) {
for (a = n.suffixes.length - 1; a >= 0; a--) {
if (e._.includes(t, n.suffixes[a])) {
o = Math.pow(n.base, a)
break
}
if (e._.includes(t, r.suffixes[a])) {
o = Math.pow(r.base, a)
break
}
}
i *= o || 1
}
return i
}
}),
e.register('format', 'currency', {
regexps: { format: /(\$)/ },
format: function (t, n, r) {
var a,
o,
i = e.locales[e.options.currentLocale],
s = {
before: n.match(/^([\+|\-|\(|\s|\$]*)/)[0],
after: n.match(/([\+|\-|\)|\s|\$]*)$/)[0]
}
for (
n = n.replace(/\s?\$\s?/, ''),
a = e._.numberToFormat(t, n, r),
t >= 0
? ((s.before = s.before.replace(/[\-\(]/, '')),
(s.after = s.after.replace(/[\-\)]/, '')))
: t < 0 &&
!e._.includes(s.before, '-') &&
!e._.includes(s.before, '(') &&
(s.before = '-' + s.before),
o = 0;
o < s.before.length;
o++
)
switch (s.before[o]) {
case '$':
a = e._.insert(a, i.currency.symbol, o)
break
case ' ':
a = e._.insert(a, ' ', o + i.currency.symbol.length - 1)
}
for (o = s.after.length - 1; o >= 0; o--)
switch (s.after[o]) {
case '$':
a =
o === s.after.length - 1
? a + i.currency.symbol
: e._.insert(a, i.currency.symbol, -(s.after.length - (1 + o)))
break
case ' ':
a =
o === s.after.length - 1
? a + ' '
: e._.insert(
a,
' ',
-(s.after.length - (1 + o) + i.currency.symbol.length - 1)
)
}
return a
}
}),
e.register('format', 'exponential', {
regexps: { format: /(e\+|e-)/, unformat: /(e\+|e-)/ },
format: function (t, n, r) {
var a = (
'number' != typeof t || e._.isNaN(t) ? '0e+0' : t.toExponential()
).split('e')
return (
(n = n.replace(/e[\+|\-]{1}0/, '')),
e._.numberToFormat(Number(a[0]), n, r) + 'e' + a[1]
)
},
unformat: function (t) {
var n = e._.includes(t, 'e+') ? t.split('e+') : t.split('e-'),
r = Number(n[0]),
a = Number(n[1])
return (
(a = e._.includes(t, 'e-') ? (a *= -1) : a),
e._.reduce(
[r, Math.pow(10, a)],
function (t, n, r, a) {
var o = e._.correctionFactor(t, n)
return (t * o * (n * o)) / (o * o)
},
1
)
)
}
}),
e.register('format', 'ordinal', {
regexps: { format: /(o)/ },
format: function (t, n, r) {
var a = e.locales[e.options.currentLocale],
o = e._.includes(n, ' o') ? ' ' : ''
return (
(n = n.replace(/\s?o/, '')),
(o += a.ordinal(t)),
e._.numberToFormat(t, n, r) + o
)
}
}),
e.register('format', 'percentage', {
regexps: { format: /(%)/, unformat: /(%)/ },
format: function (t, n, r) {
var a,
o = e._.includes(n, ' %') ? ' ' : ''
return (
e.options.scalePercentBy100 && (t *= 100),
(n = n.replace(/\s?\%/, '')),
(a = e._.numberToFormat(t, n, r)),
e._.includes(a, ')')
? ((a = a.split('')).splice(-1, 0, o + '%'), (a = a.join('')))
: (a = a + o + '%'),
a
)
},
unformat: function (t) {
var n = e._.stringToNumber(t)
return e.options.scalePercentBy100 ? 0.01 * n : n
}
}),
e.register('format', 'time', {
regexps: { format: /(:)/, unformat: /(:)/ },
format: function (e, t, n) {
var r = Math.floor(e / 60 / 60),
a = Math.floor((e - 60 * r * 60) / 60),
o = Math.round(e - 60 * r * 60 - 60 * a)
return r + ':' + (a < 10 ? '0' + a : a) + ':' + (o < 10 ? '0' + o : o)
},
unformat: function (e) {
var t = e.split(':'),
n = 0
return (
3 === t.length
? ((n += 60 * Number(t[0]) * 60),
(n += 60 * Number(t[1])),
(n += Number(t[2])))
: 2 === t.length && ((n += 60 * Number(t[0])), (n += Number(t[1]))),
Number(n)
)
}
}),
e
)
})
})(numeral$1)
var numeral = numeral$1.exports
reactive({ loadingCount: 0 })
var browser = exports('e', function () {
var e = navigator.userAgent
return {
trident: e.indexOf('Trident') > -1,
presto: e.indexOf('Presto') > -1,
webKit: e.indexOf('AppleWebKit') > -1,
gecko: e.indexOf('Gecko') > -1 && -1 == e.indexOf('KHTML'),
mobile: !!e.match(/AppleWebKit.*Mobile.*/),
ios: !!e.match(/Mac OS X/),
android: e.indexOf('ORCHESTRAAPPA') > -1 || e.indexOf('Adr') > -1,
iPhone: e.indexOf('ORCHESTRAAPPI') > -1,
isApp: e.indexOf('ORCHESTRAAPPI') > -1 || e.indexOf('ORCHESTRAAPPA') > -1,
isTeacher: e.indexOf('ORCHESTRATEACHER') > -1,
isStudent: e.indexOf('ORCHESTRASTUDENT') > -1,
isSchool: e.indexOf('ORCHESTRASCHOOL') > -1,
iPad: e.indexOf('iPad') > -1,
webApp: -1 == e.indexOf('Safari'),
weixin: e.indexOf('MicroMessenger') > -1,
alipay: e.indexOf('AlipayClient') > -1,
huawei: !!e.match(/huawei/i) || !!e.match(/honor/i),
xiaomi: !!e.match(/mi\s/i) || !!e.match(/redmi/i) || !!e.match(/mix/i)
}
}),
getUrlCode = exports('bh', function () {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 'code',
t = location.search,
n = new Object()
if (-1 != t.indexOf('?'))
for (var r = t.substr(1), a = r.split('&'), o = 0; o < a.length; o++)
n[a[o].split('=')[0]] = a[o].split('=')[1]
return console.log(n, 'theRequest'), n[e]
}),
getRandomKey = function () {
return '' + new Date().getTime() + Math.floor(1e6 * Math.random())
},
removeAuth$1 = exports('l', function () {
sessionStorage.removeItem('Authorization')
}),
setAuth$1 = exports('j', function (e) {
sessionStorage.setItem('Authorization', e)
}),
moneyFormat = exports('b3', function (e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '0,0.00'
return numeral(e).format(t)
}),
getSecondRPM = exports('b4', function (e, t) {
if (isNaN(e)) return '00:00'
var n = Math.floor(e / 60)
.toString()
.padStart(2, '0'),
r = Math.floor(e % 60)
.toString()
.padStart(2, '0')
return 'cn' === t ? n + '分' + r + '秒' : n + ':' + r
}),
formatterDatePicker = exports('aj', function (e, t) {
return (
'year' === e && (t.text += '年'),
'month' === e && (t.text += '月'),
'day' === e && (t.text += '日'),
t
)
}),
hasSymbol = 'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.toStringTag),
PolySymbol = function (e) {
return hasSymbol ? Symbol(e) : '_vr_' + e
},
matchedRouteKey = PolySymbol('rvlm'),
viewDepthKey = PolySymbol('rvd'),
routerKey = PolySymbol('r'),
routeLocationKey = PolySymbol('rl'),
routerViewLocationKey = PolySymbol('rvl'),
isBrowser = 'undefined' != typeof window
function isESModule(e) {
return e.__esModule || (hasSymbol && 'Module' === e[Symbol.toStringTag])
}
var assign$1 = Object.assign
function applyToParams(e, t) {
var n = {}
for (var r in t) {
var a = t[r]
n[r] = Array.isArray(a) ? a.map(e) : e(a)
}
return n
}
var noop = function () {},
TRAILING_SLASH_RE = /\/$/,
removeTrailingSlash = function (e) {
return e.replace(TRAILING_SLASH_RE, '')
},
NavigationType,
NavigationDirection
function parseURL(e, t) {
var n,
r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '/',
a = {},
o = '',
i = '',
s = t.indexOf('?'),
l = t.indexOf('#', s > -1 ? s : 0)
return (
s > -1 && ((n = t.slice(0, s)), (a = e((o = t.slice(s + 1, l > -1 ? l : t.length))))),
l > -1 && ((n = n || t.slice(0, l)), (i = t.slice(l, t.length))),
{
fullPath: (n = resolveRelativePath(null != n ? n : t, r)) + (o && '?') + o + i,
path: n,
query: a,
hash: i
}
)
}
function stringifyURL(e, t) {
var n = t.query ? e(t.query) : ''
return t.path + (n && '?') + n + (t.hash || '')
}
function stripBase(e, t) {
return t && e.toLowerCase().startsWith(t.toLowerCase()) ? e.slice(t.length) || '/' : e
}
function isSameRouteLocation(e, t, n) {
var r = t.matched.length - 1,
a = n.matched.length - 1
return (
r > -1 &&
r === a &&
isSameRouteRecord(t.matched[r], n.matched[a]) &&
isSameRouteLocationParams(t.params, n.params) &&
e(t.query) === e(n.query) &&
t.hash === n.hash
)
}
function isSameRouteRecord(e, t) {
return (e.aliasOf || e) === (t.aliasOf || t)
}
function isSameRouteLocationParams(e, t) {
if (Object.keys(e).length !== Object.keys(t).length) return !1
for (var n in e) if (!isSameRouteLocationParamsValue(e[n], t[n])) return !1
return !0
}
function isSameRouteLocationParamsValue(e, t) {
return Array.isArray(e)
? isEquivalentArray(e, t)
: Array.isArray(t)
? isEquivalentArray(t, e)
: e === t
}
function isEquivalentArray(e, t) {
return Array.isArray(t)
? e.length === t.length &&
e.every(function (e, n) {
return e === t[n]
})
: 1 === e.length && e[0] === t
}
function resolveRelativePath(e, t) {
if (e.startsWith('/')) return e
if (!e) return t
var n,
r,
a = t.split('/'),
o = e.split('/'),
i = a.length - 1
for (n = 0; n < o.length; n++)
if (((r = o[n]), 1 !== i && '.' !== r)) {
if ('..' !== r) break
i--
}
return a.slice(0, i).join('/') + '/' + o.slice(n - (n === o.length ? 1 : 0)).join('/')
}
function normalizeBase(e) {
if (!e)
if (isBrowser) {
var t = document.querySelector('base')
e = (e = (t && t.getAttribute('href')) || '/').replace(/^\w+:\/\/[^\/]+/, '')
} else e = '/'
return '/' !== e[0] && '#' !== e[0] && (e = '/' + e), removeTrailingSlash(e)
}
!(function (e) {
;(e.pop = 'pop'), (e.push = 'push')
})(NavigationType || (NavigationType = {})),
(function (e) {
;(e.back = 'back'), (e.forward = 'forward'), (e.unknown = '')
})(NavigationDirection || (NavigationDirection = {}))
var BEFORE_HASH_RE = /^[^#]+#/
function createHref(e, t) {
return e.replace(BEFORE_HASH_RE, '#') + t
}
function getElementPosition(e, t) {
var n = document.documentElement.getBoundingClientRect(),
r = e.getBoundingClientRect()
return {
behavior: t.behavior,
left: r.left - n.left - (t.left || 0),
top: r.top - n.top - (t.top || 0)
}
}
var computeScrollPosition = function () {
return { left: window.pageXOffset, top: window.pageYOffset }
}
function scrollToPosition(e) {
var t
if ('el' in e) {
var n = e.el,
r = 'string' == typeof n && n.startsWith('#'),
a =
'string' == typeof n
? r
? document.getElementById(n.slice(1))
: document.querySelector(n)
: n
if (!a) return
t = getElementPosition(a, e)
} else t = e
'scrollBehavior' in document.documentElement.style
? window.scrollTo(t)
: window.scrollTo(
null != t.left ? t.left : window.pageXOffset,
null != t.top ? t.top : window.pageYOffset
)
}
function getScrollKey(e, t) {
return (history.state ? history.state.position - t : -1) + e
}
var scrollPositions = new Map()
function saveScrollPosition(e, t) {
scrollPositions.set(e, t)
}
function getSavedScrollPosition(e) {
var t = scrollPositions.get(e)
return scrollPositions.delete(e), t
}
var createBaseLocation = function () {
return location.protocol + '//' + location.host
}
function createCurrentLocation(e, t) {
var n = t.pathname,
r = t.search,
a = t.hash,
o = e.indexOf('#')
if (o > -1) {
var i = a.includes(e.slice(o)) ? e.slice(o).length : 1,
s = a.slice(i)
return '/' !== s[0] && (s = '/' + s), stripBase(s, '')
}
return stripBase(n, e) + r + a
}
function useHistoryListeners(e, t, n, r) {
var a = [],
o = [],
i = null,
s = function (o) {
var s = o.state,
l = createCurrentLocation(e, location),
c = n.value,
u = t.value,
p = 0
if (s) {
if (((n.value = l), (t.value = s), i && i === c)) return void (i = null)
p = u ? s.position - u.position : 0
} else r(l)
a.forEach(function (e) {
e(n.value, c, {
delta: p,
type: NavigationType.pop,
direction: p
? p > 0
? NavigationDirection.forward
: NavigationDirection.back
: NavigationDirection.unknown
})
})
}
function l() {
var e = window.history
e.state &&
e.replaceState(assign$1({}, e.state, { scroll: computeScrollPosition() }), '')
}
return (
window.addEventListener('popstate', s),
window.addEventListener('beforeunload', l),
{
pauseListeners: function () {
i = n.value
},
listen: function (e) {
a.push(e)
var t = function () {
var t = a.indexOf(e)
t > -1 && a.splice(t, 1)
}
return o.push(t), t
},
destroy: function () {
var e,
t = _createForOfIteratorHelper(o)
try {
for (t.s(); !(e = t.n()).done; ) {
;(0, e.value)()
}
} catch (n) {
t.e(n)
} finally {
t.f()
}
;(o = []),
window.removeEventListener('popstate', s),
window.removeEventListener('beforeunload', l)
}
}
)
}
function buildState(e, t, n) {
var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
return {
back: e,
current: t,
forward: n,
replaced: r,
position: window.history.length,
scroll: a ? computeScrollPosition() : null
}
}
function useHistoryStateNavigation(e) {
var t = window,
n = t.history,
r = t.location,
a = { value: createCurrentLocation(e, r) },
o = { value: n.state }
function i(t, a, i) {
var s = e.indexOf('#'),
l =
s > -1
? (r.host && document.querySelector('base') ? e : e.slice(s)) + t
: createBaseLocation() + e + t
try {
n[i ? 'replaceState' : 'pushState'](a, '', l), (o.value = a)
} catch (c) {
console.error(c), r[i ? 'replace' : 'assign'](l)
}
}
return (
o.value ||
i(
a.value,
{
back: null,
current: a.value,
forward: null,
position: n.length - 1,
replaced: !0,
scroll: null
},
!0
),
{
location: a,
state: o,
push: function (e, t) {
var r = assign$1({}, o.value, n.state, {
forward: e,
scroll: computeScrollPosition()
})
i(r.current, r, !0),
i(
e,
assign$1({}, buildState(a.value, e, null), { position: r.position + 1 }, t),
!1
),
(a.value = e)
},
replace: function (e, t) {
i(
e,
assign$1({}, n.state, buildState(o.value.back, e, o.value.forward, !0), t, {
position: o.value.position
}),
!0
),
(a.value = e)
}
}
)
}
function createWebHistory(e) {
var t = useHistoryStateNavigation((e = normalizeBase(e))),
n = useHistoryListeners(e, t.state, t.location, t.replace)
var r = assign$1(
{
location: '',
base: e,
go: function (e) {
var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
t || n.pauseListeners(), history.go(e)
},
createHref: createHref.bind(null, e)
},
t,
n
)
return (
Object.defineProperty(r, 'location', {
enumerable: !0,
get: function () {
return t.location.value
}
}),
Object.defineProperty(r, 'state', {
enumerable: !0,
get: function () {
return t.state.value
}
}),
r
)
}
function createWebHashHistory(e) {
return (
(e = location.host ? e || location.pathname + location.search : '').includes('#') ||
(e += '#'),
createWebHistory(e)
)
}
function isRouteLocation(e) {
return 'string' == typeof e || (e && 'object' === _typeof2(e))
}
function isRouteName(e) {
return 'string' == typeof e || 'symbol' === _typeof2(e)
}
var START_LOCATION_NORMALIZED = {
path: '/',
name: void 0,
params: {},
query: {},
hash: '',
fullPath: '/',
matched: [],
meta: {},
redirectedFrom: void 0
},
NavigationFailureSymbol = PolySymbol('nf'),
NavigationFailureType
function createRouterError(e, t) {
return assign$1(
new Error(),
_defineProperty2({ type: e }, NavigationFailureSymbol, !0),
t
)
}
function isNavigationFailure(e, t) {
return (
e instanceof Error && NavigationFailureSymbol in e && (null == t || !!(e.type & t))
)
}
!(function (e) {
;(e[(e.aborted = 4)] = 'aborted'),
(e[(e.cancelled = 8)] = 'cancelled'),
(e[(e.duplicated = 16)] = 'duplicated')
})(NavigationFailureType || (NavigationFailureType = {}))
var BASE_PARAM_PATTERN = '[^/]+?',
BASE_PATH_PARSER_OPTIONS = { sensitive: !1, strict: !1, start: !0, end: !0 },
REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g
function tokensToParser(e, t) {
var n,
r = assign$1({}, BASE_PATH_PARSER_OPTIONS, t),
a = [],
o = r.start ? '^' : '',
i = [],
s = _createForOfIteratorHelper(e)
try {
for (s.s(); !(n = s.n()).done; ) {
var l = n.value,
c = l.length ? [] : [90]
r.strict && !l.length && (o += '/')
for (var u = 0; u < l.length; u++) {
var p = l[u],
d = 40 + (r.sensitive ? 0.25 : 0)
if (0 === p.type)
u || (o += '/'), (o += p.value.replace(REGEX_CHARS_RE, '\\$&')), (d += 40)
else if (1 === p.type) {
var f = p.value,
h = p.repeatable,
v = p.optional,
m = p.regexp
i.push({ name: f, repeatable: h, optional: v })
var g = m || BASE_PARAM_PATTERN
if (g !== BASE_PARAM_PATTERN) {
d += 10
try {
new RegExp('('.concat(g, ')'))
} catch (A) {
throw new Error(
'Invalid custom RegExp for param "'.concat(f, '" (').concat(g, '): ') +
A.message
)
}
}
var y = h ? '((?:'.concat(g, ')(?:/(?:').concat(g, '))*)') : '('.concat(g, ')')
u || (y = v && l.length < 2 ? '(?:/'.concat(y, ')') : '/' + y),
v && (y += '?'),
(o += y),
(d += 20),
v && (d += -8),
h && (d += -20),
'.*' === g && (d += -50)
}
c.push(d)
}
a.push(c)
}
} catch (A) {
s.e(A)
} finally {
s.f()
}
if (r.strict && r.end) {
var b = a.length - 1
a[b][a[b].length - 1] += 0.7000000000000001
}
r.strict || (o += '/?'), r.end ? (o += '$') : r.strict && (o += '(?:/|$)')
var _ = new RegExp(o, r.sensitive ? '' : 'i')
return {
re: _,
score: a,
keys: i,
parse: function (e) {
var t = e.match(_),
n = {}
if (!t) return null
for (var r = 1; r < t.length; r++) {
var a = t[r] || '',
o = i[r - 1]
n[o.name] = a && o.repeatable ? a.split('/') : a
}
return n
},
stringify: function (t) {
var n,
r = '',
a = !1,
o = _createForOfIteratorHelper(e)
try {
for (o.s(); !(n = o.n()).done; ) {
var i = n.value
;(a && r.endsWith('/')) || (r += '/'), (a = !1)
var s,
l = _createForOfIteratorHelper(i)
try {
for (l.s(); !(s = l.n()).done; ) {
var c = s.value
if (0 === c.type) r += c.value
else if (1 === c.type) {
var u = c.value,
p = c.repeatable,
d = c.optional,
f = u in t ? t[u] : ''
if (Array.isArray(f) && !p)
throw new Error(
'Provided param "'.concat(
u,
'" is an array but it is not repeatable (* or + modifiers)'
)
)
var h = Array.isArray(f) ? f.join('/') : f
if (!h) {
if (!d) throw new Error('Missing required param "'.concat(u, '"'))
i.length < 2 && (r.endsWith('/') ? (r = r.slice(0, -1)) : (a = !0))
}
r += h
}
}
} catch (A) {
l.e(A)
} finally {
l.f()
}
}
} catch (A) {
o.e(A)
} finally {
o.f()
}
return r
}
}
}
function compareScoreArray(e, t) {
for (var n = 0; n < e.length && n < t.length; ) {
var r = t[n] - e[n]
if (r) return r
n++
}
return e.length < t.length
? 1 === e.length && 80 === e[0]
? -1
: 1
: e.length > t.length
? 1 === t.length && 80 === t[0]
? 1
: -1
: 0
}
function comparePathParserScore(e, t) {
for (var n = 0, r = e.score, a = t.score; n < r.length && n < a.length; ) {
var o = compareScoreArray(r[n], a[n])
if (o) return o
n++
}
return a.length - r.length
}
var ROOT_TOKEN = { type: 0, value: '' },
VALID_PARAM_RE = /[a-zA-Z0-9_]/
function tokenizePath(e) {
if (!e) return [[]]
if ('/' === e) return [[ROOT_TOKEN]]
if (!e.startsWith('/')) throw new Error('Invalid path "'.concat(e, '"'))
function t(e) {
throw new Error('ERR ('.concat(r, ')/"').concat(c, '": ').concat(e))
}
var n,
r = 0,
a = r,
o = []
function i() {
n && o.push(n), (n = [])
}
var s,
l = 0,
c = '',
u = ''
function p() {
c &&
(0 === r
? n.push({ type: 0, value: c })
: 1 === r || 2 === r || 3 === r
? (n.length > 1 &&
('*' === s || '+' === s) &&
t(
'A repeatable param ('.concat(
c,
") must be alone in its segment. eg: '/:ids+."
)
),
n.push({
type: 1,
value: c,
regexp: u,
repeatable: '*' === s || '+' === s,
optional: '*' === s || '?' === s
}))
: t('Invalid state to consume buffer'),
(c = ''))
}
function d() {
c += s
}
for (; l < e.length; )
if ('\\' !== (s = e[l++]) || 2 === r)
switch (r) {
case 0:
'/' === s ? (c && p(), i()) : ':' === s ? (p(), (r = 1)) : d()
break
case 4:
d(), (r = a)
break
case 1:
'(' === s
? (r = 2)
: VALID_PARAM_RE.test(s)
? d()
: (p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--)
break
case 2:
')' === s
? '\\' == u[u.length - 1]
? (u = u.slice(0, -1) + s)
: (r = 3)
: (u += s)
break
case 3:
p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--, (u = '')
break
default:
t('Unknown state')
}
else (a = r), (r = 4)
return 2 === r && t('Unfinished custom RegExp for param "'.concat(c, '"')), p(), i(), o
}
function createRouteRecordMatcher(e, t, n) {
var r = tokensToParser(tokenizePath(e.path), n),
a = assign$1(r, { record: e, parent: t, children: [], alias: [] })
return t && !a.record.aliasOf == !t.record.aliasOf && t.children.push(a), a
}
function createRouterMatcher(e, t) {
var n = [],
r = new Map()
function a(e, n, r) {
var s = !r,
l = normalizeRouteRecord(e)
l.aliasOf = r && r.record
var c,
u,
p = mergeOptions(t, e),
d = [l]
if ('alias' in e) {
var f,
h = _createForOfIteratorHelper('string' == typeof e.alias ? [e.alias] : e.alias)
try {
for (h.s(); !(f = h.n()).done; ) {
var v = f.value
d.push(
assign$1({}, l, {
components: r ? r.record.components : l.components,
path: v,
aliasOf: r ? r.record : l
})
)
}
} catch (k) {
h.e(k)
} finally {
h.f()
}
}
for (var m = 0, g = d; m < g.length; m++) {
var y = g[m],
b = y.path
if (n && '/' !== b[0]) {
var _ = n.record.path,
A = '/' === _[_.length - 1] ? '' : '/'
y.path = n.record.path + (b && A + b)
}
if (
((c = createRouteRecordMatcher(y, n, p)),
r
? r.alias.push(c)
: ((u = u || c) !== c && u.alias.push(c),
s && e.name && !isAliasRecord(c) && o(e.name)),
'children' in l)
)
for (var x = l.children, w = 0; w < x.length; w++) a(x[w], c, r && r.children[w])
;(r = r || c), i(c)
}
return u
? function () {
o(u)
}
: noop
}
function o(e) {
if (isRouteName(e)) {
var t = r.get(e)
t &&
(r.delete(e),
n.splice(n.indexOf(t), 1),
t.children.forEach(o),
t.alias.forEach(o))
} else {
var a = n.indexOf(e)
a > -1 &&
(n.splice(a, 1),
e.record.name && r.delete(e.record.name),
e.children.forEach(o),
e.alias.forEach(o))
}
}
function i(e) {
for (var t = 0; t < n.length && comparePathParserScore(e, n[t]) >= 0; ) t++
n.splice(t, 0, e), e.record.name && !isAliasRecord(e) && r.set(e.record.name, e)
}
return (
(t = mergeOptions({ strict: !1, end: !0, sensitive: !1 }, t)),
e.forEach(function (e) {
return a(e)
}),
{
addRoute: a,
resolve: function (e, t) {
var a,
o,
i,
s = {}
if ('name' in e && e.name) {
if (!(a = r.get(e.name))) throw createRouterError(1, { location: e })
;(i = a.record.name),
(s = assign$1(
paramsFromLocation(
t.params,
a.keys
.filter(function (e) {
return !e.optional
})
.map(function (e) {
return e.name
})
),
e.params
)),
(o = a.stringify(s))
} else if ('path' in e)
(o = e.path),
(a = n.find(function (e) {
return e.re.test(o)
})) && ((s = a.parse(o)), (i = a.record.name))
else {
if (
!(a = t.name
? r.get(t.name)
: n.find(function (e) {
return e.re.test(t.path)
}))
)
throw createRouterError(1, { location: e, currentLocation: t })
;(i = a.record.name),
(s = assign$1({}, t.params, e.params)),
(o = a.stringify(s))
}
for (var l = [], c = a; c; ) l.unshift(c.record), (c = c.parent)
return { name: i, path: o, params: s, matched: l, meta: mergeMetaFields(l) }
},
removeRoute: o,
getRoutes: function () {
return n
},
getRecordMatcher: function (e) {
return r.get(e)
}
}
)
}
function paramsFromLocation(e, t) {
var n,
r = {},
a = _createForOfIteratorHelper(t)
try {
for (a.s(); !(n = a.n()).done; ) {
var o = n.value
o in e && (r[o] = e[o])
}
} catch (i) {
a.e(i)
} finally {
a.f()
}
return r
}
function normalizeRouteRecord(e) {
return {
path: e.path,
redirect: e.redirect,
name: e.name,
meta: e.meta || {},
aliasOf: void 0,
beforeEnter: e.beforeEnter,
props: normalizeRecordProps(e),
children: e.children || [],
instances: {},
leaveGuards: new Set(),
updateGuards: new Set(),
enterCallbacks: {},
components: 'components' in e ? e.components || {} : { default: e.component }
}
}
function normalizeRecordProps(e) {
var t = {},
n = e.props || !1
if ('component' in e) t.default = n
else for (var r in e.components) t[r] = 'boolean' == typeof n ? n : n[r]
return t
}
function isAliasRecord(e) {
for (; e; ) {
if (e.record.aliasOf) return !0
e = e.parent
}
return !1
}
function mergeMetaFields(e) {
return e.reduce(function (e, t) {
return assign$1(e, t.meta)
}, {})
}
function mergeOptions(e, t) {
var n = {}
for (var r in e) n[r] = r in t ? t[r] : e[r]
return n
}
var HASH_RE = /#/g,
AMPERSAND_RE = /&/g,
SLASH_RE = /\//g,
EQUAL_RE = /=/g,
IM_RE = /\?/g,
PLUS_RE = /\+/g,
ENC_BRACKET_OPEN_RE = /%5B/g,
ENC_BRACKET_CLOSE_RE = /%5D/g,
ENC_CARET_RE = /%5E/g,
ENC_BACKTICK_RE = /%60/g,
ENC_CURLY_OPEN_RE = /%7B/g,
ENC_PIPE_RE = /%7C/g,
ENC_CURLY_CLOSE_RE = /%7D/g,
ENC_SPACE_RE = /%20/g
function commonEncode(e) {
return encodeURI('' + e)
.replace(ENC_PIPE_RE, '|')
.replace(ENC_BRACKET_OPEN_RE, '[')
.replace(ENC_BRACKET_CLOSE_RE, ']')
}
function encodeHash(e) {
return commonEncode(e)
.replace(ENC_CURLY_OPEN_RE, '{')
.replace(ENC_CURLY_CLOSE_RE, '}')
.replace(ENC_CARET_RE, '^')
}
function encodeQueryValue(e) {
return commonEncode(e)
.replace(PLUS_RE, '%2B')
.replace(ENC_SPACE_RE, '+')
.replace(HASH_RE, '%23')
.replace(AMPERSAND_RE, '%26')
.replace(ENC_BACKTICK_RE, '`')
.replace(ENC_CURLY_OPEN_RE, '{')
.replace(ENC_CURLY_CLOSE_RE, '}')
.replace(ENC_CARET_RE, '^')
}
function encodeQueryKey(e) {
return encodeQueryValue(e).replace(EQUAL_RE, '%3D')
}
function encodePath(e) {
return commonEncode(e).replace(HASH_RE, '%23').replace(IM_RE, '%3F')
}
function encodeParam(e) {
return null == e ? '' : encodePath(e).replace(SLASH_RE, '%2F')
}
function decode$2(e) {
try {
return decodeURIComponent('' + e)
} catch (t) {}
return '' + e
}
function parseQuery(e) {
var t = {}
if ('' === e || '?' === e) return t
for (var n = ('?' === e[0] ? e.slice(1) : e).split('&'), r = 0; r < n.length; ++r) {
var a = n[r].replace(PLUS_RE, ' '),
o = a.indexOf('='),
i = decode$2(o < 0 ? a : a.slice(0, o)),
s = o < 0 ? null : decode$2(a.slice(o + 1))
if (i in t) {
var l = t[i]
Array.isArray(l) || (l = t[i] = [l]), l.push(s)
} else t[i] = s
}
return t
}
function stringifyQuery(e) {
var t = '',
n = function (n) {
var a = e[n]
if (((n = encodeQueryKey(n)), null == a))
return void 0 !== a && (t += (t.length ? '&' : '') + n), (r = n), 'continue'
var o = Array.isArray(a)
? a.map(function (e) {
return e && encodeQueryValue(e)
})
: [a && encodeQueryValue(a)]
o.forEach(function (e) {
void 0 !== e && ((t += (t.length ? '&' : '') + n), null != e && (t += '=' + e))
}),
(r = n)
}
for (var r in e) n(r)
return t
}
function normalizeQuery(e) {
var t = {}
for (var n in e) {
var r = e[n]
void 0 !== r &&
(t[n] = Array.isArray(r)
? r.map(function (e) {
return null == e ? null : '' + e
})
: null == r
? r
: '' + r)
}
return t
}
function useCallbacks() {
var e = []
return {
add: function (t) {
return (
e.push(t),
function () {
var n = e.indexOf(t)
n > -1 && e.splice(n, 1)
}
)
},
list: function () {
return e
},
reset: function () {
e = []
}
}
}
function guardToPromiseFn(e, t, n, r, a) {
var o = r && (r.enterCallbacks[a] = r.enterCallbacks[a] || [])
return function () {
return new Promise(function (i, s) {
var l = function (e) {
!1 === e
? s(createRouterError(4, { from: n, to: t }))
: e instanceof Error
? s(e)
: isRouteLocation(e)
? s(createRouterError(2, { from: t, to: e }))
: (o && r.enterCallbacks[a] === o && 'function' == typeof e && o.push(e), i())
},
c = e.call(r && r.instances[a], t, n, l),
u = Promise.resolve(c)
e.length < 3 && (u = u.then(l)),
u.catch(function (e) {
return s(e)
})
})
}
}
function extractComponentsGuards(e, t, n, r) {
var a,
o = [],
i = _createForOfIteratorHelper(e)
try {
var s = function () {
var e = a.value,
i = function (a) {
var i = e.components[a]
if ('beforeRouteEnter' !== t && !e.instances[a]) return 'continue'
if (isRouteComponent(i)) {
var s = (i.__vccOpts || i)[t]
s && o.push(guardToPromiseFn(s, n, r, e, a))
} else {
var l = i()
o.push(function () {
return l.then(function (o) {
if (!o)
return Promise.reject(
new Error(
'Couldn\'t resolve component "'
.concat(a, '" at "')
.concat(e.path, '"')
)
)
var i = isESModule(o) ? o.default : o
e.components[a] = i
var s = (i.__vccOpts || i)[t]
return s && guardToPromiseFn(s, n, r, e, a)()
})
})
}
}
for (var s in e.components) i(s)
}
for (i.s(); !(a = i.n()).done; ) s()
} catch (l) {
i.e(l)
} finally {
i.f()
}
return o
}
function isRouteComponent(e) {
return (
'object' === _typeof2(e) || 'displayName' in e || 'props' in e || '__vccOpts' in e
)
}
function useLink(e) {
var t = inject(routerKey),
n = inject(routeLocationKey),
r = computed(function () {
return t.resolve(unref(e.to))
}),
a = computed(function () {
var e = r.value.matched,
t = e.length,
a = e[t - 1],
o = n.matched
if (!a || !o.length) return -1
var i = o.findIndex(isSameRouteRecord.bind(null, a))
if (i > -1) return i
var s = getOriginalPath(e[t - 2])
return t > 1 && getOriginalPath(a) === s && o[o.length - 1].path !== s
? o.findIndex(isSameRouteRecord.bind(null, e[t - 2]))
: i
}),
o = computed(function () {
return a.value > -1 && includesParams(n.params, r.value.params)
}),
i = computed(function () {
return (
a.value > -1 &&
a.value === n.matched.length - 1 &&
isSameRouteLocationParams(n.params, r.value.params)
)
})
return {
route: r,
href: computed(function () {
return r.value.href
}),
isActive: o,
isExactActive: i,
navigate: function () {
var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
return guardEvent(n)
? t[unref(e.replace) ? 'replace' : 'push'](unref(e.to)).catch(noop)
: Promise.resolve()
}
}
}
var RouterLinkImpl = defineComponent({
name: 'RouterLink',
props: {
to: { type: [String, Object], required: !0 },
replace: Boolean,
activeClass: String,
exactActiveClass: String,
custom: Boolean,
ariaCurrentValue: { type: String, default: 'page' }
},
useLink: useLink,
setup: function (e, t) {
var n = t.slots,
r = reactive(useLink(e)),
a = inject(routerKey).options,
o = computed(function () {
var t
return (
_defineProperty2(
(t = {}),
getLinkClass(e.activeClass, a.linkActiveClass, 'router-link-active'),
r.isActive
),
_defineProperty2(
t,
getLinkClass(
e.exactActiveClass,
a.linkExactActiveClass,
'router-link-exact-active'
),
r.isExactActive
),
t
)
})
return function () {
var t = n.default && n.default(r)
return e.custom
? t
: h$1(
'a',
{
'aria-current': r.isExactActive ? e.ariaCurrentValue : null,
href: r.href,
onClick: r.navigate,
class: o.value
},
t
)
}
}
}),
RouterLink = RouterLinkImpl
function guardEvent(e) {
if (
!(
e.metaKey ||
e.altKey ||
e.ctrlKey ||
e.shiftKey ||
e.defaultPrevented ||
(void 0 !== e.button && 0 !== e.button)
)
) {
if (e.currentTarget && e.currentTarget.getAttribute) {
var t = e.currentTarget.getAttribute('target')
if (/\b_blank\b/i.test(t)) return
}
return e.preventDefault && e.preventDefault(), !0
}
}
function includesParams(e, t) {
var n = function (n) {
var r = t[n],
a = e[n]
if ('string' == typeof r) {
if (r !== a) return { v: !1 }
} else if (
!Array.isArray(a) ||
a.length !== r.length ||
r.some(function (e, t) {
return e !== a[t]
})
)
return { v: !1 }
}
for (var r in t) {
var a = n(r)
if ('object' === _typeof2(a)) return a.v
}
return !0
}
function getOriginalPath(e) {
return e ? (e.aliasOf ? e.aliasOf.path : e.path) : ''
}
var getLinkClass = function (e, t, n) {
return null != e ? e : null != t ? t : n
},
RouterViewImpl = defineComponent({
name: 'RouterView',
inheritAttrs: !1,
props: { name: { type: String, default: 'default' }, route: Object },
setup: function (e, t) {
var n = t.attrs,
r = t.slots,
a = inject(routerViewLocationKey),
o = computed(function () {
return e.route || a.value
}),
i = inject(viewDepthKey, 0),
s = computed(function () {
return o.value.matched[i]
})
provide(viewDepthKey, i + 1),
provide(matchedRouteKey, s),
provide(routerViewLocationKey, o)
var l = ref()
return (
watch(
function () {
return [l.value, s.value, e.name]
},
function (e, t) {
var n = _slicedToArray(e, 3),
r = n[0],
a = n[1],
o = n[2],
i = _slicedToArray(t, 3),
s = i[0],
l = i[1]
i[2]
a &&
((a.instances[o] = r),
l &&
l !== a &&
r &&
r === s &&
(a.leaveGuards.size || (a.leaveGuards = l.leaveGuards),
a.updateGuards.size || (a.updateGuards = l.updateGuards))),
!r ||
!a ||
(l && isSameRouteRecord(a, l) && s) ||
(a.enterCallbacks[o] || []).forEach(function (e) {
return e(r)
})
},
{ flush: 'post' }
),
function () {
var t = o.value,
a = s.value,
i = a && a.components[e.name],
c = e.name
if (!i) return normalizeSlot(r.default, { Component: i, route: t })
var u = a.props[e.name],
p = u ? (!0 === u ? t.params : 'function' == typeof u ? u(t) : u) : null,
d = h$1(
i,
assign$1({}, p, n, {
onVnodeUnmounted: function (e) {
e.component.isUnmounted && (a.instances[c] = null)
},
ref: l
})
)
return normalizeSlot(r.default, { Component: d, route: t }) || d
}
)
}
})
function normalizeSlot(e, t) {
if (!e) return null
var n = e(t)
return 1 === n.length ? n[0] : n
}
var RouterView = RouterViewImpl
function createRouter(e) {
var t = createRouterMatcher(e.routes, e),
n = e.parseQuery || parseQuery,
r = e.stringifyQuery || stringifyQuery,
a = e.history,
o = useCallbacks(),
i = useCallbacks(),
s = useCallbacks(),
l = shallowRef(START_LOCATION_NORMALIZED),
c = START_LOCATION_NORMALIZED
isBrowser &&
e.scrollBehavior &&
'scrollRestoration' in history &&
(history.scrollRestoration = 'manual')
var u,
p = applyToParams.bind(null, function (e) {
return '' + e
}),
d = applyToParams.bind(null, encodeParam),
f = applyToParams.bind(null, decode$2)
function h(e, o) {
if (((o = assign$1({}, o || l.value)), 'string' == typeof e)) {
var i = parseURL(n, e, o.path),
s = t.resolve({ path: i.path }, o),
c = a.createHref(i.fullPath)
return assign$1(i, s, {
params: f(s.params),
hash: decode$2(i.hash),
redirectedFrom: void 0,
href: c
})
}
var u
if ('path' in e) u = assign$1({}, e, { path: parseURL(n, e.path, o.path).path })
else {
var h = assign$1({}, e.params)
for (var v in h) null == h[v] && delete h[v]
;(u = assign$1({}, e, { params: d(e.params) })), (o.params = d(o.params))
}
var m = t.resolve(u, o),
g = e.hash || ''
m.params = p(f(m.params))
var y = stringifyURL(r, assign$1({}, e, { hash: encodeHash(g), path: m.path })),
b = a.createHref(y)
return assign$1(
{
fullPath: y,
hash: g,
query: r === stringifyQuery ? normalizeQuery(e.query) : e.query || {}
},
m,
{ redirectedFrom: void 0, href: b }
)
}
function v(e) {
return 'string' == typeof e ? parseURL(n, e, l.value.path) : assign$1({}, e)
}
function m(e, t) {
if (c !== e) return createRouterError(8, { from: t, to: e })
}
function g(e) {
return b(e)
}
function y(e) {
var t = e.matched[e.matched.length - 1]
if (t && t.redirect) {
var n = t.redirect,
r = 'function' == typeof n ? n(e) : n
return (
'string' == typeof r &&
((r = r.includes('?') || r.includes('#') ? (r = v(r)) : { path: r }).params =
{}),
assign$1({ query: e.query, hash: e.hash, params: e.params }, r)
)
}
}
function b(e, t) {
var n = (c = h(e)),
a = l.value,
o = e.state,
i = e.force,
s = !0 === e.replace,
u = y(n)
if (u) return b(assign$1(v(u), { state: o, force: i, replace: s }), t || n)
var p,
d = n
return (
(d.redirectedFrom = t),
!i &&
isSameRouteLocation(r, a, n) &&
((p = createRouterError(16, { to: d, from: a })), T(a, a, !0, !1)),
(p ? Promise.resolve(p) : A(d, a))
.catch(function (e) {
return isNavigationFailure(e) ? e : P(e, d, a)
})
.then(function (e) {
if (e) {
if (isNavigationFailure(e, 2))
return b(assign$1(v(e.to), { state: o, force: i, replace: s }), t || d)
} else e = w(d, a, !0, s, o)
return x(d, a, e), e
})
)
}
function _(e, t) {
var n = m(e, t)
return n ? Promise.reject(n) : Promise.resolve()
}
function A(e, t) {
var n,
r = _slicedToArray(extractChangingRecords(e, t), 3),
a = r[0],
s = r[1],
l = r[2]
n = extractComponentsGuards(a.reverse(), 'beforeRouteLeave', e, t)
var c,
u = _createForOfIteratorHelper(a)
try {
for (u.s(); !(c = u.n()).done; ) {
c.value.leaveGuards.forEach(function (r) {
n.push(guardToPromiseFn(r, e, t))
})
}
} catch (d) {
u.e(d)
} finally {
u.f()
}
var p = _.bind(null, e, t)
return (
n.push(p),
runGuardQueue(n)
.then(function () {
n = []
var r,
a = _createForOfIteratorHelper(o.list())
try {
for (a.s(); !(r = a.n()).done; ) {
var i = r.value
n.push(guardToPromiseFn(i, e, t))
}
} catch (d) {
a.e(d)
} finally {
a.f()
}
return n.push(p), runGuardQueue(n)
})
.then(function () {
n = extractComponentsGuards(s, 'beforeRouteUpdate', e, t)
var r,
a = _createForOfIteratorHelper(s)
try {
for (a.s(); !(r = a.n()).done; ) {
r.value.updateGuards.forEach(function (r) {
n.push(guardToPromiseFn(r, e, t))
})
}
} catch (d) {
a.e(d)
} finally {
a.f()
}
return n.push(p), runGuardQueue(n)
})
.then(function () {
n = []
var r,
a = _createForOfIteratorHelper(e.matched)
try {
for (a.s(); !(r = a.n()).done; ) {
var o = r.value
if (o.beforeEnter && !t.matched.includes(o))
if (Array.isArray(o.beforeEnter)) {
var i,
s = _createForOfIteratorHelper(o.beforeEnter)
try {
for (s.s(); !(i = s.n()).done; ) {
var l = i.value
n.push(guardToPromiseFn(l, e, t))
}
} catch (d) {
s.e(d)
} finally {
s.f()
}
} else n.push(guardToPromiseFn(o.beforeEnter, e, t))
}
} catch (d) {
a.e(d)
} finally {
a.f()
}
return n.push(p), runGuardQueue(n)
})
.then(function () {
return (
e.matched.forEach(function (e) {
return (e.enterCallbacks = {})
}),
(n = extractComponentsGuards(l, 'beforeRouteEnter', e, t)).push(p),
runGuardQueue(n)
)
})
.then(function () {
n = []
var r,
a = _createForOfIteratorHelper(i.list())
try {
for (a.s(); !(r = a.n()).done; ) {
var o = r.value
n.push(guardToPromiseFn(o, e, t))
}
} catch (d) {
a.e(d)
} finally {
a.f()
}
return n.push(p), runGuardQueue(n)
})
.catch(function (e) {
return isNavigationFailure(e, 8) ? e : Promise.reject(e)
})
)
}
function x(e, t, n) {
var r,
a = _createForOfIteratorHelper(s.list())
try {
for (a.s(); !(r = a.n()).done; ) {
;(0, r.value)(e, t, n)
}
} catch (o) {
a.e(o)
} finally {
a.f()
}
}
function w(e, t, n, r, o) {
var i = m(e, t)
if (i) return i
var s = t === START_LOCATION_NORMALIZED,
c = isBrowser ? history.state : {}
n &&
(r || s
? a.replace(e.fullPath, assign$1({ scroll: s && c && c.scroll }, o))
: a.push(e.fullPath, o)),
(l.value = e),
T(e, t, n, s),
C()
}
var k,
S = useCallbacks(),
E = useCallbacks()
function P(e, t, n) {
C(e)
var r = E.list()
return (
r.length
? r.forEach(function (r) {
return r(e, t, n)
})
: console.error(e),
Promise.reject(e)
)
}
function C(e) {
k ||
((k = !0),
(u = a.listen(function (e, t, n) {
var r = h(e),
o = y(r)
if (o) b(assign$1(o, { replace: !0 }), r).catch(noop)
else {
c = r
var i = l.value
isBrowser &&
saveScrollPosition(
getScrollKey(i.fullPath, n.delta),
computeScrollPosition()
),
A(r, i)
.catch(function (e) {
return isNavigationFailure(e, 12)
? e
: isNavigationFailure(e, 2)
? (b(e.to, r)
.then(function (e) {
isNavigationFailure(e, 20) &&
!n.delta &&
n.type === NavigationType.pop &&
a.go(-1, !1)
})
.catch(noop),
Promise.reject())
: (n.delta && a.go(-n.delta, !1), P(e, r, i))
})
.then(function (e) {
;(e = e || w(r, i, !1)) &&
(n.delta
? a.go(-n.delta, !1)
: n.type === NavigationType.pop &&
isNavigationFailure(e, 20) &&
a.go(-1, !1)),
x(r, i, e)
})
.catch(noop)
}
})),
S.list().forEach(function (t) {
var n = _slicedToArray(t, 2),
r = n[0],
a = n[1]
return e ? a(e) : r()
}),
S.reset())
}
function T(t, n, r, a) {
var o = e.scrollBehavior
if (!isBrowser || !o) return Promise.resolve()
var i =
(!r && getSavedScrollPosition(getScrollKey(t.fullPath, 0))) ||
((a || !r) && history.state && history.state.scroll) ||
null
return nextTick()
.then(function () {
return o(t, n, i)
})
.then(function (e) {
return e && scrollToPosition(e)
})
.catch(function (e) {
return P(e, t, n)
})
}
var I,
M = function (e) {
return a.go(e)
},
R = new Set(),
O = {
currentRoute: l,
addRoute: function (e, n) {
var r, a
return (
isRouteName(e) ? ((r = t.getRecordMatcher(e)), (a = n)) : (a = e),
t.addRoute(a, r)
)
},
removeRoute: function (e) {
var n = t.getRecordMatcher(e)
n && t.removeRoute(n)
},
hasRoute: function (e) {
return !!t.getRecordMatcher(e)
},
getRoutes: function () {
return t.getRoutes().map(function (e) {
return e.record
})
},
resolve: h,
options: e,
push: g,
replace: function (e) {
return g(assign$1(v(e), { replace: !0 }))
},
go: M,
back: function () {
return M(-1)
},
forward: function () {
return M(1)
},
beforeEach: o.add,
beforeResolve: i.add,
afterEach: s.add,
onError: E.add,
isReady: function () {
return k && l.value !== START_LOCATION_NORMALIZED
? Promise.resolve()
: new Promise(function (e, t) {
S.add([e, t])
})
},
install: function (e) {
e.component('RouterLink', RouterLink),
e.component('RouterView', RouterView),
(e.config.globalProperties.$router = this),
Object.defineProperty(e.config.globalProperties, '$route', {
enumerable: !0,
get: function () {
return unref(l)
}
}),
isBrowser &&
!I &&
l.value === START_LOCATION_NORMALIZED &&
((I = !0), g(a.location).catch(function (e) {}))
var t = {},
n = function (e) {
t[e] = computed(function () {
return l.value[e]
})
}
for (var r in START_LOCATION_NORMALIZED) n(r)
e.provide(routerKey, this),
e.provide(routeLocationKey, reactive(t)),
e.provide(routerViewLocationKey, l)
var o = e.unmount
R.add(e),
(e.unmount = function () {
R.delete(e),
R.size < 1 &&
((c = START_LOCATION_NORMALIZED),
u && u(),
(l.value = START_LOCATION_NORMALIZED),
(I = !1),
(k = !1)),
o()
})
}
}
return O
}
function runGuardQueue(e) {
return e.reduce(function (e, t) {
return e.then(function () {
return t()
})
}, Promise.resolve())
}
function extractChangingRecords(e, t) {
for (
var n = [],
r = [],
a = [],
o = Math.max(t.matched.length, e.matched.length),
i = function (o) {
var i = t.matched[o]
i &&
(e.matched.find(function (e) {
return isSameRouteRecord(e, i)
})
? r.push(i)
: n.push(i))
var s = e.matched[o]
s &&
(t.matched.find(function (e) {
return isSameRouteRecord(e, s)
}) ||
a.push(s))
},
s = 0;
s < o;
s++
)
i(s)
return [n, r, a]
}
function useRouter() {
return inject(routerKey)
}
function useRoute() {
return inject(routeLocationKey)
}
var originalPostMessage = window.postMessage
window.postMessage = function (e) {
originalPostMessage(e, '*')
}
var loop = function () {},
calls = {},
browserInfo$2 = browser()
browserInfo$2.isApp &&
window.addEventListener('message', function (e) {
try {
var t, n, r
console.log('app交互接受:', e.data)
var a = e.data ? ('object' === _typeof2(e.data) ? e.data : JSON.parse(e.data)) : {},
o = (null === (t = a.content) || void 0 === t ? void 0 : t.uuid) || a.uuid
console.log(o, a.content, 'uuid')
try {
a.content && (a.content = JSON.parse(a.content))
} catch (error) {}
if ((null != a && null !== (n = a.content) && void 0 !== n && n.uuid, !o)) {
var i,
s = _createForOfIteratorHelper(
Object.keys(calls).filter(function (e) {
return 0 === e.indexOf(a.api)
})
)
try {
for (s.s(); !(i = s.n()).done; ) {
var l = i.value,
c = calls[l] || loop
'function' == typeof c && c(a)
}
} catch (d) {
s.e(d)
} finally {
s.f()
}
return
}
var u =
(null === (r = a.content) || void 0 === r ? void 0 : r.uuid) ||
a.uuid ||
a.api + a.uuid,
p = calls[u] || loop
'function' == typeof p && p(a)
} catch (error) {
console.error('通信消息解析错误', error)
}
})
var instance =
window.ORCHESTRA ||
(null === (_window$webkit = window.webkit) ||
void 0 === _window$webkit ||
null === (_window$webkit$messag = _window$webkit.messageHandlers) ||
void 0 === _window$webkit$messag
? void 0
: _window$webkit$messag.ORCHESTRA),
postMessage = exports('k', function (e, t) {
if (browserInfo$2.isApp) {
var n = getRandomKey()
;(calls[n] = t || loop),
(e.content = e.content
? _objectSpread(_objectSpread({}, e.content), {}, { uuid: n })
: { uuid: n }),
console.log('app交互发送:', e),
instance.postMessage(JSON.stringify(e))
}
}),
listenerMessage = exports('bF', function (e, t) {
if (browserInfo$2.isApp) {
var n = e + getRandomKey()
calls[n] = t || loop
}
}),
removeListenerMessage = exports('bG', function (e, t) {
if (browserInfo$2.isApp) {
var n = e
if (Array.isArray(calls[n])) {
var r = calls[n].indexOf(t)
calls[n].splice(r, 1)
}
}
}),
promisefiyPostMessage = exports('p', function (e) {
return new Promise(function (t) {
postMessage(e, function (e) {
return t(e)
})
})
}),
scriptRel = 'modulepreload',
seen = {},
base = './',
__vitePreload = function (e, t) {
return e()
},
error$1 = '_error_1i228_1',
info$1 = '_info_1i228_9',
styles$2 = { error: error$1, info: info$1 },
state = exports(
'f',
reactive({
user: { status: 'init', data: {} },
platformType: 'STUDENT',
clientId: {
STUDENT: 'jmedu-student',
TEACHER: 'jmedu-teacher',
SCHOOL: 'jmedu-school'
},
platformApi: '/api-student',
version: '',
ossUploadUrl: 'https://ks3-cn-beijing.ksyuncs.com/',
musicCertStatus: !1,
openLiveStatus: !1
})
),
getOssUploadUrl = exports('bw', function (e) {
return 'https://'.concat(e || 'gyt', '.ks3-cn-beijing.ksyuncs.com/')
}),
setLogin = exports('n', function (e) {
;(state.user.status = 'login'), (state.user.data = e)
}),
setLogout = exports('bi', function () {
;(state.user.status = 'logout'), (state.user.data = null)
}),
setLoginError = function () {
;(state.user.status = 'error'), (state.user.data = null)
},
goWechatAuth = exports('bf', function (e, t) {
goAuth(e, t)
}),
goAuth = function (e, t) {
console.log(t || window.location.href, 'urlString || window.location.href')
var n = encodeURIComponent(t || window.location.href)
console.log(n, 'urlNow')
var r = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='
.concat(e || 'wx8654c671631cfade', '&redirect_uri=')
.concat(n, '&response_type=code&scope=')
.concat('snsapi_base', '&state=STATE&connect_redirect=1#wechat_redirect')
window.location.replace(r)
},
shams = function () {
if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols)
return !1
if ('symbol' === _typeof2(Symbol.iterator)) return !0
var e = {},
t = Symbol('test'),
n = Object(t)
if ('string' == typeof t) return !1
if ('[object Symbol]' !== Object.prototype.toString.call(t)) return !1
if ('[object Symbol]' !== Object.prototype.toString.call(n)) return !1
for (t in ((e[t] = 42), e)) return !1
if ('function' == typeof Object.keys && 0 !== Object.keys(e).length) return !1
if (
'function' == typeof Object.getOwnPropertyNames &&
0 !== Object.getOwnPropertyNames(e).length
)
return !1
var r = Object.getOwnPropertySymbols(e)
if (1 !== r.length || r[0] !== t) return !1
if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1
if ('function' == typeof Object.getOwnPropertyDescriptor) {
var a = Object.getOwnPropertyDescriptor(e, t)
if (42 !== a.value || !0 !== a.enumerable) return !1
}
return !0
},
origSymbol = 'undefined' != typeof Symbol && Symbol,
hasSymbolSham = shams,
hasSymbols$1 = function () {
return (
'function' == typeof origSymbol &&
'function' == typeof Symbol &&
'symbol' === _typeof2(origSymbol('foo')) &&
'symbol' === _typeof2(Symbol('bar')) &&
hasSymbolSham()
)
},
ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ',
slice = Array.prototype.slice,
toStr$1 = Object.prototype.toString,
funcType = '[object Function]',
implementation$1 = function (e) {
var t = this
if ('function' != typeof t || toStr$1.call(t) !== funcType)
throw new TypeError(ERROR_MESSAGE + t)
for (
var n,
r = slice.call(arguments, 1),
a = function () {
if (this instanceof n) {
var a = t.apply(this, r.concat(slice.call(arguments)))
return Object(a) === a ? a : this
}
return t.apply(e, r.concat(slice.call(arguments)))
},
o = Math.max(0, t.length - r.length),
i = [],
s = 0;
s < o;
s++
)
i.push('$' + s)
if (
((n = Function(
'binder',
'return function (' + i.join(',') + '){ return binder.apply(this,arguments); }'
)(a)),
t.prototype)
) {
var l = function () {}
;(l.prototype = t.prototype), (n.prototype = new l()), (l.prototype = null)
}
return n
},
implementation = implementation$1,
functionBind = Function.prototype.bind || implementation,
bind$1 = functionBind,
src$1 = bind$1.call(Function.call, Object.prototype.hasOwnProperty),
undefined$1,
$SyntaxError = SyntaxError,
$Function = Function,
$TypeError$1 = TypeError,
getEvalledConstructor = function (e) {
try {
return $Function('"use strict"; return (' + e + ').constructor;')()
} catch (t) {}
},
$gOPD = Object.getOwnPropertyDescriptor
if ($gOPD)
try {
$gOPD({}, '')
} catch (e) {
$gOPD = null
}
var throwTypeError = function () {
throw new $TypeError$1()
},
ThrowTypeError = $gOPD
? (function () {
try {
return throwTypeError
} catch (e) {
try {
return $gOPD(arguments, 'callee').get
} catch (t) {
return throwTypeError
}
}
})()
: throwTypeError,
hasSymbols = hasSymbols$1(),
getProto =
Object.getPrototypeOf ||
function (e) {
return e.__proto__
},
needsEval = {},
TypedArray = 'undefined' == typeof Uint8Array ? undefined$1 : getProto(Uint8Array),
INTRINSICS = {
'%AggregateError%':
'undefined' == typeof AggregateError ? undefined$1 : AggregateError,
'%Array%': Array,
'%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? undefined$1 : ArrayBuffer,
'%ArrayIteratorPrototype%': hasSymbols
? getProto([][Symbol.iterator]())
: undefined$1,
'%AsyncFromSyncIteratorPrototype%': undefined$1,
'%AsyncFunction%': needsEval,
'%AsyncGenerator%': needsEval,
'%AsyncGeneratorFunction%': needsEval,
'%AsyncIteratorPrototype%': needsEval,
'%Atomics%': 'undefined' == typeof Atomics ? undefined$1 : Atomics,
'%BigInt%': 'undefined' == typeof BigInt ? undefined$1 : BigInt,
'%Boolean%': Boolean,
'%DataView%': 'undefined' == typeof DataView ? undefined$1 : DataView,
'%Date%': Date,
'%decodeURI%': decodeURI,
'%decodeURIComponent%': decodeURIComponent,
'%encodeURI%': encodeURI,
'%encodeURIComponent%': encodeURIComponent,
'%Error%': Error,
'%eval%': eval,
'%EvalError%': EvalError,
'%Float32Array%': 'undefined' == typeof Float32Array ? undefined$1 : Float32Array,
'%Float64Array%': 'undefined' == typeof Float64Array ? undefined$1 : Float64Array,
'%FinalizationRegistry%':
'undefined' == typeof FinalizationRegistry ? undefined$1 : FinalizationRegistry,
'%Function%': $Function,
'%GeneratorFunction%': needsEval,
'%Int8Array%': 'undefined' == typeof Int8Array ? undefined$1 : Int8Array,
'%Int16Array%': 'undefined' == typeof Int16Array ? undefined$1 : Int16Array,
'%Int32Array%': 'undefined' == typeof Int32Array ? undefined$1 : Int32Array,
'%isFinite%': isFinite,
'%isNaN%': isNaN,
'%IteratorPrototype%': hasSymbols
? getProto(getProto([][Symbol.iterator]()))
: undefined$1,
'%JSON%':
'object' === ('undefined' == typeof JSON ? 'undefined' : _typeof2(JSON))
? JSON
: undefined$1,
'%Map%': 'undefined' == typeof Map ? undefined$1 : Map,
'%MapIteratorPrototype%':
'undefined' != typeof Map && hasSymbols
? getProto(new Map()[Symbol.iterator]())
: undefined$1,
'%Math%': Math,
'%Number%': Number,
'%Object%': Object,
'%parseFloat%': parseFloat,
'%parseInt%': parseInt,
'%Promise%': 'undefined' == typeof Promise ? undefined$1 : Promise,
'%Proxy%': 'undefined' == typeof Proxy ? undefined$1 : Proxy,
'%RangeError%': RangeError,
'%ReferenceError%': ReferenceError,
'%Reflect%': 'undefined' == typeof Reflect ? undefined$1 : Reflect,
'%RegExp%': RegExp,
'%Set%': 'undefined' == typeof Set ? undefined$1 : Set,
'%SetIteratorPrototype%':
'undefined' != typeof Set && hasSymbols
? getProto(new Set()[Symbol.iterator]())
: undefined$1,
'%SharedArrayBuffer%':
'undefined' == typeof SharedArrayBuffer ? undefined$1 : SharedArrayBuffer,
'%String%': String,
'%StringIteratorPrototype%': hasSymbols
? getProto(''[Symbol.iterator]())
: undefined$1,
'%Symbol%': hasSymbols ? Symbol : undefined$1,
'%SyntaxError%': $SyntaxError,
'%ThrowTypeError%': ThrowTypeError,
'%TypedArray%': TypedArray,
'%TypeError%': $TypeError$1,
'%Uint8Array%': 'undefined' == typeof Uint8Array ? undefined$1 : Uint8Array,
'%Uint8ClampedArray%':
'undefined' == typeof Uint8ClampedArray ? undefined$1 : Uint8ClampedArray,
'%Uint16Array%': 'undefined' == typeof Uint16Array ? undefined$1 : Uint16Array,
'%Uint32Array%': 'undefined' == typeof Uint32Array ? undefined$1 : Uint32Array,
'%URIError%': URIError,
'%WeakMap%': 'undefined' == typeof WeakMap ? undefined$1 : WeakMap,
'%WeakRef%': 'undefined' == typeof WeakRef ? undefined$1 : WeakRef,
'%WeakSet%': 'undefined' == typeof WeakSet ? undefined$1 : WeakSet
},
doEval = function e(t) {
var n
if ('%AsyncFunction%' === t) n = getEvalledConstructor('async function () {}')
else if ('%GeneratorFunction%' === t) n = getEvalledConstructor('function* () {}')
else if ('%AsyncGeneratorFunction%' === t)
n = getEvalledConstructor('async function* () {}')
else if ('%AsyncGenerator%' === t) {
var r = e('%AsyncGeneratorFunction%')
r && (n = r.prototype)
} else if ('%AsyncIteratorPrototype%' === t) {
var a = e('%AsyncGenerator%')
a && (n = getProto(a.prototype))
}
return (INTRINSICS[t] = n), n
},
LEGACY_ALIASES = {
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
'%ArrayPrototype%': ['Array', 'prototype'],
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
'%BooleanPrototype%': ['Boolean', 'prototype'],
'%DataViewPrototype%': ['DataView', 'prototype'],
'%DatePrototype%': ['Date', 'prototype'],
'%ErrorPrototype%': ['Error', 'prototype'],
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
'%FunctionPrototype%': ['Function', 'prototype'],
'%Generator%': ['GeneratorFunction', 'prototype'],
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
'%JSONParse%': ['JSON', 'parse'],
'%JSONStringify%': ['JSON', 'stringify'],
'%MapPrototype%': ['Map', 'prototype'],
'%NumberPrototype%': ['Number', 'prototype'],
'%ObjectPrototype%': ['Object', 'prototype'],
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
'%PromisePrototype%': ['Promise', 'prototype'],
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
'%Promise_all%': ['Promise', 'all'],
'%Promise_reject%': ['Promise', 'reject'],
'%Promise_resolve%': ['Promise', 'resolve'],
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
'%RegExpPrototype%': ['RegExp', 'prototype'],
'%SetPrototype%': ['Set', 'prototype'],
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
'%StringPrototype%': ['String', 'prototype'],
'%SymbolPrototype%': ['Symbol', 'prototype'],
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
'%URIErrorPrototype%': ['URIError', 'prototype'],
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
'%WeakSetPrototype%': ['WeakSet', 'prototype']
},
bind = functionBind,
hasOwn$1 = src$1,
$concat = bind.call(Function.call, Array.prototype.concat),
$spliceApply = bind.call(Function.apply, Array.prototype.splice),
$replace = bind.call(Function.call, String.prototype.replace),
$strSlice = bind.call(Function.call, String.prototype.slice),
rePropName =
/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
reEscapeChar = /\\(\\)?/g,
stringToPath = function (e) {
var t = $strSlice(e, 0, 1),
n = $strSlice(e, -1)
if ('%' === t && '%' !== n)
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`')
if ('%' === n && '%' !== t)
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`')
var r = []
return (
$replace(e, rePropName, function (e, t, n, a) {
r[r.length] = n ? $replace(a, reEscapeChar, '$1') : t || e
}),
r
)
},
getBaseIntrinsic = function (e, t) {
var n,
r = e
if (
(hasOwn$1(LEGACY_ALIASES, r) && (r = '%' + (n = LEGACY_ALIASES[r])[0] + '%'),
hasOwn$1(INTRINSICS, r))
) {
var a = INTRINSICS[r]
if ((a === needsEval && (a = doEval(r)), void 0 === a && !t))
throw new $TypeError$1(
'intrinsic ' + e + ' exists, but is not available. Please file an issue!'
)
return { alias: n, name: r, value: a }
}
throw new $SyntaxError('intrinsic ' + e + ' does not exist!')
},
getIntrinsic = function (e, t) {
if ('string' != typeof e || 0 === e.length)
throw new $TypeError$1('intrinsic name must be a non-empty string')
if (arguments.length > 1 && 'boolean' != typeof t)
throw new $TypeError$1('"allowMissing" argument must be a boolean')
var n = stringToPath(e),
r = n.length > 0 ? n[0] : '',
a = getBaseIntrinsic('%' + r + '%', t),
o = a.name,
i = a.value,
s = !1,
l = a.alias
l && ((r = l[0]), $spliceApply(n, $concat([0, 1], l)))
for (var c = 1, u = !0; c < n.length; c += 1) {
var p = n[c],
d = $strSlice(p, 0, 1),
f = $strSlice(p, -1)
if (
('"' === d || "'" === d || '`' === d || '"' === f || "'" === f || '`' === f) &&
d !== f
)
throw new $SyntaxError('property names with quotes must have matching quotes')
if (
(('constructor' !== p && u) || (s = !0),
hasOwn$1(INTRINSICS, (o = '%' + (r += '.' + p) + '%')))
)
i = INTRINSICS[o]
else if (null != i) {
if (!(p in i)) {
if (!t)
throw new $TypeError$1(
'base intrinsic for ' + e + ' exists, but the property is not available.'
)
return
}
if ($gOPD && c + 1 >= n.length) {
var h = $gOPD(i, p)
i = (u = !!h) && 'get' in h && !('originalValue' in h.get) ? h.get : i[p]
} else (u = hasOwn$1(i, p)), (i = i[p])
u && !s && (INTRINSICS[o] = i)
}
}
return i
},
callBind$1 = { exports: {} }
!(function (t) {
var n = functionBind,
r = getIntrinsic,
a = r('%Function.prototype.apply%'),
o = r('%Function.prototype.call%'),
i = r('%Reflect.apply%', !0) || n.call(o, a),
s = r('%Object.getOwnPropertyDescriptor%', !0),
l = r('%Object.defineProperty%', !0),
c = r('%Math.max%')
if (l)
try {
l({}, 'a', { value: 1 })
} catch (e) {
l = null
}
t.exports = function (e) {
var t = i(n, o, arguments)
if (s && l) {
var r = s(t, 'length')
r.configurable &&
l(t, 'length', { value: 1 + c(0, e.length - (arguments.length - 1)) })
}
return t
}
var u = function () {
return i(n, a, arguments)
}
l ? l(t.exports, 'apply', { value: u }) : (t.exports.apply = u)
})(callBind$1)
var GetIntrinsic$1 = getIntrinsic,
callBind = callBind$1.exports,
$indexOf = callBind(GetIntrinsic$1('String.prototype.indexOf')),
callBound$1 = function (e, t) {
var n = GetIntrinsic$1(e, !!t)
return 'function' == typeof n && $indexOf(e, '.prototype.') > -1 ? callBind(n) : n
},
__viteBrowserExternal = {},
__viteBrowserExternal$1 = Object.freeze(
Object.defineProperty(
{ __proto__: null, default: __viteBrowserExternal },
Symbol.toStringTag,
{ value: 'Module' }
)
),
require$$0 = getAugmentedNamespace(__viteBrowserExternal$1),
hasMap = 'function' == typeof Map && Map.prototype,
mapSizeDescriptor =
Object.getOwnPropertyDescriptor && hasMap
? Object.getOwnPropertyDescriptor(Map.prototype, 'size')
: null,
mapSize =
hasMap && mapSizeDescriptor && 'function' == typeof mapSizeDescriptor.get
? mapSizeDescriptor.get
: null,
mapForEach = hasMap && Map.prototype.forEach,
hasSet = 'function' == typeof Set && Set.prototype,
setSizeDescriptor =
Object.getOwnPropertyDescriptor && hasSet
? Object.getOwnPropertyDescriptor(Set.prototype, 'size')
: null,
setSize =
hasSet && setSizeDescriptor && 'function' == typeof setSizeDescriptor.get
? setSizeDescriptor.get
: null,
setForEach = hasSet && Set.prototype.forEach,
hasWeakMap = 'function' == typeof WeakMap && WeakMap.prototype,
weakMapHas = hasWeakMap ? WeakMap.prototype.has : null,
hasWeakSet = 'function' == typeof WeakSet && WeakSet.prototype,
weakSetHas = hasWeakSet ? WeakSet.prototype.has : null,
hasWeakRef = 'function' == typeof WeakRef && WeakRef.prototype,
weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null,
booleanValueOf = Boolean.prototype.valueOf,
objectToString$1 = Object.prototype.toString,
functionToString = Function.prototype.toString,
match = String.prototype.match,
bigIntValueOf = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null,
gOPS = Object.getOwnPropertySymbols,
symToString =
'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.iterator)
? Symbol.prototype.toString
: null,
hasShammedSymbols =
'function' == typeof Symbol && 'object' === _typeof2(Symbol.iterator),
isEnumerable = Object.prototype.propertyIsEnumerable,
gPO =
('function' == typeof Reflect ? Reflect.getPrototypeOf : Object.getPrototypeOf) ||
([].__proto__ === Array.prototype
? function (e) {
return e.__proto__
}
: null),
inspectCustom = require$$0.custom,
inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null,
toStringTag =
'function' == typeof Symbol && void 0 !== Symbol.toStringTag
? Symbol.toStringTag
: null,
objectInspect = function e(t, n, r, a) {
var o = n || {}
if (has$3(o, 'quoteStyle') && 'single' !== o.quoteStyle && 'double' !== o.quoteStyle)
throw new TypeError('option "quoteStyle" must be "single" or "double"')
if (
has$3(o, 'maxStringLength') &&
('number' == typeof o.maxStringLength
? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0
: null !== o.maxStringLength)
)
throw new TypeError(
'option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'
)
var i = !has$3(o, 'customInspect') || o.customInspect
if ('boolean' != typeof i && 'symbol' !== i)
throw new TypeError(
'option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'
)
if (
has$3(o, 'indent') &&
null !== o.indent &&
'\t' !== o.indent &&
!(parseInt(o.indent, 10) === o.indent && o.indent > 0)
)
throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`')
if (void 0 === t) return 'undefined'
if (null === t) return 'null'
if ('boolean' == typeof t) return t ? 'true' : 'false'
if ('string' == typeof t) return inspectString(t, o)
if ('number' == typeof t) return 0 === t ? (1 / 0 / t > 0 ? '0' : '-0') : String(t)
if ('bigint' == typeof t) return String(t) + 'n'
var s = void 0 === o.depth ? 5 : o.depth
if ((void 0 === r && (r = 0), r >= s && s > 0 && 'object' === _typeof2(t)))
return isArray$4(t) ? '[Array]' : '[Object]'
var l = getIndent(o, r)
if (void 0 === a) a = []
else if (indexOf(a, t) >= 0) return '[Circular]'
function c(t, n, i) {
if ((n && (a = a.slice()).push(n), i)) {
var s = { depth: o.depth }
return has$3(o, 'quoteStyle') && (s.quoteStyle = o.quoteStyle), e(t, s, r + 1, a)
}
return e(t, o, r + 1, a)
}
if ('function' == typeof t) {
var u = nameOf(t),
p = arrObjKeys(t, c)
return (
'[Function' +
(u ? ': ' + u : ' (anonymous)') +
']' +
(p.length > 0 ? ' { ' + p.join(', ') + ' }' : '')
)
}
if (isSymbol(t)) {
var d = hasShammedSymbols
? String(t).replace(/^(Symbol\(.*\))_[^)]*$/, '$1')
: symToString.call(t)
return 'object' !== _typeof2(t) || hasShammedSymbols ? d : markBoxed(d)
}
if (isElement(t)) {
for (
var f = '<' + String(t.nodeName).toLowerCase(), h = t.attributes || [], v = 0;
v < h.length;
v++
)
f += ' ' + h[v].name + '=' + wrapQuotes(quote(h[v].value), 'double', o)
return (
(f += '>'),
t.childNodes && t.childNodes.length && (f += '...'),
(f += '' + String(t.nodeName).toLowerCase() + '>')
)
}
if (isArray$4(t)) {
if (0 === t.length) return '[]'
var m = arrObjKeys(t, c)
return l && !singleLineValues(m)
? '[' + indentedJoin(m, l) + ']'
: '[ ' + m.join(', ') + ' ]'
}
if (isError(t)) {
var g = arrObjKeys(t, c)
return 0 === g.length
? '[' + String(t) + ']'
: '{ [' + String(t) + '] ' + g.join(', ') + ' }'
}
if ('object' === _typeof2(t) && i) {
if (inspectSymbol && 'function' == typeof t[inspectSymbol])
return t[inspectSymbol]()
if ('symbol' !== i && 'function' == typeof t.inspect) return t.inspect()
}
if (isMap(t)) {
var y = []
return (
mapForEach.call(t, function (e, n) {
y.push(c(n, t, !0) + ' => ' + c(e, t))
}),
collectionOf('Map', mapSize.call(t), y, l)
)
}
if (isSet(t)) {
var b = []
return (
setForEach.call(t, function (e) {
b.push(c(e, t))
}),
collectionOf('Set', setSize.call(t), b, l)
)
}
if (isWeakMap(t)) return weakCollectionOf('WeakMap')
if (isWeakSet(t)) return weakCollectionOf('WeakSet')
if (isWeakRef(t)) return weakCollectionOf('WeakRef')
if (isNumber(t)) return markBoxed(c(Number(t)))
if (isBigInt(t)) return markBoxed(c(bigIntValueOf.call(t)))
if (isBoolean(t)) return markBoxed(booleanValueOf.call(t))
if (isString(t)) return markBoxed(c(String(t)))
if (!isDate$1(t) && !isRegExp$1(t)) {
var _ = arrObjKeys(t, c),
A = gPO
? gPO(t) === Object.prototype
: t instanceof Object || t.constructor === Object,
x = t instanceof Object ? '' : 'null prototype',
w =
!A && toStringTag && Object(t) === t && toStringTag in t
? toStr(t).slice(8, -1)
: x
? 'Object'
: '',
k =
(A || 'function' != typeof t.constructor
? ''
: t.constructor.name
? t.constructor.name + ' '
: '') + (w || x ? '[' + [].concat(w || [], x || []).join(': ') + '] ' : '')
return 0 === _.length
? k + '{}'
: l
? k + '{' + indentedJoin(_, l) + '}'
: k + '{ ' + _.join(', ') + ' }'
}
return String(t)
}
function wrapQuotes(e, t, n) {
var r = 'double' === (n.quoteStyle || t) ? '"' : "'"
return r + e + r
}
function quote(e) {
return String(e).replace(/"/g, '"')
}
function isArray$4(e) {
return !(
'[object Array]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isDate$1(e) {
return !(
'[object Date]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isRegExp$1(e) {
return !(
'[object RegExp]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isError(e) {
return !(
'[object Error]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isString(e) {
return !(
'[object String]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isNumber(e) {
return !(
'[object Number]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isBoolean(e) {
return !(
'[object Boolean]' !== toStr(e) ||
(toStringTag && 'object' === _typeof2(e) && toStringTag in e)
)
}
function isSymbol(t) {
if (hasShammedSymbols) return t && 'object' === _typeof2(t) && t instanceof Symbol
if ('symbol' === _typeof2(t)) return !0
if (!t || 'object' !== _typeof2(t) || !symToString) return !1
try {
return symToString.call(t), !0
} catch (e) {}
return !1
}
function isBigInt(t) {
if (!t || 'object' !== _typeof2(t) || !bigIntValueOf) return !1
try {
return bigIntValueOf.call(t), !0
} catch (e) {}
return !1
}
var hasOwn =
Object.prototype.hasOwnProperty ||
function (e) {
return e in this
}
function has$3(e, t) {
return hasOwn.call(e, t)
}
function toStr(e) {
return objectToString$1.call(e)
}
function nameOf(e) {
if (e.name) return e.name
var t = match.call(functionToString.call(e), /^function\s*([\w$]+)/)
return t ? t[1] : null
}
function indexOf(e, t) {
if (e.indexOf) return e.indexOf(t)
for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n
return -1
}
function isMap(t) {
if (!mapSize || !t || 'object' !== _typeof2(t)) return !1
try {
mapSize.call(t)
try {
setSize.call(t)
} catch (n) {
return !0
}
return t instanceof Map
} catch (e) {}
return !1
}
function isWeakMap(t) {
if (!weakMapHas || !t || 'object' !== _typeof2(t)) return !1
try {
weakMapHas.call(t, weakMapHas)
try {
weakSetHas.call(t, weakSetHas)
} catch (n) {
return !0
}
return t instanceof WeakMap
} catch (e) {}
return !1
}
function isWeakRef(t) {
if (!weakRefDeref || !t || 'object' !== _typeof2(t)) return !1
try {
return weakRefDeref.call(t), !0
} catch (e) {}
return !1
}
function isSet(t) {
if (!setSize || !t || 'object' !== _typeof2(t)) return !1
try {
setSize.call(t)
try {
mapSize.call(t)
} catch (n) {
return !0
}
return t instanceof Set
} catch (e) {}
return !1
}
function isWeakSet(t) {
if (!weakSetHas || !t || 'object' !== _typeof2(t)) return !1
try {
weakSetHas.call(t, weakSetHas)
try {
weakMapHas.call(t, weakMapHas)
} catch (n) {
return !0
}
return t instanceof WeakSet
} catch (e) {}
return !1
}
function isElement(e) {
return (
!(!e || 'object' !== _typeof2(e)) &&
(('undefined' != typeof HTMLElement && e instanceof HTMLElement) ||
('string' == typeof e.nodeName && 'function' == typeof e.getAttribute))
)
}
function inspectString(e, t) {
if (e.length > t.maxStringLength) {
var n = e.length - t.maxStringLength,
r = '... ' + n + ' more character' + (n > 1 ? 's' : '')
return inspectString(e.slice(0, t.maxStringLength), t) + r
}
return wrapQuotes(
e.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte),
'single',
t
)
}
function lowbyte(e) {
var t = e.charCodeAt(0),
n = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[t]
return n ? '\\' + n : '\\x' + (t < 16 ? '0' : '') + t.toString(16).toUpperCase()
}
function markBoxed(e) {
return 'Object(' + e + ')'
}
function weakCollectionOf(e) {
return e + ' { ? }'
}
function collectionOf(e, t, n, r) {
return e + ' (' + t + ') {' + (r ? indentedJoin(n, r) : n.join(', ')) + '}'
}
function singleLineValues(e) {
for (var t = 0; t < e.length; t++) if (indexOf(e[t], '\n') >= 0) return !1
return !0
}
function getIndent(e, t) {
var n
if ('\t' === e.indent) n = '\t'
else {
if (!('number' == typeof e.indent && e.indent > 0)) return null
n = Array(e.indent + 1).join(' ')
}
return { base: n, prev: Array(t + 1).join(n) }
}
function indentedJoin(e, t) {
if (0 === e.length) return ''
var n = '\n' + t.prev + t.base
return n + e.join(',' + n) + '\n' + t.prev
}
function arrObjKeys(e, t) {
var n = isArray$4(e),
r = []
if (n) {
r.length = e.length
for (var a = 0; a < e.length; a++) r[a] = has$3(e, a) ? t(e[a], e) : ''
}
var o,
i = 'function' == typeof gOPS ? gOPS(e) : []
if (hasShammedSymbols) {
o = {}
for (var s = 0; s < i.length; s++) o['$' + i[s]] = i[s]
}
for (var l in e)
has$3(e, l) &&
((n && String(Number(l)) === l && l < e.length) ||
(hasShammedSymbols && o['$' + l] instanceof Symbol) ||
(/[^\w$]/.test(l)
? r.push(t(l, e) + ': ' + t(e[l], e))
: r.push(l + ': ' + t(e[l], e))))
if ('function' == typeof gOPS)
for (var c = 0; c < i.length; c++)
isEnumerable.call(e, i[c]) && r.push('[' + t(i[c]) + ']: ' + t(e[i[c]], e))
return r
}
var GetIntrinsic = getIntrinsic,
callBound = callBound$1,
inspect = objectInspect,
$TypeError = GetIntrinsic('%TypeError%'),
$WeakMap = GetIntrinsic('%WeakMap%', !0),
$Map = GetIntrinsic('%Map%', !0),
$weakMapGet = callBound('WeakMap.prototype.get', !0),
$weakMapSet = callBound('WeakMap.prototype.set', !0),
$weakMapHas = callBound('WeakMap.prototype.has', !0),
$mapGet = callBound('Map.prototype.get', !0),
$mapSet = callBound('Map.prototype.set', !0),
$mapHas = callBound('Map.prototype.has', !0),
listGetNode = function (e, t) {
for (var n, r = e; null !== (n = r.next); r = n)
if (n.key === t) return (r.next = n.next), (n.next = e.next), (e.next = n), n
},
listGet = function (e, t) {
var n = listGetNode(e, t)
return n && n.value
},
listSet = function (e, t, n) {
var r = listGetNode(e, t)
r ? (r.value = n) : (e.next = { key: t, next: e.next, value: n })
},
listHas = function (e, t) {
return !!listGetNode(e, t)
},
sideChannel = function () {
var e,
t,
n,
r = {
assert: function (e) {
if (!r.has(e))
throw new $TypeError('Side channel does not contain ' + inspect(e))
},
get: function (r) {
if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
if (e) return $weakMapGet(e, r)
} else if ($Map) {
if (t) return $mapGet(t, r)
} else if (n) return listGet(n, r)
},
has: function (r) {
if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
if (e) return $weakMapHas(e, r)
} else if ($Map) {
if (t) return $mapHas(t, r)
} else if (n) return listHas(n, r)
return !1
},
set: function (r, a) {
$WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)
? (e || (e = new $WeakMap()), $weakMapSet(e, r, a))
: $Map
? (t || (t = new $Map()), $mapSet(t, r, a))
: (n || (n = { key: {}, next: null }), listSet(n, r, a))
}
}
return r
},
replace = String.prototype.replace,
percentTwenties = /%20/g,
Format = { RFC1738: 'RFC1738', RFC3986: 'RFC3986' },
formats$3 = {
default: Format.RFC3986,
formatters: {
RFC1738: function (e) {
return replace.call(e, percentTwenties, '+')
},
RFC3986: function (e) {
return String(e)
}
},
RFC1738: Format.RFC1738,
RFC3986: Format.RFC3986
},
formats$2 = formats$3,
has$2 = Object.prototype.hasOwnProperty,
isArray$3 = Array.isArray,
hexTable = (function () {
for (var e = [], t = 0; t < 256; ++t)
e.push('%' + ((t < 16 ? '0' : '') + t.toString(16)).toUpperCase())
return e
})(),
compactQueue = function (e) {
for (; e.length > 1; ) {
var t = e.pop(),
n = t.obj[t.prop]
if (isArray$3(n)) {
for (var r = [], a = 0; a < n.length; ++a) void 0 !== n[a] && r.push(n[a])
t.obj[t.prop] = r
}
}
},
arrayToObject = function (e, t) {
for (var n = t && t.plainObjects ? Object.create(null) : {}, r = 0; r < e.length; ++r)
void 0 !== e[r] && (n[r] = e[r])
return n
},
merge = function e(t, n, r) {
if (!n) return t
if ('object' !== _typeof2(n)) {
if (isArray$3(t)) t.push(n)
else {
if (!t || 'object' !== _typeof2(t)) return [t, n]
;((r && (r.plainObjects || r.allowPrototypes)) ||
!has$2.call(Object.prototype, n)) &&
(t[n] = !0)
}
return t
}
if (!t || 'object' !== _typeof2(t)) return [t].concat(n)
var a = t
return (
isArray$3(t) && !isArray$3(n) && (a = arrayToObject(t, r)),
isArray$3(t) && isArray$3(n)
? (n.forEach(function (n, a) {
if (has$2.call(t, a)) {
var o = t[a]
o && 'object' === _typeof2(o) && n && 'object' === _typeof2(n)
? (t[a] = e(o, n, r))
: t.push(n)
} else t[a] = n
}),
t)
: Object.keys(n).reduce(function (t, a) {
var o = n[a]
return has$2.call(t, a) ? (t[a] = e(t[a], o, r)) : (t[a] = o), t
}, a)
)
},
assign = function (e, t) {
return Object.keys(t).reduce(function (e, n) {
return (e[n] = t[n]), e
}, e)
},
decode$1 = function (t, n, r) {
var a = t.replace(/\+/g, ' ')
if ('iso-8859-1' === r) return a.replace(/%[0-9a-f]{2}/gi, unescape)
try {
return decodeURIComponent(a)
} catch (e) {
return a
}
},
encode = function (e, t, n, r, a) {
if (0 === e.length) return e
var o = e
if (
('symbol' === _typeof2(e)
? (o = Symbol.prototype.toString.call(e))
: 'string' != typeof e && (o = String(e)),
'iso-8859-1' === n)
)
return escape(o).replace(/%u[0-9a-f]{4}/gi, function (e) {
return '%26%23' + parseInt(e.slice(2), 16) + '%3B'
})
for (var i = '', s = 0; s < o.length; ++s) {
var l = o.charCodeAt(s)
45 === l ||
46 === l ||
95 === l ||
126 === l ||
(l >= 48 && l <= 57) ||
(l >= 65 && l <= 90) ||
(l >= 97 && l <= 122) ||
(a === formats$2.RFC1738 && (40 === l || 41 === l))
? (i += o.charAt(s))
: l < 128
? (i += hexTable[l])
: l < 2048
? (i += hexTable[192 | (l >> 6)] + hexTable[128 | (63 & l)])
: l < 55296 || l >= 57344
? (i +=
hexTable[224 | (l >> 12)] +
hexTable[128 | ((l >> 6) & 63)] +
hexTable[128 | (63 & l)])
: ((s += 1),
(l = 65536 + (((1023 & l) << 10) | (1023 & o.charCodeAt(s)))),
(i +=
hexTable[240 | (l >> 18)] +
hexTable[128 | ((l >> 12) & 63)] +
hexTable[128 | ((l >> 6) & 63)] +
hexTable[128 | (63 & l)]))
}
return i
},
compact = function (e) {
for (var t = [{ obj: { o: e }, prop: 'o' }], n = [], r = 0; r < t.length; ++r)
for (
var a = t[r], o = a.obj[a.prop], i = Object.keys(o), s = 0;
s < i.length;
++s
) {
var l = i[s],
c = o[l]
'object' === _typeof2(c) &&
null !== c &&
-1 === n.indexOf(c) &&
(t.push({ obj: o, prop: l }), n.push(c))
}
return compactQueue(t), e
},
isRegExp = function (e) {
return '[object RegExp]' === Object.prototype.toString.call(e)
},
isBuffer = function (e) {
return (
!(!e || 'object' !== _typeof2(e)) &&
!!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e))
)
},
combine = function (e, t) {
return [].concat(e, t)
},
maybeMap = function (e, t) {
if (isArray$3(e)) {
for (var n = [], r = 0; r < e.length; r += 1) n.push(t(e[r]))
return n
}
return t(e)
},
utils$2 = {
arrayToObject: arrayToObject,
assign: assign,
combine: combine,
compact: compact,
decode: decode$1,
encode: encode,
isBuffer: isBuffer,
isRegExp: isRegExp,
maybeMap: maybeMap,
merge: merge
},
getSideChannel = sideChannel,
utils$1 = utils$2,
formats$1 = formats$3,
has$1 = Object.prototype.hasOwnProperty,
arrayPrefixGenerators = {
brackets: function (e) {
return e + '[]'
},
comma: 'comma',
indices: function (e, t) {
return e + '[' + t + ']'
},
repeat: function (e) {
return e
}
},
isArray$2 = Array.isArray,
split = String.prototype.split,
push = Array.prototype.push,
pushToArray = function (e, t) {
push.apply(e, isArray$2(t) ? t : [t])
},
toISO = Date.prototype.toISOString,
defaultFormat = formats$1.default,
defaults$1 = {
addQueryPrefix: !1,
allowDots: !1,
charset: 'utf-8',
charsetSentinel: !1,
delimiter: '&',
encode: !0,
encoder: utils$1.encode,
encodeValuesOnly: !1,
format: defaultFormat,
formatter: formats$1.formatters[defaultFormat],
indices: !1,
serializeDate: function (e) {
return toISO.call(e)
},
skipNulls: !1,
strictNullHandling: !1
},
isNonNullishPrimitive = function (e) {
return (
'string' == typeof e ||
'number' == typeof e ||
'boolean' == typeof e ||
'symbol' === _typeof2(e) ||
'bigint' == typeof e
)
},
sentinel = {},
stringify$1 = function e(t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
for (var m = t, g = v, y = 0, b = !1; void 0 !== (g = g.get(sentinel)) && !b; ) {
var _ = g.get(t)
if (((y += 1), void 0 !== _)) {
if (_ === y) throw new RangeError('Cyclic object value')
b = !0
}
void 0 === g.get(sentinel) && (y = 0)
}
if (
('function' == typeof s
? (m = s(n, m))
: m instanceof Date
? (m = u(m))
: 'comma' === r &&
isArray$2(m) &&
(m = utils$1.maybeMap(m, function (e) {
return e instanceof Date ? u(e) : e
})),
null === m)
) {
if (a) return i && !f ? i(n, defaults$1.encoder, h, 'key', p) : n
m = ''
}
if (isNonNullishPrimitive(m) || utils$1.isBuffer(m)) {
if (i) {
var A = f ? n : i(n, defaults$1.encoder, h, 'key', p)
if ('comma' === r && f) {
for (var x = split.call(String(m), ','), w = '', k = 0; k < x.length; ++k)
w += (0 === k ? '' : ',') + d(i(x[k], defaults$1.encoder, h, 'value', p))
return [d(A) + '=' + w]
}
return [d(A) + '=' + d(i(m, defaults$1.encoder, h, 'value', p))]
}
return [d(n) + '=' + d(String(m))]
}
var S,
E = []
if (void 0 === m) return E
if ('comma' === r && isArray$2(m))
S = [{ value: m.length > 0 ? m.join(',') || null : void 0 }]
else if (isArray$2(s)) S = s
else {
var P = Object.keys(m)
S = l ? P.sort(l) : P
}
for (var C = 0; C < S.length; ++C) {
var T = S[C],
I = 'object' === _typeof2(T) && void 0 !== T.value ? T.value : m[T]
if (!o || null !== I) {
var M = isArray$2(m)
? 'function' == typeof r
? r(n, T)
: n
: n + (c ? '.' + T : '[' + T + ']')
v.set(t, y)
var R = getSideChannel()
R.set(sentinel, v), pushToArray(E, e(I, M, r, a, o, i, s, l, c, u, p, d, f, h, R))
}
}
return E
},
normalizeStringifyOptions = function (e) {
if (!e) return defaults$1
if (null !== e.encoder && void 0 !== e.encoder && 'function' != typeof e.encoder)
throw new TypeError('Encoder has to be a function.')
var t = e.charset || defaults$1.charset
if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
throw new TypeError(
'The charset option must be either utf-8, iso-8859-1, or undefined'
)
var n = formats$1.default
if (void 0 !== e.format) {
if (!has$1.call(formats$1.formatters, e.format))
throw new TypeError('Unknown format option provided.')
n = e.format
}
var r = formats$1.formatters[n],
a = defaults$1.filter
return (
('function' == typeof e.filter || isArray$2(e.filter)) && (a = e.filter),
{
addQueryPrefix:
'boolean' == typeof e.addQueryPrefix
? e.addQueryPrefix
: defaults$1.addQueryPrefix,
allowDots: void 0 === e.allowDots ? defaults$1.allowDots : !!e.allowDots,
charset: t,
charsetSentinel:
'boolean' == typeof e.charsetSentinel
? e.charsetSentinel
: defaults$1.charsetSentinel,
delimiter: void 0 === e.delimiter ? defaults$1.delimiter : e.delimiter,
encode: 'boolean' == typeof e.encode ? e.encode : defaults$1.encode,
encoder: 'function' == typeof e.encoder ? e.encoder : defaults$1.encoder,
encodeValuesOnly:
'boolean' == typeof e.encodeValuesOnly
? e.encodeValuesOnly
: defaults$1.encodeValuesOnly,
filter: a,
format: n,
formatter: r,
serializeDate:
'function' == typeof e.serializeDate
? e.serializeDate
: defaults$1.serializeDate,
skipNulls: 'boolean' == typeof e.skipNulls ? e.skipNulls : defaults$1.skipNulls,
sort: 'function' == typeof e.sort ? e.sort : null,
strictNullHandling:
'boolean' == typeof e.strictNullHandling
? e.strictNullHandling
: defaults$1.strictNullHandling
}
)
},
stringify_1 = function (e, t) {
var n,
r = e,
a = normalizeStringifyOptions(t)
'function' == typeof a.filter
? (r = (0, a.filter)('', r))
: isArray$2(a.filter) && (n = a.filter)
var o,
i = []
if ('object' !== _typeof2(r) || null === r) return ''
o =
t && t.arrayFormat in arrayPrefixGenerators
? t.arrayFormat
: t && 'indices' in t
? t.indices
? 'indices'
: 'repeat'
: 'indices'
var s = arrayPrefixGenerators[o]
n || (n = Object.keys(r)), a.sort && n.sort(a.sort)
for (var l = getSideChannel(), c = 0; c < n.length; ++c) {
var u = n[c]
;(a.skipNulls && null === r[u]) ||
pushToArray(
i,
stringify$1(
r[u],
u,
s,
a.strictNullHandling,
a.skipNulls,
a.encode ? a.encoder : null,
a.filter,
a.sort,
a.allowDots,
a.serializeDate,
a.format,
a.formatter,
a.encodeValuesOnly,
a.charset,
l
)
)
}
var p = i.join(a.delimiter),
d = !0 === a.addQueryPrefix ? '?' : ''
return (
a.charsetSentinel &&
('iso-8859-1' === a.charset
? (d += 'utf8=%26%2310003%3B&')
: (d += 'utf8=%E2%9C%93&')),
p.length > 0 ? d + p : ''
)
},
utils = utils$2,
has = Object.prototype.hasOwnProperty,
isArray$1 = Array.isArray,
defaults = {
allowDots: !1,
allowPrototypes: !1,
allowSparse: !1,
arrayLimit: 20,
charset: 'utf-8',
charsetSentinel: !1,
comma: !1,
decoder: utils.decode,
delimiter: '&',
depth: 5,
ignoreQueryPrefix: !1,
interpretNumericEntities: !1,
parameterLimit: 1e3,
parseArrays: !0,
plainObjects: !1,
strictNullHandling: !1
},
interpretNumericEntities = function (e) {
return e.replace(/(\d+);/g, function (e, t) {
return String.fromCharCode(parseInt(t, 10))
})
},
parseArrayValue = function (e, t) {
return e && 'string' == typeof e && t.comma && e.indexOf(',') > -1 ? e.split(',') : e
},
isoSentinel = 'utf8=%26%2310003%3B',
charsetSentinel = 'utf8=%E2%9C%93',
parseValues = function (e, t) {
var n,
r = {},
a = t.ignoreQueryPrefix ? e.replace(/^\?/, '') : e,
o = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit,
i = a.split(t.delimiter, o),
s = -1,
l = t.charset
if (t.charsetSentinel)
for (n = 0; n < i.length; ++n)
0 === i[n].indexOf('utf8=') &&
(i[n] === charsetSentinel
? (l = 'utf-8')
: i[n] === isoSentinel && (l = 'iso-8859-1'),
(s = n),
(n = i.length))
for (n = 0; n < i.length; ++n)
if (n !== s) {
var c,
u,
p = i[n],
d = p.indexOf(']='),
f = -1 === d ? p.indexOf('=') : d + 1
;-1 === f
? ((c = t.decoder(p, defaults.decoder, l, 'key')),
(u = t.strictNullHandling ? null : ''))
: ((c = t.decoder(p.slice(0, f), defaults.decoder, l, 'key')),
(u = utils.maybeMap(parseArrayValue(p.slice(f + 1), t), function (e) {
return t.decoder(e, defaults.decoder, l, 'value')
}))),
u &&
t.interpretNumericEntities &&
'iso-8859-1' === l &&
(u = interpretNumericEntities(u)),
p.indexOf('[]=') > -1 && (u = isArray$1(u) ? [u] : u),
has.call(r, c) ? (r[c] = utils.combine(r[c], u)) : (r[c] = u)
}
return r
},
parseObject = function (e, t, n, r) {
for (var a = r ? t : parseArrayValue(t, n), o = e.length - 1; o >= 0; --o) {
var i,
s = e[o]
if ('[]' === s && n.parseArrays) i = [].concat(a)
else {
i = n.plainObjects ? Object.create(null) : {}
var l =
'[' === s.charAt(0) && ']' === s.charAt(s.length - 1) ? s.slice(1, -1) : s,
c = parseInt(l, 10)
n.parseArrays || '' !== l
? !isNaN(c) &&
s !== l &&
String(c) === l &&
c >= 0 &&
n.parseArrays &&
c <= n.arrayLimit
? ((i = [])[c] = a)
: '__proto__' !== l && (i[l] = a)
: (i = { 0: a })
}
a = i
}
return a
},
parseKeys = function (e, t, n, r) {
if (e) {
var a = n.allowDots ? e.replace(/\.([^.[]+)/g, '[$1]') : e,
o = /(\[[^[\]]*])/g,
i = n.depth > 0 && /(\[[^[\]]*])/.exec(a),
s = i ? a.slice(0, i.index) : a,
l = []
if (s) {
if (!n.plainObjects && has.call(Object.prototype, s) && !n.allowPrototypes) return
l.push(s)
}
for (var c = 0; n.depth > 0 && null !== (i = o.exec(a)) && c < n.depth; ) {
if (
((c += 1),
!n.plainObjects &&
has.call(Object.prototype, i[1].slice(1, -1)) &&
!n.allowPrototypes)
)
return
l.push(i[1])
}
return i && l.push('[' + a.slice(i.index) + ']'), parseObject(l, t, n, r)
}
},
normalizeParseOptions = function (e) {
if (!e) return defaults
if (null !== e.decoder && void 0 !== e.decoder && 'function' != typeof e.decoder)
throw new TypeError('Decoder has to be a function.')
if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
throw new TypeError(
'The charset option must be either utf-8, iso-8859-1, or undefined'
)
var t = void 0 === e.charset ? defaults.charset : e.charset
return {
allowDots: void 0 === e.allowDots ? defaults.allowDots : !!e.allowDots,
allowPrototypes:
'boolean' == typeof e.allowPrototypes
? e.allowPrototypes
: defaults.allowPrototypes,
allowSparse:
'boolean' == typeof e.allowSparse ? e.allowSparse : defaults.allowSparse,
arrayLimit: 'number' == typeof e.arrayLimit ? e.arrayLimit : defaults.arrayLimit,
charset: t,
charsetSentinel:
'boolean' == typeof e.charsetSentinel
? e.charsetSentinel
: defaults.charsetSentinel,
comma: 'boolean' == typeof e.comma ? e.comma : defaults.comma,
decoder: 'function' == typeof e.decoder ? e.decoder : defaults.decoder,
delimiter:
'string' == typeof e.delimiter || utils.isRegExp(e.delimiter)
? e.delimiter
: defaults.delimiter,
depth: 'number' == typeof e.depth || !1 === e.depth ? +e.depth : defaults.depth,
ignoreQueryPrefix: !0 === e.ignoreQueryPrefix,
interpretNumericEntities:
'boolean' == typeof e.interpretNumericEntities
? e.interpretNumericEntities
: defaults.interpretNumericEntities,
parameterLimit:
'number' == typeof e.parameterLimit ? e.parameterLimit : defaults.parameterLimit,
parseArrays: !1 !== e.parseArrays,
plainObjects:
'boolean' == typeof e.plainObjects ? e.plainObjects : defaults.plainObjects,
strictNullHandling:
'boolean' == typeof e.strictNullHandling
? e.strictNullHandling
: defaults.strictNullHandling
}
},
parse$1 = function (e, t) {
var n = normalizeParseOptions(t)
if ('' === e || null == e) return n.plainObjects ? Object.create(null) : {}
for (
var r = 'string' == typeof e ? parseValues(e, n) : e,
a = n.plainObjects ? Object.create(null) : {},
o = Object.keys(r),
i = 0;
i < o.length;
++i
) {
var s = o[i],
l = parseKeys(s, r[s], n, 'string' == typeof e)
a = utils.merge(a, l, n)
}
return !0 === n.allowSparse ? a : utils.compact(a)
},
stringify = stringify_1,
parse = parse$1,
formats = formats$3,
lib = { formats: formats, parse: parse, stringify: stringify },
global$1 =
('undefined' != typeof globalThis && globalThis) ||
('undefined' != typeof self && self) ||
(void 0 !== global$1 && global$1),
support = {
searchParams: 'URLSearchParams' in global$1,
iterable: 'Symbol' in global$1 && 'iterator' in Symbol,
blob:
'FileReader' in global$1 &&
'Blob' in global$1 &&
(function () {
try {
return new Blob(), !0
} catch (e) {
return !1
}
})(),
formData: 'FormData' in global$1,
arrayBuffer: 'ArrayBuffer' in global$1
}
function isDataView(e) {
return e && DataView.prototype.isPrototypeOf(e)
}
if (support.arrayBuffer)
var viewClasses = [
'[object Int8Array]',
'[object Uint8Array]',
'[object Uint8ClampedArray]',
'[object Int16Array]',
'[object Uint16Array]',
'[object Int32Array]',
'[object Uint32Array]',
'[object Float32Array]',
'[object Float64Array]'
],
isArrayBufferView =
ArrayBuffer.isView ||
function (e) {
return e && viewClasses.indexOf(Object.prototype.toString.call(e)) > -1
}
function normalizeName(e) {
if (
('string' != typeof e && (e = String(e)),
/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || '' === e)
)
throw new TypeError('Invalid character in header field name: "' + e + '"')
return e.toLowerCase()
}
function normalizeValue(e) {
return 'string' != typeof e && (e = String(e)), e
}
function iteratorFor(e) {
var t = {
next: function () {
var t = e.shift()
return { done: void 0 === t, value: t }
}
}
return (
support.iterable &&
(t[Symbol.iterator] = function () {
return t
}),
t
)
}
function Headers(e) {
;(this.map = {}),
e instanceof Headers
? e.forEach(function (e, t) {
this.append(t, e)
}, this)
: Array.isArray(e)
? e.forEach(function (e) {
this.append(e[0], e[1])
}, this)
: e &&
Object.getOwnPropertyNames(e).forEach(function (t) {
this.append(t, e[t])
}, this)
}
function consumed(e) {
if (e.bodyUsed) return Promise.reject(new TypeError('Already read'))
e.bodyUsed = !0
}
function fileReaderReady(e) {
return new Promise(function (t, n) {
;(e.onload = function () {
t(e.result)
}),
(e.onerror = function () {
n(e.error)
})
})
}
function readBlobAsArrayBuffer(e) {
var t = new FileReader(),
n = fileReaderReady(t)
return t.readAsArrayBuffer(e), n
}
function readBlobAsText(e) {
var t = new FileReader(),
n = fileReaderReady(t)
return t.readAsText(e), n
}
function readArrayBufferAsText(e) {
for (var t = new Uint8Array(e), n = new Array(t.length), r = 0; r < t.length; r++)
n[r] = String.fromCharCode(t[r])
return n.join('')
}
function bufferClone(e) {
if (e.slice) return e.slice(0)
var t = new Uint8Array(e.byteLength)
return t.set(new Uint8Array(e)), t.buffer
}
function Body() {
return (
(this.bodyUsed = !1),
(this._initBody = function (e) {
;(this.bodyUsed = this.bodyUsed),
(this._bodyInit = e),
e
? 'string' == typeof e
? (this._bodyText = e)
: support.blob && Blob.prototype.isPrototypeOf(e)
? (this._bodyBlob = e)
: support.formData && FormData.prototype.isPrototypeOf(e)
? (this._bodyFormData = e)
: support.searchParams && URLSearchParams.prototype.isPrototypeOf(e)
? (this._bodyText = e.toString())
: support.arrayBuffer && support.blob && isDataView(e)
? ((this._bodyArrayBuffer = bufferClone(e.buffer)),
(this._bodyInit = new Blob([this._bodyArrayBuffer])))
: support.arrayBuffer &&
(ArrayBuffer.prototype.isPrototypeOf(e) || isArrayBufferView(e))
? (this._bodyArrayBuffer = bufferClone(e))
: (this._bodyText = e = Object.prototype.toString.call(e))
: (this._bodyText = ''),
this.headers.get('content-type') ||
('string' == typeof e
? this.headers.set('content-type', 'text/plain;charset=UTF-8')
: this._bodyBlob && this._bodyBlob.type
? this.headers.set('content-type', this._bodyBlob.type)
: support.searchParams &&
URLSearchParams.prototype.isPrototypeOf(e) &&
this.headers.set(
'content-type',
'application/x-www-form-urlencoded;charset=UTF-8'
))
}),
support.blob &&
((this.blob = function () {
var e = consumed(this)
if (e) return e
if (this._bodyBlob) return Promise.resolve(this._bodyBlob)
if (this._bodyArrayBuffer)
return Promise.resolve(new Blob([this._bodyArrayBuffer]))
if (this._bodyFormData) throw new Error('could not read FormData body as blob')
return Promise.resolve(new Blob([this._bodyText]))
}),
(this.arrayBuffer = function () {
if (this._bodyArrayBuffer) {
var e = consumed(this)
return (
e ||
(ArrayBuffer.isView(this._bodyArrayBuffer)
? Promise.resolve(
this._bodyArrayBuffer.buffer.slice(
this._bodyArrayBuffer.byteOffset,
this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
)
)
: Promise.resolve(this._bodyArrayBuffer))
)
}
return this.blob().then(readBlobAsArrayBuffer)
})),
(this.text = function () {
var e = consumed(this)
if (e) return e
if (this._bodyBlob) return readBlobAsText(this._bodyBlob)
if (this._bodyArrayBuffer)
return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
if (this._bodyFormData) throw new Error('could not read FormData body as text')
return Promise.resolve(this._bodyText)
}),
support.formData &&
(this.formData = function () {
return this.text().then(decode)
}),
(this.json = function () {
return this.text().then(JSON.parse)
}),
this
)
}
;(Headers.prototype.append = function (e, t) {
;(e = normalizeName(e)), (t = normalizeValue(t))
var n = this.map[e]
this.map[e] = n ? n + ', ' + t : t
}),
(Headers.prototype.delete = function (e) {
delete this.map[normalizeName(e)]
}),
(Headers.prototype.get = function (e) {
return (e = normalizeName(e)), this.has(e) ? this.map[e] : null
}),
(Headers.prototype.has = function (e) {
return this.map.hasOwnProperty(normalizeName(e))
}),
(Headers.prototype.set = function (e, t) {
this.map[normalizeName(e)] = normalizeValue(t)
}),
(Headers.prototype.forEach = function (e, t) {
for (var n in this.map) this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this)
}),
(Headers.prototype.keys = function () {
var e = []
return (
this.forEach(function (t, n) {
e.push(n)
}),
iteratorFor(e)
)
}),
(Headers.prototype.values = function () {
var e = []
return (
this.forEach(function (t) {
e.push(t)
}),
iteratorFor(e)
)
}),
(Headers.prototype.entries = function () {
var e = []
return (
this.forEach(function (t, n) {
e.push([n, t])
}),
iteratorFor(e)
)
}),
support.iterable && (Headers.prototype[Symbol.iterator] = Headers.prototype.entries)
var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']
function normalizeMethod(e) {
var t = e.toUpperCase()
return methods.indexOf(t) > -1 ? t : e
}
function Request(e, t) {
if (!(this instanceof Request))
throw new TypeError(
'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
)
var n = (t = t || {}).body
if (e instanceof Request) {
if (e.bodyUsed) throw new TypeError('Already read')
;(this.url = e.url),
(this.credentials = e.credentials),
t.headers || (this.headers = new Headers(e.headers)),
(this.method = e.method),
(this.mode = e.mode),
(this.signal = e.signal),
n || null == e._bodyInit || ((n = e._bodyInit), (e.bodyUsed = !0))
} else this.url = String(e)
if (
((this.credentials = t.credentials || this.credentials || 'same-origin'),
(!t.headers && this.headers) || (this.headers = new Headers(t.headers)),
(this.method = normalizeMethod(t.method || this.method || 'GET')),
(this.mode = t.mode || this.mode || null),
(this.signal = t.signal || this.signal),
(this.referrer = null),
('GET' === this.method || 'HEAD' === this.method) && n)
)
throw new TypeError('Body not allowed for GET or HEAD requests')
if (
(this._initBody(n),
!(
('GET' !== this.method && 'HEAD' !== this.method) ||
('no-store' !== t.cache && 'no-cache' !== t.cache)
))
) {
var r = /([?&])_=[^&]*/
if (r.test(this.url)) this.url = this.url.replace(r, '$1_=' + new Date().getTime())
else {
this.url += (/\?/.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()
}
}
}
function decode(e) {
var t = new FormData()
return (
e
.trim()
.split('&')
.forEach(function (e) {
if (e) {
var n = e.split('='),
r = n.shift().replace(/\+/g, ' '),
a = n.join('=').replace(/\+/g, ' ')
t.append(decodeURIComponent(r), decodeURIComponent(a))
}
}),
t
)
}
function parseHeaders(e) {
var t = new Headers()
return (
e
.replace(/\r?\n[\t ]+/g, ' ')
.split('\r')
.map(function (e) {
return 0 === e.indexOf('\n') ? e.substr(1, e.length) : e
})
.forEach(function (e) {
var n = e.split(':'),
r = n.shift().trim()
if (r) {
var a = n.join(':').trim()
t.append(r, a)
}
}),
t
)
}
function Response(e, t) {
if (!(this instanceof Response))
throw new TypeError(
'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
)
t || (t = {}),
(this.type = 'default'),
(this.status = void 0 === t.status ? 200 : t.status),
(this.ok = this.status >= 200 && this.status < 300),
(this.statusText = void 0 === t.statusText ? '' : '' + t.statusText),
(this.headers = new Headers(t.headers)),
(this.url = t.url || ''),
this._initBody(e)
}
;(Request.prototype.clone = function () {
return new Request(this, { body: this._bodyInit })
}),
Body.call(Request.prototype),
Body.call(Response.prototype),
(Response.prototype.clone = function () {
return new Response(this._bodyInit, {
status: this.status,
statusText: this.statusText,
headers: new Headers(this.headers),
url: this.url
})
}),
(Response.error = function () {
var e = new Response(null, { status: 0, statusText: '' })
return (e.type = 'error'), e
})
var redirectStatuses = [301, 302, 303, 307, 308]
Response.redirect = function (e, t) {
if (-1 === redirectStatuses.indexOf(t)) throw new RangeError('Invalid status code')
return new Response(null, { status: t, headers: { location: e } })
}
var DOMException = global$1.DOMException
try {
new DOMException()
} catch (err) {
;(DOMException = function (e, t) {
;(this.message = e), (this.name = t)
var n = Error(e)
this.stack = n.stack
}),
(DOMException.prototype = Object.create(Error.prototype)),
(DOMException.prototype.constructor = DOMException)
}
function fetch$1(t, n) {
return new Promise(function (r, a) {
var o = new Request(t, n)
if (o.signal && o.signal.aborted) return a(new DOMException('Aborted', 'AbortError'))
var i = new XMLHttpRequest()
function s() {
i.abort()
}
;(i.onload = function () {
var e = {
status: i.status,
statusText: i.statusText,
headers: parseHeaders(i.getAllResponseHeaders() || '')
}
e.url = 'responseURL' in i ? i.responseURL : e.headers.get('X-Request-URL')
var t = 'response' in i ? i.response : i.responseText
setTimeout(function () {
r(new Response(t, e))
}, 0)
}),
(i.onerror = function () {
setTimeout(function () {
a(new TypeError('Network request failed'))
}, 0)
}),
(i.ontimeout = function () {
setTimeout(function () {
a(new TypeError('Network request failed'))
}, 0)
}),
(i.onabort = function () {
setTimeout(function () {
a(new DOMException('Aborted', 'AbortError'))
}, 0)
}),
i.open(
o.method,
(function (t) {
try {
return '' === t && global$1.location.href ? global$1.location.href : t
} catch (e) {
return t
}
})(o.url),
!0
),
'include' === o.credentials
? (i.withCredentials = !0)
: 'omit' === o.credentials && (i.withCredentials = !1),
'responseType' in i &&
(support.blob
? (i.responseType = 'blob')
: support.arrayBuffer &&
o.headers.get('Content-Type') &&
-1 !== o.headers.get('Content-Type').indexOf('application/octet-stream') &&
(i.responseType = 'arraybuffer')),
!n || 'object' !== _typeof2(n.headers) || n.headers instanceof Headers
? o.headers.forEach(function (e, t) {
i.setRequestHeader(t, e)
})
: Object.getOwnPropertyNames(n.headers).forEach(function (e) {
i.setRequestHeader(e, normalizeValue(n.headers[e]))
}),
o.signal &&
(o.signal.addEventListener('abort', s),
(i.onreadystatechange = function () {
4 === i.readyState && o.signal.removeEventListener('abort', s)
})),
i.send(void 0 === o._bodyInit ? null : o._bodyInit)
})
}
function ownKeys(e, t) {
var n = Object.keys(e)
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e)
t &&
(r = r.filter(function (t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
})),
n.push.apply(n, r)
}
return n
}
function _objectSpread2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {}
t % 2
? ownKeys(Object(n), !0).forEach(function (t) {
_defineProperty(e, t, n[t])
})
: Object.getOwnPropertyDescriptors
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
: ownKeys(Object(n)).forEach(function (t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
})
}
return e
}
function _typeof(e) {
return (
(_typeof =
'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
}),
_typeof(e)
)
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n]
;(r.enumerable = r.enumerable || !1),
(r.configurable = !0),
'value' in r && (r.writable = !0),
Object.defineProperty(e, r.key, r)
}
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e
}
function _defineProperty(e, t, n) {
return (
t in e
? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
})
: (e[t] = n),
e
)
}
function _inherits(e, t) {
if ('function' != typeof t && null !== t)
throw new TypeError('Super expression must either be null or a function')
;(e.prototype = Object.create(t && t.prototype, {
constructor: { value: e, writable: !0, configurable: !0 }
})),
t && _setPrototypeOf(e, t)
}
function _getPrototypeOf(e) {
return (
(_getPrototypeOf = Object.setPrototypeOf
? Object.getPrototypeOf
: function (e) {
return e.__proto__ || Object.getPrototypeOf(e)
}),
_getPrototypeOf(e)
)
}
function _setPrototypeOf(e, t) {
return (
(_setPrototypeOf =
Object.setPrototypeOf ||
function (e, t) {
return (e.__proto__ = t), e
}),
_setPrototypeOf(e, t)
)
}
function _isNativeReflectConstruct() {
if ('undefined' == typeof Reflect || !Reflect.construct) return !1
if (Reflect.construct.sham) return !1
if ('function' == typeof Proxy) return !0
try {
return (
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
)
} catch (e) {
return !1
}
}
function _construct(e, t, n) {
return (
(_construct = _isNativeReflectConstruct()
? Reflect.construct
: function (e, t, n) {
var r = [null]
r.push.apply(r, t)
var a = new (Function.bind.apply(e, r))()
return n && _setPrototypeOf(a, n.prototype), a
}),
_construct.apply(null, arguments)
)
}
function _isNativeFunction(e) {
return -1 !== Function.toString.call(e).indexOf('[native code]')
}
function _wrapNativeSuper(e) {
var t = 'function' == typeof Map ? new Map() : void 0
return (
(_wrapNativeSuper = function (e) {
if (null === e || !_isNativeFunction(e)) return e
if ('function' != typeof e)
throw new TypeError('Super expression must either be null or a function')
if (void 0 !== t) {
if (t.has(e)) return t.get(e)
t.set(e, n)
}
function n() {
return _construct(e, arguments, _getPrototypeOf(this).constructor)
}
return (
(n.prototype = Object.create(e.prototype, {
constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 }
})),
_setPrototypeOf(n, e)
)
}),
_wrapNativeSuper(e)
)
}
function _assertThisInitialized(e) {
if (void 0 === e)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e
}
function _possibleConstructorReturn(e, t) {
if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
if (void 0 !== t)
throw new TypeError('Derived constructors may only return object or undefined')
return _assertThisInitialized(e)
}
function _createSuper(e) {
var t = _isNativeReflectConstruct()
return function () {
var n,
r = _getPrototypeOf(e)
if (t) {
var a = _getPrototypeOf(this).constructor
n = Reflect.construct(r, arguments, a)
} else n = r.apply(this, arguments)
return _possibleConstructorReturn(this, n)
}
}
function _toConsumableArray(e) {
return (
_arrayWithoutHoles(e) ||
_iterableToArray(e) ||
_unsupportedIterableToArray(e) ||
_nonIterableSpread()
)
}
function _arrayWithoutHoles(e) {
if (Array.isArray(e)) return _arrayLikeToArray(e)
}
function _iterableToArray(e) {
if (
('undefined' != typeof Symbol && null != e[Symbol.iterator]) ||
null != e['@@iterator']
)
return Array.from(e)
}
function _unsupportedIterableToArray(e, t) {
if (e) {
if ('string' == typeof e) return _arrayLikeToArray(e, t)
var n = Object.prototype.toString.call(e).slice(8, -1)
return (
'Object' === n && e.constructor && (n = e.constructor.name),
'Map' === n || 'Set' === n
? Array.from(e)
: 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
? _arrayLikeToArray(e, t)
: void 0
)
}
}
function _arrayLikeToArray(e, t) {
;(null == t || t > e.length) && (t = e.length)
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
return r
}
function _nonIterableSpread() {
throw new TypeError(
'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
)
}
function compose(e) {
if (!Array.isArray(e)) throw new TypeError('Middlewares must be an array!')
for (var t = e.length, n = 0; n < t; n++)
if ('function' != typeof e[n])
throw new TypeError('Middleware must be componsed of function')
return function (t, n) {
var r = -1
return (function a(o) {
if (o <= r)
return Promise.reject(
new Error('next() should not be called multiple times in one middleware!')
)
r = o
var i = e[o] || n
if (!i) return Promise.resolve()
try {
return Promise.resolve(
i(t, function () {
return a(o + 1)
})
)
} catch (err) {
return Promise.reject(err)
}
})(0)
}
}
;(fetch$1.polyfill = !0),
global$1.fetch ||
((global$1.fetch = fetch$1),
(global$1.Headers = Headers),
(global$1.Request = Request),
(global$1.Response = Response)),
self.fetch.bind(self)
var Onion = (function () {
function e(t) {
if ((_classCallCheck(this, e), !Array.isArray(t)))
throw new TypeError('Default middlewares must be an array!')
;(this.defaultMiddlewares = _toConsumableArray(t)), (this.middlewares = [])
}
return (
_createClass(e, [
{
key: 'use',
value: function (t) {
var n =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: { global: !1, core: !1, defaultInstance: !1 },
r = !1,
a = !1,
o = !1
'number' == typeof n
? (process && process.env, (r = !0), (a = !1))
: 'object' === _typeof(n) &&
n &&
((a = n.global || !1), (r = n.core || !1), (o = n.defaultInstance || !1)),
a
? e.globalMiddlewares.splice(
e.globalMiddlewares.length - e.defaultGlobalMiddlewaresLength,
0,
t
)
: r
? e.coreMiddlewares.splice(
e.coreMiddlewares.length - e.defaultCoreMiddlewaresLength,
0,
t
)
: o
? this.defaultMiddlewares.push(t)
: this.middlewares.push(t)
}
},
{
key: 'execute',
value: function () {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
n = compose(
[].concat(
_toConsumableArray(this.middlewares),
_toConsumableArray(this.defaultMiddlewares),
_toConsumableArray(e.globalMiddlewares),
_toConsumableArray(e.coreMiddlewares)
)
)
return n(t)
}
}
]),
e
)
})()
;(Onion.globalMiddlewares = []),
(Onion.defaultGlobalMiddlewaresLength = 0),
(Onion.coreMiddlewares = []),
(Onion.defaultCoreMiddlewaresLength = 0)
var MapCache = (function () {
function e(t) {
_classCallCheck(this, e),
(this.cache = new Map()),
(this.timer = {}),
this.extendOptions(t)
}
return (
_createClass(e, [
{
key: 'extendOptions',
value: function (e) {
this.maxCache = e.maxCache || 0
}
},
{
key: 'get',
value: function (e) {
return this.cache.get(JSON.stringify(e))
}
},
{
key: 'set',
value: function (e, t) {
var n = this,
r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 6e4
if (this.maxCache > 0 && this.cache.size >= this.maxCache) {
var a = _toConsumableArray(this.cache.keys())[0]
this.cache.delete(a), this.timer[a] && clearTimeout(this.timer[a])
}
var o = JSON.stringify(e)
this.cache.set(o, t),
r > 0 &&
(this.timer[o] = setTimeout(function () {
n.cache.delete(o), delete n.timer[o]
}, r))
}
},
{
key: 'delete',
value: function (e) {
var t = JSON.stringify(e)
return delete this.timer[t], this.cache.delete(t)
}
},
{
key: 'clear',
value: function () {
return (this.timer = {}), this.cache.clear()
}
}
]),
e
)
})(),
RequestError = (function (e) {
_inherits(n, e)
var t = _createSuper(n)
function n(e, r) {
var a,
o =
arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 'RequestError'
return (
_classCallCheck(this, n),
((a = t.call(this, e)).name = 'RequestError'),
(a.request = r),
(a.type = o),
a
)
}
return n
})(_wrapNativeSuper(Error)),
ResponseError = (function (e) {
_inherits(n, e)
var t = _createSuper(n)
function n(e, r, a, o) {
var i,
s =
arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 'ResponseError'
return (
_classCallCheck(this, n),
((i = t.call(this, r || e.statusText)).name = 'ResponseError'),
(i.data = a),
(i.response = e),
(i.request = o),
(i.type = s),
i
)
}
return n
})(_wrapNativeSuper(Error))
function readerGBK(e) {
return new Promise(function (t, n) {
var r = new FileReader()
;(r.onload = function () {
t(r.result)
}),
(r.onerror = n),
r.readAsText(e, 'GBK')
})
}
function safeJsonParse(t) {
var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
try {
return JSON.parse(t)
} catch (e) {
if (n) throw new ResponseError(r, 'JSON.parse fail', t, a, 'ParseError')
}
return t
}
function timeout2Throw(e, t, n) {
return new Promise(function (r, a) {
setTimeout(function () {
a(new RequestError(t || 'timeout of '.concat(e, 'ms exceeded'), n, 'Timeout'))
}, e)
})
}
function cancel2Throw(e) {
return new Promise(function (t, n) {
e.cancelToken &&
e.cancelToken.promise.then(function (e) {
n(e)
})
})
}
var toString = Object.prototype.toString
function getEnv() {
var e
return (
'undefined' != typeof process &&
'[object process]' === toString.call(process) &&
(e = 'NODE'),
'undefined' != typeof XMLHttpRequest && (e = 'BROWSER'),
e
)
}
function isArray(e) {
return 'object' === _typeof(e) && '[object Array]' === Object.prototype.toString.call(e)
}
function isURLSearchParams(e) {
return 'undefined' != typeof URLSearchParams && e instanceof URLSearchParams
}
function isDate(e) {
return 'object' === _typeof(e) && '[object Date]' === Object.prototype.toString.call(e)
}
function isObject(e) {
return null !== e && 'object' === _typeof(e)
}
function forEach2ObjArr(e, t) {
if (e)
if (('object' !== _typeof(e) && (e = [e]), isArray(e)))
for (var n = 0; n < e.length; n++) t.call(null, e[n], n, e)
else
for (var r in e)
Object.prototype.hasOwnProperty.call(e, r) && t.call(null, e[r], r, e)
}
function getParamObject(e) {
return isURLSearchParams(e)
? lib.parse(e.toString(), { strictNullHandling: !0 })
: 'string' == typeof e
? [e]
: e
}
function reqStringify(e) {
return lib.stringify(e, { arrayFormat: 'repeat', strictNullHandling: !0 })
}
function mergeRequestOptions(e, t) {
return _objectSpread2(
_objectSpread2(_objectSpread2({}, e), t),
{},
{
headers: _objectSpread2(_objectSpread2({}, e.headers), t.headers),
params: _objectSpread2(
_objectSpread2({}, getParamObject(e.params)),
getParamObject(t.params)
),
method: (t.method || e.method || 'get').toLowerCase()
}
)
}
var addfix = function (e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
n = t.prefix,
r = t.suffix
return (
n && (e = ''.concat(n).concat(e)),
r && (e = ''.concat(e).concat(r)),
{ url: e, options: t }
)
},
warnedCoreType = !1
function __defaultValidateCache(e, t) {
var n = t.method
return 'get' === (void 0 === n ? 'get' : n).toLowerCase()
}
function fetchMiddleware(e, t) {
if (!e) return t()
var n = e.req,
r = (n = void 0 === n ? {} : n).options,
a = void 0 === r ? {} : r,
o = n.url,
i = void 0 === o ? '' : o,
s = e.cache,
l = e.responseInterceptors,
c = a.timeout,
u = void 0 === c ? 0 : c,
p = a.timeoutMessage,
d = a.__umiRequestCoreType__,
f = void 0 === d ? 'normal' : d,
h = a.useCache,
v = void 0 !== h && h,
m = a.method,
g = void 0 === m ? 'get' : m,
y = a.params,
b = a.ttl,
_ = a.validateCache,
A = void 0 === _ ? __defaultValidateCache : _
if ('normal' !== f) return process && process.env, t()
var x = fetch
if (!x) throw new Error('Global fetch not exist!')
var w,
k = 'BROWSER' === getEnv(),
S = A(i, a) && v && k
if (S) {
var E = s.get({ url: i, params: y, method: g })
if (E) return ((E = E.clone()).useCache = !0), (e.res = E), t()
}
return (
(w =
u > 0
? Promise.race([cancel2Throw(a), x(i, a), timeout2Throw(u, p, e.req)])
: Promise.race([cancel2Throw(a), x(i, a)])),
l.forEach(function (e) {
w = w.then(function (t) {
var n = 'function' == typeof t.clone ? t.clone() : t
return e(n, a)
})
}),
w.then(function (n) {
if (S && 200 === n.status) {
var r = n.clone()
;(r.useCache = !0), s.set({ url: i, params: y, method: g }, r, b)
}
return (e.res = n), t()
})
)
}
function parseResponseMiddleware(t, n) {
var r
return n()
.then(function () {
if (t) {
var n = t.res,
a = void 0 === n ? {} : n,
o = t.req,
i = void 0 === o ? {} : o,
s = (i || {}).options,
l = (s = void 0 === s ? {} : s).responseType,
c = void 0 === l ? 'json' : l,
u = s.charset,
p = void 0 === u ? 'utf8' : u
s.getResponse
var d = s.throwErrIfParseFail,
f = void 0 !== d && d,
h = s.parseResponse
if ((void 0 === h || h) && a && a.clone) {
if (
(((r = 'BROWSER' === getEnv() ? a.clone() : a).useCache = a.useCache || !1),
'gbk' === p)
)
try {
return a
.blob()
.then(readerGBK)
.then(function (e) {
return safeJsonParse(e, !1, r, i)
})
} catch (e) {
throw new ResponseError(r, e.message, null, i, 'ParseError')
}
else if ('json' === c)
return a.text().then(function (e) {
return safeJsonParse(e, f, r, i)
})
try {
return a[c]()
} catch (e) {
throw new ResponseError(r, 'responseType not support', null, i, 'ParseError')
}
}
}
})
.then(function (e) {
if (t) {
t.res
var n = t.req,
a = void 0 === n ? {} : n,
o = (a || {}).options,
i = (o = void 0 === o ? {} : o).getResponse,
s = void 0 !== i && i
if (r) {
if (r.status >= 200 && r.status < 300)
return s ? void (t.res = { data: e, response: r }) : void (t.res = e)
throw new ResponseError(r, 'http error', e, a, 'HttpError')
}
}
})
.catch(function (e) {
if (e instanceof RequestError || e instanceof ResponseError) throw e
var n = t.req,
r = t.res
throw (
((e.request = e.request || n),
(e.response = e.response || r),
(e.type = e.type || e.name),
(e.data = e.data || void 0),
e)
)
})
}
function simplePostMiddleware(e, t) {
if (!e) return t()
var n = e.req,
r = (n = void 0 === n ? {} : n).options,
a = void 0 === r ? {} : r,
o = a.method
if (
-1 ===
['post', 'put', 'patch', 'delete'].indexOf((void 0 === o ? 'get' : o).toLowerCase())
)
return t()
var i = a.requestType,
s = void 0 === i ? 'json' : i,
l = a.data
if (l) {
var c = Object.prototype.toString.call(l)
'[object Object]' === c || '[object Array]' === c
? 'json' === s
? ((a.headers = _objectSpread2(
{
Accept: 'application/json',
'Content-Type': 'application/json;charset=UTF-8'
},
a.headers
)),
(a.body = JSON.stringify(l)))
: 'form' === s &&
((a.headers = _objectSpread2(
{
Accept: 'application/json',
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
},
a.headers
)),
(a.body = reqStringify(l)))
: ((a.headers = _objectSpread2({ Accept: 'application/json' }, a.headers)),
(a.body = l))
}
return (e.req.options = a), t()
}
function paramsSerialize(e, t) {
var n, r
if (e)
if (t) n = t(e)
else if (isURLSearchParams(e)) n = e.toString()
else {
if (isArray(e))
(r = []),
forEach2ObjArr(e, function (e) {
null == e ? r.push(e) : r.push(isObject(e) ? JSON.stringify(e) : e)
}),
(n = reqStringify(r))
else
(r = {}),
forEach2ObjArr(e, function (e, t) {
var n = e
null == e
? (r[t] = e)
: isDate(e)
? (n = e.toISOString())
: isArray(e)
? (n = e)
: isObject(e) && (n = JSON.stringify(e)),
(r[t] = n)
}),
(n = reqStringify(r))
}
return n
}
function simpleGetMiddleware(e, t) {
if (!e) return t()
var n = e.req,
r = (n = void 0 === n ? {} : n).options,
a = void 0 === r ? {} : r,
o = a.paramsSerializer,
i = a.params,
s = e.req,
l = (s = void 0 === s ? {} : s).url,
c = void 0 === l ? '' : l
;(a.method = a.method ? a.method.toUpperCase() : 'GET'),
(a.credentials = a.credentials || 'same-origin')
var u = paramsSerialize(i, o)
if (((e.req.originUrl = c), u)) {
var p = -1 !== c.indexOf('?') ? '&' : '?'
e.req.url = ''.concat(c).concat(p).concat(u)
}
return (e.req.options = a), t()
}
var globalMiddlewares = [
simplePostMiddleware,
simpleGetMiddleware,
parseResponseMiddleware
],
coreMiddlewares = [fetchMiddleware]
;(Onion.globalMiddlewares = globalMiddlewares),
(Onion.defaultGlobalMiddlewaresLength = globalMiddlewares.length),
(Onion.coreMiddlewares = coreMiddlewares),
(Onion.defaultCoreMiddlewaresLength = coreMiddlewares.length)
var Core = (function () {
function t(e) {
_classCallCheck(this, t),
(this.onion = new Onion([])),
(this.fetchIndex = 0),
(this.mapCache = new MapCache(e)),
(this.initOptions = e),
(this.instanceRequestInterceptors = []),
(this.instanceResponseInterceptors = [])
}
return (
_createClass(
t,
[
{
key: 'use',
value: function (e) {
var t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: { global: !1, core: !1 }
return this.onion.use(e, t), this
}
},
{
key: 'extendOptions',
value: function (e) {
;(this.initOptions = mergeRequestOptions(this.initOptions, e)),
this.mapCache.extendOptions(e)
}
},
{
key: 'dealRequestInterceptors',
value: function (e) {
return []
.concat(
_toConsumableArray(t.requestInterceptors),
_toConsumableArray(this.instanceRequestInterceptors)
)
.reduce(function (t, n) {
return t.then(function () {
var t =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
return (
(e.req.url = t.url || e.req.url),
(e.req.options = t.options || e.req.options),
n(e.req.url, e.req.options)
)
})
}, Promise.resolve())
.then(function () {
var t =
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
return (
(e.req.url = t.url || e.req.url),
(e.req.options = t.options || e.req.options),
Promise.resolve()
)
})
}
},
{
key: 'request',
value: function (n, r) {
var a = this,
o = this.onion,
i = {
req: {
url: n,
options: _objectSpread2(_objectSpread2({}, r), {}, { url: n })
},
res: null,
cache: this.mapCache,
responseInterceptors: [].concat(
_toConsumableArray(t.responseInterceptors),
_toConsumableArray(this.instanceResponseInterceptors)
)
}
if ('string' != typeof n) throw new Error('url MUST be a string')
return new Promise(function (t, n) {
a.dealRequestInterceptors(i)
.then(function () {
return o.execute(i)
})
.then(function () {
t(i.res)
})
.catch(function (r) {
var a = i.req.options.errorHandler
if (a)
try {
var o = a(r)
t(o)
} catch (e) {
n(e)
}
else n(r)
})
})
}
}
],
[
{
key: 'requestUse',
value: function (e) {
var n =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: { global: !0 }
if ('function' != typeof e)
throw new TypeError('Interceptor must be function!')
n.global
? t.requestInterceptors.push(e)
: this.instanceRequestInterceptors.push(e)
}
},
{
key: 'responseUse',
value: function (e) {
var n =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: { global: !0 }
if ('function' != typeof e)
throw new TypeError('Interceptor must be function!')
n.global
? t.responseInterceptors.push(e)
: this.instanceResponseInterceptors.push(e)
}
}
]
),
t
)
})()
function Cancel(e) {
this.message = e
}
function CancelToken(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 Cancel(e)), t(n.reason))
})
}
function isCancel(e) {
return !(!e || !e.__CANCEL__)
}
;(Core.requestInterceptors = [addfix]),
(Core.responseInterceptors = []),
(Cancel.prototype.toString = function () {
return this.message ? 'Cancel: '.concat(this.message) : 'Cancel'
}),
(Cancel.prototype.__CANCEL__ = !0),
(CancelToken.prototype.throwIfRequested = function () {
if (this.reason) throw this.reason
}),
(CancelToken.source = function () {
var e
return {
token: new CancelToken(function (t) {
e = t
}),
cancel: e
}
})
var request$1 = function () {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
t = new Core(e),
n = function (e) {
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
r = mergeRequestOptions(t.initOptions, n)
return t.request(e, r)
}
;(n.use = t.use.bind(t)),
(n.fetchIndex = t.fetchIndex),
(n.interceptors = {
request: { use: Core.requestUse.bind(t) },
response: { use: Core.responseUse.bind(t) }
})
var r = ['get', 'post', 'delete', 'put', 'patch', 'head', 'options', 'rpc']
return (
r.forEach(function (e) {
n[e] = function (t, r) {
return n(t, _objectSpread2(_objectSpread2({}, r), {}, { method: e }))
}
}),
(n.Cancel = Cancel),
(n.CancelToken = CancelToken),
(n.isCancel = isCancel),
(n.extendOptions = t.extendOptions.bind(t)),
(n.middlewares = {
instance: t.onion.middlewares,
defaultInstance: t.onion.defaultMiddlewares,
global: Onion.globalMiddlewares,
core: Onion.coreMiddlewares
}),
n
)
},
extend = exports('bk', function (e) {
return request$1(e)
})
request$1({ parseResponse: !1 })
var request$1$1 = exports('bv', request$1({})),
lodash_isempty = { exports: {} }
!(function (t, n) {
var r = 9007199254740991,
a = '[object Map]',
o = '[object Promise]',
i = '[object Set]',
s = '[object WeakMap]',
l = '[object DataView]',
c = /^\[object .+?Constructor\]$/,
u =
'object' == _typeof2(commonjsGlobal$1) &&
commonjsGlobal$1 &&
commonjsGlobal$1.Object === Object &&
commonjsGlobal$1,
p =
'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
self &&
self.Object === Object &&
self,
d = u || p || Function('return this')(),
f = n && !n.nodeType && n,
h = f && t && !t.nodeType && t,
v = h && h.exports === f
var m = Function.prototype,
g = Object.prototype,
y = d['__core-js_shared__'],
b = (function () {
var e = /[^.]+$/.exec((y && y.keys && y.keys.IE_PROTO) || '')
return e ? 'Symbol(src)_1.' + e : ''
})(),
_ = m.toString,
A = g.hasOwnProperty,
x = g.toString,
w = RegExp(
'^' +
_.call(A)
.replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
'$'
),
k = v ? d.Buffer : void 0,
S = g.propertyIsEnumerable,
E = k ? k.isBuffer : void 0,
P = (function (e, t) {
return function (n) {
return e(t(n))
}
})(Object.keys, Object),
C = V(d, 'DataView'),
T = V(d, 'Map'),
I = V(d, 'Promise'),
M = V(d, 'Set'),
R = V(d, 'WeakMap'),
O = !S.call({ valueOf: 1 }, 'valueOf'),
z = H(C),
D = H(T),
F = H(I),
B = H(M),
N = H(R)
function j(t) {
if (!$(t) || ((n = t), b && b in n)) return !1
var n,
r =
K(t) ||
(function (t) {
var n = !1
if (null != t && 'function' != typeof t.toString)
try {
n = !!(t + '')
} catch (e) {}
return n
})(t)
? w
: c
return r.test(H(t))
}
function V(e, t) {
var n = (function (e, t) {
return null == e ? void 0 : e[t]
})(e, t)
return j(n) ? n : void 0
}
var L = function (e) {
return x.call(e)
}
function H(t) {
if (null != t) {
try {
return _.call(t)
} catch (e) {}
try {
return t + ''
} catch (e) {}
}
return ''
}
function G(e) {
return (
(function (e) {
return (
(function (e) {
return !!e && 'object' == _typeof2(e)
})(e) && U(e)
)
})(e) &&
A.call(e, 'callee') &&
(!S.call(e, 'callee') || '[object Arguments]' == x.call(e))
)
}
;((C && L(new C(new ArrayBuffer(1))) != l) ||
(T && L(new T()) != a) ||
(I && L(I.resolve()) != o) ||
(M && L(new M()) != i) ||
(R && L(new R()) != s)) &&
(L = function (e) {
var t = x.call(e),
n = '[object Object]' == t ? e.constructor : void 0,
r = n ? H(n) : void 0
if (r)
switch (r) {
case z:
return l
case D:
return a
case F:
return o
case B:
return i
case N:
return s
}
return t
})
var q = Array.isArray
function U(e) {
return (
null != e &&
(function (e) {
return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= r
})(e.length) &&
!K(e)
)
}
var W =
E ||
function () {
return !1
}
function K(e) {
var t = $(e) ? x.call(e) : ''
return '[object Function]' == t || '[object GeneratorFunction]' == t
}
function $(e) {
var t = _typeof2(e)
return !!e && ('object' == t || 'function' == t)
}
t.exports = function (e) {
if (
U(e) &&
(q(e) || 'string' == typeof e || 'function' == typeof e.splice || W(e) || G(e))
)
return !e.length
var t = L(e)
if (t == a || t == i) return !e.size
if (
O ||
(function (e) {
var t = e && e.constructor
return e === (('function' == typeof t && t.prototype) || g)
})(e)
)
return !P(e).length
for (var n in e) if (A.call(e, n)) return !1
return !0
}
})(lodash_isempty, lodash_isempty.exports)
var objectTag = '[object Object]'
function isHostObject(t) {
var n = !1
if (null != t && 'function' != typeof t.toString)
try {
n = !!(t + '')
} catch (e) {}
return n
}
function overArg(e, t) {
return function (n) {
return e(t(n))
}
}
var funcProto = Function.prototype,
objectProto = Object.prototype,
funcToString = funcProto.toString,
hasOwnProperty = objectProto.hasOwnProperty,
objectCtorString = funcToString.call(Object),
objectToString = objectProto.toString,
getPrototype = overArg(Object.getPrototypeOf, Object)
function isObjectLike(e) {
return !!e && 'object' == _typeof2(e)
}
function isPlainObject$1(e) {
if (!isObjectLike(e) || objectToString.call(e) != objectTag || isHostObject(e))
return !1
var t = getPrototype(e)
if (null === t) return !0
var n = hasOwnProperty.call(t, 'constructor') && t.constructor
return (
'function' == typeof n && n instanceof n && funcToString.call(n) == objectCtorString
)
}
var lodash_isplainobject = isPlainObject$1,
lodash_transform = { exports: {} }
!(function (t, n) {
var r = '__lodash_hash_undefined__',
a = 9007199254740991,
o = '[object Arguments]',
i = '[object Array]',
s = '[object Boolean]',
l = '[object Date]',
c = '[object Error]',
u = '[object Function]',
p = '[object Map]',
d = '[object Number]',
f = '[object Object]',
h = '[object Promise]',
v = '[object RegExp]',
m = '[object Set]',
g = '[object String]',
y = '[object Symbol]',
b = '[object WeakMap]',
_ = '[object ArrayBuffer]',
A = '[object DataView]',
x = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
w = /^\w*$/,
k = /^\./,
S =
/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
E = /\\(\\)?/g,
P = /^\[object .+?Constructor\]$/,
C = /^(?:0|[1-9]\d*)$/,
T = {}
;(T['[object Float32Array]'] =
T['[object Float64Array]'] =
T['[object Int8Array]'] =
T['[object Int16Array]'] =
T['[object Int32Array]'] =
T['[object Uint8Array]'] =
T['[object Uint8ClampedArray]'] =
T['[object Uint16Array]'] =
T['[object Uint32Array]'] =
!0),
(T[o] =
T[i] =
T[_] =
T[s] =
T[A] =
T[l] =
T[c] =
T[u] =
T[p] =
T[d] =
T[f] =
T[v] =
T[m] =
T[g] =
T[b] =
!1)
var I =
'object' == _typeof2(commonjsGlobal$1) &&
commonjsGlobal$1 &&
commonjsGlobal$1.Object === Object &&
commonjsGlobal$1,
M =
'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
self &&
self.Object === Object &&
self,
R = I || M || Function('return this')(),
O = n && !n.nodeType && n,
z = O && t && !t.nodeType && t,
D = z && z.exports === O && I.process,
F = (function () {
try {
return D && D.binding('util')
} catch (e) {}
})(),
B = F && F.isTypedArray
function N(e, t) {
for (var n = -1, r = e ? e.length : 0; ++n < r && !1 !== t(e[n], n, e); );
return e
}
function j(e, t) {
for (var n = -1, r = e ? e.length : 0; ++n < r; ) if (t(e[n], n, e)) return !0
return !1
}
function V(t) {
var n = !1
if (null != t && 'function' != typeof t.toString)
try {
n = !!(t + '')
} catch (e) {}
return n
}
function L(e) {
var t = -1,
n = Array(e.size)
return (
e.forEach(function (e, r) {
n[++t] = [r, e]
}),
n
)
}
function H(e, t) {
return function (n) {
return e(t(n))
}
}
function G(e) {
var t = -1,
n = Array(e.size)
return (
e.forEach(function (e) {
n[++t] = e
}),
n
)
}
var q = Array.prototype,
U = Function.prototype,
W = Object.prototype,
K = R['__core-js_shared__'],
$ = (function () {
var e = /[^.]+$/.exec((K && K.keys && K.keys.IE_PROTO) || '')
return e ? 'Symbol(src)_1.' + e : ''
})(),
Y = U.toString,
J = W.hasOwnProperty,
Q = W.toString,
X = RegExp(
'^' +
Y.call(J)
.replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
'$'
),
Z = R.Symbol,
ee = R.Uint8Array,
te = H(Object.getPrototypeOf, Object),
ne = Object.create,
re = W.propertyIsEnumerable,
ae = q.splice,
oe = H(Object.keys, Object),
ie = je(R, 'DataView'),
se = je(R, 'Map'),
le = je(R, 'Promise'),
ce = je(R, 'Set'),
ue = je(R, 'WeakMap'),
pe = je(Object, 'create'),
de = Ke(ie),
fe = Ke(se),
he = Ke(le),
ve = Ke(ce),
me = Ke(ue),
ge = Z ? Z.prototype : void 0,
ye = ge ? ge.valueOf : void 0,
be = ge ? ge.toString : void 0
function _e(e) {
var t = -1,
n = e ? e.length : 0
for (this.clear(); ++t < n; ) {
var r = e[t]
this.set(r[0], r[1])
}
}
function Ae(e) {
var t = -1,
n = e ? e.length : 0
for (this.clear(); ++t < n; ) {
var r = e[t]
this.set(r[0], r[1])
}
}
function xe(e) {
var t = -1,
n = e ? e.length : 0
for (this.clear(); ++t < n; ) {
var r = e[t]
this.set(r[0], r[1])
}
}
function we(e) {
var t = -1,
n = e ? e.length : 0
for (this.__data__ = new xe(); ++t < n; ) this.add(e[t])
}
function ke(e) {
this.__data__ = new Ae(e)
}
function Se(e, t) {
var n =
Qe(e) || Je(e)
? (function (e, t) {
for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
return r
})(e.length, String)
: [],
r = n.length,
a = !!r
for (var o in e)
(!t && !J.call(e, o)) || (a && ('length' == o || Le(o, r))) || n.push(o)
return n
}
function Ee(e, t) {
for (var n = e.length; n--; ) if (Ye(e[n][0], t)) return n
return -1
}
;(_e.prototype.clear = function () {
this.__data__ = pe ? pe(null) : {}
}),
(_e.prototype.delete = function (e) {
return this.has(e) && delete this.__data__[e]
}),
(_e.prototype.get = function (e) {
var t = this.__data__
if (pe) {
var n = t[e]
return n === r ? void 0 : n
}
return J.call(t, e) ? t[e] : void 0
}),
(_e.prototype.has = function (e) {
var t = this.__data__
return pe ? void 0 !== t[e] : J.call(t, e)
}),
(_e.prototype.set = function (e, t) {
return (this.__data__[e] = pe && void 0 === t ? r : t), this
}),
(Ae.prototype.clear = function () {
this.__data__ = []
}),
(Ae.prototype.delete = function (e) {
var t = this.__data__,
n = Ee(t, e)
return !(n < 0) && (n == t.length - 1 ? t.pop() : ae.call(t, n, 1), !0)
}),
(Ae.prototype.get = function (e) {
var t = this.__data__,
n = Ee(t, e)
return n < 0 ? void 0 : t[n][1]
}),
(Ae.prototype.has = function (e) {
return Ee(this.__data__, e) > -1
}),
(Ae.prototype.set = function (e, t) {
var n = this.__data__,
r = Ee(n, e)
return r < 0 ? n.push([e, t]) : (n[r][1] = t), this
}),
(xe.prototype.clear = function () {
this.__data__ = { hash: new _e(), map: new (se || Ae)(), string: new _e() }
}),
(xe.prototype.delete = function (e) {
return Ne(this, e).delete(e)
}),
(xe.prototype.get = function (e) {
return Ne(this, e).get(e)
}),
(xe.prototype.has = function (e) {
return Ne(this, e).has(e)
}),
(xe.prototype.set = function (e, t) {
return Ne(this, e).set(e, t), this
}),
(we.prototype.add = we.prototype.push =
function (e) {
return this.__data__.set(e, r), this
}),
(we.prototype.has = function (e) {
return this.__data__.has(e)
}),
(ke.prototype.clear = function () {
this.__data__ = new Ae()
}),
(ke.prototype.delete = function (e) {
return this.__data__.delete(e)
}),
(ke.prototype.get = function (e) {
return this.__data__.get(e)
}),
(ke.prototype.has = function (e) {
return this.__data__.has(e)
}),
(ke.prototype.set = function (e, t) {
var n = this.__data__
if (n instanceof Ae) {
var r = n.__data__
if (!se || r.length < 199) return r.push([e, t]), this
n = this.__data__ = new xe(r)
}
return n.set(e, t), this
})
var Pe,
Ce = function (e, t, n) {
for (var r = -1, a = Object(e), o = n(e), i = o.length; i--; ) {
var s = o[Pe ? i : ++r]
if (!1 === t(a[s], s, a)) break
}
return e
}
function Te(e, t) {
return e && Ce(e, t, it)
}
function Ie(e, t) {
for (var n = 0, r = (t = He(t, e) ? [t] : Fe(t)).length; null != e && n < r; )
e = e[We(t[n++])]
return n && n == r ? e : void 0
}
function Me(e, t) {
return null != e && t in Object(e)
}
function Re(e, t, n, r, a) {
return (
e === t ||
(null == e || null == t || (!tt(e) && !nt(t))
? e != e && t != t
: (function (e, t, n, r, a, u) {
var h = Qe(e),
b = Qe(t),
x = i,
w = i
h || (x = (x = Ve(e)) == o ? f : x)
b || (w = (w = Ve(t)) == o ? f : w)
var k = x == f && !V(e),
S = w == f && !V(t),
E = x == w
if (E && !k)
return (
u || (u = new ke()),
h || ot(e)
? Be(e, t, n, r, a, u)
: (function (e, t, n, r, a, o, i) {
switch (n) {
case A:
if (
e.byteLength != t.byteLength ||
e.byteOffset != t.byteOffset
)
return !1
;(e = e.buffer), (t = t.buffer)
case _:
return !(
e.byteLength != t.byteLength || !r(new ee(e), new ee(t))
)
case s:
case l:
case d:
return Ye(+e, +t)
case c:
return e.name == t.name && e.message == t.message
case v:
case g:
return e == t + ''
case p:
var u = L
case m:
var f = 2 & o
if ((u || (u = G), e.size != t.size && !f)) return !1
var h = i.get(e)
if (h) return h == t
;(o |= 1), i.set(e, t)
var b = Be(u(e), u(t), r, a, o, i)
return i.delete(e), b
case y:
if (ye) return ye.call(e) == ye.call(t)
}
return !1
})(e, t, x, n, r, a, u)
)
if (!(2 & a)) {
var P = k && J.call(e, '__wrapped__'),
C = S && J.call(t, '__wrapped__')
if (P || C) {
var T = P ? e.value() : e,
I = C ? t.value() : t
return u || (u = new ke()), n(T, I, r, a, u)
}
}
if (!E) return !1
return (
u || (u = new ke()),
(function (e, t, n, r, a, o) {
var i = 2 & a,
s = it(e),
l = s.length,
c = it(t).length
if (l != c && !i) return !1
var u = l
for (; u--; ) {
var p = s[u]
if (!(i ? p in t : J.call(t, p))) return !1
}
var d = o.get(e)
if (d && o.get(t)) return d == t
var f = !0
o.set(e, t), o.set(t, e)
var h = i
for (; ++u < l; ) {
var v = e[(p = s[u])],
m = t[p]
if (r) var g = i ? r(m, v, p, t, e, o) : r(v, m, p, e, t, o)
if (!(void 0 === g ? v === m || n(v, m, r, a, o) : g)) {
f = !1
break
}
h || (h = 'constructor' == p)
}
if (f && !h) {
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) ||
(f = !1)
}
return o.delete(e), o.delete(t), f
})(e, t, n, r, a, u)
)
})(e, t, Re, n, r, a))
)
}
function Oe(e) {
return !(!tt(e) || ((t = e), $ && $ in t)) && (Ze(e) || V(e) ? X : P).test(Ke(e))
var t
}
function ze(e) {
return 'function' == typeof e
? e
: null == e
? st
: 'object' == _typeof2(e)
? Qe(e)
? (function (e, t) {
if (He(e) && Ge(t)) return qe(We(e), t)
return function (n) {
var r = (function (e, t, n) {
var r = null == e ? void 0 : Ie(e, t)
return void 0 === r ? n : r
})(n, e)
return void 0 === r && r === t
? (function (e, t) {
return (
null != e &&
(function (e, t, n) {
t = He(t, e) ? [t] : Fe(t)
var r,
a = -1,
o = t.length
for (; ++a < o; ) {
var i = We(t[a])
if (!(r = null != e && n(e, i))) break
e = e[i]
}
if (r) return r
return (
!!(o = e ? e.length : 0) &&
et(o) &&
Le(i, o) &&
(Qe(e) || Je(e))
)
})(e, t, Me)
)
})(n, e)
: Re(t, r, void 0, 3)
}
})(e[0], e[1])
: (function (e) {
var t = (function (e) {
var t = it(e),
n = t.length
for (; n--; ) {
var r = t[n],
a = e[r]
t[n] = [r, a, Ge(a)]
}
return t
})(e)
if (1 == t.length && t[0][2]) return qe(t[0][0], t[0][1])
return function (n) {
return (
n === e ||
(function (e, t, n, r) {
var a = n.length,
o = a,
i = !r
if (null == e) return !o
for (e = Object(e); a--; ) {
var s = n[a]
if (i && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1
}
for (; ++a < o; ) {
var l = (s = n[a])[0],
c = e[l],
u = s[1]
if (i && s[2]) {
if (void 0 === c && !(l in e)) return !1
} else {
var p = new ke()
if (r) var d = r(c, u, l, e, t, p)
if (!(void 0 === d ? Re(u, c, r, 3, p) : d)) return !1
}
}
return !0
})(n, e, t)
)
}
})(e)
: He((t = e))
? ((n = We(t)),
function (e) {
return null == e ? void 0 : e[n]
})
: (function (e) {
return function (t) {
return Ie(t, e)
}
})(t)
var t, n
}
function De(e) {
if (
((n = (t = e) && t.constructor),
(r = ('function' == typeof n && n.prototype) || W),
t !== r)
)
return oe(e)
var t,
n,
r,
a = []
for (var o in Object(e)) J.call(e, o) && 'constructor' != o && a.push(o)
return a
}
function Fe(e) {
return Qe(e) ? e : Ue(e)
}
function Be(e, t, n, r, a, o) {
var i = 2 & a,
s = e.length,
l = t.length
if (s != l && !(i && l > s)) return !1
var c = o.get(e)
if (c && o.get(t)) return c == t
var u = -1,
p = !0,
d = 1 & a ? new we() : void 0
for (o.set(e, t), o.set(t, e); ++u < s; ) {
var f = e[u],
h = t[u]
if (r) var v = i ? r(h, f, u, t, e, o) : r(f, h, u, e, t, o)
if (void 0 !== v) {
if (v) continue
p = !1
break
}
if (d) {
if (
!j(t, function (e, t) {
if (!d.has(t) && (f === e || n(f, e, r, a, o))) return d.add(t)
})
) {
p = !1
break
}
} else if (f !== h && !n(f, h, r, a, o)) {
p = !1
break
}
}
return o.delete(e), o.delete(t), p
}
function Ne(e, t) {
var n,
r,
a = e.__data__
return (
'string' == (r = _typeof2((n = t))) ||
'number' == r ||
'symbol' == r ||
'boolean' == r
? '__proto__' !== n
: null === n
)
? a['string' == typeof t ? 'string' : 'hash']
: a.map
}
function je(e, t) {
var n = (function (e, t) {
return null == e ? void 0 : e[t]
})(e, t)
return Oe(n) ? n : void 0
}
var Ve = function (e) {
return Q.call(e)
}
function Le(e, t) {
return (
!!(t = null == t ? a : t) &&
('number' == typeof e || C.test(e)) &&
e > -1 &&
e % 1 == 0 &&
e < t
)
}
function He(e, t) {
if (Qe(e)) return !1
var n = _typeof2(e)
return (
!('number' != n && 'symbol' != n && 'boolean' != n && null != e && !rt(e)) ||
w.test(e) ||
!x.test(e) ||
(null != t && e in Object(t))
)
}
function Ge(e) {
return e == e && !tt(e)
}
function qe(e, t) {
return function (n) {
return null != n && n[e] === t && (void 0 !== t || e in Object(n))
}
}
;((ie && Ve(new ie(new ArrayBuffer(1))) != A) ||
(se && Ve(new se()) != p) ||
(le && Ve(le.resolve()) != h) ||
(ce && Ve(new ce()) != m) ||
(ue && Ve(new ue()) != b)) &&
(Ve = function (e) {
var t = Q.call(e),
n = t == f ? e.constructor : void 0,
r = n ? Ke(n) : void 0
if (r)
switch (r) {
case de:
return A
case fe:
return p
case he:
return h
case ve:
return m
case me:
return b
}
return t
})
var Ue = $e(function (e) {
var t
e =
null == (t = e)
? ''
: (function (e) {
if ('string' == typeof e) return e
if (rt(e)) return be ? be.call(e) : ''
var t = e + ''
return '0' == t && 1 / e == -1 / 0 ? '-0' : t
})(t)
var n = []
return (
k.test(e) && n.push(''),
e.replace(S, function (e, t, r, a) {
n.push(r ? a.replace(E, '$1') : t || e)
}),
n
)
})
function We(e) {
if ('string' == typeof e || rt(e)) return e
var t = e + ''
return '0' == t && 1 / e == -1 / 0 ? '-0' : t
}
function Ke(t) {
if (null != t) {
try {
return Y.call(t)
} catch (e) {}
try {
return t + ''
} catch (e) {}
}
return ''
}
function $e(e, t) {
if ('function' != typeof e || (t && 'function' != typeof t))
throw new TypeError('Expected a function')
var n = function n() {
var r = arguments,
a = t ? t.apply(this, r) : r[0],
o = n.cache
if (o.has(a)) return o.get(a)
var i = e.apply(this, r)
return (n.cache = o.set(a, i)), i
}
return (n.cache = new ($e.Cache || xe)()), n
}
function Ye(e, t) {
return e === t || (e != e && t != t)
}
function Je(e) {
return (
(function (e) {
return nt(e) && Xe(e)
})(e) &&
J.call(e, 'callee') &&
(!re.call(e, 'callee') || Q.call(e) == o)
)
}
$e.Cache = xe
var Qe = Array.isArray
function Xe(e) {
return null != e && et(e.length) && !Ze(e)
}
function Ze(e) {
var t = tt(e) ? Q.call(e) : ''
return t == u || '[object GeneratorFunction]' == t
}
function et(e) {
return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= a
}
function tt(e) {
var t = _typeof2(e)
return !!e && ('object' == t || 'function' == t)
}
function nt(e) {
return !!e && 'object' == _typeof2(e)
}
function rt(e) {
return 'symbol' == _typeof2(e) || (nt(e) && Q.call(e) == y)
}
var at,
ot = B
? ((at = B),
function (e) {
return at(e)
})
: function (e) {
return nt(e) && et(e.length) && !!T[Q.call(e)]
}
function it(e) {
return Xe(e) ? Se(e) : De(e)
}
function st(e) {
return e
}
t.exports = function (e, t, n) {
var r,
a = Qe(e) || ot(e)
if (((t = ze(t)), null == n))
if (a || tt(e)) {
var o = e.constructor
n = a ? (Qe(e) ? new o() : []) : Ze(o) ? (tt((r = te(e))) ? ne(r) : {}) : {}
} else n = {}
return (
(a ? N : Te)(e, function (e, r, a) {
return t(n, e, r, a)
}),
n
)
}
})(lodash_transform, lodash_transform.exports)
var isEmpty = lodash_isempty.exports,
isPlainObject = lodash_isplainobject,
transform = lodash_transform.exports,
src = exports('bm', function e(t) {
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
r = n.cleanKeys,
a = void 0 === r ? [] : r,
o = n.cleanValues,
i = void 0 === o ? [] : o,
s = n.emptyArrays,
l = void 0 === s || s,
c = n.emptyObjects,
u = void 0 === c || c,
p = n.emptyStrings,
d = void 0 === p || p,
f = n.NaNValues,
h = void 0 !== f && f,
v = n.nullValues,
m = void 0 === v || v,
g = n.undefinedValues,
y = void 0 === g || g
return transform(t, function (t, n, r) {
if (
!a.includes(r) &&
((Array.isArray(n) || isPlainObject(n)) &&
(n = e(n, {
NaNValues: h,
cleanKeys: a,
cleanValues: i,
emptyArrays: l,
emptyObjects: u,
emptyStrings: d,
nullValues: m,
undefinedValues: y
})),
!i.includes(n) &&
!(u && isPlainObject(n) && isEmpty(n)) &&
(!l || !Array.isArray(n) || n.length) &&
!(
(d && '' === n) ||
(h && Number.isNaN(n)) ||
(m && null === n) ||
(y && void 0 === n)
))
)
return Array.isArray(t) ? t.push(n) : void (t[r] = n)
})
}),
request = exports(
'm',
extend({ hideLoading: !0, timeout: 2e4, timeoutMessage: '请求超时' })
),
initRequest = !1,
toast
request.interceptors.request.use(
function (e, t) {
var n, r
t.hideLoading || (clearTimeout(toast), baseEvent.emit('toastShow', 'center')),
(initRequest = t.initRequest || !1)
var a = sessionStorage.getItem('Authorization') || '',
o = {}
if (
(a &&
!['/api-oauth/userlogin', '/api-oauth/open/sendSms'].includes(e) &&
(o.Authorization = a),
null != state &&
null !== (n = state.user) &&
void 0 !== n &&
null !== (r = n.data) &&
void 0 !== r &&
r.schoolInfos)
) {
var i = (state.user.data.schoolInfos || [])
.map(function (e) {
return e.id
})
.join(',')
i && (o.schoolId = i)
}
return {
url: e,
options: _objectSpread(
_objectSpread({}, t),
{},
{
params: src(t.params),
data: src(t.data),
headers: _objectSpread(_objectSpread({}, t.headers), o)
}
)
}
},
{ global: !1 }
),
request.interceptors.response.use(
(function () {
var e = _asyncToGenerator(
regeneratorRuntime.mark(function e(t) {
var n, r, a, o
return regeneratorRuntime.wrap(function (e) {
for (;;)
switch ((e.prev = e.next)) {
case 0:
if (
((toast = setTimeout(function () {
baseEvent.emit('toastClose', 'center')
}, 100)),
!(t.status > 299 || t.status < 200))
) {
e.next = 7
break
}
throw (
(clearTimeout(toast),
(n = '服务器错误,状态码' + t.status),
baseEvent.emit('toastClose', 'center'),
showToast(n),
new Error(n))
)
case 7:
return (e.next = 9), t.clone().json()
case 9:
if (200 === (r = e.sent).code || 0 === r.errCode || 999 === r.code) {
e.next = 18
break
}
throw (
((a = r.msg || r.message || '处理失败,请重试'),
initRequest &&
(403 === r.code || 5e3 === r.code ? setLogout() : setLoginError()),
console.log(r.code, '5104'),
403 !== r.code &&
5e3 !== r.code &&
(clearTimeout(toast),
baseEvent.emit('toastClose', 'center'),
showToast(a)),
(o = browser()),
5e3 === r.code &&
((a += '5000'),
o.isApp ? postMessage({ api: 'login' }) : setLogout()),
new Error(a))
)
case 18:
return e.abrupt('return', t)
case 19:
case 'end':
return e.stop()
}
}, e)
})
)
return function (t) {
return e.apply(this, arguments)
}
})(),
{ global: !1 }
)
var empty = './assets/empty.04f9724b.png',
__glob_5_0 = Object.freeze(
Object.defineProperty({ __proto__: null, default: empty }, Symbol.toStringTag, {
value: 'Module'
})
),
emptyContent = './assets/empty.04f9724b.png',
__glob_5_1 = Object.freeze(
Object.defineProperty(
{ __proto__: null, default: emptyContent },
Symbol.toStringTag,
{ value: 'Module' }
)
),
network = './assets/network.6d51555b.png',
__glob_5_2 = Object.freeze(
Object.defineProperty({ __proto__: null, default: network }, Symbol.toStringTag, {
value: 'Module'
})
),
notFond = './assets/notFond.78c3cc5e.png',
__glob_5_3 = Object.freeze(
Object.defineProperty({ __proto__: null, default: notFond }, Symbol.toStringTag, {
value: 'Module'
})
),
tips = '_tips_uqenj_12',
btn = '_btn_uqenj_17',
SMALL = '_SMALL_uqenj_28',
CERT = '_CERT_uqenj_32',
styles$1 = {
'col-result': '_col-result_uqenj_1',
tips: tips,
btn: btn,
SMALL: SMALL,
CERT: CERT
},
getAssetsHomeFile = function (e) {
var t = './images/'.concat(e)
return {
'./images/empty.png': __glob_5_0,
'./images/emptyContent.png': __glob_5_1,
'./images/network.png': __glob_5_2,
'./images/notFond.png': __glob_5_3
}[t].default
},
OEmpty = exports(
'ai',
defineComponent({
name: 'o-empty',
props: {
tips: { type: String },
type: { type: String, default: 'empty' },
classImgSize: { type: String, default: '' },
imageSize: { type: Number, default: 0 },
plain: { type: Boolean, default: !1 },
btnStatus: { type: Boolean, default: !1 },
buttonText: { type: String, default: '我知道了' },
onClick: Function
},
methods: {
onResult: function () {
this.onClick ? this.onClick() : postMessage({ api: 'back', content: {} })
}
},
computed: {
image: function () {
var e = null
switch (this.type) {
case 'emptyContent':
e = getAssetsHomeFile('emptyContent.png')
break
case 'error':
e = 'error'
break
case 'network':
e = getAssetsHomeFile('network.png')
break
case 'search':
e = 'search'
break
case 'notFond':
e = getAssetsHomeFile('notFond.png')
break
default:
e = getAssetsHomeFile('empty.png')
}
return e
}
},
render: function () {
var e = this
return createVNode(
'div',
{ class: [styles$1['col-result'], 'o-result-container'] },
[
createVNode(
Empty,
{
image: this.image,
imageSize: this.imageSize || '',
class: styles$1[this.classImgSize],
description: this.tips
},
null
),
this.btnStatus
? createVNode(
Button,
{
class: styles$1.btn,
round: !0,
block: !0,
type: 'primary',
plain: this.plain,
onClick: this.onResult
},
{
default: function () {
return [e.buttonText]
}
}
)
: null
]
)
}
})
),
browserInfo$1 = browser(),
Auth = defineComponent({
name: 'Auth-loayout',
data: function () {
return { loading: !1 }
},
computed: {
isExternal: function () {
return (this.$route.meta.isExternal && !browserInfo$1.isStudent) || !1
},
isNeedView: function () {
return (
'login' === state.user.status ||
'/login' === this.$route.path ||
this.isExternal
)
}
},
mounted: function () {
!this.isExternal && this.setAuth()
},
methods: {
setAuth: function () {
var e = this
return _asyncToGenerator(
regeneratorRuntime.mark(function t() {
var n, r, a, o, i, s, l
return regeneratorRuntime.wrap(
function (t) {
for (;;)
switch ((t.prev = t.next)) {
case 0:
if (
((n = e.$route.query),
(r = n.userInfo || n.Authorization) && setAuth$1(r),
!e.loading)
) {
t.next = 5
break
}
return t.abrupt('return')
case 5:
if ('init' !== state.user.status && 'error' !== state.user.status) {
t.next = 20
break
}
return (
(e.loading = !0),
(t.prev = 7),
(t.next = 10),
request.get(state.platformApi + '/user/getUserInfo', {
initRequest: !0,
requestType: 'form',
hideLoading: !0
})
)
case 10:
;(a = t.sent),
'SCHOOL' === state.platformType &&
((o = a.data.schoolInfos ? a.data.schoolInfos[0] : {}),
(a.data.school = o)),
setLogin(a.data),
(t.next = 19)
break
case 15:
;(t.prev = 15),
(t.t0 = t.catch(7)),
-1 === (i = t.t0.message).indexOf('5000') &&
-1 === i.indexOf('authentication')
? setLoginError()
: setLogout()
case 19:
e.loading = !1
case 20:
if ('logout' === state.user.status)
if (browser().isApp) postMessage({ api: 'login' })
else
try {
;(s = e.$route),
(l = _objectSpread(
{ returnUrl: e.$route.path },
e.$route.query
)),
s.meta.isRegister && (l.isRegister = s.meta.isRegister),
e.$router.replace({ path: '/login', query: l })
} catch (error) {}
case 21:
case 'end':
return t.stop()
}
},
t,
null,
[[7, 15]]
)
})
)()
}
},
render: function () {
return createVNode(Fragment, null, [
'error' === state.user.status
? createVNode('div', { class: styles$2.error }, [
createVNode(
OEmpty,
{
type: 'notFond',
classImgSize: 'CERT',
tips: '加载失败,请稍后重试',
buttonText: '重新加载',
plain: !0,
btnStatus: !0,
onClick: this.setAuth
},
null
)
])
: this.isNeedView
? createVNode(RouterView, null, null)
: null
])
}
}),
paymentType$1 = window.paymentType,
router$1 = [
{
path: '/lessonCourseware',
name: 'lessonCourseware',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.e11689b8.js')
}, void 0)
},
meta: { title: '选择课件' }
},
{
path: '/courseList',
name: 'courseList',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.14a93a49.js')
}, void 0)
},
meta: { title: '课程列表' }
},
{
path: '/coursewarePlay',
name: 'coursewarePlay',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.1bd261cd.js')
}, void 0)
},
meta: { title: '课程播放' }
},
{
path: '/exerciseAfterClass',
name: 'exerciseAfterClass',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.9b85e08d.js')
}, void 0)
},
meta: { title: '观看视频' }
},
{
path: '/accompany',
name: 'accompany',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.5686f352.js')
}, void 0)
},
meta: { title: '云练习' }
},
{
path: '/musicList',
name: 'music-list',
component: function () {
return __vitePreload(function () {
return module.import('./music-list-legacy.596b0d3f.js')
}, void 0)
},
meta: { title: '曲谱列表' }
},
{
path: '/information-list',
name: 'information-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.c9245973.js')
}, void 0)
},
meta: { title: '资讯列表' }
},
{
path: '/information-detail',
name: 'information-detail',
component: function () {
return __vitePreload(function () {
return module.import('./information-detail-legacy.22ed84da.js')
}, void 0)
},
meta: { title: '资讯详情' }
},
{
path: '/notice-detail',
name: 'notice-detail',
component: function () {
return __vitePreload(function () {
return module.import('./notice-detail-legacy.0ee6a790.js')
}, void 0)
},
meta: { title: '公告详情' }
},
{
path: '/help-center',
name: 'help-center',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.71a75a69.js')
}, void 0)
},
meta: { title: '帮助中心' }
},
{
path: '/help-detail',
name: 'help-detail',
component: function () {
return __vitePreload(function () {
return module.import('./detail-legacy.323c3f3c.js')
}, void 0)
},
meta: { title: '帮助中心详情' }
},
{
path: '/unit-test',
name: 'unit-test',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.d797c3ef.js')
}, void 0)
},
meta: { title: '阶段自测' }
},
{
path: '/unit-detail',
name: 'unit-detail',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.bfc70738.js')
}, void 0)
},
meta: { title: '测验详情' }
},
{
path: '/test-exercise',
name: 'test-exercise',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.b82e8b81.js')
}, void 0)
},
meta: { title: '测试练习' }
},
{
path: '/practice-mode',
name: 'practice-mode',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.3509cc60.js')
}, void 0)
},
meta: { title: '练习模式' }
},
{
path: '/examination-mode',
name: 'examination-mode',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.61fb230e.js')
}, void 0)
},
meta: { title: '测试详情' }
},
{
path: '/approval-manage-subsidy',
name: 'approval-manage-subsidy',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.44249ceb.js')
}, void 0)
},
meta: { title: '补助确认' }
},
{
path: '/mine-orchestra',
name: 'mine-orchestra',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.fdc20709.js')
}, void 0)
},
meta: { title: '我的乐团' }
},
{
path: '/mine-myphoto',
name: 'mine-myphoto',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.54cb5ce4.js')
}, void 0)
},
meta: { title: '乐团相册' }
},
{
path: '/photo-list',
name: 'photo-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.da0d7abd.js')
}, void 0)
},
meta: { title: '相册' }
},
{
path: '/photo-list-detail',
name: 'photo-list-detail',
component: function () {
return __vitePreload(function () {
return module.import('./detail-legacy.0c06f865.js')
}, void 0)
},
meta: { title: '相册详情' }
},
{
path: '/message-detail',
name: 'message-detail',
component: function () {
return __vitePreload(function () {
return module.import('./message-detail-legacy.f6fce94a.js')
}, void 0)
},
meta: { title: '消息详情' }
}
],
rootRouter = [
{
path: '/payCenter',
name: 'payCenter',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.b6eba105.js')
}, void 0)
},
meta: { title: '支付' }
},
{
path: '/payDefine',
name: 'payDefine',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.716b7feb.js')
}, void 0)
},
meta: { title: '支付' }
},
{
path: '/payResult',
name: 'payResult',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.a7fdd735.js')
}, void 0)
},
meta: { title: '支付' }
},
{
path: '/preview-protocol',
name: 'preview-protocol',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.e1743591.js')
}, void 0)
},
meta: { title: '管乐团用户注册协议' }
},
{
path: '/privacyProtocol',
name: 'privacyProtocol',
component: function () {
return __vitePreload(function () {
return module.import('./privacy-legacy.40943c97.js')
}, void 0)
},
meta: { title: '管乐团隐私政策' }
},
{
path: '/cashProtocol',
name: 'cashProtocol',
component: function () {
return __vitePreload(function () {
return module.import('./cash-protocol-legacy.08757406.js')
}, void 0)
},
meta: { title: '共享经济平台注册经营者协议' }
},
{
path: '/guide',
name: 'guide',
component: function () {
return __vitePreload(function () {
return module.import('./guide-legacy.0dcf8f9f.js')
}, void 0)
},
meta: { title: '投屏帮助' }
},
{
path: '/follow-account',
name: 'follow-account',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.04430a66.js')
}, void 0)
},
meta: { title: '关注微信公众号' }
},
{
path: '/bind-wechat',
name: 'bind-wechat',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.f314a9d6.js')
}, void 0)
},
meta: { title: '绑定微信' }
},
{
path: '/transfer',
component: function () {
return __vitePreload(function () {
return module.import('./transfer-legacy.861b8461.js')
}, void 0)
},
meta: { title: '管乐团' }
},
{
path: '/:pathMatch(.*)*',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.c5d0f491.js')
}, void 0)
},
meta: { title: '404', platform: paymentType$1 }
}
],
noLoginRouter$2 = [],
routesTeacher = [
{
path: '/',
component: Auth,
children: [].concat(router$1, [
{
path: '/login',
name: 'login',
component: function () {
return __vitePreload(function () {
return module.import('./login-legacy.d26d3bf4.js')
}, void 0)
},
meta: { isRegister: !1 }
},
{
path: '/home',
name: 'home',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.41de7286.js')
}, void 0)
}
},
{
path: '/exercise-record',
name: 'exercise-record',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2ab86473.js')
}, void 0)
},
meta: { title: '练习记录' }
},
{
path: '/exercis-detail',
name: 'exercis-detail',
component: function () {
return __vitePreload(function () {
return module.import('./exercis-detail-legacy.bf4998d0.js')
}, void 0)
},
meta: { title: '练习统计' }
},
{
path: '/attendance',
name: 'attendance',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.e52e8dcb.js')
}, void 0)
},
meta: { title: '我的考勤' }
},
{
path: '/teacher-attendDetail',
name: 'teacher-attendDetail',
component: function () {
return __vitePreload(function () {
return module.import('./teacher-attendDetail-legacy.4b2e2ed9.js')
}, void 0)
},
meta: { title: '考勤详情' }
},
{
path: '/attendance-rule',
name: 'attendance-rule',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.9df1f46f.js')
}, void 0)
},
meta: { title: '考勤规则' }
},
{
path: '/screen-projection',
name: 'screen-projection',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.ceee0d36.js')
}, void 0)
},
meta: { title: '教学课件' }
},
{
path: '/unit-list',
name: 'unit-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.4cfcf17e.js')
}, void 0)
},
meta: { title: '阶段自测' }
},
{
path: '/unit-create',
name: 'unit-create',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.29d905ab.js')
}, void 0)
},
meta: { title: '新增测验' }
},
{
path: '/unit-Lesson',
name: 'unit-Lesson',
component: function () {
return __vitePreload(function () {
return module.import('./unit-Lesson-legacy.690e4ad6.js')
}, void 0)
},
meta: { title: '选择教材' }
},
{
path: '/uni-test',
name: 'uni-test',
component: function () {
return __vitePreload(function () {
return module.import('./uni-test-legacy.6b3bc005.js')
}, void 0)
},
meta: { title: '选择教材' }
},
{
path: '/uni-last',
name: 'uni-last',
component: function () {
return __vitePreload(function () {
return module.import('./uni-last-legacy.e3d76784.js')
}, void 0)
},
meta: { title: '阶段自测' }
},
{
path: '/unitDetail',
name: 'unitDetail',
component: function () {
return __vitePreload(function () {
return module.import('./unitDetail-legacy.041334ed.js')
}, void 0)
},
meta: { title: '测验详情' }
},
{
path: '/subsidy-exercise-details',
name: 'subsidy-exercise-details',
component: function () {
return __vitePreload(function () {
return module.import('./details-legacy.de0f7fd7.js')
}, void 0)
},
meta: { title: '补助明细' }
}
])
}
].concat(rootRouter, noLoginRouter$2),
error = '_error_1aqdy_1',
info = '_info_1aqdy_9',
login = '_login_1aqdy_27',
loginTitle = '_loginTitle_1aqdy_33',
codeText = '_codeText_1aqdy_41',
margin34 = '_margin34_1aqdy_44',
formTitle = '_formTitle_1aqdy_47',
wxPopupDialog = '_wxPopupDialog_1aqdy_63',
popupContainer = '_popupContainer_1aqdy_80',
title = '_title_1aqdy_86',
popupTips = '_popupTips_1aqdy_93',
styles = exports('bg', {
error: error,
info: info,
login: login,
loginTitle: loginTitle,
codeText: codeText,
margin34: margin34,
formTitle: formTitle,
wxPopupDialog: wxPopupDialog,
popupContainer: popupContainer,
title: title,
popupTips: popupTips
}),
removeAuth = exports('bd', function () {
sessionStorage.removeItem('Authorization')
}),
_setAuth = exports('s', function (e) {
sessionStorage.setItem('Authorization', e)
}),
browserInfo = browser(),
MusicAuth = defineComponent({
name: 'Auth-loayout',
data: function () {
return { loading: !1 }
},
computed: {
isExternal: function () {
return (this.$route.meta.isExternal && !browserInfo.isStudent) || !1
},
isNeedView: function () {
return (
'login' === state.user.status ||
'/loginMusic' === this.$route.path ||
this.isExternal
)
}
},
mounted: function () {
!this.isExternal && this.setAuth()
},
methods: {
setAuth: function () {
var e = this
return _asyncToGenerator(
regeneratorRuntime.mark(function t() {
var n, r, a, o, i, s
return regeneratorRuntime.wrap(
function (t) {
for (;;)
switch ((t.prev = t.next)) {
case 0:
if (
((n = e.$route.query),
(r = n.userInfo || n.Authorization) && _setAuth(r),
!e.loading)
) {
t.next = 5
break
}
return t.abrupt('return')
case 5:
if ('init' !== state.user.status && 'error' !== state.user.status) {
t.next = 19
break
}
return (
(e.loading = !0),
(t.prev = 7),
(t.next = 10),
request.get('/api-student/user/getUserInfo', {
initRequest: !0,
requestType: 'form'
})
)
case 10:
;(a = t.sent), setLogin(a.data), (t.next = 18)
break
case 14:
;(t.prev = 14),
(t.t0 = t.catch(7)),
-1 === (o = t.t0.message).indexOf('5000') &&
-1 === o.indexOf('authentication')
? setLoginError()
: setLogout()
case 18:
e.loading = !1
case 19:
if ('logout' === state.user.status)
try {
;(i = e.$route),
(s = _objectSpread(
{ returnUrl: e.$route.path },
e.$route.query
)),
i.meta.isRegister && (s.isRegister = i.meta.isRegister),
e.$router.replace({ path: '/loginMusic', query: s })
} catch (error) {}
case 20:
case 'end':
return t.stop()
}
},
t,
null,
[[7, 14]]
)
})
)()
}
},
render: function () {
return createVNode(Fragment, null, [
'error' === state.user.status
? createVNode('div', { class: styles.error }, [
createVNode(
OEmpty,
{
type: 'notFond',
classImgSize: 'CERT',
tips: '加载失败,请稍后重试',
buttonText: '重新加载',
plain: !0,
btnStatus: !0,
onClick: this.setAuth
},
null
)
])
: this.isNeedView
? createVNode(RouterView, null, null)
: null
])
}
}),
noLoginRouter$1 = [
{
path: '/payment-result',
name: 'payment-result',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.e517e406.js')
}, void 0)
},
meta: { title: '支付详情' }
},
{
path: '/download',
name: 'download',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.4c39e3dc.js')
}, void 0)
},
meta: { title: '下载管乐团学员端' }
}
],
routesStudent = [
{
path: '/',
component: Auth,
children: [].concat(router$1, [
{
path: '/login',
name: 'login',
component: function () {
return __vitePreload(function () {
return module.import('./login-legacy.d26d3bf4.js')
}, void 0)
},
meta: { isRegister: !1 }
},
{
path: '/home',
name: 'home',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.cc912932.js')
}, void 0)
}
},
{
path: '/coupons',
name: 'coupons',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.e94fde03.js')
}, void 0)
},
meta: { title: '优惠券' }
},
{
path: '/memberCenter',
name: 'memberCenter',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.7de9fbed.js')
}, void 0)
},
meta: { title: '会员中心' }
},
{
path: '/tradeRecord',
name: 'tradeRecord',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.189a5cb4.js')
}, void 0)
},
meta: { title: '交易记录' }
},
{
path: '/my-orchestra',
name: 'my-orchestra',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.dedea6cc.js')
}, void 0)
},
meta: { title: '我的乐团' }
},
{
path: '/photo-detail',
name: 'photo-detail',
component: function () {
return __vitePreload(function () {
return module.import('./photo-detail-legacy.ec1272db.js')
}, void 0)
},
meta: { title: '相片' }
},
{
path: '/apply-withdrawal',
name: 'apply-withdrawal',
component: function () {
return __vitePreload(function () {
return module.import('./apply-withdrawal-legacy.429bd35e.js')
}, void 0)
},
meta: { title: '申请退团' }
},
{
path: '/attendance-rule',
name: 'attendance-rule',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.9df1f46f.js')
}, void 0)
},
meta: { title: '考勤规则' }
},
{
path: '/ranking-list',
name: 'ranking-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.d4aefe8b.js')
}, void 0)
},
meta: { title: '排行榜' }
},
{
path: '/exercise-record',
name: 'exercise-record',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2ab86473.js')
}, void 0)
},
meta: { title: '练习记录' }
},
{
path: '/exercis-detail',
name: 'exercis-detail',
component: function () {
return __vitePreload(function () {
return module.import('./exercis-detail-legacy.bf4998d0.js')
}, void 0)
},
meta: { title: '练习统计' }
}
])
},
{
path: '/msuicGroup',
component: MusicAuth,
children: [
{
path: '/loginMusic',
name: 'loginMusic',
component: function () {
return __vitePreload(function () {
return module.import('./login-legacy.96432545.js')
}, void 0)
},
meta: { isRegister: !1 }
},
{
path: '/preApply',
name: 'preApply',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.23fe0267.js')
}, void 0)
},
meta: { title: '乐团报名' }
},
{
path: '/orderDetail',
name: 'orderDetail',
component: function () {
return __vitePreload(function () {
return module.import('./order-detail-legacy.c8dafa15.js')
}, void 0)
},
meta: { title: '订单详情' }
},
{
path: '/shopAddress',
name: 'shopAddress',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2d5a737c.js')
}, void 0)
},
meta: { title: '收货地址' }
},
{
path: '/addressOperation',
name: 'addressOperation',
component: function () {
return __vitePreload(function () {
return module.import('./address-operation-legacy.9b846104.js')
}, void 0)
},
meta: { title: '收货地址' }
}
]
}
].concat(noLoginRouter$1, rootRouter),
noLoginRouter = [
{
path: '/companion-teacher-register',
name: 'companion-teacher-register',
component: function () {
return __vitePreload(function () {
return module.import('./companion-teacher-register-legacy.c2535c51.js')
}, void 0)
},
meta: { title: '乐团伴学指导注册' }
},
{
path: '/manage-teacher-register',
name: 'manage-teacher-register',
component: function () {
return __vitePreload(function () {
return module.import('./manage-teacher-register-legacy.d715afff.js')
}, void 0)
},
meta: { title: '乐团管理老师注册' }
}
],
routesSchool = [
{
path: '/',
component: Auth,
children: [].concat(router$1, [
{
path: '/login',
name: 'login',
component: function () {
return __vitePreload(function () {
return module.import('./login-legacy.d26d3bf4.js')
}, void 0)
},
meta: { isRegister: !1 }
},
{
path: '/home',
name: 'home',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.dc0c6294.js')
}, void 0)
}
},
{
path: '/my-orchestra',
name: 'my-orchestra',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.cff00380.js')
}, void 0)
},
meta: { title: '我的乐团' }
},
{
path: '/create-orchestra',
name: 'create-orchestra',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.129648fe.js')
}, void 0)
},
meta: { title: '新建乐团' }
},
{
path: '/create-orchestra-teacher',
name: 'create-orchestra-teacher',
component: function () {
return __vitePreload(function () {
return module.import('./select-teacher-legacy.445ce1e2.js')
}, void 0)
},
meta: { title: '选择老师' }
},
{
path: '/orchestra-detail',
name: 'orchestra-detail',
component: function () {
return __vitePreload(function () {
return module.import('./orchestra-detail-legacy.d1e21758.js')
}, void 0)
},
meta: { title: '乐团详情' }
},
{
path: '/school-photo',
name: 'school-photo',
component: function () {
return __vitePreload(function () {
return module.import('./photo-legacy.55f6156f.js')
}, void 0)
},
meta: { title: '乐团相册' }
},
{
path: '/photo-detail',
name: 'photo-detail',
component: function () {
return __vitePreload(function () {
return module.import('./photo-detail-legacy.45174e49.js')
}, void 0)
},
meta: { title: '相册详情' }
},
{
path: '/mass-message',
name: 'mass-message',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.69a209af.js')
}, void 0)
},
meta: { title: '群发记录' }
},
{
path: '/create-message',
name: 'create-message',
component: function () {
return __vitePreload(function () {
return module.import('./create-message-legacy.b953115a.js')
}, void 0)
},
meta: { title: '群发消息' }
},
{
path: '/companion-teacher',
name: 'companion-teacher',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.b8aac072.js')
}, void 0)
},
meta: { title: '伴学指导' }
},
{
path: '/companion-teacher-detail',
name: 'companion-teacher-detail',
component: function () {
return __vitePreload(function () {
return module.import('./companion-detail-legacy.301f060a.js')
}, void 0)
},
meta: { title: '伴学指导详情' }
},
{
path: '/companion-unbind',
name: 'companion-unbind',
component: function () {
return __vitePreload(function () {
return module.import('./unbind-legacy.a98676f9.js')
}, void 0)
},
meta: { title: '课程交接' }
},
{
path: '/manage-teacher',
name: 'manage-teacher',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2e8b0327.js')
}, void 0)
},
meta: { title: '管理老师' }
},
{
path: '/manage-teacher-detail',
name: 'manage-teacher-detail',
component: function () {
return __vitePreload(function () {
return module.import('./manage-detail-legacy.5f2f27e8.js')
}, void 0)
},
meta: { title: '管理老师详情' }
},
{
path: '/save-share-image',
name: 'save-share-image',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.eb25f3c4.js')
}, void 0)
},
meta: { title: '注册' }
},
{
path: '/orchestra-information',
name: 'orchestra-information',
component: function () {
return __vitePreload(function () {
return module.import('./orchestra-information-legacy.90f5934b.js')
}, void 0)
},
meta: { title: '乐团资讯' }
},
{
path: '/add-information',
name: 'add-information',
component: function () {
return __vitePreload(function () {
return module.import('./add-information-legacy.4f91740f.js')
}, void 0)
},
meta: { title: '添加资讯' }
},
{
path: '/exercise-record',
name: 'exercise-record',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2ab86473.js')
}, void 0)
},
meta: { title: '练习记录' }
},
{
path: '/exercis-detail',
name: 'exercis-detail',
component: function () {
return __vitePreload(function () {
return module.import('./exercis-detail-legacy.bf4998d0.js')
}, void 0)
},
meta: { title: '练习统计' }
},
{
path: '/attendance',
name: 'attendance',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.7e80b20e.js')
}, void 0)
},
meta: { title: '考勤管理' }
},
{
path: '/student-att-day',
name: 'student-att-day',
component: function () {
return __vitePreload(function () {
return module.import('./student-att-day-legacy.31c4e56b.js')
}, void 0)
},
meta: { title: '考勤详情' }
},
{
path: '/teacher-attendDetail',
name: 'teacher-attendDetail',
component: function () {
return __vitePreload(function () {
return module.import('./teacher-attendDetail-legacy.4b2e2ed9.js')
}, void 0)
},
meta: { title: '考勤详情' }
},
{
path: '/ranking-list',
name: 'ranking-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.8e1ae2fd.js')
}, void 0)
},
meta: { title: '排行榜' }
},
{
path: '/approval-manage',
name: 'approval-manage',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.8488d8c0.js')
}, void 0)
},
meta: { title: '待办事项' }
},
{
path: '/student-leave',
name: 'student-leave',
component: function () {
return __vitePreload(function () {
return module.import('./student-leave-legacy.b1a94373.js')
}, void 0)
},
meta: { title: '审批详情' }
},
{
path: '/train-planning',
name: 'train-planning',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.d833122e.js')
}, void 0)
},
meta: { title: '乐团排课' }
},
{
path: '/train-content',
name: 'train-content',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.bd2a3f03.js')
}, void 0)
},
meta: { title: '训练内容' }
},
{
path: '/practice-detail',
name: 'practice-detail',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.f33c0f62.js')
}, void 0)
},
meta: { title: '训练详情' }
},
{
path: '/course-preview',
name: 'course-preview',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.ec3927b3.js')
}, void 0)
},
meta: { title: '课程预览' }
},
{
path: '/course-adjust',
name: 'course-adjust',
component: function () {
return __vitePreload(function () {
return module.import('./course-adjust-legacy.67ff421f.js')
}, void 0)
},
meta: { title: '课程调整' }
},
{
path: '/batch-adjust',
name: 'batch-adjust',
component: function () {
return __vitePreload(function () {
return module.import('./batch-adjust-legacy.fcc300f1.js')
}, void 0)
},
meta: { title: '批量调整' }
},
{
path: '/school-detail',
name: 'school-detail',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.91c6fb5f.js')
}, void 0)
},
meta: { title: '学校信息' }
},
{
path: '/school-eidt',
name: 'school-eidt',
component: function () {
return __vitePreload(function () {
return module.import('./eidt-school-legacy.7f7329b1.js')
}, void 0)
},
meta: { title: '修改学校地址' }
},
{
path: '/attendance-rule',
name: 'attendance-rule',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.9df1f46f.js')
}, void 0)
},
meta: { title: '考勤规则' }
},
{
path: '/orchestra-story',
name: 'orchestra-story',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.2318b8b0.js')
}, void 0)
},
meta: { title: '乐团事迹' }
},
{
path: '/story-operation',
name: 'story-operation',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.92f7e068.js')
}, void 0)
},
meta: { title: '添加事迹' }
},
{
path: '/subsidy-exercise-detail',
name: 'subsidy-exercise-detail',
component: function () {
return __vitePreload(function () {
return module.import('./exercise-detail-legacy.7ceb0f92.js')
}, void 0)
},
meta: { title: '训练补助详情' }
},
{
path: '/subsidy-exercise-details',
name: 'subsidy-exercise-details',
component: function () {
return __vitePreload(function () {
return module.import('./details-legacy.de0f7fd7.js')
}, void 0)
},
meta: { title: '补助明细' }
},
{
path: '/subsidy-grant-detail',
name: 'subsidy-grant-detail',
component: function () {
return __vitePreload(function () {
return module.import('./grant-detail-legacy.e6036c13.js')
}, void 0)
},
meta: { title: '管理补助详情' }
},
{
path: '/subsidy-reward-detail',
name: 'subsidy-reward-detail',
component: function () {
return __vitePreload(function () {
return module.import('./reward-detail-legacy.9e80d8c2.js')
}, void 0)
},
meta: { title: '练习奖励详情' }
},
{
path: '/unitDetail',
name: 'unitDetail',
component: function () {
return __vitePreload(function () {
return module.import('./unitDetail-legacy.041334ed.js')
}, void 0)
},
meta: { title: '测验详情' }
},
{
path: '/unit-list',
name: 'unit-list',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.4cfcf17e.js')
}, void 0)
},
meta: { title: '阶段自测' }
},
{
path: '/orchestra-photo-create',
name: 'orchestra-photo-create',
component: function () {
return __vitePreload(function () {
return module.import('./photo-create-legacy.ce828bdc.js')
}, void 0)
},
meta: { title: '创建相册' }
},
{
path: '/practice-rewards',
name: 'practice-rewards',
component: function () {
return __vitePreload(function () {
return module.import('./index-legacy.49d9a37b.js')
}, void 0)
},
meta: { title: '练习奖励' }
},
{
path: '/practice-rewards-detail',
name: 'practice-rewards-detail',
component: function () {
return __vitePreload(function () {
return module.import('./detail-legacy.c2ea4d9d.js')
}, void 0)
},
meta: { title: '练习奖励详情' }
}
])
}
].concat(rootRouter, noLoginRouter),
paymentType = window.paymentType,
routes = [],
baseUrl = null
'STUDENT' === paymentType
? (routes = routesStudent)
: 'TEACHER' === paymentType
? ((routes = routesTeacher), (baseUrl = '/teacher.html'))
: 'SCHOOL' === paymentType && ((routes = routesSchool), (baseUrl = '/school.html')),
console.log(routes, baseUrl, paymentType)
var router = exports(
'i',
createRouter({
history: createWebHashHistory(),
routes: routes,
scrollBehavior: function (e, t, n) {
if (e.hash) return { el: e.hash, behavior: 'smooth' }
}
})
),
whitePath = ['/coursewarePlay']
router.beforeEach(function (e, t, n) {
whitePath.includes(e.path) || baseEvent.emit('toastShow'),
(document.title = e.meta.title || '管乐团'),
n()
}),
router.afterEach(function (e, t) {
e.path === t.path
? baseEvent.emit('toastClose')
: setTimeout(function () {
baseEvent.emit('toastClose')
}, 300)
})
var isOpen = !1
router.onError(function (e) {
if (e instanceof Error) {
var t = e.name.indexOf('chunk'),
n = router.currentRoute.value.fullPath
console.log(e),
t &&
!isOpen &&
(baseEvent.emit('toastClose'),
(isOpen = !0),
showDialog({
title: '更新提示',
message: 'APP有更新请点击确定刷新页面?',
confirmButtonColor: 'var(--van-primary)'
}).then(function () {
browser().isApp
? postMessage({ api: 'back' })
: ((location.hash = n), window.location.reload())
}))
}
})
var index$1 = '',
normalize = '',
style = '',
index = ''
}
}
})
})()
=======
(function(){function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray2(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray2(e,t):void 0}}function _arrayLikeToArray2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-cascader-header-height: 1.28rem;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: .53333rem;--van-cascader-close-icon-size: .58667rem;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: .48rem;--van-cascader-tabs-height: 1.28rem;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 10.24rem;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:.26667rem var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:.16rem;overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 1.17333rem;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:.42667rem}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 .05333rem .26667rem rgba(125, 126, 128, .16);--van-calendar-header-title-height: 1.17333rem;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: .8rem;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 4.26667rem;--van-calendar-day-height: 1.70667rem;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: .10667rem;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 1.44rem;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: .96rem;--van-calendar-confirm-button-margin: .18667rem 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:.29333rem}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:.24rem}}.van-calendar__top-info{top:.16rem}.van-calendar__bottom-info{bottom:.16rem}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}.van-radio-group--horizontal,.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}:root{--van-checkbox-size: .53333rem;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 2.24rem;--van-coupon-content-padding: .37333rem 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 .10667rem rgba(0, 0, 0, .1);--van-coupon-head-width: 2.56rem;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: .8rem;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:.16rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:.05333rem}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:.42667rem;white-space:pre-wrap}.van-coupon__body{position:relative;flex:1}.van-coupon__name{margin-bottom:.26667rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:.02667rem dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - .26667rem)}.van-coupon--disabled .van-coupon__head{color:inherit}:root{--van-radio-size: .53333rem;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}:root{--van-contact-list-edit-icon-size: .42667rem;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:2.13333rem}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:1.06667rem;margin:.13333rem 0}:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 2.13333rem;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: .34667rem;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: .53333rem}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:1.06667rem;margin:.13333rem 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:1.17333rem}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: .42667rem;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-circle-size: 2.66667rem;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}.van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:.02667rem}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 4.26667rem;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 1.6rem;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: .64rem}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: .13333rem 0 .13333rem var(--van-padding-md);--van-coupon-list-exchange-button-height: .85333rem;--van-coupon-list-close-button-height: 1.06667rem;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:.90667rem;padding-left:var(--van-padding-sm);line-height:.90667rem;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-moz-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - .05333rem);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 .16rem .32rem -.32rem var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:1.33333rem}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:.13333rem var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: .64rem;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:.02667rem;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}:root{--van-dropdown-menu-height: 1.28rem;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 .05333rem .32rem rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: .4rem;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-.10667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-.02667rem;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}.van-grid{display:flex;flex-wrap:wrap}:root{--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background: var(--van-background-2);--van-grid-item-content-active-color: var(--van-active-color);--van-grid-item-icon-size: .74667rem;--van-grid-item-text-color: var(--van-text-color);--van-grid-item-text-font-size: var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background)}.van-grid-item__content:after{z-index:1;border-width:0 var(--van-border-width) var(--van-border-width) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround:after{border-width:var(--van-border-width)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: .85333rem;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}:root{--van-pagination-height: 1.06667rem;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: .96rem;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background: var(--van-background);--van-pagination-background: var(--van-background-2);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:after{border-width:var(--van-border-width)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}:root{--van-password-input-height: 1.33333rem;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: .53333rem;--van-password-input-radius: .16rem;--van-password-input-background: var(--van-background-2);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: .26667rem;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: .02667rem;--van-password-input-cursor-height: 40%;--van-password-input-cursor-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}:root{--van-progress-height: .10667rem;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 .13333rem;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}:root{--van-sidebar-width: 2.13333rem}.van-sidebar{width:var(--van-sidebar-width);overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-sidebar-font-size: var(--van-font-size-md);--van-sidebar-line-height: var(--van-line-height-md);--van-sidebar-text-color: var(--van-text-color);--van-sidebar-disabled-text-color: var(--van-text-color-3);--van-sidebar-padding: .53333rem var(--van-padding-sm);--van-sidebar-active-color: var(--van-active-color);--van-sidebar-background: var(--van-background);--van-sidebar-selected-font-weight: var(--van-font-bold);--van-sidebar-selected-text-color: var(--van-text-color);--van-sidebar-selected-border-width: .10667rem;--van-sidebar-selected-border-height: .42667rem;--van-sidebar-selected-border-color: var(--van-primary-color);--van-sidebar-selected-background: var(--van-background-2)}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:var(--van-sidebar-padding);overflow:hidden;color:var(--van-sidebar-text-color);font-size:var(--van-sidebar-font-size);line-height:var(--van-sidebar-line-height);background:var(--van-sidebar-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-sidebar-item:active{background-color:var(--van-sidebar-active-color)}.van-sidebar-item:not(:last-child):after{border-bottom-width:.02667rem}.van-sidebar-item__text{word-break:break-all}.van-sidebar-item--select{color:var(--van-sidebar-selected-text-color);font-weight:var(--van-sidebar-selected-font-weight)}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:var(--van-sidebar-selected-background)}.van-sidebar-item--select:before{position:absolute;top:50%;left:0;width:var(--van-sidebar-selected-border-width);height:var(--van-sidebar-selected-border-height);background-color:var(--van-sidebar-selected-border-color);transform:translateY(-50%);content:""}.van-sidebar-item--disabled{color:var(--van-sidebar-disabled-text-color);cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:var(--van-sidebar-background)}:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: .37333rem var(--van-padding-sm);--van-tree-select-item-height: 1.28rem;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: .42667rem}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 .85333rem 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}:root{--van-slider-active-background: var(--van-primary-color);--van-slider-inactive-background: var(--van-gray-3);--van-slider-disabled-opacity: var(--van-disabled-opacity);--van-slider-bar-height: .05333rem;--van-slider-button-width: .64rem;--van-slider-button-height: .64rem;--van-slider-button-radius: 50%;--van-slider-button-background: var(--van-white);--van-slider-button-shadow: 0 .02667rem .05333rem rgba(0, 0, 0, .5)}.van-theme-dark{--van-slider-inactive-background: var(--van-background-3)}.van-slider{position:relative;width:100%;height:var(--van-slider-bar-height);background:var(--van-slider-inactive-background);border-radius:var(--van-radius-max);cursor:pointer}.van-slider:before{position:absolute;top:calc(var(--van-padding-xs) * -1);right:0;bottom:calc(var(--van-padding-xs) * -1);left:0;content:""}.van-slider__bar{position:absolute;width:100%;height:100%;background:var(--van-slider-active-background);border-radius:inherit;transition:all var(--van-duration-fast)}.van-slider__button{width:var(--van-slider-button-width);height:var(--van-slider-button-height);background:var(--van-slider-button-background);border-radius:var(--van-slider-button-radius);box-shadow:var(--van-slider-button-shadow)}.van-slider__button-wrapper{position:absolute;cursor:grab;top:50%}.van-slider__button-wrapper--right{right:0;transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper--left{left:0;transform:translate3d(-50%,-50%,0)}.van-slider--disabled{cursor:not-allowed;opacity:var(--van-slider-disabled-opacity)}.van-slider--disabled .van-slider__button-wrapper{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:var(--van-slider-bar-height);height:100%}.van-slider--vertical .van-slider__button-wrapper--right{top:auto;right:50%;bottom:0;transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper--left{top:0;right:50%;left:auto;transform:translate3d(50%,-50%,0)}.van-slider--vertical:before{top:0;right:calc(var(--van-padding-xs) * -1);bottom:0;left:calc(var(--van-padding-xs) * -1)}.van-space{display:inline-flex}.van-space--horizontal .van-space-item{display:flex;align-items:center}.van-space--vertical{flex-direction:column}.van-space--align-baseline{align-items:baseline}.van-space--align-start{align-items:flex-start}.van-space--align-end{align-items:flex-end}.van-space--align-center{align-items:center}.van-space--wrap{flex-wrap:wrap}.van-space--fill{display:flex}:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:.26667rem .26667rem 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 .26667rem;padding-bottom:.58667rem}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}:root{--van-step-text-color: var(--van-text-color-2);--van-step-active-color: var(--van-primary-color);--van-step-process-text-color: var(--van-text-color);--van-step-font-size: var(--van-font-size-md);--van-step-line-color: var(--van-border-color);--van-step-finish-line-color: var(--van-primary-color);--van-step-finish-text-color: var(--van-text-color);--van-step-icon-size: .32rem;--van-step-circle-size: .13333rem;--van-step-circle-color: var(--van-gray-6);--van-step-horizontal-title-font-size: var(--van-font-size-sm)}.van-step{position:relative;flex:1;color:var(--van-step-text-color);font-size:var(--van-step-font-size)}.van-step__circle{display:block;width:var(--van-step-circle-size);height:var(--van-step-circle-size);background-color:var(--van-step-circle-color);border-radius:50%}.van-step__line{position:absolute;background-color:var(--van-step-line-color);transition:background-color var(--van-duration-base)}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child{position:absolute;right:.02667rem;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-.24rem;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:.8rem;left:calc(var(--van-padding-xs) * -1);z-index:1;padding:0 var(--van-padding-xs);background-color:var(--van-background-2);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:.08rem;font-size:var(--van-step-horizontal-title-font-size);transform:translate(-50%)}.van-step--horizontal .van-step__line{top:.8rem;left:0;width:100%;height:.02667rem}.van-step--horizontal .van-step__icon{display:block;font-size:var(--van-step-icon-size)}.van-step--horizontal .van-step--process{color:var(--van-step-process-text-color)}.van-step--vertical{display:block;float:none;padding:.26667rem .26667rem .26667rem 0;line-height:var(--van-line-height-sm)}.van-step--vertical:not(:last-child):after{border-bottom-width:.02667rem}.van-step--vertical .van-step__circle-container{position:absolute;top:.50667rem;left:-.4rem;z-index:1;font-size:var(--van-step-icon-size);line-height:1;transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:.42667rem;left:-.4rem;width:.02667rem;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:var(--van-step-finish-text-color)}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:var(--van-step-finish-line-color)}.van-step__icon,.van-step__title{transition:color var(--van-duration-base)}.van-step__icon--active,.van-step__title--active,.van-step__icon--finish,.van-step__title--finish{color:var(--van-step-active-color)}:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: .85333rem;--van-stepper-input-height: .74667rem;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:.02667rem}.van-stepper__minus:after,.van-stepper__plus:after{width:.02667rem;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 .05333rem;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:.02667rem 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:-moz-read-only{cursor:default}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:.02667rem solid var(--van-stepper-button-round-theme-color)}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}:root{--van-tabbar-height: 1.33333rem;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: .58667rem;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:.53333rem}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:.02667rem dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05333rem}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:0 auto}@font-face{font-family:iconfont;src:url(data:font/woff2;base64,d09GMgABAAAAAAQEAAsAAAAACMAAAAO1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDKgqERINyATYCJAMUCwwABCAFhGcHWhueB8gekiRFggQUiKBKgSFABNXavz0L95kcQqIIHZGKIjAGwUZYAhXlU5GsItT735yq1CkAqx0Bnkqs2l+KY5ysATCcAOi4l2oQ+eNe1cxp33PPIpwL4lwDg8FYLhqggO3VtUEK3itQRbGL7K5ALPI5Ap02deZ3qPfAPBRxiwgTpXAze4OkNm6pjKAgwaw0sEO7roFuLVOueSrpcboFeRn8fPzTPIJIamaecuJKLwWdex/38as0rjWO/J3XI+DpCRUZqyuzxo1m9yVSlF4l6axKum2D6Oh2iZ/x7xM/fvX5CCFOuitnu07rHx5ZERLRMNXdBL8vU/gZ53DJ/IwXV2kSMZfg91ezRLF1difa8Qm/EX5WnU+7KMVETFhTq4BFjDv7+LGNzCx8+hQZX/DkCTIj79GjjzKqFh3ascMl3X679XA8Wbx83LKRETNexcPimYls6YqRW9fuqV2wZEeCw5mxLS5vUdGq1fH5i5dHhcu3H04sXDoz8yc3H92bUrBkZWJeyIw343eGhj59PW5bP15sWuYby7NQUbt09uzS2hV17tkCXxAL0v3rVNyr+K6356QcfuZeWLQ3OuyFZymHrv7DX1DLO3nzIq8+6TuKJQztM2rGVd32341MP+j8fN8u056NPZ99fqz3mU5e/fxr8zz75u5tK2Zk1PueefZg9Icn9uWMy+4jS05Obl33e+OZ278cnhXNsmj0rCiaxVCXk3cjw79eHASl4y3SoPsk12LayT18Te4G+p9c3LrgyJi5HGNnCjwRTgyDtEzjuHL4GyFf9stDqHW01JGcAB30GheCW//Vrozs+C8otIAfM+7fQ+L+2DriHykBi3978Hzp6TO7uRc0ISkqKKpFiuaQIzbY1S6ttyb5wbI/nWfQ83G0Q2C1v64dSiBpMwVZu2l0wS9D1WUrNNrthk4reu3uMsQmidKBeRMRhH7bIen1DbJ+V9EF/xSqUR+g0e8/dDoX4cd1mQ+5BwciQMHVw7EqWya1dSIYNgfYYJ3wskQBcEfFMdyscdN8rg+YwIdY4QxhzYWgmHLLwL25m4GuW9jmlhdk0dgjhN2+SRNa9SWNZctAPXCAEIACqzYcppJZTNTrLLK/LwdgBtMRHIgucHIOFZHhsWYaawpA91GboLYrGe0YgmlOECidRXEWA9ZbcwLdSlswu3qSF5AJjXl6JG3tNSGdKFTdeH6t8YAHoJP5lTVS5ChRo9FcUIk5YnCITDiIRoo11Ax1BOGVRBbqEAhLWhWgZLAuEAIAAAA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAWUAAsAAAAACMAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8KUvXY21hcAAAAYgAAABpAAABquvouiNnbHlmAAAB9AAAAYQAAAJEpOj6BGhlYWQAAAN4AAAAMQAAADYgWucGaGhlYQAAA6wAAAAeAAAAJAgFA8lobXR4AAADzAAAABQAAAAUFIj//2xvY2EAAAPgAAAADAAAAAwBDgGIbWF4cAAAA+wAAAAfAAAAIAESAEhuYW1lAAAEDAAAAUAAAAJnEKM8sHBvc3QAAAVMAAAARgAAAFqzdzoJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGGRZpzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnom8eMPc8L+BgYH5DgOQZGBEUcQEAIl0DX14nO2QwQ2AIBAE9wCNIT4lNGEBPi3Gl4UTHvSAe4d24ZIhtwv3WQATAE92EgC5IVBdTMVyj2h5wEG/8DigpJJr653T9k0m4XvUDe4FOv6VGb9Wu8/XBe1toO2XNLA8D7T92gZwD3aKF6YAAAB4nKXOMUvDQBgG4Psu8XJJekmuxFy0aTSpJLVKhVLTQahrBceOhU6CqIPiLCiOlvo7XHRS/4W6iT/ATZAOjrZeFEEcdfg+3uF94UHKZDI5VkE5QQjNoCWEIHJFCMJrtNrQypppHdIk1izQCAML6rDKm23wxFQILsFojKrpsNd/6PeGafVHxHfjZysKOQ8jC0rMtuF4+3fnM57f6MDLHHZ42QH9mgbzAQJpQcoW7iIz98REgORAliid932b6bCheRQ6OsNd3xyfUgpHpi8nGKHJrZoqh2gFrcllG5IVKc4vJrbUy8PeHIQykBCvQ9aYA68tC0nW0ipx0szWoOG5RHU5DvyR5ZM9Wo7LdFcT9sgpGZRdGjqu4UIQ248sZI/e8oy6qOjmy4ALwQeOEHDv1BfUCubsySkWnSdWxBXsRVHhwizZr868i+kBIQdmIRGvdmBs+pEQkf9tp/+3K28cAiHt2p72ZfetEZ81aOEqtyvs2z69PKvWsG68nOX2/P3R/gFepmFIeJxjYGRgYADimo+8avH8Nl8ZuFkYQOBe18UWGP3///8GFnXmRiCXg4EJJAoAVioNAQAAAHicY2BkYGBu+N/AEMPi8h8IWNQZgCIogBUAqjoG1QAABAAAAAQA//8EAAAABEQAAAREAAAAAAAAAEoAZgDEASJ4nGNgZGBgYGWwYWBmAAEmIOYCQgaG/2A+AwAO8gFbAHichZE9bsJAEIWfwZAElChKpDRpVikoEsn8lEipUKCnoAez5ke211ovSNQ5TY6QE+QI6Whzikh52EMDRbza2W/evpkdyQDusIeH8rvnLtnDJbOSK7jAo3CV+pOwT34WrqGJnnCd+qtwAy94E26yY8YOnn/FrIV3YQ+3+BCu4AafwlXqX8I++Vu4hgf8CNep/wo3MPGuhZtoeeHA6qnTczXbqVVo0sik7niO9WITT+2pPNE2X5lUdYPOURrpVNtjm3y76DkXqciaRA15q+PYqMyatQ5dsHQu67fbkehBaBIMYKExhWOcQ2GGHeMKIQxSREV0Z/mY7gU2iFlp/3VP6LbIqR9yhS4CdM5cI7rSwnk6TY4tX+tRdXQrbsuahDSUWs1JYrLiDzzcramE1AMsi6oMfbS5ohN/UMyQ/AHYk29XeJxjYGKAAC4G7ICVkYmRmZGFkZWRjYEtKTMxr6qUKzmxKLVENyW/PI+7uCSxKD4xuSSzLJUHzE5JTUsszSlhYAAAgoEQYgAA) format("woff"),url(data:font/ttf;base64,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) format("truetype")}.iconfont{font-family:iconfont!important;font-size:.42667rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconfont-upload:before{content:"\\e617"}.iconfont-down:before{content:"\\e8ec"}.iconfont-star_active:before{content:"\\e614"}.iconfont-star_default:before{content:"\\e615"}:root{--van-gray-8: #333;--van-primary: #ff8057 !important;--van-picker-confirm-action-color: #ff8057 !important;--van-primary-text: #f67146 !important;--van-primary-color: var(--van-primary) !important;--van-cell-group-inset-padding: 0 .34667rem;--van-tag-default-color: #f8f8f8 !important;--van-tag-text-default-color: #c0c0c0;--van-tabs-bottom-bar-width: .53333rem;--col-background-color: #f6f8f9;--white: #fff;--tips-color: #999;--strong--color: #ff4e19;--box-shadow-color: rgba(0, 0, 0, .05);--tag-border-color: #2dc7aa;--tag-bg-color: #e9fff8;--tag-color: #2dc7aa}*{padding:0;margin:0;border:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh}body{background-color:#f6f6f6;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:0!important}.mb12{margin-bottom:.32rem!important}.btnGroup{padding:0 .66667rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom))}.btnGroup .van-button{font-size:.48rem!important;font-weight:500}.btnMore{padding-left:.34667rem;padding-right:.34667rem;display:flex!important;justify-content:center!important}.btnMore .van-button{width:100%!important}.btnMore .van-button+.van-button{margin-left:.4rem}.form-control-icon .van-cell__right-icon{color:#fff!important}.sticky{position:relative}.sticky .van-sticky{height:inherit!important;top:var(--van-sticky-z-index)!important;position:fixed;width:100%}.sticky :global(.van-sticky--fixed){box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}.van-toast{z-index:9999!important}.van-sticky--fixed{position:fixed;z-index:1999}:root{--music-list-item-background-color: #fff;--music-list-item-title-color: #333;--music-list-item-desc-color: #333;--music-list-item-mate-color: #6a6a6a;--music-list-item-border-color: #f1f1f1;--music-list-item-vip-bg: #fff1cd;--music-list-item-vip-color: #ff6c00;--music-list-item-free-bg: #fff1e7;--music-list-item-free-color: #ff4700;--music-list-item-charge-bg: #e1f0ff;--music-list-item-charge-color: #0086ff;--van-overlay-background: rgba(0, 0, 0, .4)}.appRootToast .van-overlay{background:#fff;z-index:2999!important}.appRootToast .van-fade-enter-from,.appRootToast .van-fade-enter-active{animation:none}.appRootToast .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToast .van-toast--text{background-color:transparent;z-index:2999!important}.appRootToast .toastAnimate{width:1.86667rem;height:1.86667rem}.appRootToastCenter .van-overlay{background:rgba(0,0,0,.4);z-index:2999!important}.appRootToastCenter .van-fade-enter-from,.appRootToastCenter .van-fade-enter-active{animation:none}.appRootToastCenter .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToastCenter .van-toast--text{background-color:#fff;z-index:2999!important}.appRootToastCenter .toastAnimate{width:1.86667rem;height:1.86667rem}.cell-section{width:auto;border-radius:.16rem;margin:0 .34667rem;padding:.4rem .32rem}.van-cell__right-icon{font-size:.34667rem;font-weight:700;color:#d8d8d8}.van-field__control{font-size:.42667rem}@font-face{font-family:DINA;src:url(./assets/DIN_Alternate_Bold.a17c25bc.ttf)}.emptyRootContainer{display:flex;align-items:center;justify-content:center;min-height:100vh;flex-direction:column}.emptyRootContainer .o-result-container{flex:1 auto;display:flex;align-items:center}input{caret-color:#ff8057}.emptyFixedHeightContainer{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;justify-content:center;align-items:center;padding:0}.emptyFixedHeightContainer .van-empty{transform:translateY(-15%)}.gridBorderRight:after{content:" ";position:absolute;box-sizing:border-box;height:1.06667rem;pointer-events:none;top:50%;margin-top:-.53333rem;right:0;border:.02667rem solid var(--van-border-color);transform:scale(.5)}.popupBottomSearch{--van-picker-toolbar-height: 1.17333rem !important}.popupBottomSearch .van-picker__toolbar{position:relative}.popupBottomSearch .van-picker__toolbar:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.popupBottomSearch .van-picker-column{position:relative;z-index:1}.popupBottomSearch .van-picker__frame{z-index:0}.popupBottomSearch .van-picker__frame:after{background:#f2f2f2;border-radius:.21333rem}.searchGroupInput .van-search{padding-bottom:0!important}.searchGroup{padding:0 .34667rem!important;line-height:1.17333rem;background-color:#fff;display:flex;align-items:center;justify-content:space-around}.searchGroup .searchItem{display:inline-block;font-size:.37333rem;font-weight:400;color:#333;display:flex;align-items:center;justify-content:center}.searchGroup .searchItem.searchItem-active{color:var(--van-primary)}.searchGroup .searchItem.searchItem-active .arrow{margin-top:-.02667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAP5JREFUKFOV0TEvQ1EYxvH/c6WdiI2Y+QSMXbow1agtSVdmMUiI3HMjJJburE1oGZlYuhj5BMzCJkxt3Feu2ytKb6+e4SzP8/6Sc16RcSwoL0cV+eeXw6oaFpqrroE14o5qcs3TtH4qZMHqIhZeAfnecAd5JflnN4OwgZAdVObpWhs00T9kb+RU1G7r/jf2B7L9yiwf3ALTKc94ZoyC9lqPP/M+yFxtCjoRMpexgwfIF+QaL0nvGzK3Mg5eG1jI2mQvv4OwKHfx/rWK6LLj9RxPr9HHLv0TSWrXzEyWtHHSjaGgXMe0OSKS1Otyra0YctVDsG3AGxELkY7kN3c+AXzSRQveG9tuAAAAAElFTkSuQmCC) no-repeat center center;background-size:100%}.searchGroup .searchItem span{max-width:2.13333rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchGroup .searchItem.searchItem-large span{max-width:3.2rem}.searchGroup .searchItem.searchItem-normal span{max-width:2.66667rem}.searchGroup .arrow{display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAARBJREFUKFOV0a1Ow1AUB/D/aQuKmQp4AHgCkDMzQw3Tpvc2JOhqMEt4ABIM09UkpLdNa5gCg0HCE8ADgKgBNdre5SxlgW0d9Jibc+85v/tFAKCUuiCiIQCD8xZRaa0vpZTnxE1JklxprU9bAPNSIhp5nnc2g8Iw3LBte6y1PmyDEdFdnueDIAi+ZhBHHMdbAB4AHPwTewLQE0J8cv0c4iTLsu2iKB4B7P2BvViW1XUc5/277hfEk1EU7RqGwdhOA/ZWVVXX9/3Xn+tLEC+mabpfliVfs7OAfZim2XNd93lxk5VQ/WZ9AGMAm3XTBMBACHG/6qSNUI0dA7iuG0+EEDdNb7cW4ial1BGPUsrbdR8wBQqHTQv5JatLAAAAAElFTkSuQmCC) no-repeat center center;background-size:contain;width:.24rem;height:.13333rem;margin-left:.08rem}.searchGroup-single{padding:.32rem .34667rem!important}.searchGroup-single .searchItem{position:relative;box-sizing:border-box;max-width:100%;padding:0 .64rem 0 .34667rem;background-color:#fff;border-radius:.42667rem;font-size:.37333rem;color:#333;height:.85333rem;line-height:.85333rem;display:inline-flex;align-items:center}.searchGroup-single .searchItem:after{position:absolute;top:50%;right:.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchGroup-single .searchItem.searchItem-active{color:var(--van-primary-color)}.searchGroup-single .searchItem.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.searchGroup-single .searchItem span{max-width:4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left{position:relative;display:inline-block;font-size:.37333rem;color:#333;margin-right:.56rem}.searchItem-left:after{position:absolute;top:50%;right:-.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchItem-left span{max-width:1.86667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left.searchItem-active{color:var(--van-primary-color)}.searchItem-left.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.van-sheet_content{margin:0 .34667rem;padding-top:.26667rem}.van-sheet_content .van-sheet-item{line-height:1.38667rem;font-size:.42667rem;font-weight:500;color:#333;text-align:center}.van-sheet_content .van-sheet-item-active{background:#f2f2f2;border-radius:.21333rem}.van-action-sheet_bottom__cancel{margin:0 .34667rem;width:calc(100vw - .69333rem);line-height:1.38667rem;padding:0;color:#aaa}\n',document.head.appendChild(__vite_style__),System.register([],(function(exports,module){"use strict";return{execute:function execute(){var _window$webkit,_window$webkit$messag;exports({C:useParent,D:withInstall,E:mergeProps,H:getRootScrollTop,I:setRootScrollTop,Q:useId,R:ref,U:addUnit,W:useExpose,X:provide,Z:watch,_:nextTick,a:resolveComponent,a0:useEventListener,a3:formatNumber,a4:preventDefault,a6:resetScroll,a7:padZero,a8:useCountDown,aD:inject,aE:raf,aF:setScrollTop,aJ:onActivated,aK:onPopupReopen,aL:onMountedOrActivated,aM:getElementTop,aN:callInterceptor,aO:route,aP:doubleRaf,aS:usePageVisibility,aT:onDeactivated,aU:getZIndexStyle,aV:useRoute,aX:usePlaceholder,aZ:useLazyRender,ac:withDirectives,ad:resolveDirective,af:useRoute$1,ag:useRouter,ak:isVNode,al:pick,an:useScrollParent,ao:useTouch,ap:getScrollTop,at:isHidden,ax:watchEffect,az:unitToPx,b$:toRef,b1:useCustomFieldValue,b5:unref,b7:isRef,b8:getCurrentScope,b9:onScopeDispose,bD:useToggle,bH:toRefs,bJ:addNumber,bN:customRef,bO:effect,bP:effectScope,bQ:isProxy,bR:isReactive,bS:isReadonly,bT:markRaw,bU:proxyRefs,bV:readonly,bW:shallowReactive,bX:shallowReadonly,bY:shallowRef,bZ:stop,b_:toRaw,ba:mountComponent,bb:usePopupState,bj:useClickAway,bn:showDialog,bo:openBlock,bp:createElementBlock,bq:createBaseVNode,br:normalizeStyle,bs:createCommentVNode,bt:normalizeClass,bx:getSizeStyle,c$:withAsyncContext,c0:triggerRef,c3:normalizeProps,cD:popScopeId,cE:pushScopeId,cF:queuePostFlushCb,cG:registerRuntimeCompiler,cH:renderList,cI:renderSlot,cJ:resolveDynamicComponent,cL:resolveTransitionHooks,cM:setBlockTracking,cN:setDevtoolsHook,cO:setTransitionHooks,cR:toHandlers,cS:transformVNodeArgs,cT:useAttrs,cV:useSlots,cW:useTransitionState,cY:warn,cZ:watchPostEffect,c_:watchSyncEffect,cb:callWithAsyncErrorHandling,cc:callWithErrorHandling,cd:cloneVNode,cf:createBlock,cg:createHydrationRenderer,ch:createPropsRestProxy,ci:createRenderer,cj:createSlots,ck:createStaticVNode,cl:defineAsyncComponent,cm:defineEmits,cn:defineExpose,co:defineProps,cq:getTransitionRawChildren,cr:guardReactiveProps,cs:h$1,ct:handleError,cu:initCustomFormatter,cv:isMemoSame,cx:mergeDefaults,cz:onErrorCaptured,d:defineComponent,d0:withCtx,d1:withDefaults,d2:withMemo,d6:defineCustomElement,db:useCssModule,dc:useCssVars,dl:getAugmentedNamespace,dm:getDefaultExportFromCjs,o:showToast,q:createTextVNode,r:reactive,t:createNamespace,x:useChildren,y:computed});var p$1=function(){var e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){var t,n=_createForOfIteratorHelper(document.querySelectorAll('link[rel="modulepreload"]'));try{for(n.s();!(t=n.n()).done;){r(t.value)}}catch(a){n.e(a)}finally{n.f()}new MutationObserver((function(e){var t,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;if("childList"===o.type){var i,s=_createForOfIteratorHelper(o.addedNodes);try{for(s.s();!(i=s.n()).done;){var l=i.value;"LINK"===l.tagName&&"modulepreload"===l.rel&&r(l)}}catch(a){s.e(a)}finally{s.f()}}}}catch(a){n.e(a)}finally{n.f()}})).observe(document,{childList:!0,subtree:!0})}function r(e){if(!e.ep){e.ep=!0;var t=function(e){var t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}};function makeMap(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a1&&(t[n[0].trim()]=n[1].trim())}})),t}function normalizeClass(e){var t="";if(isString$1(e))t=e;else if(isArray$5(e))for(var n=0;n")]=a,e}),{})):isSet$1(n)?_defineProperty2({},"Set(".concat(n.size,")"),_toConsumableArray2(n.values())):!isObject$2(n)||isArray$5(n)||isPlainObject$2(n)?n:String(n)},EMPTY_OBJ={},EMPTY_ARR=[],NOOP=function(){},NO=function(){return!1},onRE=/^on[^a-z]/,isOn=function(e){return onRE.test(e)},isModelListener=function(e){return e.startsWith("onUpdate:")},extend$2=Object.assign,remove=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$2=function(e,t){return hasOwnProperty$2.call(e,t)},isArray$5=Array.isArray,isMap$1=function(e){return"[object Map]"===toTypeString(e)},isSet$1=function(e){return"[object Set]"===toTypeString(e)},isDate$3=function(e){return e instanceof Date},isFunction$1=function(e){return"function"==typeof e},isString$1=function(e){return"string"==typeof e},isSymbol$1=function(e){return"symbol"===_typeof2(e)},isObject$2=function(e){return null!==e&&"object"===_typeof2(e)},isPromise$1=function(e){return isObject$2(e)&&isFunction$1(e.then)&&isFunction$1(e.catch)},objectToString$2=Object.prototype.toString,toTypeString=function(e){return objectToString$2.call(e)},toRawType=function(e){return toTypeString(e).slice(8,-1)},isPlainObject$2=function(e){return"[object Object]"===toTypeString(e)},isIntegerKey=function(e){return isString$1(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},camelizeRE$1=/-(\w)/g,camelize$1=exports("c1",cacheStringFunction((function(e){return e.replace(camelizeRE$1,(function(e,t){return t?t.toUpperCase():""}))}))),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((function(e){return e.replace(hyphenateRE,"-$1").toLowerCase()})),capitalize=exports("c2",cacheStringFunction((function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))),toHandlerKey=exports("c4",cacheStringFunction((function(e){return e?"on".concat(capitalize(e)):""}))),hasChanged=function(e,t){return!Object.is(e,t)},invokeArrayFns=function(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0];_classCallCheck2(this,e),this.active=!0,this.effects=[],this.cleanups=[],!t&&activeEffectScope&&(this.parent=activeEffectScope,this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}return _createClass2(e,[{key:"run",value:function(e){if(this.active)try{return this.on(),e()}finally{this.off()}}},{key:"on",value:function(){this.active&&(effectScopeStack.push(this),activeEffectScope=this)}},{key:"off",value:function(){this.active&&(effectScopeStack.pop(),activeEffectScope=effectScopeStack[effectScopeStack.length-1])}},{key:"stop",value:function(e){if(this.active){if(this.effects.forEach((function(e){return e.stop()})),this.cleanups.forEach((function(e){return e()})),this.scopes&&this.scopes.forEach((function(e){return e.stop(!0)})),this.parent&&!e){var t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}]),e}();function effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t){(t=t||activeEffectScope)&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}exports("bL",EffectScope);var createDep=function(e){var t=new Set(e);return t.w=0,t.n=0,t},wasTracked=function(e){return(e.w&trackOpBit)>0},newTracked=function(e){return(e.n&trackOpBit)>0},initDepMarkers=function(e){var t=e.deps;if(t.length)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;_classCallCheck2(this,e),this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],recordEffectScope(this,r)}return _createClass2(e,[{key:"run",value:function(){if(!this.active)return this.fn();if(!effectStack.includes(this))try{return effectStack.push(activeEffect=this),enableTracking(),trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,resetTracking(),effectStack.pop();var e=effectStack.length;activeEffect=e>0?effectStack[e-1]:void 0}}},{key:"stop",value:function(){this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}]),e}();function cleanupEffect(e){var t=e.deps;if(t.length){for(var n=0;n=r)&&s.push(e)}));else switch(void 0!==n&&s.push(i.get(n)),t){case"add":isArray$5(e)?isIntegerKey(n)&&s.push(i.get("length")):(s.push(i.get(ITERATE_KEY)),isMap$1(e)&&s.push(i.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$5(e)||(s.push(i.get(ITERATE_KEY)),isMap$1(e)&&s.push(i.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(e)&&s.push(i.get(ITERATE_KEY))}if(1===s.length)s[0]&&triggerEffects(s[0]);else{var l,c=[],u=_createForOfIteratorHelper(s);try{for(u.s();!(l=u.n()).done;){var p=l.value;p&&c.push.apply(c,_toConsumableArray2(p))}}catch(d){u.e(d)}finally{u.f()}triggerEffects(createDep(c))}}}function triggerEffects(e,t){var n,r=_createForOfIteratorHelper(isArray$5(e)?e:_toConsumableArray2(e));try{for(r.s();!(n=r.n()).done;){var a=n.value;(a!==activeEffect||a.allowRecurse)&&(a.scheduler?a.scheduler():a.run())}}catch(o){r.e(o)}finally{r.f()}}var isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter(isSymbol$1)),get$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),shallowReadonlyGet=createGetter(!0,!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=toRaw(this),n=0,r=this.length;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,a){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&a===(e?t?shallowReadonlyMap:readonlyMap:t?shallowReactiveMap:reactiveMap).get(n))return n;var o=isArray$5(n);if(!e&&o&&hasOwn$2(arrayInstrumentations,r))return Reflect.get(arrayInstrumentations,r,a);var i=Reflect.get(n,r,a);return(isSymbol$1(r)?builtInSymbols.has(r):isNonTrackableKeys(r))?i:(e||track(n,"get",r),t?i:isRef(i)?!o||!isIntegerKey(r)?i.value:i:isObject$2(i)?e?readonly(i):reactive(i):i)}}var set=createSetter(),shallowSet=createSetter(!0);function createSetter(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,a){var o=t[n];if(!e&&!isReadonly(r)&&(r=toRaw(r),o=toRaw(o),!isArray$5(t)&&isRef(o)&&!isRef(r)))return o.value=r,!0;var i=isArray$5(t)&&isIntegerKey(n)?Number(n)2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=toRaw(e=e.__v_raw),o=toRaw(t);t!==o&&!n&&track(a,"get",t),!n&&track(a,"get",o);var i=getProto$1(a),s=i.has,l=r?toShallow:n?toReadonly:toReactive;return s.call(a,t)?l(e.get(t)):s.call(a,o)?l(e.get(o)):void(e!==a&&e.get(t))}function has$1$1(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=toRaw(n),a=toRaw(e);return e!==a&&!t&&track(r,"has",e),!t&&track(r,"has",a),e===a?n.has(e):n.has(e)||n.has(a)}function size(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);var t=toRaw(this);return getProto$1(t).has.call(t,e)||(t.add(e),trigger$1(t,"add",e,e)),this}function set$1(e,t){t=toRaw(t);var n=toRaw(this),r=getProto$1(n),a=r.has,o=r.get,i=a.call(n,e);i||(e=toRaw(e),i=a.call(n,e));var s=o.call(n,e);return n.set(e,t),i?hasChanged(t,s)&&trigger$1(n,"set",e,t):trigger$1(n,"add",e,t),this}function deleteEntry(e){var t=toRaw(this),n=getProto$1(t),r=n.has,a=n.get,o=r.call(t,e);o||(e=toRaw(e),o=r.call(t,e)),a&&a.call(t,e);var i=t.delete(e);return o&&trigger$1(t,"delete",e,void 0),i}function clear(){var e=toRaw(this),t=0!==e.size,n=e.clear();return t&&trigger$1(e,"clear",void 0,void 0),n}function createForEach(e,t){return function(n,r){var a=this,o=a.__v_raw,i=toRaw(o),s=t?toShallow:e?toReadonly:toReactive;return!e&&track(i,"iterate",ITERATE_KEY),o.forEach((function(e,t){return n.call(r,s(e),s(t),a)}))}}function createIterableMethod(e,t,n){return function(){var r=this.__v_raw,a=toRaw(r),o=isMap$1(a),i="entries"===e||e===Symbol.iterator&&o,s="keys"===e&&o,l=r[e].apply(r,arguments),c=n?toShallow:t?toReadonly:toReactive;return!t&&track(a,"iterate",s?MAP_KEY_ITERATE_KEY:ITERATE_KEY),_defineProperty2({next:function(){var e=l.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:i?[c(t[0]),c(t[1])]:c(t),done:n}}},Symbol.iterator,(function(){return this}))}}function createReadonlyMethod(e){return function(){return"delete"!==e&&this}}function createInstrumentations(){var e={get:function(e){return get$1$1(this,e)},get size(){return size(this)},has:has$1$1,add:add,set:set$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!1)},t={get:function(e){return get$1$1(this,e,!1,!0)},get size(){return size(this)},has:has$1$1,add:add,set:set$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!0)},n={get:function(e){return get$1$1(this,e,!0)},get size(){return size(this,!0)},has:function(e){return has$1$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},r={get:function(e){return get$1$1(this,e,!0,!0)},get size(){return size(this,!0)},has:function(e){return has$1$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(a){e[a]=createIterableMethod(a,!1,!1),n[a]=createIterableMethod(a,!0,!1),t[a]=createIterableMethod(a,!1,!0),r[a]=createIterableMethod(a,!0,!0)})),[e,n,t,r]}var _createInstrumentatio=createInstrumentations(),_createInstrumentatio2=_slicedToArray(_createInstrumentatio,4),mutableInstrumentations=_createInstrumentatio2[0],readonlyInstrumentations=_createInstrumentatio2[1],shallowInstrumentations=_createInstrumentatio2[2],shallowReadonlyInstrumentations=_createInstrumentatio2[3];function createInstrumentationGetter(e,t){var n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return function(t,r,a){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(hasOwn$2(n,r)&&r in t?n:t,r,a)}}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return e&&e.__v_isReadonly?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,n,r,a){if(!isObject$2(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var o=a.get(e);if(o)return o;var i=getTargetType(e);if(0===i)return e;var s=new Proxy(e,2===i?r:n);return a.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){var t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return def(e,"__v_skip",!0),e}var toReactive=function(e){return isObject$2(e)?reactive(e):e},toReadonly=function(e){return isObject$2(e)?readonly(e):e};function trackRefValue(e){isTracking()&&((e=toRaw(e)).dep||(e.dep=createDep()),trackEffects(e.dep))}function triggerRefValue(e,t){(e=toRaw(e)).dep&&triggerEffects(e.dep)}function isRef(e){return Boolean(e&&!0===e.__v_isRef)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}var RefImpl=function(){function e(t,n){_classCallCheck2(this,e),this._shallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:toRaw(t),this._value=n?t:toReactive(t)}return _createClass2(e,[{key:"value",get:function(){return trackRefValue(this),this._value},set:function(e){e=this._shallow?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:toReactive(e),triggerRefValue(this))}}]),e}();function triggerRef(e){triggerRefValue(e)}function unref(e){return isRef(e)?e.value:e}var shallowUnwrapHandlers={get:function(e,t,n){return unref(Reflect.get(e,t,n))},set:function(e,t,n,r){var a=e[t];return isRef(a)&&!isRef(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}var CustomRefImpl=function(){function e(t){var n=this;_classCallCheck2(this,e),this.dep=void 0,this.__v_isRef=!0;var r=t((function(){return trackRefValue(n)}),(function(){return triggerRefValue(n)})),a=r.get,o=r.set;this._get=a,this._set=o}return _createClass2(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function customRef(e){return new CustomRefImpl(e)}function toRefs(e){var t=isArray$5(e)?new Array(e.length):{};for(var n in e)t[n]=toRef(e,n);return t}var ObjectRefImpl=function(){function e(t,n,r){_classCallCheck2(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}return _createClass2(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}}]),e}();function toRef(e,t,n){var r=e[t];return isRef(r)?r:new ObjectRefImpl(e,t,n)}var ComputedRefImpl=function(){function e(t,n,r){var a=this;_classCallCheck2(this,e),this._setter=n,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new ReactiveEffect(t,(function(){a._dirty||(a._dirty=!0,triggerRefValue(a))})),this.__v_isReadonly=r}return _createClass2(e,[{key:"value",get:function(){var e=toRaw(this);return trackRefValue(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}(),devtools;function computed(e,t){var n,r,a=isFunction$1(e);return a?(n=e,r=NOOP):(n=e.get,r=e.set),new ComputedRefImpl(n,r,a||!r)}Promise.resolve(),exports("cp",devtools);var buffer=[];function setDevtoolsHook(e,t){var n,r;if(exports("cp",devtools=e),devtools)devtools.enabled=!0,buffer.forEach((function(e){var t,n=e.event,r=e.args;return(t=devtools).emit.apply(t,[n].concat(_toConsumableArray2(r)))})),buffer=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((function(e){setDevtoolsHook(e,t)})),setTimeout((function(){devtools||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])}),3e3)}else buffer=[]}function emit$1(e,t){for(var n=e.vnode.props||EMPTY_OBJ,r=arguments.length,a=new Array(r>2?r-2:0),o=2;o2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,a=r.get(e);if(void 0!==a)return a;var o=e.emits,i={},s=!1;if(!isFunction$1(e)){var l=function(e){var n=normalizeEmitsOptions(e,t,!0);n&&(s=!0,extend$2(i,n))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return o||s?(isArray$5(o)?o.forEach((function(e){return i[e]=null})):extend$2(i,o),r.set(e,i),i):(r.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$2(e,t[0].toLowerCase()+t.slice(1))||hasOwn$2(e,hyphenate(t))||hasOwn$2(e,t))}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){var t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}var withScopeId=exports("d3",(function(e){return withCtx}));function withCtx(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:currentRenderingInstance;if(!t)return e;if(e._n)return e;var n=function n(){n._d&&setBlockTracking(-1);var r=setCurrentRenderingInstance(t),a=e.apply(void 0,arguments);return setCurrentRenderingInstance(r),n._d&&setBlockTracking(1),a};return n._n=!0,n._c=!0,n._d=!0,n}function markAttrsAccessed(){}function renderComponentRoot(e){var t,n,r=e.type,a=e.vnode,o=e.proxy,i=e.withProxy,s=e.props,l=_slicedToArray(e.propsOptions,1)[0],c=e.slots,u=e.attrs,p=e.emit,d=e.render,f=e.renderCache,h=e.data,v=e.setupState,m=e.ctx,g=e.inheritAttrs,y=setCurrentRenderingInstance(e);try{if(4&a.shapeFlag){var b=i||o;t=normalizeVNode(d.call(b,b,f,s,v,h,m)),n=u}else{var _=r;0,t=normalizeVNode(_.length>1?_(s,{attrs:u,slots:c,emit:p}):_(s,null)),n=r.props?u:getFunctionalFallthrough(u)}}catch(k){blockStack.length=0,handleError(k,e,1),t=createVNode(Comment)}var A=t;if(n&&!1!==g){var x=Object.keys(n),w=A.shapeFlag;x.length&&7&w&&(l&&x.some(isModelListener)&&(n=filterModelListeners(n,l)),A=cloneVNode(A,n))}return a.dirs&&(A.dirs=A.dirs?A.dirs.concat(a.dirs):a.dirs),a.transition&&(A.transition=a.transition),t=A,setCurrentRenderingInstance(y),t}function filterSingleRoot(e){for(var t,n=0;n=0))return!(!a&&!s||s&&s.$stable)||r!==i&&(r?!i||hasPropsChanged(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?hasPropsChanged(r,i,c):!!i;if(8&l)for(var u=t.dynamicProps,p=0;p0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),setActiveBranch(p,e.ssFallback)):p.resolve()}function patchSuspense(e,t,n,r,a,o,i,s,l){var c=l.p,u=l.um,p=l.o.createElement,d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;var f=t.ssContent,h=t.ssFallback,v=d.activeBranch,m=d.pendingBranch,g=d.isInFallback,y=d.isHydrating;if(m)d.pendingBranch=f,isSameVNodeType(f,m)?(c(m,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0?d.resolve():g&&(c(v,h,n,r,a,null,o,i,s),setActiveBranch(d,h))):(d.pendingId++,y?(d.isHydrating=!1,d.activeBranch=m):u(m,a,d),d.deps=0,d.effects.length=0,d.hiddenContainer=p("div"),g?(c(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0?d.resolve():(c(v,h,n,r,a,null,o,i,s),setActiveBranch(d,h))):v&&isSameVNodeType(f,v)?(c(v,f,n,r,a,d,o,i,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0&&d.resolve()));else if(v&&isSameVNodeType(f,v))c(v,f,n,r,a,d,o,i,s),setActiveBranch(d,f);else if(triggerEvent(t,"onPending"),d.pendingBranch=f,d.pendingId++,c(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0)d.resolve();else{var b=d.timeout,_=d.pendingId;b>0?setTimeout((function(){d.pendingId===_&&d.fallback(h)}),b):0===b&&d.fallback(h)}}function createSuspenseBoundary(e,t,n,r,a,o,i,s,l,c){var u=arguments.length>10&&void 0!==arguments[10]&&arguments[10],p=c.p,d=c.m,f=c.um,h=c.n,v=c.o,m=v.parentNode,g=v.remove,y=toNumber(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:a,anchor:o,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=b.vnode,n=b.activeBranch,r=b.pendingBranch,a=b.pendingId,o=b.effects,i=b.parentComponent,s=b.container;if(b.isHydrating)b.isHydrating=!1;else if(!e){var l=n&&r.transition&&"out-in"===r.transition.mode;l&&(n.transition.afterLeave=function(){a===b.pendingId&&d(r,s,c,0)});var c=b.anchor;n&&(c=h(n),f(n,i,b,!0)),l||d(r,s,c,0)}setActiveBranch(b,r),b.pendingBranch=null,b.isInFallback=!1;for(var u=b.parent,p=!1;u;){if(u.pendingBranch){var v;(v=u.effects).push.apply(v,_toConsumableArray2(o)),p=!0;break}u=u.parent}p||queuePostFlushCb(o),b.effects=[],triggerEvent(t,"onResolve")},fallback:function(e){if(b.pendingBranch){var t=b.vnode,n=b.activeBranch,r=b.parentComponent,a=b.container,o=b.isSVG;triggerEvent(t,"onFallback");var i=h(n),c=function(){b.isInFallback&&(p(null,e,a,i,r,null,o,s,l),setActiveBranch(b,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),b.isInFallback=!0,f(n,r,null,!0),u||c()}},move:function(e,t,n){b.activeBranch&&d(b.activeBranch,e,t,n),b.container=e},next:function(){return b.activeBranch&&h(b.activeBranch)},registerDep:function(e,t){var n=!!b.pendingBranch;n&&b.deps++;var r=e.vnode.el;e.asyncDep.catch((function(t){handleError(t,e,0)})).then((function(a){if(!e.isUnmounted&&!b.isUnmounted&&b.pendingId===e.suspenseId){e.asyncResolved=!0;var o=e.vnode;handleSetupResult(e,a,!1),r&&(o.el=r);var s=!r&&e.subTree.el;t(e,o,m(r||e.subTree.el),r?null:h(e.subTree),b,i,l),s&&g(s),updateHOCHostEl(e,o.el),n&&0==--b.deps&&b.resolve()}}))},unmount:function(e,t){b.isUnmounted=!0,b.activeBranch&&f(b.activeBranch,n,e,t),b.pendingBranch&&f(b.pendingBranch,n,e,t)}};return b}function hydrateSuspense(e,t,n,r,a,o,i,s,l){var c=t.suspense=createSuspenseBoundary(t,r,n,e.parentNode,document.createElement("div"),null,a,o,i,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return 0===c.deps&&c.resolve(),u}function normalizeSuspenseChildren(e){var t=e.shapeFlag,n=e.children,r=32&t;e.ssContent=normalizeSuspenseSlot(r?n.default:n),e.ssFallback=r?normalizeSuspenseSlot(n.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){var t;if(isFunction$1(e)){var n=isBlockTreeEnabled&&e._c;n&&(e._d=!1,openBlock()),e=e(),n&&(e._d=!0,t=currentBlock,closeBlock())}if(isArray$5(e)){var r=filterSingleRoot(e);e=r}return e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((function(t){return t!==e}))),e}function queueEffectWithSuspense(e,t){var n;t&&t.pendingBranch?isArray$5(e)?(n=t.effects).push.apply(n,_toConsumableArray2(e)):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;var n=e.vnode,r=e.parentComponent,a=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=a,updateHOCHostEl(r,a))}function provide(e,t){if(currentInstance){var n=currentInstance.provides,r=currentInstance.parent&¤tInstance.parent.provides;r===n&&(n=currentInstance.provides=Object.create(r)),n[e]=t}else;}function inject(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=currentInstance||currentRenderingInstance;if(r){var a=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&isFunction$1(t)?t.call(r.proxy):t}}function useTransitionState(){var e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((function(){e.isMounted=!0})),onBeforeUnmount((function(){e.isUnmounting=!0})),e}var TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup:function(e,t){var n,r=t.slots,a=getCurrentInstance(),o=useTransitionState();return function(){var t=r.default&&getTransitionRawChildren(r.default(),!0);if(t&&t.length){var i=toRaw(e),s=i.mode,l=t[0];if(o.isLeaving)return emptyPlaceholder(l);var c=getKeepAliveChild(l);if(!c)return emptyPlaceholder(l);var u=resolveTransitionHooks(c,i,o,a);setTransitionHooks(c,u);var p=a.subTree,d=p&&getKeepAliveChild(p),f=!1,h=c.type.getTransitionKey;if(h){var v=h();void 0===n?n=v:v!==n&&(n=v,f=!0)}if(d&&d.type!==Comment&&(!isSameVNodeType(c,d)||f)){var m=resolveTransitionHooks(d,i,o,a);if(setTransitionHooks(d,m),"out-in"===s)return o.isLeaving=!0,m.afterLeave=function(){o.isLeaving=!1,a.update()},emptyPlaceholder(l);"in-out"===s&&c.type!==Comment&&(m.delayLeave=function(e,t,n){getLeavingNodesForType(o,d)[String(d.key)]=d,e._leaveCb=function(){t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}}},BaseTransition=exports("c5",BaseTransitionImpl);function getLeavingNodesForType(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function resolveTransitionHooks(e,t,n,r){var a=t.appear,o=t.mode,i=t.persisted,s=void 0!==i&&i,l=t.onBeforeEnter,c=t.onEnter,u=t.onAfterEnter,p=t.onEnterCancelled,d=t.onBeforeLeave,f=t.onLeave,h=t.onAfterLeave,v=t.onLeaveCancelled,m=t.onBeforeAppear,g=t.onAppear,y=t.onAfterAppear,b=t.onAppearCancelled,_=String(e.key),A=getLeavingNodesForType(n,e),x=function(e,t){e&&callWithAsyncErrorHandling(e,r,9,t)},w={mode:o,persisted:s,beforeEnter:function(t){var r=l;if(!n.isMounted){if(!a)return;r=m||l}t._leaveCb&&t._leaveCb(!0);var o=A[_];o&&isSameVNodeType(e,o)&&o.el._leaveCb&&o.el._leaveCb(),x(r,[t])},enter:function(e){var t=c,r=u,o=p;if(!n.isMounted){if(!a)return;t=g||c,r=y||u,o=b||p}var i=!1,s=e._enterCb=function(t){i||(i=!0,x(t?o:r,[e]),w.delayedLeave&&w.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},leave:function(t,r){var a=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();x(d,[t]);var o=!1,i=t._leaveCb=function(n){o||(o=!0,r(),x(n?v:h,[t]),t._leaveCb=void 0,A[a]===e&&delete A[a])};A[a]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:function(e){return resolveTransitionHooks(e,t,n,r)}};return w}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?setTransitionHooks(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[],r=0,a=0;a1)for(var i=0;i1)return s=null,t;if(!(isVNode(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;var a=getInnerChild(r),l=a.type,c=getComponentName(isAsyncWrapper(a)?a.type.__asyncResolved||{}:l),u=e.include,p=e.exclude,d=e.max;if(u&&(!c||!matches(u,c))||p&&c&&matches(p,c))return s=a,r;var f=null==a.key?l:a.key,h=o.get(f);return a.el&&(a=cloneVNode(a),128&r.shapeFlag&&(r.ssContent=a)),g=f,h?(a.el=h.el,a.component=h.component,a.transition&&setTransitionHooks(a,a.transition),a.shapeFlag|=512,i.delete(f),i.add(f)):(i.add(f),d&&i.size>parseInt(d,10)&&m(i.values().next().value)),a.shapeFlag|=256,s=a,r}}},KeepAlive=exports("c7",KeepAliveImpl);function matches(e,t){return isArray$5(e)?e.some((function(e){return matches(e,t)})):isString$1(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:currentInstance,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(injectHook(t,r,n),n)for(var a=n.parent;a&&a.parent;)isKeepAlive(a.parent.vnode)&&injectToKeepAliveRoot(r,t,n,a),a=a.parent}function injectToKeepAliveRoot(e,t,n,r){var a=injectHook(t,e,r,!0);onUnmounted((function(){remove(r[t],a)}),n)}function resetShapeFlag(e){var t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function getInnerChild(e){return 128&e.shapeFlag?e.ssContent:e}function injectHook(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:currentInstance,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=function(){if(!n.isUnmounted){pauseTracking(),setCurrentInstance(n);for(var r=arguments.length,a=new Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:currentInstance;return(!isInSSRComponentSetup||"sp"===e)&&injectHook(e,t,n)}},onBeforeMount=exports("cy",createHook("bm")),onMounted=exports("$",createHook("m")),onBeforeUpdate=exports("aG",createHook("bu")),onUpdated=exports("as",createHook("u")),onBeforeUnmount=exports("ab",createHook("bum")),onUnmounted=exports("a_",createHook("um")),onServerPrefetch=exports("cC",createHook("sp")),onRenderTriggered=exports("cB",createHook("rtg")),onRenderTracked=exports("cA",createHook("rtc"));function onErrorCaptured(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:currentInstance;injectHook("ec",e,t)}var shouldCacheAccess=!0;function applyOptions(e){var t=resolveMergedOptions(e),n=e.proxy,r=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");var a=t.data,o=t.computed,i=t.methods,s=t.watch,l=t.provide,c=t.inject,u=t.created,p=t.beforeMount,d=t.mounted,f=t.beforeUpdate,h=t.updated,v=t.activated,m=t.deactivated,g=(t.beforeDestroy,t.beforeUnmount),y=(t.destroyed,t.unmounted),b=t.render,_=t.renderTracked,A=t.renderTriggered,x=t.errorCaptured,w=t.serverPrefetch,k=t.expose,S=t.inheritAttrs,E=t.components,P=t.directives;t.filters;if(c&&resolveInjections(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(var C in i){var T=i[C];isFunction$1(T)&&(r[C]=T.bind(n))}if(a){var I=a.call(n,n);isObject$2(I)&&(e.data=reactive(I))}if(shouldCacheAccess=!0,o){var M=function(e){var t=o[e],a=computed({get:isFunction$1(t)?t.bind(n,n):isFunction$1(t.get)?t.get.bind(n,n):NOOP,set:!isFunction$1(t)&&isFunction$1(t.set)?t.set.bind(n):NOOP});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:function(){return a.value},set:function(e){return a.value=e}})};for(var R in o)M(R)}if(s)for(var O in s)createWatcher(s[O],r,n,O);if(l){var z=isFunction$1(l)?l.call(n):l;Reflect.ownKeys(z).forEach((function(e){provide(e,z[e])}))}function D(e,t){isArray$5(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(u&&callHook$1(u,e,"c"),D(onBeforeMount,p),D(onMounted,d),D(onBeforeUpdate,f),D(onUpdated,h),D(onActivated,v),D(onDeactivated,m),D(onErrorCaptured,x),D(onRenderTracked,_),D(onRenderTriggered,A),D(onBeforeUnmount,g),D(onUnmounted,y),D(onServerPrefetch,w),isArray$5(k))if(k.length){var F=e.exposed||(e.exposed={});k.forEach((function(e){Object.defineProperty(F,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});b&&e.render===NOOP&&(e.render=b),null!=S&&(e.inheritAttrs=S),E&&(e.components=E),P&&(e.directives=P)}function resolveInjections(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];isArray$5(e)&&(e=normalizeInject(e));var r=function(r){var a=e[r],o=void 0;isRef(o=isObject$2(a)?"default"in a?inject(a.from||r,a.default,!0):inject(a.from||r):inject(a))&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){return o.value},set:function(e){return o.value=e}}):t[r]=o};for(var a in e)r(a)}function callHook$1(e,t,n){callWithAsyncErrorHandling(isArray$5(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,r){var a=r.includes(".")?createPathGetter(n,r):function(){return n[r]};if(isString$1(e)){var o=t[e];isFunction$1(o)&&watch(a,o)}else if(isFunction$1(e))watch(a,e.bind(n));else if(isObject$2(e))if(isArray$5(e))e.forEach((function(e){return createWatcher(e,t,n,r)}));else{var i=isFunction$1(e.handler)?e.handler.bind(n):t[e.handler];isFunction$1(i)&&watch(a,i,e)}}function resolveMergedOptions(e){var t,n=e.type,r=n.mixins,a=n.extends,o=e.appContext,i=o.mixins,s=o.optionsCache,l=o.config.optionMergeStrategies,c=s.get(n);return c?t=c:i.length||r||a?(t={},i.length&&i.forEach((function(e){return mergeOptions$1(t,e,l,!0)})),mergeOptions$1(t,n,l)):t=n,s.set(n,t),t}function mergeOptions$1(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.mixins,o=t.extends;for(var i in o&&mergeOptions$1(e,o,n,!0),a&&a.forEach((function(t){return mergeOptions$1(e,t,n,!0)})),t)if(r&&"expose"===i);else{var s=internalOptionMergeStrats[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}var internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$2(isFunction$1(e)?e.call(this,this):e,isFunction$1(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$5(e)){for(var t={},n=0;n3&&void 0!==arguments[3]&&arguments[3],a={},o={};for(var i in def(o,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,a,o),e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=r?a:shallowReactive(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function updateProps(e,t,n,r){var a=e.props,o=e.attrs,i=e.vnode.patchFlag,s=toRaw(a),l=_slicedToArray(e.propsOptions,1)[0],c=!1;if(!(r||i>0)||16&i){var u;for(var p in setFullProps(e,t,a,o)&&(c=!0),s)t&&(hasOwn$2(t,p)||(u=hyphenate(p))!==p&&hasOwn$2(t,u))||(l?!n||void 0===n[p]&&void 0===n[u]||(a[p]=resolvePropValue(l,s,p,void 0,e,!0)):delete a[p]);if(o!==s)for(var d in o)t&&hasOwn$2(t,d)||(delete o[d],c=!0)}else if(8&i)for(var f=e.vnode.dynamicProps,h=0;h2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,a=r.get(e);if(a)return a;var o=e.props,i={},s=[],l=!1;if(!isFunction$1(e)){var c=function(e){l=!0;var n=_slicedToArray(normalizePropsOptions(e,t,!0),2),r=n[0],a=n[1];extend$2(i,r),a&&s.push.apply(s,_toConsumableArray2(a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return r.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$5(o))for(var u=0;u-1,v[1]=g<0||m-1||hasOwn$2(v,"default"))&&s.push(f)}}}var y=[i,s];return r.set(e,y),y}function validatePropName(e){return"$"!==e[0]}function getType(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$5(t)?t.findIndex((function(t){return isSameType(t,e)})):isFunction$1(t)&&isSameType(t,e)?0:-1}var isInternalKey=function(e){return"_"===e[0]||"$stable"===e},normalizeSlotValue=function(e){return isArray$5(e)?e.map(normalizeVNode):[normalizeVNode(e)]},normalizeSlot$1=function(e,t,n){var r=withCtx((function(){return normalizeSlotValue(t.apply(void 0,arguments))}),n);return r._c=!1,r},normalizeObjectSlots=function(e,t,n){var r=e._ctx;for(var a in e)if(!isInternalKey(a)){var o=e[a];isFunction$1(o)?t[a]=normalizeSlot$1(a,o,r):null!=o&&function(){var e=normalizeSlotValue(o);t[a]=function(){return e}}()}},normalizeVNodeSlots=function(e,t){var n=normalizeSlotValue(t);e.slots.default=function(){return n}},initSlots=function(e,t){if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=toRaw(t),def(t,"_",n)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=function(e,t,n){var r=e.vnode,a=e.slots,o=!0,i=EMPTY_OBJ;if(32&r.shapeFlag){var s=t._;s?n&&1===s?o=!1:(extend$2(a,t),n||1!==s||delete a._):(o=!t.$stable,normalizeObjectSlots(t,a)),i=t}else t&&(normalizeVNodeSlots(e,t),i={default:1});if(o)for(var l in a)isInternalKey(l)||l in i||delete a[l]};function withDirectives(e,t){if(null===currentRenderingInstance)return e;for(var n=currentRenderingInstance.proxy,r=e.dirs||(e.dirs=[]),a=0;a1&&void 0!==arguments[1]?arguments[1]:null;null==r||isObject$2(r)||(r=null);var a=createAppContext(),o=new Set,i=!1,s=a.app={_uid:uid++,_component:n,_props:r,_container:null,_context:a,_instance:null,version:version,get config(){return a.config},set config(e){},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r4&&void 0!==arguments[4]&&arguments[4];if(isArray$5(e))e.forEach((function(e,o){return setRef(e,t&&(isArray$5(t)?t[o]:t),n,r,a)}));else if(!isAsyncWrapper(r)||a){var o=4&r.shapeFlag?getExposeProxy(r.component)||r.component.proxy:r.el,i=a?null:o,s=e.i,l=e.r,c=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,p=s.setupState;if(null!=c&&c!==l&&(isString$1(c)?(u[c]=null,hasOwn$2(p,c)&&(p[c]=null)):isRef(c)&&(c.value=null)),isFunction$1(l))callWithErrorHandling(l,s,12,[i,u]);else{var d=isString$1(l),f=isRef(l);if(d||f){var h=function(){if(e.f){var t=d?u[l]:l.value;a?isArray$5(t)&&remove(t,o):isArray$5(t)?t.includes(o)||t.push(o):d?u[l]=[o]:(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,hasOwn$2(p,l)&&(p[l]=i)):isRef(l)&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,queuePostRenderEffect(h,n)):h()}}}}var hasMismatch=!1,isSVGContainer=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},isComment=function(e){return 8===e.nodeType};function createHydrationFunctions(e){var t=e.mt,n=e.p,r=e.o,a=r.patchProp,o=r.nextSibling,i=r.parentNode,s=r.remove,l=r.insert,c=r.createComment,u=function n(r,a,s,l,c){var u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],m=isComment(r)&&"["===r.data,g=function(){return h(r,a,s,l,c,m)},y=a.type,b=a.ref,_=a.shapeFlag,A=r.nodeType;a.el=r;var x=null;switch(y){case Text:3!==A?x=g():(r.data!==a.children&&(hasMismatch=!0,r.data=a.children),x=o(r));break;case Comment:x=8!==A||m?g():o(r);break;case Static:if(1===A){x=r;for(var w=!a.children.length,k=0;k3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!isSameVNodeType(e,t)&&(r=U(e),V(e,a,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);var c=t.type,u=t.ref,p=t.shapeFlag;switch(c){case Text:b(e,t,n,r);break;case Comment:_(e,t,n,r);break;case Static:null==e&&A(t,n,r,i);break;case Fragment:I(e,t,n,r,a,o,i,s,l);break;default:1&p?w(e,t,n,r,a,o,i,s,l):6&p?M(e,t,n,r,a,o,i,s,l):(64&p||128&p)&&c.process(e,t,n,r,a,o,i,s,l,K)}null!=u&&a&&setRef(u,e&&e.ref,o,t||e,!t)}},b=function(e,t,n,r){if(null==e)a(t.el=l(t.children),n,r);else{var o=t.el=e.el;t.children!==e.children&&u(o,t.children)}},_=function(e,t,n,r){null==e?a(t.el=c(t.children||""),n,r):t.el=e.el},A=function(e,t,n,r){var a=_slicedToArray(g(e.children,t,n,r),2);e.el=a[0],e.anchor=a[1]},x=function(e,t,n){for(var r,o=e.el,i=e.anchor;o&&o!==i;)r=f(o),a(o,t,n),o=r;a(i,t,n)},w=function(e,t,n,r,a,o,i,s,l){i=i||"svg"===t.type,null==e?k(t,n,r,a,o,i,s,l):P(e,t,a,o,i,s,l)},k=function(e,t,n,r,o,l,c,u){var d,f,h=e.type,v=e.props,g=e.shapeFlag,y=e.transition,b=e.patchFlag,_=e.dirs;if(e.el&&void 0!==m&&-1===b)d=e.el=m(e.el);else{if(d=e.el=s(e.type,l,v&&v.is,v),8&g?p(d,e.children):16&g&&E(e.children,d,null,r,o,l&&"foreignObject"!==h,c,u),_&&invokeDirectiveHook(e,null,r,"created"),v){for(var A in v)"value"===A||isReservedProp(A)||i(d,A,null,v[A],l,e.children,r,o,q);"value"in v&&i(d,"value",null,v.value),(f=v.onVnodeBeforeMount)&&invokeVNodeHook(f,r,e)}S(d,e,e.scopeId,c,r)}_&&invokeDirectiveHook(e,null,r,"beforeMount");var x=(!o||o&&!o.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(d),a(d,t,n),((f=v&&v.onVnodeMounted)||x||_)&&queuePostRenderEffect((function(){f&&invokeVNodeHook(f,r,e),x&&y.enter(d),_&&invokeDirectiveHook(e,null,r,"mounted")}),o)},S=function e(t,n,r,a,o){if(r&&v(t,r),a)for(var i=0;i8&&void 0!==arguments[8]?arguments[8]:0,c=l;c0){if(16&c)T(l,t,h,v,n,r,a);else if(2&c&&h.class!==v.class&&i(l,"class",null,v.class,a),4&c&&i(l,"style",h.style,v.style,a),8&c)for(var g=t.dynamicProps,y=0;y0&&64&f&&h&&e.dynamicChildren?(C(e.dynamicChildren,h,n,o,i,s,c),(null!=t.key||o&&t===o.subTree)&&traverseStaticChildren(e,t,!0)):F(e,t,n,d,o,i,s,c,u)},M=function(e,t,n,r,a,o,i,s,l){t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,n,r,i,l):R(t,n,r,a,o,i,l):O(e,t,l)},R=function(e,t,n,r,a,o,i){var s=e.component=createComponentInstance(e,r,a);if(isKeepAlive(e)&&(s.ctx.renderer=K),setupComponent(s),s.asyncDep){if(a&&a.registerDep(s,z),!e.el){var l=s.subTree=createVNode(Comment);_(null,l,t,n)}}else z(s,e,t,n,a,o,i)},O=function(e,t,n){var r=t.component=e.component;if(shouldUpdateComponent(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void D(r,t,n);r.next=t,invalidateJob(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},z=function(e,t,n,a,o,i,s){var l=e.effect=new ReactiveEffect((function(){if(e.isMounted){var l,c=e.next,u=e.bu,p=e.u,f=e.parent,h=e.vnode,v=c;toggleRecurse(e,!1),c?(c.el=h.el,D(e,c,s)):c=h,u&&invokeArrayFns(u),(l=c.props&&c.props.onVnodeBeforeUpdate)&&invokeVNodeHook(l,f,c,h),toggleRecurse(e,!0);var m=renderComponentRoot(e),g=e.subTree;e.subTree=m,y(g,m,d(g.el),U(g),e,o,i),c.el=m.el,null===v&&updateHOCHostEl(e,m.el),p&&queuePostRenderEffect(p,o),(l=c.props&&c.props.onVnodeUpdated)&&queuePostRenderEffect((function(){return invokeVNodeHook(l,f,c,h)}),o)}else{var b,_=t,A=_.el,x=_.props,w=e.bm,k=e.m,S=e.parent,E=isAsyncWrapper(t);if(toggleRecurse(e,!1),w&&invokeArrayFns(w),!E&&(b=x&&x.onVnodeBeforeMount)&&invokeVNodeHook(b,S,t),toggleRecurse(e,!0),A&&r){var P=function(){e.subTree=renderComponentRoot(e),r(A,e.subTree,e,o,null)};E?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&P()})):P()}else{var C=e.subTree=renderComponentRoot(e);y(null,C,n,a,e,o,i),t.el=C.el}if(k&&queuePostRenderEffect(k,o),!E&&(b=x&&x.onVnodeMounted)){var T=t;queuePostRenderEffect((function(){return invokeVNodeHook(b,S,T)}),o)}256&t.shapeFlag&&e.a&&queuePostRenderEffect(e.a,o),e.isMounted=!0,t=n=a=null}}),(function(){return queueJob(e.update)}),e.scope),c=e.update=l.run.bind(l);c.id=e.uid,toggleRecurse(e,!0),c()},D=function(e,t,n){t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,updateProps(e,t.props,r,n),updateSlots(e,t.children,n),pauseTracking(),flushPreFlushCbs(void 0,e.update),resetTracking()},F=function(e,t,n,r,a,o,i,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,f=t.patchFlag,h=t.shapeFlag;if(f>0){if(128&f)return void N(c,d,n,r,a,o,i,s,l);if(256&f)return void B(c,d,n,r,a,o,i,s,l)}8&h?(16&u&&q(c,a,o),d!==c&&p(n,d)):16&u?16&h?N(c,d,n,r,a,o,i,s,l):q(c,a,o,!0):(8&u&&p(n,""),16&h&&E(d,n,r,a,o,i,s,l))},B=function(e,t,n,r,a,o,i,s,l){t=t||EMPTY_ARR;var c,u=(e=e||EMPTY_ARR).length,p=t.length,d=Math.min(u,p);for(c=0;cp?q(e,a,o,!0,!1,d):E(t,n,r,a,o,i,s,l,d)},N=function(e,t,n,r,a,o,i,s,l){for(var c=0,u=t.length,p=e.length-1,d=u-1;c<=p&&c<=d;){var f=e[c],h=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);if(!isSameVNodeType(f,h))break;y(f,h,n,null,a,o,i,s,l),c++}for(;c<=p&&c<=d;){var v=e[p],m=t[d]=l?cloneIfMounted(t[d]):normalizeVNode(t[d]);if(!isSameVNodeType(v,m))break;y(v,m,n,null,a,o,i,s,l),p--,d--}if(c>p){if(c<=d)for(var g=d+1,b=gd)for(;c<=p;)V(e[c],a,o,!0),c++;else{var _,A=c,x=c,w=new Map;for(c=x;c<=d;c++){var k=t[c]=l?cloneIfMounted(t[c]):normalizeVNode(t[c]);null!=k.key&&w.set(k.key,c)}var S=0,E=d-x+1,P=!1,C=0,T=new Array(E);for(c=0;c=E)V(I,a,o,!0);else{var M=void 0;if(null!=I.key)M=w.get(I.key);else for(_=x;_<=d;_++)if(0===T[_-x]&&isSameVNodeType(I,t[_])){M=_;break}void 0===M?V(I,a,o,!0):(T[M-x]=c+1,M>=C?C=M:P=!0,y(I,t[M],n,null,a,o,i,s,l),S++)}}var R=P?getSequence(T):EMPTY_ARR;for(_=R.length-1,c=E-1;c>=0;c--){var O=x+c,z=t[O],D=O+14&&void 0!==arguments[4]?arguments[4]:null,s=t.el,l=t.type,c=t.transition,u=t.children,p=t.shapeFlag;if(6&p)e(t.component.subTree,n,r,o);else if(128&p)t.suspense.move(n,r,o);else if(64&p)l.move(t,n,r,K);else if(l!==Fragment)if(l!==Static){var d=2!==o&&1&p&&c;if(d)if(0===o)c.beforeEnter(s),a(s,n,r),queuePostRenderEffect((function(){return c.enter(s)}),i);else{var f=c.leave,h=c.delayLeave,v=c.afterLeave,m=function(){return a(s,n,r)},g=function(){f(s,(function(){m(),v&&v()}))};h?h(s,m,g):g()}else a(s,n,r)}else x(t,n,r);else{a(s,n,r);for(var y=0;y3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e.type,i=e.props,s=e.ref,l=e.children,c=e.dynamicChildren,u=e.shapeFlag,p=e.patchFlag,d=e.dirs;if(null!=s&&setRef(s,null,n,e,!0),256&u)t.ctx.deactivate(e);else{var f,h=1&u&&d,v=!isAsyncWrapper(e);if(v&&(f=i&&i.onVnodeBeforeUnmount)&&invokeVNodeHook(f,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,a,K,r):c&&(o!==Fragment||p>0&&64&p)?q(c,t,n,!1,!0):(o===Fragment&&384&p||!a&&16&u)&&q(l,t,n),r&&L(e)}(v&&(f=i&&i.onVnodeUnmounted)||h)&&queuePostRenderEffect((function(){f&&invokeVNodeHook(f,t,e),h&&invokeDirectiveHook(e,null,t,"unmounted")}),n)}},L=function(e){var t=e.type,n=e.el,r=e.anchor,a=e.transition;if(t!==Fragment)if(t!==Static){var i=function(){o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){var s=a.leave,l=a.delayLeave,c=function(){return s(n,i)};l?l(e.el,i,c):c()}else i()}else!function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=f(n),o(n),n=t;o(r)}(e);else H(n,r)},H=function(e,t){for(var n;e!==t;)n=f(e),o(e),e=n;o(t)},G=function(e,t,n){var r=e.bum,a=e.scope,o=e.update,i=e.subTree,s=e.um;r&&invokeArrayFns(r),a.stop(),o&&(o.active=!1,V(i,e,t,n)),s&&queuePostRenderEffect(s,t),queuePostRenderEffect((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},q=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,i=o;i2&&void 0!==arguments[2]&&arguments[2],r=e.children,a=t.children;if(isArray$5(r)&&isArray$5(a))for(var o=0;o>1]]0&&(i[t]=s[r-1]),s[r]=t)}}for(a=s[(r=s.length)-1];r-- >0;)s[r]=a,a=i[a];return s}var isTeleport=function(e){return e.__isTeleport},isTeleportDisabled=function(e){return e&&(e.disabled||""===e.disabled)},isTargetSVG=function(e){return"undefined"!=typeof SVGElement&&e instanceof SVGElement},resolveTarget=function(e,t){var n=e&&e.to;return isString$1(n)?t?t(n):null:n},TeleportImpl={__isTeleport:!0,process:function(e,t,n,r,a,o,i,s,l,c){var u=c.mc,p=c.pc,d=c.pbc,f=c.o,h=f.insert,v=f.querySelector,m=f.createText,g=(f.createComment,isTeleportDisabled(t.props)),y=t.shapeFlag,b=t.children,_=t.dynamicChildren;if(null==e){var A=t.el=m(""),x=t.anchor=m("");h(A,n,r),h(x,n,r);var w=t.target=resolveTarget(t.props,v),k=t.targetAnchor=m("");w&&(h(k,w),i=i||isTargetSVG(w));var S=function(e,t){16&y&&u(b,e,t,a,o,i,s,l)};g?S(n,x):w&&S(w,k)}else{t.el=e.el;var E=t.anchor=e.anchor,P=t.target=e.target,C=t.targetAnchor=e.targetAnchor,T=isTeleportDisabled(e.props),I=T?n:P,M=T?E:C;if(i=i||isTargetSVG(P),_?(d(e.dynamicChildren,_,I,a,o,i,s),traverseStaticChildren(e,t,!0)):l||p(e,t,I,M,a,o,i,s,!1),g)T||moveTeleport(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){var R=t.target=resolveTarget(t.props,v);R&&moveTeleport(t,R,null,c,0)}else T&&moveTeleport(t,P,C,c,1)}},remove:function(e,t,n,r,a,o){var i=a.um,s=a.o.remove,l=e.shapeFlag,c=e.children,u=e.anchor,p=e.targetAnchor,d=e.target,f=e.props;if(d&&s(p),(o||!isTeleportDisabled(f))&&(s(u),16&l))for(var h=0;h4&&void 0!==arguments[4]?arguments[4]:2;0===i&&a(e.targetAnchor,t,n);var s=e.el,l=e.anchor,c=e.shapeFlag,u=e.children,p=e.props,d=2===i;if(d&&a(s,t,n),(!d||isTeleportDisabled(p))&&16&c)for(var f=0;f3&&void 0!==arguments[3]&&arguments[3],r=currentRenderingInstance||currentInstance;if(r){var a=r.type;if(e===COMPONENTS){var o=getComponentName(a);if(o&&(o===t||o===camelize$1(t)||o===capitalize(camelize$1(t))))return a}var i=resolve(r[e]||a[e],t)||resolve(r.appContext[e],t);return!i&&n?a:i}}function resolve(e,t){return e&&(e[t]||e[camelize$1(t)]||e[capitalize(camelize$1(t))])}var Fragment=exports("F",Symbol(void 0)),Text=exports("ca",Symbol(void 0)),Comment=exports("c6",Symbol(void 0)),Static=exports("c8",Symbol(void 0)),blockStack=[],currentBlock=null;function openBlock(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),e}function createElementBlock(e,t,n,r,a,o){return setupBlock(createBaseVNode(e,t,n,r,a,o,!0))}function createBlock(e,t,n,r,a){return setupBlock(createVNode(e,t,n,r,a,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}var InternalObjectKey="__vInternal",normalizeKey=function(e){var t=e.key;return null!=t?t:null},normalizeRef=function(e){var t=e.ref,n=e.ref_key,r=e.ref_for;return null!=t?isString$1(t)||isRef(t)||isFunction$1(t)?{i:currentRenderingInstance,r:t,k:n,f:!!r}:t:null};function createBaseVNode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Fragment?0:1,i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(normalizeChildren(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=isString$1(n)?8:16),isBlockTreeEnabled>0&&!i&¤tBlock&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&¤tBlock.push(l),l}var createVNode=exports("c",_createVNode);function _createVNode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment),isVNode(e)){var i=cloneVNode(e,t,!0);return n&&normalizeChildren(i,n),i}if(isClassComponent(e)&&(e=e.__vccOpts),t){var s=t=guardReactiveProps(t),l=s.class,c=s.style;l&&!isString$1(l)&&(t.class=normalizeClass(l)),isObject$2(c)&&(isProxy(c)&&!isArray$5(c)&&(c=extend$2({},c)),t.style=normalizeStyle(c))}var u=isString$1(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$2(e)?4:isFunction$1(e)?2:0;return createBaseVNode(e,t,n,r,a,u,o,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$2({},e):e:null}function cloneVNode(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,a=e.ref,o=e.patchFlag,i=e.children,s=t?mergeProps(r||{},t):r,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&normalizeKey(s),ref:t&&t.ref?n&&a?isArray$5(a)?a.concat(normalizeRef(t)):[a,normalizeRef(t)]:normalizeRef(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor};return l}function createTextVNode(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return createVNode(Text,null,e,t)}function createStaticVNode(e,t){var n=createVNode(Static,null,e);return n.staticCount=t,n}function createCommentVNode(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(Comment):isArray$5(e)?createVNode(Fragment,null,e.slice()):"object"===_typeof2(e)?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return null===e.el||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(isArray$5(t))n=16;else if("object"===_typeof2(t)){if(65&r){var a=t.default;return void(a&&(a._c&&(a._d=!1),normalizeChildren(e,a()),a._c&&(a._d=!0)))}n=32;var o=t._;o||InternalObjectKey in t?3===o&¤tRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}else isFunction$1(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),64&r?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(){for(var e={},t=0;t3&&void 0!==arguments[3]?arguments[3]:null;callWithAsyncErrorHandling(e,t,7,[n,r])}function renderList(e,t,n,r){var a,o=n&&n[r];if(isArray$5(e)||isString$1(e)){a=new Array(e.length);for(var i=0,s=e.length;i2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(currentRenderingInstance.isCE)return createVNode("slot","default"===t?null:{name:t},r&&r());var o=e[t];o&&o._c&&(o._d=!1),openBlock();var i=o&&ensureValidVNode(o(n)),s=createBlock(Fragment,{key:n.key||"_".concat(t)},i||(r?r():[]),i&&1===e._?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function ensureValidVNode(e){return e.some((function(e){return!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode(e.children))}))?e:null}function toHandlers(e){var t={};for(var n in e)t[toHandlerKey(n)]=e[n];return t}var getPublicInstance=function e(t){return t?isStatefulComponent(t)?getExposeProxy(t)||t.proxy:e(t.parent):null},publicPropertiesMap=extend$2(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return getPublicInstance(e.parent)},$root:function(e){return getPublicInstance(e.root)},$emit:function(e){return e.emit},$options:function(e){return resolveMergedOptions(e)},$forceUpdate:function(e){return function(){return queueJob(e.update)}},$nextTick:function(e){return nextTick.bind(e.proxy)},$watch:function(e){return instanceWatch.bind(e)}}),PublicInstanceProxyHandlers={get:function(e,t){var n,r=e._,a=r.ctx,o=r.setupState,i=r.data,s=r.props,l=r.accessCache,c=r.type,u=r.appContext;if("$"!==t[0]){var p=l[t];if(void 0!==p)switch(p){case 1:return o[t];case 2:return i[t];case 4:return a[t];case 3:return s[t]}else{if(o!==EMPTY_OBJ&&hasOwn$2(o,t))return l[t]=1,o[t];if(i!==EMPTY_OBJ&&hasOwn$2(i,t))return l[t]=2,i[t];if((n=r.propsOptions[0])&&hasOwn$2(n,t))return l[t]=3,s[t];if(a!==EMPTY_OBJ&&hasOwn$2(a,t))return l[t]=4,a[t];shouldCacheAccess&&(l[t]=0)}}var d,f,h=publicPropertiesMap[t];return h?("$attrs"===t&&track(r,"get",t),h(r)):(d=c.__cssModules)&&(d=d[t])?d:a!==EMPTY_OBJ&&hasOwn$2(a,t)?(l[t]=4,a[t]):(f=u.config.globalProperties,hasOwn$2(f,t)?f[t]:void 0)},set:function(e,t,n){var r=e._,a=r.data,o=r.setupState,i=r.ctx;if(o!==EMPTY_OBJ&&hasOwn$2(o,t))o[t]=n;else if(a!==EMPTY_OBJ&&hasOwn$2(a,t))a[t]=n;else if(hasOwn$2(r.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in r))&&(i[t]=n,!0)},has:function(e,t){var n,r=e._,a=r.data,o=r.setupState,i=r.accessCache,s=r.ctx,l=r.appContext,c=r.propsOptions;return!!i[t]||a!==EMPTY_OBJ&&hasOwn$2(a,t)||o!==EMPTY_OBJ&&hasOwn$2(o,t)||(n=c[0])&&hasOwn$2(n,t)||hasOwn$2(s,t)||hasOwn$2(publicPropertiesMap,t)||hasOwn$2(l.config.globalProperties,t)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get:function(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has:function(e,t){var n="_"!==t[0]&&!isGloballyWhitelisted(t);return n}}),emptyAppContext=createAppContext(),uid$1=0;function createComponentInstance(e,t,n){var r=e.type,a=(t?t.appContext:e.appContext)||emptyAppContext,o={uid:uid$1++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(r,a),emitsOptions:normalizeEmitsOptions(r,a),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:r.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=emit$1.bind(null,o),e.ce&&e.ce(o),o}var currentInstance=null,getCurrentInstance=exports("a9",(function(){return currentInstance||currentRenderingInstance})),setCurrentInstance=function(e){currentInstance=e,e.scope.on()},unsetCurrentInstance=function(){currentInstance&¤tInstance.scope.off(),currentInstance=null};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}var isInSSRComponentSetup=!1,compile,installWithProxy;function setupComponent(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];isInSSRComponentSetup=t;var n=e.vnode,r=n.props,a=n.children,o=isStatefulComponent(e);initProps(e,r,o,t),initSlots(e,a);var i=o?setupStatefulComponent(e,t):void 0;return isInSSRComponentSetup=!1,i}function setupStatefulComponent(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));var r=n.setup;if(r){var a=e.setupContext=r.length>1?createSetupContext(e):null;setCurrentInstance(e),pauseTracking();var o=callWithErrorHandling(r,e,0,[e.props,a]);if(resetTracking(),unsetCurrentInstance(),isPromise$1(o)){if(o.then(unsetCurrentInstance,unsetCurrentInstance),t)return o.then((function(n){handleSetupResult(e,n,t)})).catch((function(t){handleError(t,e,0)}));e.asyncDep=o}else handleSetupResult(e,o,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction$1(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$2(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}function registerRuntimeCompiler(e){compile=e,installWithProxy=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=exports("cw",(function(){return!compile}));function finishComponentSetup(e,t,n){var r=e.type;if(!e.render){if(!t&&compile&&!r.render){var a=r.template;if(a){var o=e.appContext.config,i=o.isCustomElement,s=o.compilerOptions,l=r.delimiters,c=r.compilerOptions,u=extend$2(extend$2({isCustomElement:i,delimiters:l},s),c);r.render=compile(a,u)}}e.render=r.render||NOOP,installWithProxy&&installWithProxy(e)}setCurrentInstance(e),pauseTracking(),applyOptions(e),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(e){return new Proxy(e.attrs,{get:function(t,n){return track(e,"get","$attrs"),t[n]}})}function createSetupContext(e){var t;return{get attrs(){return t||(t=createAttrsProxy(e))},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:function(t,n){return n in t?t[n]:n in publicPropertiesMap?publicPropertiesMap[n](e):void 0}}))}var classifyRE=/(?:^|[-_])(\w)/g,classify=function(e){return e.replace(classifyRE,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function getComponentName(e){return isFunction$1(e)&&e.displayName||e.name}function formatComponentName(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=getComponentName(t);if(!r&&t.__file){var a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(r=a[1])}if(!r&&e&&e.parent){var o=function(e){for(var n in e)if(e[n]===t)return n};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?classify(r):n?"App":"Anonymous"}function isClassComponent(e){return isFunction$1(e)&&"__vccOpts"in e}var stack=[];function warn(e){pauseTracking();for(var t=stack.length?stack[stack.length-1].component:null,n=t&&t.appContext.config.warnHandler,r=getComponentTrace(),a=arguments.length,o=new Array(a>1?a-1:0),i=1;i")})).join("\n"),r]);else{var s,l=["[Vue warn]: ".concat(e)].concat(o);r.length&&l.push.apply(l,["\n"].concat(_toConsumableArray2(formatTrace(r)))),(s=console).warn.apply(s,_toConsumableArray2(l))}resetTracking()}function getComponentTrace(){var e=stack[stack.length-1];if(!e)return[];for(var t=[];e;){var n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});var r=e.component&&e.component.parent;e=r&&r.vnode}return t}function formatTrace(e){var t=[];return e.forEach((function(e,n){t.push.apply(t,_toConsumableArray2(0===n?[]:["\n"]).concat(_toConsumableArray2(formatTraceEntry(e))))})),t}function formatTraceEntry(e){var t=e.vnode,n=e.recurseCount,r=n>0?"... (".concat(n," recursive calls)"):"",a=!!t.component&&null==t.component.parent,o=" at <".concat(formatComponentName(t.component,t.type,a)),i=">"+r;return t.props?[o].concat(_toConsumableArray2(formatProps(t.props)),[i]):[o+i]}function formatProps(e){var t=[],n=Object.keys(e);return n.slice(0,3).forEach((function(n){t.push.apply(t,_toConsumableArray2(formatProp(n,e[n])))})),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString$1(t)?(t=JSON.stringify(t),n?t:["".concat(e,"=").concat(t)]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:["".concat(e,"=").concat(t)]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:["".concat(e,"=Ref<"),t,">"]):isFunction$1(t)?["".concat(e,"=fn").concat(t.name?"<".concat(t.name,">"):"")]:(t=toRaw(t),n?t:["".concat(e,"="),t])}function callWithErrorHandling(e,t,n,r){var a;try{a=r?e.apply(void 0,_toConsumableArray2(r)):e()}catch(o){handleError(o,t,n)}return a}function callWithAsyncErrorHandling(e,t,n,r){if(isFunction$1(e)){var a=callWithErrorHandling(e,t,n,r);return a&&isPromise$1(a)&&a.catch((function(e){handleError(e,t,n)})),a}for(var o=[],i=0;i3&&void 0!==arguments[3])||arguments[3],a=t?t.vnode:null;if(t){for(var o=t.parent,i=t.proxy,s=n;o;){var l=o.ec;if(l)for(var c=0;c>>1;getId(queue$1[r])flushIndex&&queue$1.splice(t,1)}function queueCb(e,t,n,r){isArray$5(e)?n.push.apply(n,_toConsumableArray2(e)):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),queueFlush()}function queuePreFlushCb(e){queueCb(e,activePreFlushCbs,pendingPreFlushCbs,preFlushIndex)}function queuePostFlushCb(e){queueCb(e,activePostFlushCbs,pendingPostFlushCbs,postFlushIndex)}function flushPreFlushCbs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(pendingPreFlushCbs.length){for(currentPreFlushParentJob=t,activePreFlushCbs=_toConsumableArray2(new Set(pendingPreFlushCbs)),pendingPreFlushCbs.length=0,preFlushIndex=0;preFlushIndex2&&void 0!==arguments[2]?arguments[2]:EMPTY_OBJ,o=a.immediate,i=a.deep,s=a.flush,l=(a.onTrack,a.onTrigger,currentInstance),c=!1,u=!1;if(isRef(e)?(n=function(){return e.value},c=!!e._shallow):isReactive(e)?(n=function(){return e},i=!0):isArray$5(e)?(u=!0,c=e.some(isReactive),n=function(){return e.map((function(e){return isRef(e)?e.value:isReactive(e)?traverse(e):isFunction$1(e)?callWithErrorHandling(e,l,2):void 0}))}):n=isFunction$1(e)?t?function(){return callWithErrorHandling(e,l,2)}:function(){if(!l||!l.isUnmounted)return r&&r(),callWithAsyncErrorHandling(e,l,3,[d])}:NOOP,t&&i){var p=n;n=function(){return traverse(p())}}var d=function(e){r=v.onStop=function(){callWithErrorHandling(e,l,4)}};if(isInSSRComponentSetup)return d=NOOP,t?o&&callWithAsyncErrorHandling(t,l,3,[n(),u?[]:void 0,d]):n(),NOOP;var f=u?[]:INITIAL_WATCHER_VALUE,h=function(){if(v.active)if(t){var e=v.run();(i||c||(u?e.some((function(e,t){return hasChanged(e,f[t])})):hasChanged(e,f)))&&(r&&r(),callWithAsyncErrorHandling(t,l,3,[e,f===INITIAL_WATCHER_VALUE?void 0:f,d]),f=e)}else v.run()};h.allowRecurse=!!t;var v=new ReactiveEffect(n,"sync"===s?h:"post"===s?function(){return queuePostRenderEffect(h,l&&l.suspense)}:function(){!l||l.isMounted?queuePreFlushCb(h):h()});return t?o?h():f=v.run():"post"===s?queuePostRenderEffect(v.run.bind(v),l&&l.suspense):v.run(),function(){v.stop(),l&&l.scope&&remove(l.scope.effects,v)}}function instanceWatch(e,t,n){var r,a=this.proxy,o=isString$1(e)?e.includes(".")?createPathGetter(a,e):function(){return a[e]}:e.bind(a,a);isFunction$1(t)?r=t:(r=t.handler,n=t);var i=currentInstance;setCurrentInstance(this);var s=doWatch(o,r.bind(a),n);return i?setCurrentInstance(i):unsetCurrentInstance(),s}function createPathGetter(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r3?n=Array.prototype.slice.call(arguments,2):3===r&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}var ssrContextKey=exports("cP",Symbol("")),useSSRContext=exports("cU",(function(){var e=inject(ssrContextKey);return e||warn("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}));function initCustomFormatter(){}function withMemo(e,t,n,r){var a=n[r];if(a&&isMemoSame(a,e))return a;var o=t();return o.memo=e.slice(),n[r]=o}function isMemoSame(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&¤tBlock&¤tBlock.push(e),!0}var version=exports("cX","3.2.26"),_ssrUtils={createComponentInstance:createComponentInstance,setupComponent:setupComponent,renderComponentRoot:renderComponentRoot,setCurrentRenderingInstance:setCurrentRenderingInstance,isVNode:isVNode,normalizeVNode:normalizeVNode},ssrUtils=exports("cQ",_ssrUtils),resolveFilter=exports("cK",null),compatUtils=exports("ce",null),svgNS="http://www.w3.org/2000/svg",doc="undefined"!=typeof document?document:null,staticTemplateCache=new Map,nodeOps={insert:function(e,t,n){t.insertBefore(e,n||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,n,r){var a=t?doc.createElementNS(svgNS,e):doc.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&a.setAttribute("multiple",r.multiple),a},createText:function(e){return doc.createTextNode(e)},createComment:function(e){return doc.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return doc.querySelector(e)},setScopeId:function(e,t){e.setAttribute(t,"")},cloneNode:function(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent:function(e,t,n,r){var a=n?n.previousSibling:t.lastChild,o=staticTemplateCache.get(e);if(!o){var i=doc.createElement("template");if(i.innerHTML=r?""):e,o=i.content,r){for(var s=o.firstChild;s.firstChild;)o.appendChild(s.firstChild);o.removeChild(s)}staticTemplateCache.set(e,o)}return t.insertBefore(o.cloneNode(!0),n),[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function patchClass(e,t,n){var r=e._vtc;r&&(t=(t?[t].concat(_toConsumableArray2(r)):_toConsumableArray2(r)).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function patchStyle(e,t,n){var r=e.style,a=isString$1(n);if(n&&!a){for(var o in n)setStyle(r,o,n[o]);if(t&&!isString$1(t))for(var i in t)null==n[i]&&setStyle(r,i,"")}else{var s=r.display;a?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}var importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray$5(n))n.forEach((function(n){return setStyle(e,t,n)}));else if(t.startsWith("--"))e.setProperty(t,n);else{var r=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(r),n.replace(importantRE,""),"important"):e[r]=n}}var prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){var n=prefixCache[t];if(n)return n;var r=camelize$1(t);if("filter"!==r&&r in e)return prefixCache[t]=r;r=capitalize(r);for(var a=0;adocument.createEvent("Event").timeStamp&&(_getNow=function(){return performance.now()});var ffMatch=navigator.userAgent.match(/firefox\/(\d+)/i);skipTimestampCheck=!!(ffMatch&&Number(ffMatch[1])<=53)}var cachedNow=0,p=Promise.resolve(),reset=function(){cachedNow=0},getNow=function(){return cachedNow||(p.then(reset),cachedNow=_getNow())};function addEventListener(e,t,n,r){e.addEventListener(t,n,r)}function removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)}function patchEvent(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{var s=parseName(t),l=_slicedToArray(s,2),c=l[0],u=l[1];if(r){var p=o[t]=createInvoker(r,a);addEventListener(e,c,p,u)}else i&&(removeEventListener(e,c,i,u),o[t]=void 0)}}var optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){var t,n;if(optionsModifierRE.test(e))for(t={};n=e.match(optionsModifierRE);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[hyphenate(e.slice(2)),t]}function createInvoker(e,t){var n=function e(n){var r=n.timeStamp||_getNow();(skipTimestampCheck||r>=e.attached-1)&&callWithAsyncErrorHandling(patchStopImmediatePropagation(n,e.value),t,5,[n])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray$5(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e(t)}}))}return t}var nativeOnRE=/^on[a-z]/,patchProp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;"class"===t?patchClass(e,r,a):"style"===t?patchStyle(e,n,r):isOn(t)?isModelListener(t)||patchEvent(e,t,n,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,r,a))?patchDOMProp(e,t,r,o,i,s,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),patchAttr(e,t,r,a))};function shouldSetAsProp(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&nativeOnRE.test(t)&&isFunction$1(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!nativeOnRE.test(t)||!isString$1(n))&&t in e))))}function defineCustomElement(e,t){var n=defineComponent(e),r=function(e){_inherits2(a,e);var r=_createSuper2(a);function a(e){return _classCallCheck2(this,a),r.call(this,n,e,t)}return _createClass2(a)}(VueElement);return r.def=n,r}var defineSSRCustomElement=exports("d7",(function(e){return defineCustomElement(e,hydrate)})),BaseClass="undefined"!=typeof HTMLElement?HTMLElement:function(){return _createClass2((function e(){_classCallCheck2(this,e)}))}(),VueElement=function(e){_inherits2(n,e);var t=_createSuper2(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return _classCallCheck2(this,n),(r=t.call(this))._def=e,r._props=a,r._instance=null,r._connected=!1,r._resolved=!1,r._numberProps=null,r.shadowRoot&&o?o(r._createVNode(),r.shadowRoot):r.attachShadow({mode:"open"}),r}return _createClass2(n,[{key:"connectedCallback",value:function(){this._connected=!0,this._instance||this._resolveDef()}},{key:"disconnectedCallback",value:function(){var e=this;this._connected=!1,nextTick((function(){e._connected||(render(null,e.shadowRoot),e._instance=null)}))}},{key:"_resolveDef",value:function(){var e=this;if(!this._resolved){this._resolved=!0;for(var t=0;t2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(hyphenate(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(hyphenate(e),t+""):t||this.removeAttribute(hyphenate(e))))}},{key:"_update",value:function(){render(this._createVNode(),this.shadowRoot)}},{key:"_createVNode",value:function(){var e=this,t=createVNode(this._def,extend$2({},this._props));return this._instance||(t.ce=function(t){e._instance=t,t.isCE=!0,t.emit=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:"$style",t=getCurrentInstance();if(!t)return EMPTY_OBJ;var n=t.type.__cssModules;if(!n)return EMPTY_OBJ;var r=n[e];return r||EMPTY_OBJ}function useCssVars(e){var t=getCurrentInstance();if(t){var n=function(){return setVarsOnVNode(t.subTree,e(t.proxy))};watchPostEffect(n),onMounted((function(){var e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted((function(){return e.disconnect()}))}))}}function setVarsOnVNode(e,t){if(128&e.shapeFlag){var n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((function(){setVarsOnVNode(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach((function(e){return setVarsOnVNode(e,t)}));else if(e.type===Static)for(var r=e,a=r.el,o=r.anchor;a&&(setVarsOnNode(a,t),a!==o);)a=a.nextSibling}function setVarsOnNode(e,t){if(1===e.nodeType){var n=e.style;for(var r in t)n.setProperty("--".concat(r),t[r])}}exports("d4",VueElement);var TRANSITION="transition",ANIMATION="animation",Transition=exports("b2",(function(e,t){var n=t.slots;return h$1(BaseTransition,resolveTransitionProps(e),n)}));Transition.displayName="Transition";var DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$2({},BaseTransition.props,DOMTransitionPropsValidators),callHook=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];isArray$5(e)?e.forEach((function(e){return e.apply(void 0,_toConsumableArray2(t))})):e&&e.apply(void 0,_toConsumableArray2(t))},hasExplicitCallback=function(e){return!!e&&(isArray$5(e)?e.some((function(e){return e.length>1})):e.length>1)};function resolveTransitionProps(e){var t={};for(var n in e)n in DOMTransitionPropsValidators||(t[n]=e[n]);if(!1===e.css)return t;var r=e.name,a=void 0===r?"v":r,o=e.type,i=e.duration,s=e.enterFromClass,l=void 0===s?"".concat(a,"-enter-from"):s,c=e.enterActiveClass,u=void 0===c?"".concat(a,"-enter-active"):c,p=e.enterToClass,d=void 0===p?"".concat(a,"-enter-to"):p,f=e.appearFromClass,h=void 0===f?l:f,v=e.appearActiveClass,m=void 0===v?u:v,g=e.appearToClass,y=void 0===g?d:g,b=e.leaveFromClass,_=void 0===b?"".concat(a,"-leave-from"):b,A=e.leaveActiveClass,x=void 0===A?"".concat(a,"-leave-active"):A,w=e.leaveToClass,k=void 0===w?"".concat(a,"-leave-to"):w,S=normalizeDuration(i),E=S&&S[0],P=S&&S[1],C=t.onBeforeEnter,T=t.onEnter,I=t.onEnterCancelled,M=t.onLeave,R=t.onLeaveCancelled,O=t.onBeforeAppear,z=void 0===O?C:O,D=t.onAppear,F=void 0===D?T:D,B=t.onAppearCancelled,N=void 0===B?I:B,j=function(e,t,n){removeTransitionClass(e,t?y:d),removeTransitionClass(e,t?m:u),n&&n()},V=function(e,t){removeTransitionClass(e,k),removeTransitionClass(e,x),t&&t()},L=function(e){return function(t,n){var r=e?F:T,a=function(){return j(t,e,n)};callHook(r,[t,a]),nextFrame((function(){removeTransitionClass(t,e?h:l),addTransitionClass(t,e?y:d),hasExplicitCallback(r)||whenTransitionEnds(t,o,E,a)}))}};return extend$2(t,{onBeforeEnter:function(e){callHook(C,[e]),addTransitionClass(e,l),addTransitionClass(e,u)},onBeforeAppear:function(e){callHook(z,[e]),addTransitionClass(e,h),addTransitionClass(e,m)},onEnter:L(!1),onAppear:L(!0),onLeave:function(e,t){var n=function(){return V(e,t)};addTransitionClass(e,_),forceReflow(),addTransitionClass(e,x),nextFrame((function(){removeTransitionClass(e,_),addTransitionClass(e,k),hasExplicitCallback(M)||whenTransitionEnds(e,o,P,n)})),callHook(M,[e,n])},onEnterCancelled:function(e){j(e,!1),callHook(I,[e])},onAppearCancelled:function(e){j(e,!0),callHook(N,[e])},onLeaveCancelled:function(e){V(e),callHook(R,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$2(e))return[NumberOf(e.enter),NumberOf(e.leave)];var t=NumberOf(e);return[t,t]}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e._vtc||(e._vtc=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e._vtc;n&&(n.delete(t),n.size||(e._vtc=void 0))}function nextFrame(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var endId=0;function whenTransitionEnds(e,t,n,r){var a=e._endId=++endId,o=function(){a===e._endId&&r()};if(n)return setTimeout(o,n);var i=getTransitionInfo(e,t),s=i.type,l=i.timeout,c=i.propCount;if(!s)return r();var u=s+"end",p=0,d=function(){e.removeEventListener(u,f),o()},f=function(t){t.target===e&&++p>=c&&d()};setTimeout((function(){p0&&(u=TRANSITION,p=i,d=o.length):t===ANIMATION?c>0&&(u=ANIMATION,p=c,d=l.length):d=(u=(p=Math.max(i,c))>0?i>c?TRANSITION:ANIMATION:null)?u===TRANSITION?o.length:l.length:0,{type:u,timeout:p,propCount:d,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(n[TRANSITION+"Property"])}}function getTimeout(e,t){for(;e.length-1:isSet$1(r)?e.checked=r.has(n.props.value):r!==a&&(e.checked=looseEqual(r,getCheckboxValue(e,!0)))}var vModelRadio=exports("df",{created:function(e,t,n){var r=t.value;e.checked=looseEqual(r,n.props.value),e._assign=getModelAssigner(n),addEventListener(e,"change",(function(){e._assign(getValue(e))}))},beforeUpdate:function(e,t,n){var r=t.value,a=t.oldValue;e._assign=getModelAssigner(n),r!==a&&(e.checked=looseEqual(r,n.props.value))}}),vModelSelect=exports("dg",{deep:!0,created:function(e,t,n){var r=t.value,a=t.modifiers.number,o=isSet$1(r);addEventListener(e,"change",(function(){var t=Array.prototype.filter.call(e.options,(function(e){return e.selected})).map((function(e){return a?toNumber(getValue(e)):getValue(e)}));e._assign(e.multiple?o?new Set(t):t:t[0])})),e._assign=getModelAssigner(n)},mounted:function(e,t){setSelected(e,t.value)},beforeUpdate:function(e,t,n){e._assign=getModelAssigner(n)},updated:function(e,t){setSelected(e,t.value)}});function setSelected(e,t){var n=e.multiple;if(!n||isArray$5(t)||isSet$1(t)){for(var r=0,a=e.options.length;r-1:o.selected=t.has(i);else if(looseEqual(getValue(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){var n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}var vModelDynamic=exports("de",{created:function(e,t,n){callModelHook(e,t,n,null,"created")},mounted:function(e,t,n){callModelHook(e,t,n,null,"mounted")},beforeUpdate:function(e,t,n,r){callModelHook(e,t,n,r,"beforeUpdate")},updated:function(e,t,n,r){callModelHook(e,t,n,r,"updated")}});function callModelHook(e,t,n,r,a){var o;switch(e.tagName){case"SELECT":o=vModelSelect;break;case"TEXTAREA":o=vModelText;break;default:switch(n.props&&n.props.type){case"checkbox":o=vModelCheckbox;break;case"radio":o=vModelRadio;break;default:o=vModelText}}var i=o[a];i&&i(e,t,n,r)}function initVModelForSSR(){vModelText.getSSRProps=function(e){return{value:e.value}},vModelRadio.getSSRProps=function(e,t){var n=e.value;if(t.props&&looseEqual(t.props.value,n))return{checked:!0}},vModelCheckbox.getSSRProps=function(e,t){var n=e.value;if(isArray$5(n)){if(t.props&&looseIndexOf(n,t.props.value)>-1)return{checked:!0}}else if(isSet$1(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}}}var systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return systemModifiers.some((function(n){return e["".concat(n,"Key")]&&!t.includes(n)}))}},withModifiers=exports("dj",(function(e,t){return function(n){for(var r=0;r1?o-1:0),s=1;s0&&void 0!==arguments[0]&&arguments[0],t=ref(e),n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!t.value;t.value=e};return[t,n]}function useParent(e){var t=inject(e,null);if(t){var n=getCurrentInstance(),r=t.link,a=t.unlink,o=t.internalChildren;return r(n),onUnmounted((function(){return a(n)})),{parent:t,index:computed((function(){return o.indexOf(n)}))}}return{parent:null,index:ref(-1)}}function flattenVNodes(e){var t=[];return function e(n){Array.isArray(n)&&n.forEach((function(n){var r;isVNode(n)&&(t.push(n),(null==(r=n.component)?void 0:r.subTree)&&(t.push(n.component.subTree),e(n.component.subTree.children)),n.children&&e(n.children))}))}(e),t}function sortChildren(e,t,n){var r=flattenVNodes(e.subTree.children);n.sort((function(e,t){return r.indexOf(e.vnode)-r.indexOf(t.vnode)}));var a=n.map((function(e){return e.proxy}));t.sort((function(e,t){return a.indexOf(e)-a.indexOf(t)}))}function useChildren(e){var t=reactive([]),n=reactive([]),r=getCurrentInstance();return{children:t,linkChildren:function(a){provide(e,Object.assign({link:function(e){e.proxy&&(n.push(e),t.push(e.proxy),sortChildren(r,t,n))},unlink:function(e){var r=n.indexOf(e);t.splice(r,1),n.splice(r,1)},children:t,internalChildren:n},a))}}}var SECOND=1e3,MINUTE=60*SECOND,HOUR=60*MINUTE,DAY=24*HOUR,width,height;function parseTime(e){return{total:e,days:Math.floor(e/DAY),hours:Math.floor(e%DAY/HOUR),minutes:Math.floor(e%HOUR/MINUTE),seconds:Math.floor(e%MINUTE/SECOND),milliseconds:Math.floor(e%SECOND)}}function isSameSecond(e,t){return Math.floor(e/1e3)===Math.floor(t/1e3)}function useCountDown(e){var t,n,r,a,o=ref(e.time),i=computed((function(){return parseTime(o.value)})),s=function(){r=!1,cancelRaf(t)},l=function(){return Math.max(n-Date.now(),0)},c=function(t){var n,r;o.value=t,null==(n=e.onChange)||n.call(e,i.value),0===t&&(s(),null==(r=e.onFinish)||r.call(e))},u=function e(){t=raf((function(){r&&(c(l()),o.value>0&&e())}))},p=function e(){t=raf((function(){if(r){var t=l();isSameSecond(t,o.value)&&0!==t||c(t),o.value>0&&e()}}))},d=function(){inBrowser&&(e.millisecond?u():p())};return onBeforeUnmount(s),onActivated((function(){a&&(r=!0,a=!1,d())})),onDeactivated((function(){r&&(s(),a=!0)})),{start:function(){r||(n=Date.now()+o.value,r=!0,d())},pause:s,reset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.time;s(),o.value=t},current:i}}function onMountedOrActivated(e){var t;onMounted((function(){e(),nextTick((function(){t=!0}))})),onActivated((function(){t&&e()}))}function useEventListener(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(inBrowser){var r,a=n.target,o=void 0===a?window:a,i=n.passive,s=void 0!==i&&i,l=n.capture,c=void 0!==l&&l,u=function(n){var a=unref(n);a&&!r&&(a.addEventListener(e,t,{capture:c,passive:s}),r=!0)},p=function(n){var a=unref(n);a&&r&&(a.removeEventListener(e,t,c),r=!1)};onUnmounted((function(){return p(o)})),onDeactivated((function(){return p(o)})),onMountedOrActivated((function(){return u(o)})),isRef(o)&&watch(o,(function(e,t){p(t),u(e)}))}}function useClickAway(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(inBrowser){var r=n.eventName,a=void 0===r?"click":r,o=function(n){(Array.isArray(e)?e:[e]).every((function(e){var t=unref(e);return t&&!t.contains(n.target)}))&&t(n)};useEventListener(a,o,{target:document})}}function useWindowSize(){if(!width&&(width=ref(0),height=ref(0),inBrowser)){var e=function(){width.value=window.innerWidth,height.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:width,height:height}}var overflowScrollReg=/scroll|auto|overlay/i,defaultRoot=inBrowser?window:void 0,visibility;function isElement$1(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function getScrollParent(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:defaultRoot,n=e;n&&n!==t&&isElement$1(n);){var r=window.getComputedStyle(n),a=r.overflowY;if(overflowScrollReg.test(a))return n;n=n.parentNode}return t}function useScrollParent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:defaultRoot,n=ref();return onMounted((function(){e.value&&(n.value=getScrollParent(e.value,t))})),n}function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser)){var e=function(){visibility.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return visibility}var CUSTOM_FIELD_INJECTION_KEY=exports("Y",Symbol("van-field"));function useCustomFieldValue(e){var t=inject(CUSTOM_FIELD_INJECTION_KEY,null);t&&!t.customValue.value&&(t.customValue.value=e,watch(e,(function(){t.resetValidation(),t.validateWithTrigger("onChange")})))}function getScrollTop(e){var t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function setScrollTop(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function getRootScrollTop(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function setRootScrollTop(e){setScrollTop(window,e),setScrollTop(document.body,e)}function getElementTop(e,t){if(e===window)return 0;var n=t?getScrollTop(t):getRootScrollTop();return useRect(e).top+n}var isIOS=isIOS$1();function resetScroll(){isIOS&&setRootScrollTop(getRootScrollTop())}var stopPropagation=exports("bI",(function(e){return e.stopPropagation()}));function preventDefault(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&stopPropagation(e)}function isHidden(e){var t=unref(e);if(!t)return!1;var n=window.getComputedStyle(t),r="none"===n.display,a=null===t.offsetParent&&"fixed"!==n.position;return r||a}var _useWindowSize=useWindowSize(),windowWidth=_useWindowSize.width,windowHeight=_useWindowSize.height,rootFontSize;function addUnit(e){if(isDef(e))return isNumeric(e)?"".concat(e,"px"):String(e)}function getSizeStyle(e){if(isDef(e)){if(Array.isArray(e))return{width:addUnit(e[0]),height:addUnit(e[1])};var t=addUnit(e);return{width:t,height:t}}}function getZIndexStyle(e){var t={};return void 0!==e&&(t.zIndex=+e),t}function getRootFontSize(){if(!rootFontSize){var e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;rootFontSize=parseFloat(t)}return rootFontSize}function convertRem(e){return+(e=e.replace(/rem/g,""))*getRootFontSize()}function convertVw(e){return+(e=e.replace(/vw/g,""))*windowWidth.value/100}function convertVh(e){return+(e=e.replace(/vh/g,""))*windowHeight.value/100}function unitToPx(e){if("number"==typeof e)return e;if(inBrowser$1){if(e.includes("rem"))return convertRem(e);if(e.includes("vw"))return convertVw(e);if(e.includes("vh"))return convertVh(e)}return parseFloat(e)}exports({aI:windowWidth,aR:windowHeight});var camelizeRE=/-(\w)/g,camelize=function(e){return e.replace(camelizeRE,(function(e,t){return t.toUpperCase()}))},kebabCase=function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")};function padZero(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=e+"";n.length1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e=t?trimExtraChar(e,".",/\./g):e.split(".")[0];var r=t?/[^-0-9.]/g:/[^-0-9]/g;return(e=n?trimExtraChar(e,"-",/-/g):e.replace(/-/,"")).replace(r,"")}function addNumber(e,t){var n=Math.pow(10,10);return Math.round((e+t)*n)/n}var hasOwnProperty$1=Object.prototype.hasOwnProperty;function assignKey(e,t,n){var r=t[n];isDef(r)&&(hasOwnProperty$1.call(e,n)&&isObject$1(r)?e[n]=deepAssign(Object(e[n]),r):e[n]=r)}function deepAssign(e,t){return Object.keys(t).forEach((function(n){assignKey(e,t,n)})),e}var stdin_default$c={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(e,t){return"".concat(e,"年").concat(t,"月")},rangePrompt:function(e){return"最多选择 ".concat(e," 天")}},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:function(e){return"".concat(e,"折")},condition:function(e){return"满".concat(e,"元可用")}},vanCouponCell:{title:"优惠券",count:function(e){return"".concat(e,"张可用")}},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}},lang=ref("zh-CN"),_messages=reactive({"zh-CN":stdin_default$c}),Locale={messages:function(){return _messages[lang.value]},use:function(e,t){lang.value=e,this.add(_defineProperty2({},e,t))},add:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};deepAssign(_messages,e)}},stdin_default$b=Locale;function createTranslate(e){var t=camelize(e)+".";return function(e){for(var n=stdin_default$b.messages(),r=get(n,t+e)||get(n,e),a=arguments.length,o=new Array(a>1?a-1:0),i=1;ia?"".concat(a,"+"):o},o=computed((function(){var t={background:e.color};if(e.offset){var r=_slicedToArray(e.offset,2),a=r[0],o=r[1];n.default?(t.top=addUnit(o),t.right="number"==typeof a?addUnit(-a):a.startsWith("-")?a.replace("-",""):"-".concat(a)):(t.marginTop=addUnit(o),t.marginLeft=addUnit(a))}return t})),i=function(){if(r()||e.dot)return createVNode("div",{class:bem$a([e.position,{dot:e.dot,fixed:!!n.default}]),style:o.value},[a()])};return function(){if(n.default){var t=e.tag;return createVNode(t,{class:bem$a("wrapper")},{default:function(){return[n.default(),i()]}})}return i()}}}),Badge=exports("aH",withInstall(stdin_default$9)),globalZIndex=2e3,useGlobalZIndex=function(){return++globalZIndex},setGlobalZIndex=function(e){globalZIndex=e},_createNamespace5=createNamespace("config-provider"),_createNamespace6=_slicedToArray(_createNamespace5,2),name$9=_createNamespace6[0],bem$9=_createNamespace6[1],CONFIG_PROVIDER_KEY=Symbol(name$9),configProviderProps={tag:makeStringProp("div"),theme:makeStringProp("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,iconPrefix:String};function mapThemeVarsToCSSVars(e){var t={};return Object.keys(e).forEach((function(n){t["--van-".concat(kebabCase(n))]=e[n]})),t}defineComponent({name:name$9,props:configProviderProps,setup:function(e,t){var n=t.slots,r=computed((function(){return mapThemeVarsToCSSVars(extend$1({},e.themeVars,"dark"===e.theme?e.themeVarsDark:e.themeVarsLight))}));if(inBrowser$1){var a=function(){document.documentElement.classList.add("van-theme-".concat(e.theme))},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.theme;document.documentElement.classList.remove("van-theme-".concat(t))};watch((function(){return e.theme}),(function(e,t){t&&o(t),a()}),{immediate:!0}),onActivated(a),onDeactivated(o),onBeforeUnmount(o)}return provide(CONFIG_PROVIDER_KEY,e),watchEffect((function(){void 0!==e.zIndex&&setGlobalZIndex(e.zIndex)})),function(){return createVNode(e.tag,{class:bem$9(),style:r.value},{default:function(){var e;return[null==(e=n.default)?void 0:e.call(n)]}})}}});var _createNamespace7=createNamespace("icon"),_createNamespace8=_slicedToArray(_createNamespace7,2),name$8=_createNamespace8[0],bem$8=_createNamespace8[1],isImage=function(e){return null==e?void 0:e.includes("/")},iconProps={dot:Boolean,tag:makeStringProp("i"),name:String,size:numericProp,badge:numericProp,color:String,badgeProps:Object,classPrefix:String},stdin_default$8=defineComponent({name:name$8,props:iconProps,setup:function(e,t){var n=t.slots,r=inject(CONFIG_PROVIDER_KEY,null),a=computed((function(){return e.classPrefix||(null==r?void 0:r.iconPrefix)||bem$8()}));return function(){var t=e.tag,r=e.dot,o=e.name,i=e.size,s=e.badge,l=e.color,c=isImage(o);return createVNode(Badge,mergeProps({dot:r,tag:t,class:[a.value,c?"":"".concat(a.value,"-").concat(o)],style:{color:l,fontSize:addUnit(i)},content:s},e.badgeProps),{default:function(){var e;return[null==(e=n.default)?void 0:e.call(n),c&&createVNode("img",{class:bem$8("image"),src:o},null)]}})}}}),Icon=exports("a5",withInstall(stdin_default$8)),_createNamespace9=createNamespace("loading"),_createNamespace10=_slicedToArray(_createNamespace9,2),name$7=_createNamespace10[0],bem$7=_createNamespace10[1],SpinIcon=Array(12).fill(null).map((function(e,t){return createVNode("i",{class:bem$7("line",String(t+1))},null)})),CircularIcon=createVNode("svg",{class:bem$7("circular"),viewBox:"25 25 50 50"},[createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),loadingProps={size:numericProp,type:makeStringProp("circular"),color:String,vertical:Boolean,textSize:numericProp,textColor:String},stdin_default$7=defineComponent({name:name$7,props:loadingProps,setup:function(e,t){var n=t.slots,r=computed((function(){return extend$1({color:e.color},getSizeStyle(e.size))})),a=function(){var t;if(n.default)return createVNode("span",{class:bem$7("text"),style:{fontSize:addUnit(e.textSize),color:null!=(t=e.textColor)?t:e.color}},[n.default()])};return function(){var t,o=e.type,i=e.vertical;return createVNode("div",{class:bem$7([o,{vertical:i}]),"aria-live":"polite","aria-busy":!0},[(t="spinner"===e.type?SpinIcon:CircularIcon,createVNode("span",{class:bem$7("spinner",e.type),style:r.value},[n.icon?n.icon():t])),a()])}}}),Loading=exports("L",withInstall(stdin_default$7)),_createNamespace11=createNamespace("button"),_createNamespace12=_slicedToArray(_createNamespace11,2),name$6=_createNamespace12[0],bem$6=_createNamespace12[1],buttonProps=extend$1({},routeProps,{tag:makeStringProp("button"),text:String,icon:String,type:makeStringProp("default"),size:makeStringProp("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:makeStringProp("button"),loadingSize:numericProp,loadingText:String,loadingType:String,iconPosition:makeStringProp("left")}),stdin_default$6=defineComponent({name:name$6,props:buttonProps,emits:["click"],setup:function(e,t){var n=t.emit,r=t.slots,a=useRoute$1(),o=function(){return e.loading?r.loading?r.loading():createVNode(Loading,{size:e.loadingSize,type:e.loadingType,class:bem$6("loading")},null):r.icon?createVNode("div",{class:bem$6("icon")},[r.icon()]):e.icon?createVNode(Icon,{name:e.icon,class:bem$6("icon"),classPrefix:e.iconPrefix},null):void 0},i=function(){var t;if(t=e.loading?e.loadingText:r.default?r.default():e.text)return createVNode("span",{class:bem$6("text")},[t])},s=function(){var t=e.color,n=e.plain;if(t){var r={color:n?t:"white"};return n||(r.background=t),t.includes("gradient")?r.border=0:r.borderColor=t,r}},l=function(t){e.loading?preventDefault(t):e.disabled||(n("click",t),a())};return function(){var t=e.tag,n=e.type,r=e.size,a=e.block,c=e.round,u=e.plain,p=e.square,d=e.loading,f=e.disabled,h=e.hairline,v=e.nativeType,m=e.iconPosition,g=[bem$6([n,r,{plain:u,block:a,round:c,square:p,loading:d,disabled:f,hairline:h}]),_defineProperty2({},BORDER_SURROUND,h)];return createVNode(t,{type:v,class:g,style:s(),disabled:f,onClick:l},{default:function(){return[createVNode("div",{class:bem$6("content")},["left"===m&&o(),i(),"right"===m&&o()])]}})}}}),Button=exports("B",withInstall(stdin_default$6)),_createNamespace13=createNamespace("action-bar-button"),_createNamespace14=_slicedToArray(_createNamespace13,2),name$5=_createNamespace14[0],bem$5=_createNamespace14[1],actionBarButtonProps=extend$1({},routeProps,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),stdin_default$5=defineComponent({name:name$5,props:actionBarButtonProps,setup:function(e,t){var n=t.slots,r=useRoute$1(),a=useParent(ACTION_BAR_KEY),o=a.parent,i=a.index,s=computed((function(){if(o){var e=o.children[i.value-1];return!(e&&"isButton"in e)}})),l=computed((function(){if(o){var e=o.children[i.value+1];return!(e&&"isButton"in e)}}));return useExpose({isButton:!0}),function(){var t=e.type,a=e.icon,o=e.text,i=e.color,c=e.loading,u=e.disabled;return createVNode(Button,{class:bem$5([t,{last:l.value,first:s.value}]),size:"large",type:t,icon:a,color:i,loading:c,disabled:u,onClick:r},{default:function(){return[n.default?n.default():o]}})}}}),ActionBarButton=withInstall(stdin_default$5),popupSharedProps=exports("aB",{show:Boolean,zIndex:numericProp,overlay:truthProp,duration:numericProp,teleport:[String,Object],lockScroll:truthProp,lazyRender:truthProp,beforeClose:Function,overlayStyle:Object,overlayClass:unknownProp,transitionAppear:Boolean,closeOnClickOverlay:truthProp}),popupSharedPropKeys=exports("aC",Object.keys(popupSharedProps));function getDirection(e,t){return e>t?"horizontal":t>e?"vertical":""}function useTouch(){var e=ref(0),t=ref(0),n=ref(0),r=ref(0),a=ref(0),o=ref(0),i=ref(""),s=function(){n.value=0,r.value=0,a.value=0,o.value=0,i.value=""};return{move:function(s){var l=s.touches[0];n.value=(l.clientX<0?0:l.clientX)-e.value,r.value=l.clientY-t.value,a.value=Math.abs(n.value),o.value=Math.abs(r.value);(!i.value||a.value<10&&o.value<10)&&(i.value=getDirection(a.value,o.value))},start:function(n){s(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},reset:s,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:a,offsetY:o,direction:i,isVertical:function(){return"vertical"===i.value},isHorizontal:function(){return"horizontal"===i.value}}}var totalLockCount=0,BODY_LOCK_CLASS="van-overflow-hidden";function useLockScroll(e,t){var n=useTouch(),r=function(t){n.move(t);var r=n.deltaY.value>0?"10":"01",a=getScrollParent(t.target,e.value),o=a.scrollHeight,i=a.offsetHeight,s=a.scrollTop,l="11";0===s?l=i>=o?"00":"01":s+i>=o&&(l="10"),"11"===l||!n.isVertical()||parseInt(l,2)&parseInt(r,2)||preventDefault(t,!0)},a=function(){document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",r,{passive:!1}),totalLockCount||document.body.classList.add(BODY_LOCK_CLASS),totalLockCount++},o=function(){totalLockCount&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",r),--totalLockCount||document.body.classList.remove(BODY_LOCK_CLASS))},i=function(){return t()&&o()};onMountedOrActivated((function(){return t()&&a()})),onDeactivated(i),onBeforeUnmount(i),watch(t,(function(e){e?a():o()}))}function useLazyRender(e){var t=ref(!1);return watch(e,(function(e){e&&(t.value=e)}),{immediate:!0}),function(e){return function(){return t.value?e():null}}}var _createNamespace15=createNamespace("overlay"),_createNamespace16=_slicedToArray(_createNamespace15,2),name$4=_createNamespace16[0],bem$4=_createNamespace16[1],overlayProps={show:Boolean,zIndex:numericProp,duration:numericProp,className:unknownProp,lockScroll:truthProp,lazyRender:truthProp,customStyle:Object},stdin_default$4=defineComponent({name:name$4,props:overlayProps,setup:function(e,t){var n=t.slots,r=ref(),a=useLazyRender((function(){return e.show||!e.lazyRender}))((function(){var t,a=extend$1(getZIndexStyle(e.zIndex),e.customStyle);return isDef(e.duration)&&(a.animationDuration="".concat(e.duration,"s")),withDirectives(createVNode("div",{ref:r,style:a,class:[bem$4(),e.className]},[null==(t=n.default)?void 0:t.call(n)]),[[vShow,e.show]])}));return useEventListener("touchmove",(function(t){e.lockScroll&&preventDefault(t,!0)}),{target:r}),function(){return createVNode(Transition,{name:"van-fade",appear:!0},{default:a})}}}),Overlay=withInstall(stdin_default$4),popupProps=extend$1({},popupSharedProps,{round:Boolean,position:makeStringProp("center"),closeIcon:makeStringProp("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:makeStringProp("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),_createNamespace17=createNamespace("popup"),_createNamespace18=_slicedToArray(_createNamespace17,2),name$3=_createNamespace18[0],bem$3=_createNamespace18[1],stdin_default$3=defineComponent({name:name$3,inheritAttrs:!1,props:popupProps,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup:function(e,t){var n,r,a=t.emit,o=t.attrs,i=t.slots,s=ref(),l=ref(),c=useLazyRender((function(){return e.show||!e.lazyRender})),u=computed((function(){var t={zIndex:s.value};isDef(e.duration)&&(t["center"===e.position?"animationDuration":"transitionDuration"]="".concat(e.duration,"s"));return t})),p=function(){n||(n=!0,s.value=void 0!==e.zIndex?+e.zIndex:useGlobalZIndex(),a("open"))},d=function(){n&&callInterceptor(e.beforeClose,{done:function(){n=!1,a("close"),a("update:show",!1)}})},f=function(t){a("clickOverlay",t),e.closeOnClickOverlay&&d()},h=function(){if(e.overlay)return createVNode(Overlay,{show:e.show,class:e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:f},{default:i["overlay-content"]})},v=function(e){a("clickCloseIcon",e),d()},m=function(){if(e.closeable)return createVNode(Icon,{role:"button",tabindex:0,name:e.closeIcon,class:[bem$3("close-icon",e.closeIconPosition),HAPTICS_FEEDBACK],classPrefix:e.iconPrefix,onClick:v},null)},g=function(){return a("opened")},y=function(){return a("closed")},b=function(e){return a("keydown",e)},_=c((function(){var t,n=e.round,r=e.position,a=e.safeAreaInsetTop,s=e.safeAreaInsetBottom;return withDirectives(createVNode("div",mergeProps({ref:l,style:u.value,role:"dialog",tabindex:0,class:[bem$3(_defineProperty2({round:n},r,r)),{"van-safe-area-top":a,"van-safe-area-bottom":s}],onKeydown:b},o),[null==(t=i.default)?void 0:t.call(i),m()]),[[vShow,e.show]])})),A=function(){var t=e.position,n=e.transition,r=e.transitionAppear,a="center"===t?"van-fade":"van-popup-slide-".concat(t);return createVNode(Transition,{name:n||a,appear:r,onAfterEnter:g,onAfterLeave:y},{default:_})};return watch((function(){return e.show}),(function(e){e&&!n&&(p(),0===o.tabindex&&nextTick((function(){var e;null==(e=l.value)||e.focus()}))),!e&&n&&(n=!1,a("close"))})),useExpose({popupRef:l}),useLockScroll(l,(function(){return e.show&&e.lockScroll})),useEventListener("popstate",(function(){e.closeOnPopstate&&(d(),r=!1)})),onMounted((function(){e.show&&p()})),onActivated((function(){r&&(a("update:show",!0),r=!1)})),onDeactivated((function(){e.show&&e.teleport&&(d(),r=!0)})),provide(POPUP_TOGGLE_KEY,(function(){return e.show})),function(){return e.teleport?createVNode(Teleport,{to:e.teleport},{default:function(){return[h(),A()]}}):createVNode(Fragment,null,[h(),A()])}}}),Popup=exports("P",withInstall(stdin_default$3)),current=0;function useId(){var e=getCurrentInstance(),t=((null==e?void 0:e.type)||{}).name;return"".concat(void 0===t?"unknown":t,"-").concat(++current)}var lockCount=0;function lockClick(e){e?(lockCount||document.body.classList.add("van-toast--unclickable"),lockCount++):lockCount&&(--lockCount||document.body.classList.remove("van-toast--unclickable"))}var _createNamespace19=createNamespace("toast"),_createNamespace20=_slicedToArray(_createNamespace19,2),name$2=_createNamespace20[0],bem$2=_createNamespace20[1],popupInheritProps=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],toastProps={icon:String,show:Boolean,type:makeStringProp("text"),overlay:Boolean,message:numericProp,iconSize:numericProp,duration:makeNumberProp(2e3),position:makeStringProp("middle"),teleport:[String,Object],wordBreak:String,className:unknownProp,iconPrefix:String,transition:makeStringProp("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:unknownProp,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean},stdin_default$2=defineComponent({name:name$2,props:toastProps,emits:["update:show"],setup:function(e,t){var n,r=t.emit,a=t.slots,o=!1,i=function(){var t=e.show&&e.forbidClick;o!==t&&lockClick(o=t)},s=function(e){return r("update:show",e)},l=function(){e.closeOnClick&&s(!1)},c=function(){return clearTimeout(n)},u=function(){var t=e.type,n=e.message;return a.message?createVNode("div",{class:bem$2("text")},[a.message()]):isDef(n)&&""!==n?"html"===t?createVNode("div",{key:0,class:bem$2("text"),innerHTML:String(n)},null):createVNode("div",{class:bem$2("text")},[n]):void 0};return watch((function(){return[e.show,e.forbidClick]}),i),watch((function(){return[e.show,e.type,e.message,e.duration]}),(function(){c(),e.show&&e.duration>0&&(n=setTimeout((function(){s(!1)}),e.duration))})),onMounted(i),onUnmounted(i),function(){return createVNode(Popup,mergeProps({class:[bem$2([e.position,"normal"===e.wordBreak?"break-normal":e.wordBreak,_defineProperty2({},e.type,!e.icon)]),e.className],lockScroll:!1,onClick:l,onClosed:c,"onUpdate:show":s},pick(e,popupInheritProps)),{default:function(){return[(t=e.icon,n=e.type,r=e.iconSize,a=e.iconPrefix,o=e.loadingType,t||"success"===n||"fail"===n?createVNode(Icon,{name:t||n,size:r,class:bem$2("icon"),classPrefix:a},null):"loading"===n?createVNode(Loading,{class:bem$2("loading"),size:r,type:o},null):void 0),u()];var t,n,r,a,o}})}}});function usePopupState(){var e=reactive({show:!1}),t=function(t){e.show=t},n=function(n){extend$1(e,n,{transitionAppear:!0}),t(!0)},r=function(){return t(!1)};return useExpose({open:n,close:r,toggle:t}),{open:n,close:r,state:e,toggle:t}}function mountComponent(e){var t=createApp(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount:function(){t.unmount(),document.body.removeChild(n)}}}var defaultOptions={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1},queue=[],allowMultiple=!1,currentOptions$1=extend$1({},defaultOptions),defaultOptionsMap=new Map;function parseOptions(e){return isObject$1(e)?e:{message:e}}function createInstance(){var e=mountComponent({setup:function(){var e=ref(""),t=usePopupState(),n=t.open,r=t.state,a=t.close,o=t.toggle,i=function(){};return watch(e,(function(e){r.message=e})),getCurrentInstance().render=function(){return createVNode(stdin_default$2,mergeProps(r,{onClosed:i,"onUpdate:show":o}),null)},{open:n,close:a,message:e}}}),t=e.instance;e.unmount;return t}function getInstance(){if(!queue.length||allowMultiple){var e=createInstance();queue.push(e)}return queue[queue.length-1]}function showToast(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!inBrowser$1)return{};var t=getInstance(),n=parseOptions(e);return t.open(extend$1({},currentOptions$1,defaultOptionsMap.get(n.type||currentOptions$1.type),n)),t}var createMethod=function(e){return function(t){return showToast(extend$1({type:e},parseOptions(t)))}},showLoadingToast=exports("bl",createMethod("loading")),showSuccessToast=exports("bz",createMethod("success")),showFailToast=exports("bA",createMethod("fail")),closeToast=exports("be",(function(e){queue.length&&(e?(queue.forEach((function(e){e.close()})),queue=[]):queue[0].close())})),Toast=exports("T",withInstall(stdin_default$2)),_createNamespace21=createNamespace("empty"),_createNamespace22=_slicedToArray(_createNamespace21,2),name$1=_createNamespace22[0],bem$1=_createNamespace22[1],emptyProps={image:makeStringProp("default"),imageSize:[Number,String,Array],description:String},stdin_default$1=defineComponent({name:name$1,props:emptyProps,setup:function(e,t){var n=t.slots,r=function(){var t=n.description?n.description():e.description;if(t)return createVNode("p",{class:bem$1("description")},[t])},a=function(){if(n.default)return createVNode("div",{class:bem$1("bottom")},[n.default()])},o=useId(),i=function(e){return"".concat(o,"-").concat(e)},s=function(e){return"url(#".concat(i(e),")")},l=function(e,t,n){return createVNode("stop",{"stop-color":e,offset:"".concat(t,"%"),"stop-opacity":n},null)},c=function(e,t){return[l(e,0),l(t,100)]},u=function(e){return[createVNode("defs",null,[createVNode("radialGradient",{id:i(e),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[l("#EBEDF0",0),l("#F2F3F5",100,.3)])]),createVNode("ellipse",{fill:s(e),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)]},p=function(){return[createVNode("defs",null,[createVNode("linearGradient",{id:i("a"),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M36 131V53H16v20H2v58h34z",fill:s("a")},null),createVNode("path",{d:"M123 15h22v14h9v77h-31V15z",fill:s("a")},null)])]},d=function(){return[createVNode("defs",null,[createVNode("linearGradient",{id:i("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[l("#F2F3F5",0,.3),l("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:s("b")},null),createVNode("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:s("b")},null)])]},f=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{id:i(1),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)]),createVNode("linearGradient",{id:i(2),x1:"50%",x2:"50%",y2:"84%"},[l("#EBEDF0",0),l("#DCDEE0",100,0)]),createVNode("linearGradient",{id:i(3),x1:"100%",x2:"100%",y2:"100%"},[c("#EAEDF0","#DCDEE0")]),createVNode("radialGradient",{id:i(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[l("#EBEDF0",0),l("#FFF",100,0)])]),createVNode("g",{fill:"none"},[p(),createVNode("path",{fill:s(4),d:"M0 139h160v21H0z"},null),createVNode("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:s(2)},null),createVNode("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[createVNode("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:s(3)},null),createVNode("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:s(3)},null),createVNode("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:s(3)},null),createVNode("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:s(3)},null)]),createVNode("g",{transform:"translate(31 105)"},[createVNode("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),createVNode("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])])},h=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(5)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:i(6)},[c("#EAEDF1","#DCDEE0")]),createVNode("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:i(7)},[c("#EAEDF1","#DCDEE0")])]),p(),d(),createVNode("g",{transform:"translate(36 50)",fill:"none"},[createVNode("g",{transform:"translate(8)"},[createVNode("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),createVNode("rect",{fill:s(5),width:"64",height:"66",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),createVNode("g",{transform:"translate(15 17)",fill:s(6)},[createVNode("rect",{width:"34",height:"6",rx:"1"},null),createVNode("path",{d:"M0 14h34v6H0z"},null),createVNode("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),createVNode("rect",{fill:s(7),y:"61",width:"88",height:"28",rx:"1"},null),createVNode("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])])},v=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(8)},[c("#EAEDF1","#DCDEE0")])]),p(),d(),u("c"),createVNode("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:s(8)},null)])},m=function(){return createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:i(9)},[c("#EEE","#D8D8D8")]),createVNode("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:i(10)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(11)},[c("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(12)},[c("#FFF","#F7F8FA")])]),p(),d(),u("d"),createVNode("g",{transform:"rotate(-45 113 -4)",fill:"none"},[createVNode("rect",{fill:s(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),createVNode("rect",{fill:s(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),createVNode("circle",{stroke:s(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),createVNode("circle",{fill:s(12),cx:"27",cy:"27",r:"16"},null),createVNode("path",{d:"M37 7c-8 0-15 5-16 12",stroke:s(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])])},g=function(){var t;if(n.image)return n.image();var r={error:v,search:m,network:f,default:h};return(null==(t=r[e.image])?void 0:t.call(r))||createVNode("img",{src:e.image},null)};return function(){return createVNode("div",{class:bem$1()},[createVNode("div",{class:bem$1("image"),style:getSizeStyle(e.imageSize)},[g()]),r(),a()])}}}),Empty=withInstall(stdin_default$1),_createNamespace23=createNamespace("dialog"),_createNamespace24=_slicedToArray(_createNamespace23,3),name=_createNamespace24[0],bem=_createNamespace24[1],t=_createNamespace24[2],dialogProps=extend$1({},popupSharedProps,{title:String,theme:String,width:numericProp,message:[String,Function],callback:Function,allowHtml:Boolean,className:unknownProp,transition:makeStringProp("van-dialog-bounce"),messageAlign:String,closeOnPopstate:truthProp,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:truthProp,closeOnClickOverlay:Boolean}),popupInheritKeys=[].concat(_toConsumableArray2(popupSharedPropKeys),["transition","closeOnPopstate"]),stdin_default=defineComponent({name:name,props:dialogProps,emits:["confirm","cancel","keydown","update:show"],setup:function(e,n){var r=n.emit,a=n.slots,o=ref(),i=reactive({confirm:!1,cancel:!1}),s=function(e){return r("update:show",e)},l=function(t){var n;s(!1),null==(n=e.callback)||n.call(e,t)},c=function(t){return function(){e.show&&(r(t),e.beforeClose?(i[t]=!0,callInterceptor(e.beforeClose,{args:[t],done:function(){l(t),i[t]=!1},canceled:function(){i[t]=!1}})):l(t))}},u=c("cancel"),p=c("confirm"),d=withKeys((function(t){var n,a;t.target===(null==(a=null==(n=o.value)?void 0:n.popupRef)?void 0:a.value)&&({Enter:e.showConfirmButton?p:noop$1,Escape:e.showCancelButton?u:noop$1}[t.key](),r("keydown",t))}),["enter","esc"]),f=function(){var t=a.title?a.title():e.title;if(t)return createVNode("div",{class:bem("header",{isolated:!e.message&&!a.default})},[t])},h=function(t){var n=e.message,r=e.allowHtml,a=e.messageAlign,o=bem("message",_defineProperty2({"has-title":t},a,a)),i=isFunction(n)?n():n;return r&&"string"==typeof i?createVNode("div",{class:o,innerHTML:i},null):createVNode("div",{class:o},[i])},v=function(){if(a.default)return createVNode("div",{class:bem("content")},[a.default()]);var t=e.title,n=e.message,r=e.allowHtml;if(n){var o=!(!t&&!a.title);return createVNode("div",{key:r?1:0,class:bem("content",{isolated:!o})},[h(o)])}},m=function(){return a.footer?a.footer():"round-button"===e.theme?createVNode(ActionBar,{class:bem("footer")},{default:function(){return[e.showCancelButton&&createVNode(ActionBarButton,{type:"warning",text:e.cancelButtonText||t("cancel"),class:bem("cancel"),color:e.cancelButtonColor,loading:i.cancel,disabled:e.cancelButtonDisabled,onClick:u},null),e.showConfirmButton&&createVNode(ActionBarButton,{type:"danger",text:e.confirmButtonText||t("confirm"),class:bem("confirm"),color:e.confirmButtonColor,loading:i.confirm,disabled:e.confirmButtonDisabled,onClick:p},null)]}}):createVNode("div",{class:[BORDER_TOP,bem("footer")]},[e.showCancelButton&&createVNode(Button,{size:"large",text:e.cancelButtonText||t("cancel"),class:bem("cancel"),style:{color:e.cancelButtonColor},loading:i.cancel,disabled:e.cancelButtonDisabled,onClick:u},null),e.showConfirmButton&&createVNode(Button,{size:"large",text:e.confirmButtonText||t("confirm"),class:[bem("confirm"),_defineProperty2({},BORDER_LEFT,e.showCancelButton)],style:{color:e.confirmButtonColor},loading:i.confirm,disabled:e.confirmButtonDisabled,onClick:p},null)])};return function(){var t=e.width,n=e.title,r=e.theme,a=e.message,i=e.className;return createVNode(Popup,mergeProps({ref:o,role:"dialog",class:[bem([r]),i],style:{width:addUnit(t)},tabindex:0,"aria-labelledby":n||a,onKeydown:d,"onUpdate:show":s},pick(e,popupInheritKeys)),{default:function(){return[f(),v(),m()]}})}}}),instance$1,DEFAULT_OPTIONS={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1},currentOptions=extend$1({},DEFAULT_OPTIONS);function initInstance(){var e={setup:function(){var e=usePopupState(),t=e.state,n=e.toggle;return function(){return createVNode(stdin_default,mergeProps(t,{"onUpdate:show":n}),null)}}},t=mountComponent(e);instance$1=t.instance}function showDialog(e){return inBrowser$1?new Promise((function(t,n){instance$1||initInstance(),instance$1.open(extend$1({},currentOptions,e,{callback:function(e){("confirm"===e?t:n)(e)}}))})):Promise.resolve()}var showConfirmDialog=exports("b6",(function(e){return showDialog(extend$1({showCancelButton:!0},e))})),Dialog=exports("aW",withInstall(stdin_default)),commonjsGlobal$1=exports("by","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var lottie={exports:{}};(function(module,exports$1){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,a=e.length;for(n=0;n1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="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},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],a={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){a.onmessage({data:e})}};function i(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,a}((function(e){if(o.dataManager||(o.dataManager=function(){function e(a,o){var i,s,l,c,u,d,f=a.length;for(s=0;s=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(o=e[t].ks.k.length,a=0;an[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var o,i=function(){var e=[4,4,14];function t(e){var t,n,r,a=e.length;for(t=0;t=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(a=e[n].ks.k.length,r=0;r500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function i(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=a.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return i.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;nthis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,a=r.length,o=e.layers,i=o.length;for(n=0;nthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(error){this.triggerRenderFrameError(error)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,h()},e.setVolume=function(e,n){var a;for(a=0;a=.001?function(e,t,n,r){for(var a=0;a<4;++a){var o=l(t,n,r);if(0===o)return t;t-=(s(t,n,r)-e)/o}return t}(e,c,t,r):0===u?c:function(e,t,n,r,a){var o,i,l=0;do{(o=s(i=t+(n-t)/2,r,a)-e)>0?n=i:t=i}while(Math.abs(o)>1e-7&&++l<10);return i}(e,o,o+n,t,r)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,a=e,o=createSizedArray(a);return{newElement:function(){return r?o[r-=1]:t()},release:function(e){r===a&&(o=pooling.double(o),a*=2),n&&n(e),o[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,n=e.lengths.length;for(t=0;t-.001&&i<.001}var n=function(e,t,n,r){var a,o,i,s,l,c,u=getDefaultCurveSegments(),p=0,d=[],f=[],h=bezierLengthPool.newElement();for(i=n.length,a=0;ai?-1:1,c=!0;c;)if(r[o]<=i&&r[o+1]>i?(s=(i-r[o])/(r[o+1]-r[o]),c=!1):o+=l,o<0||o>=a-1){if(o===a-1)return n[o];c=!1}return n[o]+(n[o+1]-n[o])*s}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),a=e.c,o=e.v,i=e.o,s=e.i,l=e._length,c=r.lengths,u=0;for(t=0;t1&&(o=1);var u,p=s(o,c),d=s(i=i>1?1:i,c),f=t.length,h=1-p,v=1-d,m=h*h*h,g=p*h*h*3,y=p*p*h*3,b=p*p*p,_=h*h*v,A=p*h*v+h*p*v+h*h*d,x=p*p*v+h*p*d+p*h*d,w=p*p*d,k=h*v*v,S=p*v*v+h*d*v+h*v*d,E=p*d*v+h*d*d+p*v*d,P=p*d*d,C=v*v*v,T=d*v*v+v*d*v+v*v*d,I=d*d*v+v*d*d+d*v*d,M=d*d*d;for(u=0;uf?d>h?d-f-h:h-f-d:h>f?h-f-d:f-d-h)>-1e-4&&p<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function n(e,t){var n,a=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var o,i,s,l,c,u,p,d,f,h=t.lastIndex,v=h,m=this.keyframes.length-1,g=!0;g;){if(o=this.keyframes[v],i=this.keyframes[v+1],v===m-1&&e>=i.t-a){o.h&&(o=i),h=0;break}if(i.t-a>e){h=v;break}v=C||e=C?I.points.length-1:0;for(c=I.points[M].point.length,l=0;l=z&&O=C)n[0]=y[0],n[1]=y[1],n[2]=y[2];else if(e<=T)n[0]=o.s[0],n[1]=o.s[1],n[2]=o.s[2];else{var V=r(o.s),L=r(y);b=n,_=function(e,t,n){var r,a,o,i,s,l=[],c=e[0],u=e[1],p=e[2],d=e[3],f=t[0],h=t[1],v=t[2],m=t[3];return(a=c*f+u*h+p*v+d*m)<0&&(a=-a,f=-f,h=-h,v=-v,m=-m),1-a>1e-6?(r=Math.acos(a),o=Math.sin(r),i=Math.sin((1-n)*r)/o,s=Math.sin(n*r)/o):(i=1-n,s=n),l[0]=i*c+s*f,l[1]=i*u+s*h,l[2]=i*p+s*v,l[3]=i*d+s*m,l}(V,L,(e-T)/(C-T)),A=_[0],x=_[1],w=_[2],k=_[3],S=Math.atan2(2*x*k-2*A*w,1-2*x*x-2*w*w),E=Math.asin(2*A*x+2*w*k),P=Math.atan2(2*A*k-2*x*w,1-2*A*A-2*w*w),b[0]=S/degToRads,b[1]=E/degToRads,b[2]=P/degToRads}else for(v=0;v=C?u=1:e=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function o(e){var n;if("unidimensional"===this.propType)n=e*this.mult,t(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var r=0,a=this.v.length;r1e-5&&(this.v[r]=n,this._mdf=!0),r+=1}function i(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[r]||o[r]&&!a)&&(o[r]=pointPool.newElement()),o[r][0]=e,o[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,a,o,i,s){this.setXYAt(e,t,"v",i,s),this.setXYAt(n,r,"o",i,s),this.setXYAt(a,o,"i",i,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),a=1);var o,i=this._length-1,s=this._length;for(o=a;o=f[f.length-1].t-this.offsetTime)r=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],o=!0;else{for(var h,v,m,g=d,y=f.length-1,b=!0;b&&(h=f[g],!((v=f[g+1]).t-this.offsetTime>e));)g=v.t-this.offsetTime)u=1;else if(er&&t>r)||(this._caching.lastIndex=a0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function R(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=i,this.rotateY=s,this.rotateZ=l,this.skew=u,this.skewFromAxis=p,this.shear=c,this.scale=d,this.setTransform=f,this.translate=h,this.transform=v,this.applyToPoint=_,this.applyToX=A,this.applyToY=x,this.applyToZ=w,this.applyToPointArray=C,this.applyToTriplePoints=P,this.applyToPointStringified=T,this.toCSS=I,this.to2dCSS=R,this.clone=y,this.cloneFromProps=b,this.equals=g,this.inversePoints=E,this.inversePoint=S,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=m,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="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},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var i,s,l=[],c=o.length;for(i=0;ir+n||(u=s.s*a<=r?0:(s.s*a-r)/n,p=s.e*a>=r+n?1:(s.e*a-r)/n,l.push([u,p]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var i=t;t=n,n=i}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var s,l,c,u,p,d=this.shapes.length,f=0;if(n===t)for(a=0;a=0;a-=1)if((h=this.shapes[a]).shape._mdf){for((v=h.localShapeCollection).releaseShapes(),2===this.m&&d>1?(g=this.calculateShapeEdges(t,n,h.totalShapeLength,_,f),_+=h.totalShapeLength):g=[[y,b]],l=g.length,s=0;s=1?m.push({s:h.totalShapeLength*(y-1),e:h.totalShapeLength*(b-1)}):(m.push({s:h.totalShapeLength*y,e:h.totalShapeLength}),m.push({s:0,e:h.totalShapeLength*(b-1)}));var A=this.addShapes(h,m[0]);if(m[0].s!==m[0].e){if(m.length>1)if(h.shape.paths.shapes[h.shape.paths._length-1].c){var x=A.pop();this.addPaths(A,v),A=this.addShapes(h,m[1],x)}else this.addPaths(A,v),A=this.addShapes(h,m[1]);this.addPaths(A,v)}}h.shape.paths=v}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;nt.e){n.c=!1;break}t.s<=h&&t.e>=h+i.addedLength?(this.addSegment(d[r].v[a-1],d[r].o[a-1],d[r].i[a],d[r].v[a],n,s,m),m=!1):(c=bez.getNewSegment(d[r].v[a-1],d[r].v[a],d[r].o[a-1],d[r].i[a],(t.s-h)/i.addedLength,(t.e-h)/i.addedLength,l[a-1]),this.addSegmentFromArray(c,n,s,m),m=!1,n.c=!1),h+=i.addedLength,s+=1}if(d[r].c&&l.length){if(i=l[a-1],h<=t.e){var g=l[a-1].addedLength;t.s<=h&&t.e>=h+g?(this.addSegment(d[r].v[a-1],d[r].o[a-1],d[r].i[0],d[r].v[0],n,s,m),m=!1):(c=bez.getNewSegment(d[r].v[a-1],d[r].v[0],d[r].o[a-1],d[r].i[0],(t.s-h)/g,(t.e-h)/g,l[a-1]),this.addSegmentFromArray(c,n,s,m),m=!1,n.c=!1)}else n.c=!1;h+=i.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[u][0],n.v[u][1],"i",u),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),h>t.e)break;r=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],a=[];var o=this.px,i=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(r[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),r[1]=i.getValueAtTime((i.keyframes[0].t+.01)/n,0),a[0]=o.getValueAtTime(o.keyframes[0].t/n,0),a[1]=i.getValueAtTime(i.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(r[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),r[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/n,0),a[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),a[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/n,0)):(r=[o.pv,i.pv],a[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),a[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/n,i.offsetTime))}else r=a=e;this.v.rotate(-Math.atan2(r[1]-a[1],r[0]-a[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",a=t.length,o=0;o0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t0?Math.floor(d):Math.ceil(d),v=this.pMatrix.props,m=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(d>0){for(;_h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),_-=f)}for(r=1===this.data.m?0:this._currentCopies-1,a=1===this.data.m?1:-1,o=this._currentCopies;o;){if(b=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==_){for((0!==r&&1===a||r!==this._currentCopies-1&&-1===a)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),y=0;y0&&(u=!1),u){var p=createTag("style");p.setAttribute("f-forigin",r[n].fOrigin),p.setAttribute("f-origin",r[n].origin),p.setAttribute("f-family",r[n].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(p)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;ce?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+m+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e1&&(o+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==o){var i="";n.elem&&(t.c&&(i=e.inv?this.solidPath+o:o),n.elem.setAttribute("d",i)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",a=e.data.ef?e.data.ef.length:0,o=createElementID(),i=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],t=0;t=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e0;)l=r.transformers[v].mProps._mdf||l,h-=1,v-=1;if(l)for(h=g-r.styles[u].lvl,v=r.transformers.length-1;h>0;)f=r.transformers[v].mProps.v.props,d.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),h-=1,v-=1}else d=e;if(i=(p=r.sh.paths)._length,l){for(s="",o=0;o=1?y=.99:y<=-1&&(y=-.99);var b=s*y,_=Math.cos(g+t.a.v)*b+u[0],A=Math.sin(g+t.a.v)*b+u[1];l.setAttribute("fx",_),l.setAttribute("fy",A),c&&!t.g._collapsable&&(t.of.setAttribute("fx",_),t.of.setAttribute("fy",A))}}function l(e,t,n){var r=t.style,a=t.d;a&&(a._mdf||n)&&a.dashStr&&(r.pElem.setAttribute("stroke-dasharray",a.dashStr),r.pElem.setAttribute("stroke-dashoffset",a.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return s;case"gs":return i;case"st":return l;case"sh":case"el":case"rc":case"sr":return a;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,a,o){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=a,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,n,r,a=this.shapes.length,o=this.stylesList.length,i=[],s=!1;for(n=0;n1&&s&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t=0;s-=1){if((d=this.searchProcessedElement(e[s]))?t[s]=n[d-1]:e[s]._render=i,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)d?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],a),e[s]._render&&t[s].style.pElem.parentNode!==r&&r.appendChild(t[s].style.pElem),v.push(t[s].style);else if("gr"===e[s].ty){if(d)for(c=t[s].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var a=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(r=0;rt);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],a=0,o=e.length,i=!1;a=55296&&t<=56319?(n=e.charCodeAt(a+1))>=56320&&n<=57343?(i||FontManager.isModifier(t,n)?(r[r.length-1]+=e.substr(a,2),i=!1):r.push(e.substr(a,2)),a+=1):r.push(e.charAt(a)):t>56319?(n=e.charCodeAt(a+1),FontManager.isZeroWidthJoiner(t,n)?(i=!0,r[r.length-1]+=e.substr(a,2),a+=1):r.push(e.charAt(a))):FontManager.isZeroWidthJoiner(t)?(r[r.length-1]+=e.charAt(a),i=!0):r.push(e.charAt(a)),a+=1;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,a,o,i,s,l=this.elem.globalData.fontManager,c=this.data,u=[],p=0,d=c.m.g,f=0,h=0,v=0,m=[],g=0,y=0,b=l.getFontByName(e.f),_=0,A=getFontProperties(b);e.fWeight=A.weight,e.fStyle=A.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var x,w=e.tr/1e3*e.finalSize;if(e.sz)for(var k,S,E=!0,P=e.sz[0],C=e.sz[1];E;){k=0,g=0,n=(S=this.buildFinalText(e.t)).length,w=e.tr/1e3*e.finalSize;var T=-1;for(t=0;tP&&" "!==S[t]?(-1===T?n+=1:t=T,k+=e.finalLineHeight||1.2*e.finalSize,S.splice(t,T===t?1:0,"\r"),T=-1,g=0):(g+=_,g+=w);k+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Cy?g:y,g=-2*w,a="",r=!0,v+=1):a=I,l.chars?(s=l.getCharData(I,b.fStyle,l.getFontByName(e.f).fFamily),_=r?0:s.w*e.finalSize/100):_=l.measureText(a,e.f,e.finalSize)," "===I?M+=_+w:(g+=_+w+M,M=0),u.push({l:_,an:_,add:f,n:r,anIndexes:[],val:a,line:v,animatorJustifyOffset:0}),2==d){if(f+=_,""===a||" "===a||t===n-1){for(""!==a&&" "!==a||(f-=_);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=_,h+=1;p+=1,f=0}}else if(3==d){if(f+=_,""===a||t===n-1){for(""===a&&(f-=_);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=_,h+=1;f=0,p+=1}}else u[p].ind=p,u[p].extra=0,p+=1;if(e.l=u,y=g>y?g:y,m.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=m;var R,O,z,D,F=c.a;i=F.length;var B=[];for(o=0;o0?a=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(a,o,i,s).get,c=0,u=this.finalS,p=this.finalE,d=this.data.sh;if(2===d)c=l(c=p===u?r>=p?1:0:e(0,t(.5/(p-u)+(r-u)/(p-u),1)));else if(3===d)c=l(c=p===u?r>=p?0:1:1-e(0,t(.5/(p-u)+(r-u)/(p-u),1)));else if(4===d)p===u?c=0:(c=e(0,t(.5/(p-u)+(r-u)/(p-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(p===u)c=0;else{var f=p-u,h=-f/2+(r=t(e(0,r+.5-u),p-u)),v=f/2;c=Math.sqrt(1-h*h/(v*v))}c=l(c)}else 6===d?(p===u?c=0:(r=t(e(0,r+.5-u),p-u),c=(1+Math.cos(Math.PI+2*Math.PI*r/(p-u)))/2),c=l(c)):(r>=n(u)&&(c=e(0,t(r-u<0?t(p,1)-(u-r):p-r,1))),c=l(c));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var g=.5-.5*m;c1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,a=this.e.v/t+n;if(r>a){var o=r;r=a,a=o}this.finalS=r,this.finalE=a}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},a=PropertyFactory.getProp,o=t.a;this.a={r:o.r?a(e,o.r,0,degToRads,n):r,rx:o.rx?a(e,o.rx,0,degToRads,n):r,ry:o.ry?a(e,o.ry,0,degToRads,n):r,sk:o.sk?a(e,o.sk,0,degToRads,n):r,sa:o.sa?a(e,o.sa,0,degToRads,n):r,s:o.s?a(e,o.s,1,.01,n):r,a:o.a?a(e,o.a,1,0,n):r,o:o.o?a(e,o.o,0,.01,n):r,p:o.p?a(e,o.p,1,0,n):r,sw:o.sw?a(e,o.sw,0,0,n):r,sc:o.sc?a(e,o.sc,1,0,n):r,fc:o.fc?a(e,o.fc,1,0,n):r,fh:o.fh?a(e,o.fh,0,0,n):r,fs:o.fs?a(e,o.fs,0,.01,n):r,fb:o.fb?a(e,o.fb,0,.01,n):r,t:o.t?a(e,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e=s+se||!h?(y=(s+se-c)/l.partialLength,N=f.point[0]+(l.point[0]-f.point[0])*y,j=f.point[1]+(l.point[1]-f.point[1])*y,k.translate(-A[0]*P[a].an*.005,-A[1]*D*.01),u=!1):h&&(c+=l.partialLength,(p+=1)>=h.length&&(p=0,v[d+=1]?h=v[d].points:_.v.c?(p=0,h=v[d=0].points):(c-=l.partialLength,h=null)),h&&(f=l,m=(l=h[p]).partialLength));B=P[a].an/2-P[a].add,k.translate(-B,0,0)}else B=P[a].an/2-P[a].add,k.translate(-B,0,0),k.translate(-A[0]*P[a].an*.005,-A[1]*D*.01,0);for(M=0;Me?this.textSpans[e].span:createNS(l?"g":"text"),m<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,l){var g=createNS("g");i.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(c.reset(),u&&(s[e].n&&(p=-h,d+=n.yOffset,d+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(n,c,s[e].line,p,d),p+=s[e].l||0,p+=h),l){var y;if(1===(v=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)y=new SVGCompElement(v.data,this.globalData,this);else{var b=emptyShapeData;v.data&&v.data.shapes&&(b=this.buildShapeData(v.data,n.finalSize)),y=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var _=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[e].glyph=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[e].childSpan.appendChild(y.layerElement),1===v.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else u&&i.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),i.textContent=s[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&i&&i.setAttribute("d","")}else{var A=this.textContainer,x="start";switch(n.j){case 1:x="end";break;case 2:x="middle";break;default:x="start"}A.setAttribute("text-anchor",x),A.setAttribute("letter-spacing",h);var w=this.buildTextContents(n.finalText);for(t=w.length,d=n.ps?n.ps[1]+n.ascent:0,e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;r-=1)n=e.transforms[r].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);e._mdf=o},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t=0;o-=1){if((l=this.searchProcessedElement(e[o]))?t[o]=n[l-1]:e[o]._shouldRender=r,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)l?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],h),d.push(t[o].style);else if("gr"===e[o].ty){if(l)for(s=t[o].it.length,i=0;i=0;a-=1)"tr"===t[a].ty?(o=n[a].transform,this.renderShapeTransform(e,o)):"sh"===t[a].ty||"el"===t[a].ty||"rc"===t[a].ty||"sr"===t[a].ty?this.renderPath(t[a],n[a]):"fl"===t[a].ty?this.renderFill(t[a],n[a],o):"st"===t[a].ty?this.renderStroke(t[a],n[a],o):"gf"===t[a].ty||"gs"===t[a].ty?this.renderGradientFill(t[a],n[a],o):"gr"===t[a].ty?this.renderShape(o,t[a].it,n[a].it):t[a].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,a,o=e.trNodes,i=t.paths,s=i._length;o.length=0;var l=e.transforms.finalTransform;for(a=0;a=1?p=.99:p<=-1&&(p=-.99);var d=c*p,f=Math.cos(u+t.a.v)*d+s[0],h=Math.sin(u+t.a.v)*d+s[1];r=i.createRadialGradient(f,h,0,s[0],s[1],c)}var v=e.g.p,m=t.g.c,g=1;for(o=0;os&&"xMidYMid slice"===l||in&&"meet"===o||rn&&"slice"===o)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(rn&&"slice"===o)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(r>n&&"meet"===o||rn&&"meet"===o||r=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=0;n=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects,this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n0&&s<1&&p[d].push(this.calculateF(s,e,t,n,r,d)):(l=o*o-4*i*a)>=0&&((c=(-o+bmSqrt(l))/(2*a))>0&&c<1&&p[d].push(this.calculateF(c,e,t,n,r,d)),(u=(-o-bmSqrt(l))/(2*a))>0&&u<1&&p[d].push(this.calculateF(u,e,t,n,r,d))));this.shapeBoundingBox.left=bmMin.apply(null,p[0]),this.shapeBoundingBox.top=bmMin.apply(null,p[1]),this.shapeBoundingBox.right=bmMax.apply(null,p[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,p[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,a,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*r[o]+bmPow(e,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;nn&&(n=a)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;a=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),i=[a[0]/o,a[1]/o,a[2]/o],s=Math.sqrt(i[2]*i[2]+i[0]*i[0]),l=Math.atan2(i[1],s),c=Math.atan2(i[0],-i[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var p,d,f;for(t=this.comp.threeDElements.length,e=0;e=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,a=createTag("div");styleDiv(a);var o=createTag("div");if(styleDiv(o),"3d"===t){(n=a.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var i="50% 50%";n.webkitTransformOrigin=i,n.mozTransformOrigin=i,n.transformOrigin=i;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=o.style).transform=s,r.webkitTransform=s}a.appendChild(o);var l={container:o,perspectiveElem:a,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;ni?(e=a/this.globalData.compSize.w,t=a/this.globalData.compSize.w,n=0,r=(o-this.globalData.compSize.h*(a/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,n=(a-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e=i;)e/=2,t/=2,n>>>=1;return(e+n)/t};return y.int32=function(){return 0|g.g(4)},y.quick=function(){return g.g(4)/4294967296},y.double=y,p(d(g.S),e),(f.pass||h||function(e,n,r,a){return a&&(a.S&&c(a,g),e.state=function(){return c(g,{})}),r?(t.random=e,n):e})(y,m,"global"in f?f.global:this==t,f.state)},p(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="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},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,a=[];for(n=0;nn){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),a=0;for(n=0;n.5?c/(2-i-s):c/(i+s),i){case r:t=(a-o)/c+(a1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,a=e[0],o=e[1],i=e[2];if(0===o)t=i,r=i,n=i;else{var s=i<.5?i*(1+o):i+o-i*o,l=2*i-s;t=hue2rgb(l,s,a+1/3),n=hue2rgb(l,s,a),r=hue2rgb(l,s,a-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,a){if(void 0!==r&&void 0!==a||(r=t,a=n,t=0,n=1),n=n)return a;var i,s=n===t?0:(e-t)/(n-t);if(!r.length)return r+(a-r)*s;var l=r.length,c=createTypedArray("float32",l);for(i=0;i1){for(r=0;r1?t=1:t<0&&(t=0);var i=e(t);if($bm_isInstanceOfArray(a)){var s,l=a.length,c=createTypedArray("float32",l);for(s=0;sdata.k[t].t&&edata.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var o={};return o.index=n,o.time=r/elem.comp.globalData.frameRate,o}function key(e){var t,n,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=a.length,n=0;nc.length-1)&&(t=c.length-1),r=u-(a=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-a)/r)%2!=0)return this.getValueAtTime((r-(l-a)%r+a)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(a/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-a)%r+a)/this.comp.globalData.frameRate,0),h=Math.floor((l-a)/r);if(this.pv.length){for(i=(s=new Array(p.length)).length,o=0;o=u)return this.pv;if(n?a=u+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),r=(a=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/r)%2==0)return this.getValueAtTime(((u-l)%r+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(a/this.comp.globalData.frameRate,0),f=this.getValueAtTime((r-(u-l)%r+u)/this.comp.globalData.frameRate,0),h=Math.floor((u-l)/r)+1;if(this.pv.length){for(i=(s=new Array(p.length)).length,o=0;o1?(a+e-o)/(t-1):1,s=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;si){var u=s,p=n.c&&s===l-1?0:s+1,d=(i-c)/o[s].addedLength;r=bez.getPointInSegment(n.v[u],n.v[p],n.o[u],n.i[p],d,o[s]);break}c+=o[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),a=this.pointOnPath(e+.001,t),o=a[0]-r[0],i=a[1]-r[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(i,2));return 0===s?[0,0]:"tangent"===n?[o/s,i/s]:[-i/s,o/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],s),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=c?f<0?r:a:r+d*Math.pow((o-e)/f,1/n),u[p]=i,p+=1,s+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=n*Math.cos(r),o=n*Math.sin(r);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var a=createNS("feGaussianBlur");a.setAttribute("result",r),e.appendChild(a),this.feGaussianBlur=a}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t
* 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(e,t){(function(){var n,r="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",i=16,s=32,l=64,c=128,u=256,p=1/0,d=9007199254740991,f=NaN,h=4294967295,v=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",i],["flip",512],["partial",s],["partialRight",l],["rearg",u]],m="[object Arguments]",g="[object Array]",y="[object Boolean]",b="[object Date]",_="[object Error]",A="[object Function]",x="[object GeneratorFunction]",w="[object Map]",k="[object Number]",S="[object Object]",E="[object Promise]",P="[object RegExp]",C="[object Set]",T="[object String]",I="[object Symbol]",M="[object WeakMap]",R="[object ArrayBuffer]",O="[object DataView]",z="[object Float32Array]",D="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",N="[object Int32Array]",j="[object Uint8Array]",V="[object Uint8ClampedArray]",L="[object Uint16Array]",H="[object Uint32Array]",G=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,$=RegExp(W.source),Y=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),ae=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Pe="\\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",Ce="['’]",Te="[\\ud800-\\udfff]",Ie="["+Pe+"]",Me="["+xe+"]",Re="\\d+",Oe="[\\u2700-\\u27bf]",ze="["+ke+"]",De="[^\\ud800-\\udfff"+Pe+Re+we+ke+Se+"]",Fe="\\ud83c[\\udffb-\\udfff]",Be="[^\\ud800-\\udfff]",Ne="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Se+"]",Le="(?:"+ze+"|"+De+")",He="(?:"+Ve+"|"+De+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ue="(?:"+Me+"|"+Fe+")"+"?",We="[\\ufe0e\\ufe0f]?",Ke=We+Ue+("(?:\\u200d(?:"+[Be,Ne,je].join("|")+")"+We+Ue+")*"),$e="(?:"+[Oe,Ne,je].join("|")+")"+Ke,Ye="(?:"+[Be+Me+"?",Me,Ne,je,Te].join("|")+")",Je=RegExp(Ce,"g"),Qe=RegExp(Me,"g"),Xe=RegExp(Fe+"(?="+Fe+")|"+Ye+Ke,"g"),Ze=RegExp([Ve+"?"+ze+"+"+Ge+"(?="+[Ie,Ve,"$"].join("|")+")",He+"+"+qe+"(?="+[Ie,Ve+Le,"$"].join("|")+")",Ve+"?"+Le+"+"+Ge,Ve+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,$e].join("|"),"g"),et=RegExp("[\\u200d\\ud800-\\udfff"+xe+Ee+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["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"],rt=-1,at={};at[z]=at[D]=at[F]=at[B]=at[N]=at[j]=at[V]=at[L]=at[H]=!0,at[m]=at[g]=at[R]=at[y]=at[O]=at[b]=at[_]=at[A]=at[w]=at[k]=at[S]=at[P]=at[C]=at[T]=at[M]=!1;var ot={};ot[m]=ot[g]=ot[R]=ot[O]=ot[y]=ot[b]=ot[z]=ot[D]=ot[F]=ot[B]=ot[N]=ot[w]=ot[k]=ot[S]=ot[P]=ot[C]=ot[T]=ot[I]=ot[j]=ot[V]=ot[L]=ot[H]=!0,ot[_]=ot[A]=ot[M]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,lt=parseInt,ct="object"==_typeof2(commonjsGlobal)&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,ut="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,pt=ct||ut||Function("return this")(),dt=t&&!t.nodeType&&t,ft=dt&&e&&!e.nodeType&&e,ht=ft&&ft.exports===dt,vt=ht&&ct.process,mt=function(){try{var e=ft&&ft.require&&ft.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(t){}}(),gt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,bt=mt&&mt.isMap,_t=mt&&mt.isRegExp,At=mt&&mt.isSet,xt=mt&&mt.isTypedArray;function wt(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 kt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function It(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function Zt(e,t){for(var n=e.length;n--&&jt(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var tn=qt({"À":"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"}),nn=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function rn(e){return"\\"+it[e]}function an(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,r=e.length,a=0,i=[];++n",""":'"',"'":"'"});var hn=function e(t){var oe=(t=null==t?pt:hn.defaults(pt.Object(),t,hn.pick(pt,nt))).Array,xe=t.Date,we=t.Error,ke=t.Function,Se=t.Math,Ee=t.Object,Pe=t.RegExp,Ce=t.String,Te=t.TypeError,Ie=oe.prototype,Me=ke.prototype,Re=Ee.prototype,Oe=t["__core-js_shared__"],ze=Me.toString,De=Re.hasOwnProperty,Fe=0,Be=function(){var e=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ne=Re.toString,je=ze.call(Ee),Ve=pt._,Le=Pe("^"+ze.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=ht?t.Buffer:n,Ge=t.Symbol,qe=t.Uint8Array,Ue=He?He.allocUnsafe:n,We=sn(Ee.getPrototypeOf,Ee),Ke=Ee.create,$e=Re.propertyIsEnumerable,Ye=Ie.splice,Xe=Ge?Ge.isConcatSpreadable:n,et=Ge?Ge.iterator:n,it=Ge?Ge.toStringTag:n,ct=function(){try{var e=po(Ee,"defineProperty");return e({},"",{}),e}catch(t){}}(),ut=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,dt=xe&&xe.now!==pt.Date.now&&xe.now,ft=t.setTimeout!==pt.setTimeout&&t.setTimeout,vt=Se.ceil,mt=Se.floor,Ft=Ee.getOwnPropertySymbols,qt=He?He.isBuffer:n,vn=t.isFinite,mn=Ie.join,gn=sn(Ee.keys,Ee),yn=Se.max,bn=Se.min,_n=xe.now,An=t.parseInt,xn=Se.random,wn=Ie.reverse,kn=po(t,"DataView"),Sn=po(t,"Map"),En=po(t,"Promise"),Pn=po(t,"Set"),Cn=po(t,"WeakMap"),Tn=po(Ee,"create"),In=Cn&&new Cn,Mn={},Rn=Ho(kn),On=Ho(Sn),zn=Ho(En),Dn=Ho(Pn),Fn=Ho(Cn),Bn=Ge?Ge.prototype:n,Nn=Bn?Bn.valueOf:n,jn=Bn?Bn.toString:n;function Vn(e){if(os(e)&&!$i(e)&&!(e instanceof qn)){if(e instanceof Gn)return e;if(De.call(e,"__wrapped__"))return Go(e)}return new Gn(e)}var Ln=function(){function e(){}return function(t){if(!as(t))return{};if(Ke)return Ke(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hn(){}function Gn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,r,a,o,i){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=o?r(e,a,o,i):r(e)),s!==n)return s;if(!as(e))return e;var p=$i(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Ta(e,s)}else{var d=vo(e),f=d==A||d==x;if(Xi(e))return wa(e,l);if(d==S||d==m||f&&!o){if(s=c||f?{}:go(e),!l)return c?function(e,t){return Ia(e,ho(e),t)}(e,function(e,t){return e&&Ia(t,Fs(t),e)}(s,e)):function(e,t){return Ia(e,fo(e),t)}(e,ar(s,e))}else{if(!ot[d])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case R:return ka(e);case y:case b:return new r(+e);case O:return function(e,t){var n=t?ka(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case z:case D:case F:case B:case N:case j:case V:case L:case H:return Sa(e,n);case w:return new r;case k:case T:return new r(e);case P:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case C:return new r;case I:return a=e,Nn?Ee(Nn.call(a)):{}}var a}(e,d,l)}}i||(i=new Yn);var h=i.get(e);if(h)return h;i.set(e,s),us(e)?e.forEach((function(n){s.add(lr(n,t,r,n,e,i))})):is(e)&&e.forEach((function(n,a){s.set(a,lr(n,t,r,a,e,i))}));var v=p?n:(u?c?ao:ro:c?Fs:Ds)(e);return St(v||e,(function(n,a){v&&(n=e[a=n]),tr(s,a,lr(n,t,r,a,e,i))})),s}function cr(e,t,r){var a=r.length;if(null==e)return!a;for(e=Ee(e);a--;){var o=r[a],i=t[o],s=e[o];if(s===n&&!(o in e)||!i(s))return!1}return!0}function ur(e,t,a){if("function"!=typeof e)throw new Te(r);return Ro((function(){e.apply(n,a)}),t)}function pr(e,t,n,r){var a=-1,o=Tt,i=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Mt(t,Yt(n))),r?(o=It,i=!1):t.length>=200&&(o=Qt,i=!1,t=new $n(t));e:for(;++a-1},Wn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(Sn||Wn),string:new Un}},Kn.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return co(this,e).get(e)},Kn.prototype.has=function(e){return co(this,e).has(e)},Kn.prototype.set=function(e,t){var n=co(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,a),this},$n.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var dr=Oa(_r),fr=Oa(Ar,!0);function hr(e,t){var n=!0;return dr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function vr(e,t,r){for(var a=-1,o=e.length;++a0&&n(s)?t>1?gr(s,t-1,n,r,a):Rt(a,s):r||(a[a.length]=s)}return a}var yr=za(),br=za(!0);function _r(e,t){return e&&yr(e,t,Ds)}function Ar(e,t){return e&&br(e,t,Ds)}function xr(e,t){return Ct(t,(function(t){return ts(e[t])}))}function wr(e,t){for(var r=0,a=(t=ba(t,e)).length;null!=e&&rt}function Pr(e,t){return null!=e&&De.call(e,t)}function Cr(e,t){return null!=e&&t in Ee(e)}function Tr(e,t,r){for(var a=r?It:Tt,o=e[0].length,i=e.length,s=i,l=oe(i),c=1/0,u=[];s--;){var p=e[s];s&&t&&(p=Mt(p,Yt(t))),c=bn(p.length,c),l[s]=!r&&(t||o>=120&&p.length>=120)?new $n(s&&p):n}p=e[0];var d=-1,f=l[0];e:for(;++d=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ur(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&Ye.call(s,l,1),Ye.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;bo(a)?Ye.call(e,a,1):pa(e,a)}}return e}function $r(e,t){return e+mt(xn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Oo(Po(e,t,sl),e+"")}function Qr(e){return Qn(qs(e))}function Xr(e,t){var n=qs(e);return Fo(n,sr(t,0,n.length))}function Zr(e,t,r,a){if(!as(e))return e;for(var o=-1,i=(t=ba(t,e)).length,s=i-1,l=e;null!=l&&++oa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=oe(a);++r>>1,i=e[o];null!==i&&!ds(i)&&(n?i<=t:i=200){var c=t?null:Ya(e);if(c)return cn(c);i=!1,a=Qt,l=new $n}else l=t?[]:s;e:for(;++r=a?e:ra(e,t,r)}var xa=ut||function(e){return pt.clearTimeout(e)};function wa(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function ka(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function Sa(e,t){var n=t?ka(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ea(e,t){if(e!==t){var r=e!==n,a=null===e,o=e==e,i=ds(e),s=t!==n,l=null===t,c=t==t,u=ds(t);if(!l&&!u&&!i&&e>t||i&&s&&c&&!l&&!u||a&&s&&c||!r&&c||!o)return 1;if(!a&&!i&&!u&&e1?r[o-1]:n,s=o>2?r[2]:n;for(i=e.length>3&&"function"==typeof i?(o--,i):n,s&&_o(r[0],r[1],s)&&(i=o<3?n:i,o=1),t=Ee(t);++a-1?o[i?t[s]:s]:n}}function ja(e){return no((function(t){var a=t.length,o=a,i=Gn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Te(r);if(i&&!l&&"wrapper"==io(s))var l=new Gn([],!0)}for(o=l?o:a;++o1&&y.reverse(),d&&ul))return!1;var u=i.get(e),p=i.get(t);if(u&&p)return u==t&&p==e;var d=-1,f=!0,h=2&r?new $n:n;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return St(v,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(le):[]}(r),n)))}function Do(e){var t=0,r=0;return function(){var a=_n(),o=16-(a-r);if(r=a,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Fo(e,t){var r=-1,a=e.length,o=a-1;for(t=t===n?a:t;++r1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ci(e,r)}));function mi(e){var t=Vn(e);return t.__chain__=!0,t}function gi(e,t){return t(e)}var yi=no((function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&a instanceof qn&&bo(r)?((a=a.slice(r,+r+(t?1:0))).__actions__.push({func:gi,args:[o],thisArg:n}),new Gn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)}));var bi=Ma((function(e,t,n){De.call(e,n)?++e[n]:or(e,n,1)}));var _i=Na(Ko),Ai=Na($o);function xi(e,t){return($i(e)?St:dr)(e,lo(t,3))}function wi(e,t){return($i(e)?Et:fr)(e,lo(t,3))}var ki=Ma((function(e,t,n){De.call(e,n)?e[n].push(t):or(e,n,[t])}));var Si=Jr((function(e,t,n){var r=-1,a="function"==typeof t,o=Ji(e)?oe(e.length):[];return dr(e,(function(e){o[++r]=a?wt(t,e,n):Ir(e,t,n)})),o})),Ei=Ma((function(e,t,n){or(e,n,t)}));function Pi(e,t){return($i(e)?Mt:jr)(e,lo(t,3))}var Ci=Ma((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ti=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_o(e,t[0],t[1])?t=[]:n>2&&_o(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,gr(t,1),[])})),Ii=dt||function(){return pt.Date.now()};function Mi(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Qa(e,c,n,n,n,n,t)}function Ri(e,t){var a;if("function"!=typeof t)throw new Te(r);return e=ys(e),function(){return--e>0&&(a=t.apply(this,arguments)),e<=1&&(t=n),a}}var Oi=Jr((function(e,t,n){var r=1;if(n.length){var a=ln(n,so(Oi));r|=s}return Qa(e,r,t,n,a)})),zi=Jr((function(e,t,n){var r=3;if(n.length){var a=ln(n,so(zi));r|=s}return Qa(t,r,e,n,a)}));function Di(e,t,a){var o,i,s,l,c,u,p=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new Te(r);function v(t){var r=o,a=i;return o=i=n,p=t,l=e.apply(a,r)}function m(e){return p=e,c=Ro(y,t),d?v(e):l}function g(e){var r=e-u;return u===n||r>=t||r<0||f&&e-p>=s}function y(){var e=Ii();if(g(e))return b(e);c=Ro(y,function(e){var n=t-(e-u);return f?bn(n,s-(e-p)):n}(e))}function b(e){return c=n,h&&o?v(e):(o=i=n,l)}function _(){var e=Ii(),r=g(e);if(o=arguments,i=this,u=e,r){if(c===n)return m(u);if(f)return xa(c),c=Ro(y,t),v(u)}return c===n&&(c=Ro(y,t)),l}return t=_s(t)||0,as(a)&&(d=!!a.leading,s=(f="maxWait"in a)?yn(_s(a.maxWait)||0,t):s,h="trailing"in a?!!a.trailing:h),_.cancel=function(){c!==n&&xa(c),p=0,o=u=i=c=n},_.flush=function(){return c===n?l:b(Ii())},_}var Fi=Jr((function(e,t){return ur(e,1,t)})),Bi=Jr((function(e,t,n){return ur(e,_s(t)||0,n)}));function Ni(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(r);var n=function n(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Ni.Cache||Kn),n}function ji(e){if("function"!=typeof e)throw new Te(r);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)}}Ni.Cache=Kn;var Vi=_a((function(e,t){var n=(t=1==t.length&&$i(t[0])?Mt(t[0],Yt(lo())):Mt(gr(t,1),Yt(lo()))).length;return Jr((function(r){for(var a=-1,o=bn(r.length,n);++a=t})),Ki=Mr(function(){return arguments}())?Mr:function(e){return os(e)&&De.call(e,"callee")&&!$e.call(e,"callee")},$i=oe.isArray,Yi=gt?Yt(gt):function(e){return os(e)&&Sr(e)==R};function Ji(e){return null!=e&&rs(e.length)&&!ts(e)}function Qi(e){return os(e)&&Ji(e)}var Xi=qt||_l,Zi=yt?Yt(yt):function(e){return os(e)&&Sr(e)==b};function es(e){if(!os(e))return!1;var t=Sr(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ls(e)}function ts(e){if(!as(e))return!1;var t=Sr(e);return t==A||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ns(e){return"number"==typeof e&&e==ys(e)}function rs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function as(e){var t=_typeof2(e);return null!=e&&("object"==t||"function"==t)}function os(e){return null!=e&&"object"==_typeof2(e)}var is=bt?Yt(bt):function(e){return os(e)&&vo(e)==w};function ss(e){return"number"==typeof e||os(e)&&Sr(e)==k}function ls(e){if(!os(e)||Sr(e)!=S)return!1;var t=We(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ze.call(n)==je}var cs=_t?Yt(_t):function(e){return os(e)&&Sr(e)==P};var us=At?Yt(At):function(e){return os(e)&&vo(e)==C};function ps(e){return"string"==typeof e||!$i(e)&&os(e)&&Sr(e)==T}function ds(e){return"symbol"==_typeof2(e)||os(e)&&Sr(e)==I}var fs=xt?Yt(xt):function(e){return os(e)&&rs(e.length)&&!!at[Sr(e)]};var hs=Wa(Nr),vs=Wa((function(e,t){return e<=t}));function ms(e){if(!e)return[];if(Ji(e))return ps(e)?pn(e):Ta(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=vo(e);return(t==w?on:t==C?cn:qs)(e)}function gs(e){return e?(e=_s(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ys(e){var t=gs(e),n=t%1;return t==t?n?t-n:t:0}function bs(e){return e?sr(ys(e),0,h):0}function _s(e){if("number"==typeof e)return e;if(ds(e))return f;if(as(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=as(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=$t(e);var n=ve.test(e);return n||ge.test(e)?lt(e.slice(2),n?2:8):he.test(e)?f:+e}function As(e){return Ia(e,Fs(e))}function xs(e){return null==e?"":ca(e)}var ws=Ra((function(e,t){if(ko(t)||Ji(t))Ia(t,Ds(t),e);else for(var n in t)De.call(t,n)&&tr(e,n,t[n])})),ks=Ra((function(e,t){Ia(t,Fs(t),e)})),Ss=Ra((function(e,t,n,r){Ia(t,Fs(t),e,r)})),Es=Ra((function(e,t,n,r){Ia(t,Ds(t),e,r)})),Ps=no(ir);var Cs=Jr((function(e,t){e=Ee(e);var r=-1,a=t.length,o=a>2?t[2]:n;for(o&&_o(t[0],t[1],o)&&(a=1);++r1),t})),Ia(e,ao(e),n),r&&(n=lr(n,7,eo));for(var a=t.length;a--;)pa(n,t[a]);return n}));var Vs=no((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Ls(e,t){if(null==e)return{};var n=Mt(ao(e),(function(e){return[e]}));return t=lo(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Hs=Ja(Ds),Gs=Ja(Fs);function qs(e){return null==e?[]:Jt(e,Ds(e))}var Us=Fa((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return el(xs(e).toLowerCase())}function Ks(e){return(e=xs(e))&&e.replace(be,tn).replace(Qe,"")}var $s=Fa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Fa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Js=Da("toLowerCase");var Qs=Fa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Fa((function(e,t,n){return e+(n?" ":"")+el(t)}));var Zs=Fa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),el=Da("toUpperCase");function tl(e,t,r){return e=xs(e),(t=r?n:t)===n?function(e){return tt.test(e)}(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var nl=Jr((function(e,t){try{return wt(e,n,t)}catch(r){return es(r)?r:new we(r)}})),rl=no((function(e,t){return St(t,(function(t){t=Lo(t),or(e,t,Oi(e[t],e))})),e}));function al(e){return function(){return e}}var ol=ja(),il=ja(!0);function sl(e){return e}function ll(e){return Dr("function"==typeof e?e:lr(e,1))}var cl=Jr((function(e,t){return function(n){return Ir(n,e,t)}})),ul=Jr((function(e,t){return function(n){return Ir(e,n,t)}}));function pl(e,t,n){var r=Ds(t),a=xr(t,r);null!=n||as(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=xr(t,Ds(t)));var o=!(as(n)&&"chain"in n&&!n.chain),i=ts(e);return St(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=Ta(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function dl(){}var fl=Ga(Mt),hl=Ga(Pt),vl=Ga(Dt);function ml(e){return Ao(e)?Gt(Lo(e)):function(e){return function(t){return wr(t,e)}}(e)}var gl=Ua(),yl=Ua(!0);function bl(){return[]}function _l(){return!1}var Al=Ha((function(e,t){return e+t}),0),xl=$a("ceil"),wl=Ha((function(e,t){return e/t}),1),kl=$a("floor");var Sl,El=Ha((function(e,t){return e*t}),1),Pl=$a("round"),Cl=Ha((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Te(r);return e=ys(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Mi,Vn.assign=ws,Vn.assignIn=ks,Vn.assignInWith=Ss,Vn.assignWith=Es,Vn.at=Ps,Vn.before=Ri,Vn.bind=Oi,Vn.bindAll=rl,Vn.bindKey=zi,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return $i(e)?e:[e]},Vn.chain=mi,Vn.chunk=function(e,t,r){t=(r?_o(e,t,r):t===n)?1:yn(ys(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,i=0,s=oe(vt(a/t));oo?0:o+r),(a=a===n||a>o?o:ys(a))<0&&(a+=o),a=r>a?0:bs(a);r>>0)?(e=xs(e))&&("string"==typeof t||null!=t&&!cs(t))&&!(t=ca(t))&&an(e)?Aa(pn(e),0,r):e.split(t,r):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Te(r);return t=null==t?0:yn(ys(t),0),Jr((function(n){var r=n[t],a=Aa(n,0,t);return r&&Rt(a,r),wt(e,this,a)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?ra(e,1,t):[]},Vn.take=function(e,t,r){return e&&e.length?ra(e,0,(t=r||t===n?1:ys(t))<0?0:t):[]},Vn.takeRight=function(e,t,r){var a=null==e?0:e.length;return a?ra(e,(t=a-(t=r||t===n?1:ys(t)))<0?0:t,a):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?fa(e,lo(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?fa(e,lo(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var a=!0,o=!0;if("function"!=typeof e)throw new Te(r);return as(n)&&(a="leading"in n?!!n.leading:a,o="trailing"in n?!!n.trailing:o),Di(e,t,{leading:a,maxWait:t,trailing:o})},Vn.thru=gi,Vn.toArray=ms,Vn.toPairs=Hs,Vn.toPairsIn=Gs,Vn.toPath=function(e){return $i(e)?Mt(e,Lo):ds(e)?[e]:Ta(Vo(xs(e)))},Vn.toPlainObject=As,Vn.transform=function(e,t,n){var r=$i(e),a=r||Xi(e)||fs(e);if(t=lo(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:as(e)&&ts(o)?Ln(We(e)):{}}return(a?St:_r)(e,(function(e,r,a){return t(n,e,r,a)})),n},Vn.unary=function(e){return Mi(e,1)},Vn.union=oi,Vn.unionBy=ii,Vn.unionWith=si,Vn.uniq=function(e){return e&&e.length?ua(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?ua(e,lo(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?ua(e,n,t):[]},Vn.unset=function(e,t){return null==e||pa(e,t)},Vn.unzip=li,Vn.unzipWith=ci,Vn.update=function(e,t,n){return null==e?e:da(e,t,ya(n))},Vn.updateWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:da(e,t,ya(r),a)},Vn.values=qs,Vn.valuesIn=function(e){return null==e?[]:Jt(e,Fs(e))},Vn.without=ui,Vn.words=tl,Vn.wrap=function(e,t){return Li(ya(t),e)},Vn.xor=pi,Vn.xorBy=di,Vn.xorWith=fi,Vn.zip=hi,Vn.zipObject=function(e,t){return ma(e||[],t||[],tr)},Vn.zipObjectDeep=function(e,t){return ma(e||[],t||[],Zr)},Vn.zipWith=vi,Vn.entries=Hs,Vn.entriesIn=Gs,Vn.extend=ks,Vn.extendWith=Ss,pl(Vn,Vn),Vn.add=Al,Vn.attempt=nl,Vn.camelCase=Us,Vn.capitalize=Ws,Vn.ceil=xl,Vn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=_s(r))==r?r:0),t!==n&&(t=(t=_s(t))==t?t:0),sr(_s(e),t,r)},Vn.clone=function(e){return lr(e,4)},Vn.cloneDeep=function(e){return lr(e,5)},Vn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:n)},Vn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:n)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Ds(t))},Vn.deburr=Ks,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=wl,Vn.endsWith=function(e,t,r){e=xs(e),t=ca(t);var a=e.length,o=r=r===n?a:sr(ys(r),0,a);return(r-=t.length)>=0&&e.slice(r,o)==t},Vn.eq=qi,Vn.escape=function(e){return(e=xs(e))&&Y.test(e)?e.replace(K,nn):e},Vn.escapeRegExp=function(e){return(e=xs(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Vn.every=function(e,t,r){var a=$i(e)?Pt:hr;return r&&_o(e,t,r)&&(t=n),a(e,lo(t,3))},Vn.find=_i,Vn.findIndex=Ko,Vn.findKey=function(e,t){return Bt(e,lo(t,3),_r)},Vn.findLast=Ai,Vn.findLastIndex=$o,Vn.findLastKey=function(e,t){return Bt(e,lo(t,3),Ar)},Vn.floor=kl,Vn.forEach=xi,Vn.forEachRight=wi,Vn.forIn=function(e,t){return null==e?e:yr(e,lo(t,3),Fs)},Vn.forInRight=function(e,t){return null==e?e:br(e,lo(t,3),Fs)},Vn.forOwn=function(e,t){return e&&_r(e,lo(t,3))},Vn.forOwnRight=function(e,t){return e&&Ar(e,lo(t,3))},Vn.get=Is,Vn.gt=Ui,Vn.gte=Wi,Vn.has=function(e,t){return null!=e&&mo(e,t,Pr)},Vn.hasIn=Ms,Vn.head=Jo,Vn.identity=sl,Vn.includes=function(e,t,n,r){e=Ji(e)?e:qs(e),n=n&&!r?ys(n):0;var a=e.length;return n<0&&(n=yn(a+n,0)),ps(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&jt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:ys(n);return a<0&&(a=yn(r+a,0)),jt(e,t,a)},Vn.inRange=function(e,t,r){return t=gs(t),r===n?(r=t,t=0):r=gs(r),function(e,t,n){return e>=bn(t,n)&&e=-9007199254740991&&e<=d},Vn.isSet=us,Vn.isString=ps,Vn.isSymbol=ds,Vn.isTypedArray=fs,Vn.isUndefined=function(e){return e===n},Vn.isWeakMap=function(e){return os(e)&&vo(e)==M},Vn.isWeakSet=function(e){return os(e)&&"[object WeakSet]"==Sr(e)},Vn.join=function(e,t){return null==e?"":mn.call(e,t)},Vn.kebabCase=$s,Vn.last=ei,Vn.lastIndexOf=function(e,t,r){var a=null==e?0:e.length;if(!a)return-1;var o=a;return r!==n&&(o=(o=ys(r))<0?yn(a+o,0):bn(o,a-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Nt(e,Lt,o,!0)},Vn.lowerCase=Ys,Vn.lowerFirst=Js,Vn.lt=hs,Vn.lte=vs,Vn.max=function(e){return e&&e.length?vr(e,sl,Er):n},Vn.maxBy=function(e,t){return e&&e.length?vr(e,lo(t,2),Er):n},Vn.mean=function(e){return Ht(e,sl)},Vn.meanBy=function(e,t){return Ht(e,lo(t,2))},Vn.min=function(e){return e&&e.length?vr(e,sl,Nr):n},Vn.minBy=function(e,t){return e&&e.length?vr(e,lo(t,2),Nr):n},Vn.stubArray=bl,Vn.stubFalse=_l,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=El,Vn.nth=function(e,t){return e&&e.length?Gr(e,ys(t)):n},Vn.noConflict=function(){return pt._===this&&(pt._=Ve),this},Vn.noop=dl,Vn.now=Ii,Vn.pad=function(e,t,n){e=xs(e);var r=(t=ys(t))?un(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return qa(mt(a),n)+e+qa(vt(a),n)},Vn.padEnd=function(e,t,n){e=xs(e);var r=(t=ys(t))?un(e):0;return t&&rt){var a=e;e=t,t=a}if(r||e%1||t%1){var o=xn();return bn(e+o*(t-e+st("1e-"+((o+"").length-1))),t)}return $r(e,t)},Vn.reduce=function(e,t,n){var r=$i(e)?Ot:Ut,a=arguments.length<3;return r(e,lo(t,4),n,a,dr)},Vn.reduceRight=function(e,t,n){var r=$i(e)?zt:Ut,a=arguments.length<3;return r(e,lo(t,4),n,a,fr)},Vn.repeat=function(e,t,r){return t=(r?_o(e,t,r):t===n)?1:ys(t),Yr(xs(e),t)},Vn.replace=function(){var e=arguments,t=xs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,r){var a=-1,o=(t=ba(t,e)).length;for(o||(o=1,e=n);++ad)return[];var n=h,r=bn(e,h);t=lo(t),e-=h;for(var a=Kt(r,t);++n=i)return e;var l=r-un(a);if(l<1)return a;var c=s?Aa(s,0,l).join(""):e.slice(0,l);if(o===n)return c+a;if(s&&(l+=c.length-l),cs(o)){if(e.slice(l).search(o)){var u,p=c;for(o.global||(o=Pe(o.source,xs(fe.exec(o))+"g")),o.lastIndex=0;u=o.exec(p);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(e.indexOf(ca(o),l)!=l){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+a},Vn.unescape=function(e){return(e=xs(e))&&$.test(e)?e.replace(W,fn):e},Vn.uniqueId=function(e){var t=++Fe;return xs(e)+t},Vn.upperCase=Zs,Vn.upperFirst=el,Vn.each=xi,Vn.eachRight=wi,Vn.first=Jo,pl(Vn,(Sl={},_r(Vn,(function(e,t){De.call(Vn.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),Vn.VERSION="2.4.0",St(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),St(["drop","take"],(function(e,t){qn.prototype[e]=function(r){r=r===n?1:yn(ys(r),0);var a=this.__filtered__&&!t?new qn(this):this.clone();return a.__filtered__?a.__takeCount__=bn(r,a.__takeCount__):a.__views__.push({size:bn(r,h),type:e+(a.__dir__<0?"Right":"")}),a},qn.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;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:lo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),St(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),St(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(sl)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Ir(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(ji(lo(e)))},qn.prototype.slice=function(e,t){e=ys(e);var r=this;return r.__filtered__&&(e>0||t<0)?new qn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=ys(t))<0?r.dropRight(-t):r.take(t-e)),r)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(h)},_r(qn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),o=Vn[a?"take"+("last"==t?"Right":""):t],i=a||/^find/.test(t);o&&(Vn.prototype[t]=function(){var t=this.__wrapped__,s=a?[1]:arguments,l=t instanceof qn,c=s[0],u=l||$i(t),p=function(e){var t=o.apply(Vn,Rt([e],s));return a&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,f=!!this.__actions__.length,h=i&&!d,v=l&&!f;if(!i&&u){t=v?t:new qn(this);var m=e.apply(t,s);return m.__actions__.push({func:gi,args:[p],thisArg:n}),new Gn(m,d)}return h&&v?e.apply(this,s):(m=this.thru(p),h?a?m.value()[0]:m.value():m)})})),St(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply($i(a)?a:[],e)}return this[n]((function(n){return t.apply($i(n)?n:[],e)}))}})),_r(qn.prototype,(function(e,t){var n=Vn[t];if(n){var r=n.name+"";De.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}})),Mn[Va(n,2).name]=[{name:"wrapper",func:n}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Ta(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ta(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ta(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=$i(e),r=t<0,a=n?e.length:0,o=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,r=this;r instanceof Hn;){var a=Go(r);a.__index__=0,a.__values__=n,t?o.__wrapped__=a:t=a;var o=a;r=r.__wrapped__}return o.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:gi,args:[ai],thisArg:n}),new Gn(t,this.__chain__)}return this.thru(ai)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return ha(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,et&&(Vn.prototype[et]=function(){return this}),Vn}();ft?((ft.exports=hn)._=hn,dt._=hn):pt._=hn}).call(commonjsGlobal)}(lodash,lodash.exports);var _export_sfc=function(e,t){var n,r=e.__vccOpts||e,a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var o=_slicedToArray(n.value,2),i=o[0],s=o[1];r[i]=s}}catch(l){a.e(l)}finally{a.f()}return r},_sfc_main=defineComponent({props:{animationData:{type:Object,default:function(){return{}}},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:function(){return{}}}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup:function(e,t){var n=t.emit,r=ref(null),a=ref(""),o=1,i=function(){var t=_asyncToGenerator(regeneratorRuntime.mark((function t(a){var i,s,l,c,u,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.autoPlay,e.playOnHover&&(i=!1),s={},!1===lodash.exports.isEqual(e.animationData,{})&&(s=lodash.exports.cloneDeep(e.animationData)),""==e.animationLink){t.next=19;break}return t.prev=5,t.next=8,fetch(e.animationLink);case 8:return l=t.sent,t.next=11,l.json();case 11:c=t.sent,s=c,t.next=19;break;case 15:return t.prev=15,t.t0=t.catch(5),console.error(t.t0),t.abrupt("return");case 19:"number"==typeof(u=e.loop)&&u>0&&(u-=1),e.delay>0&&(i=!1),p={container:a,renderer:e.renderer,loop:u,autoplay:i,animationData:s},!1===lodash.exports.isEqual(e.rendererSettings,{})&&(p.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(p),setTimeout((function(){i=e.autoPlay,e.playOnHover?r.pause():i?r.play():r.pause(),n("onAnimationLoaded")}),e.delay),r.setSpeed(e.speed),"reverse"===e.direction&&r.setDirection(-1),"normal"===e.direction&&r.setDirection(1),(e.pauseAnimation||e.playOnHover)&&r.pause(),r.addEventListener("loopComplete",(function(){"alternate"===e.direction&&(r.stop(),o*=-1,r.setDirection(o),r.play()),n("onLoopComplete")})),r.addEventListener("complete",(function(){n("onComplete")})),r.addEventListener("enterFrame",(function(){n("onEnterFrame")})),r.addEventListener("segmentStart",(function(){n("onSegmentStart")}));case 34:case"end":return t.stop()}}),t,null,[[5,15]])})));return function(e){return t.apply(this,arguments)}}(),s=computed((function(){var t=e.width,n=e.height;return"number"==typeof e.width&&(t="".concat(e.width,"px")),"number"==typeof e.height&&(n="".concat(e.height,"px")),{"--lottie-animation-container-width":t,"--lottie-animation-container-height":n,"--lottie-animation-container-background-color":e.backgroundColor}}));watch((function(){return e.pauseAnimation}),(function(){(e.pauseOnHover||e.playOnHover)&&e.pauseAnimation?console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover"):r&&(e.pauseAnimation?r.pause():r.play())}));var l=function(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,a=0;a0&&void 0!==arguments[0]?arguments[0]:1;if(e<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(e)},setDirection:function(e){r&&("forward"===e?r.setDirection(1):"reverse"===e&&r.setDirection(-1))},goToAndStop:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r&&r.goToAndStop(e,t)},goToAndPlay:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r&&r.goToAndPlay(e,t)},playSegments:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r&&r.playSegments(e,t)},setSubFrame:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];r&&r.setSubframe(e)},getDuration:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(r)return r.getDuration(e)},updateDocumentData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r&&r.renderer.elements[t].updateDocumentData(e)}}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,n,r,a,o){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=function(){return e.hoverStarted&&e.hoverStarted.apply(e,arguments)}),onMouseleave:t[1]||(t[1]=function(){return e.hoverEnded&&e.hoverEnded.apply(e,arguments)})},null,44,_hoisted_1)}var Vue3Lottie=exports("V",_export_sfc(_sfc_main,[["render",_sfc_render]]));function install(e,t){var n=Object.assign({},{name:"Vue3Lottie"},t);e.component("".concat(n.name),Vue3Lottie)}var plugin=exports("h",{version:"2.4.0",install:install}),v="5.7.1",fr=60,ip=0,op=49,w=180,h=180,nm="蚂蚁刷新",ddd=0,assets=[{id:"image_0",w:32,h:36,u:"",p:"data:image/png;base64,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",e:1},{id:"image_1",w:104,h:103,u:"",p:"data:image/png;base64,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",e:1}],layers=[{ddd:0,ind:1,ty:4,nm:"形状图层 3",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[50.466,41.239,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[-105.026,97.953,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}],e:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8,s:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}],e:[{i:[[.741,.453],[4.1,-.475],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.842,-.003],[-.624,.886],[.51,1.203]],o:[[-2.249,-1.375],[-2.478,.287],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.428,.002],[.932,-1.324],[-.388,-.916]],v:[[28.76,-30.58],[19.256,-31.863],[13.493,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.958,-25.744],[24.143,-21.524],[28.831,-20.791],[32.332,-22.209],[32.606,-26.651]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:23,s:[{i:[[.741,.453],[4.1,-.475],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.842,-.003],[-.624,.886],[.51,1.203]],o:[[-2.249,-1.375],[-2.478,.287],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.428,.002],[.932,-1.324],[-.388,-.916]],v:[[28.76,-30.58],[19.256,-31.863],[13.493,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.958,-25.744],[24.143,-21.524],[28.831,-20.791],[32.332,-22.209],[32.606,-26.651]],c:!0}],e:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31,s:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}],e:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:49,s:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}],e:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:57,s:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}],e:[{i:[[.674,.548],[3.612,-.078],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.802,.384],[-.624,.886],[.17,1.003]],o:[[-1.929,-1.568],[-2.494,.054],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.183,-.252],[.932,-1.324],[-.166,-.981]],v:[[29.831,-29.177],[20.387,-31.48],[13.731,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.72,-25.617],[24.143,-21.524],[28.712,-20.919],[32.154,-22.464],[32.546,-26.14]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:72,s:[{i:[[.674,.548],[3.612,-.078],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.802,.384],[-.624,.886],[.17,1.003]],o:[[-1.929,-1.568],[-2.494,.054],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.183,-.252],[.932,-1.324],[-.166,-.981]],v:[[29.831,-29.177],[20.387,-31.48],[13.731,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.72,-25.617],[24.143,-21.524],[28.712,-20.919],[32.154,-22.464],[32.546,-26.14]],c:!0}],e:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:80,s:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}],e:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}]},{t:98}],ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.447058853449,.133333333333,.035294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-.472,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:180,st:0,cp:!0,bm:0},{ddd:0,ind:3,ty:4,nm:"形状图层 1",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[52.591,41.239,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[105.026,97.953,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}],e:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:8,s:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}],e:[{i:[[.741,.453],[4.1,-.475],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.842,-.003],[-.624,.886],[.51,1.203]],o:[[-2.249,-1.375],[-2.478,.287],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.428,.002],[.932,-1.324],[-.388,-.916]],v:[[28.76,-30.58],[19.256,-31.863],[13.493,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.958,-25.744],[24.143,-21.524],[28.831,-20.791],[32.332,-22.209],[32.606,-26.651]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:23,s:[{i:[[.741,.453],[4.1,-.475],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.842,-.003],[-.624,.886],[.51,1.203]],o:[[-2.249,-1.375],[-2.478,.287],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.428,.002],[.932,-1.324],[-.388,-.916]],v:[[28.76,-30.58],[19.256,-31.863],[13.493,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.958,-25.744],[24.143,-21.524],[28.831,-20.791],[32.332,-22.209],[32.606,-26.651]],c:!0}],e:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:31,s:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}],e:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:49,s:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}],e:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:57,s:[{i:[[.552,.671],[4.593,-.166],[1.963,-1.16],[.527,-1.054],[-.625,-1.25],[0,0],[-2.529,4.951],[-1.42,-.303],[-.948,-.736],[-2.533,.099],[-.821,.744],[.14,1.068]],o:[[-1.533,-1.865],[-2.738,.099],[-1.116,.66],[-2.408,4.812],[.625,1.25],[0,0],[.871,-1.705],[1.483,.317],[1.09,.846],[1.724,-.067],[.495,-.449],[-.137,-1.044]],v:[[31.735,-32.494],[20.905,-35.342],[13.505,-33.516],[10.977,-30.609],[8.253,-20.384],[10.887,-20.312],[13.101,-29.31],[17.12,-31.092],[21.753,-27.258],[28.068,-25.521],[32.332,-27.154],[32.815,-29.684]],c:!0}],e:[{i:[[.674,.548],[3.612,-.078],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.802,.384],[-.624,.886],[.17,1.003]],o:[[-1.929,-1.568],[-2.494,.054],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.183,-.252],[.932,-1.324],[-.166,-.981]],v:[[29.831,-29.177],[20.387,-31.48],[13.731,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.72,-25.617],[24.143,-21.524],[28.712,-20.919],[32.154,-22.464],[32.546,-26.14]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:72,s:[{i:[[.674,.548],[3.612,-.078],[1.088,-.742],[.711,-1.233],[-.922,-1.05],[0,0],[-3.304,4.605],[-.795,-2.012],[-1.129,-.407],[-1.802,.384],[-.624,.886],[.17,1.003]],o:[[-1.929,-1.568],[-2.494,.054],[-1.205,1.055],[-1.197,2.076],[.821,.935],[0,0],[1.18,-1.645],[.899,2.275],[1.594,.576],[1.183,-.252],[.932,-1.324],[-.166,-.981]],v:[[29.831,-29.177],[20.387,-31.48],[13.731,-29.374],[10.45,-25.672],[8.432,-20.256],[10.292,-20.376],[14.283,-26.543],[19.72,-25.617],[24.143,-21.524],[28.712,-20.919],[32.154,-22.464],[32.546,-26.14]],c:!0}],e:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:80,s:[{i:[[.789,.364],[3.847,-1.112],[1.569,-1.705],[.527,-1.054],[-.589,-1.267],[0,0],[-2.888,4.861],[-1.357,-.517],[-1.474,-.144],[-1.91,.877],[-.187,1.607],[.662,.764]],o:[[-2.286,-1.054],[-2.293,.663],[-.855,.929],[-2.408,4.812],[.643,1.381],[0,0],[.906,-1.525],[1.48,.563],[1.393,.136],[1.254,-.576],[.077,-.664],[-.647,-.747]],v:[[30.178,-34.211],[19.85,-34.366],[13.819,-30.865],[11.179,-27.569],[8.253,-20.384],[10.411,-20.44],[13.839,-27.233],[19.034,-28.105],[25.507,-25.889],[31.366,-26.584],[33.783,-29.741],[33.003,-32.165]],c:!0}],e:[{i:[[.648,.617],[3.423,-2.186],[1.457,-2.142],[.427,-1.424],[-.625,-1.25],[0,0],[-.875,5.125],[-1.517,.46],[-1.179,.129],[-1.14,.694],[-.834,.893],[-.089,1.662]],o:[[-1.804,-1.718],[-2.04,1.303],[-.828,1.218],[-1.545,5.154],[.625,1.25],[0,0],[.433,-2.536],[1.548,-.47],[1.462,-.161],[.748,-.456],[.308,-.329],[.077,-1.439]],v:[[25.858,-46.958],[16.996,-45.772],[11.534,-40.502],[9.376,-36.075],[8.125,-20.5],[10.375,-20.312],[10.798,-31.05],[13.243,-35.902],[19.625,-36.58],[23.37,-37.717],[25.699,-39.7],[26.822,-43.263]],c:!0}]},{t:98}],ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.447058853449,.133333333333,.035294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-.472,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:180,st:0,cp:!0,bm:0},{ddd:0,ind:4,ty:2,nm:"嘴巴2.png",cl:"png",parent:7,refId:"image_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[51,82.5,0],ix:2},a:{a:0,k:[16,18,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[130,100,100],e:[100,70,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:23,s:[100,70,100],e:[130,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:49,s:[130,100,100],e:[100,70,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:72,s:[100,70,100],e:[130,100,100]},{t:98}],ix:6}},ao:0,ip:0,op:180,st:0,cp:!1,bm:0},{ddd:0,ind:7,ty:2,nm:"脸蛋2.png",cl:"png",refId:"image_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.57,y:1},o:{x:.449,y:0},t:0,s:[90,158,0],e:[90,110,0],to:[0,-8,0],ti:[0,8.833,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:17,s:[90,110,0],e:[90,105,0],to:[0,-8.833,0],ti:[0,-8,0]},{i:{x:.597,y:1},o:{x:.432,y:0},t:23,s:[90,105,0],e:[90,158,0],to:[0,8,0],ti:[0,-8.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:41,s:[90,158,0],e:[90,158,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.571,y:1},o:{x:.449,y:0},t:49,s:[90,158,0],e:[90,110,0],to:[0,-8,0],ti:[0,8.833,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:66,s:[90,110,0],e:[90,105,0],to:[0,-8.833,0],ti:[0,-8,0]},{i:{x:.619,y:1},o:{x:.432,y:0},t:72,s:[90,105,0],e:[90,158,0],to:[0,8,0],ti:[0,-8.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:90,s:[90,158,0],e:[90,158,0],to:[0,0,0],ti:[0,0,0]},{t:98}],ix:2},a:{a:0,k:[52,100,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[100,85,100],e:[93,110,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:8,s:[93,110,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:17,s:[100,100,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:23,s:[100,100,100],e:[93,110,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:31,s:[93,110,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:41,s:[100,100,100],e:[100,85,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:49,s:[100,85,100],e:[93,110,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:57,s:[93,110,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:66,s:[100,100,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:72,s:[100,100,100],e:[93,110,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:80,s:[93,110,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[0,0,0]},t:90,s:[100,100,100],e:[100,85,100]},{t:98}],ix:6}},ao:0,ip:0,op:180,st:0,cp:!1,bm:0},{ddd:0,ind:8,ty:4,nm:"投影 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[90,160.5,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100],e:[50,50,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:23,s:[50,50,100],e:[100,100,100]},{t:49}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[60,9],ix:2},p:{a:0,k:[0,0],ix:3},nm:"椭圆路径 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[.949019610882,.839215695858,.72549021244,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"椭圆形",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:180,st:0,cp:!0,bm:0}],markers=[],AstronautJSON=exports("A",{v:v,fr:fr,ip:ip,op:op,w:w,h:h,nm:nm,ddd:ddd,assets:assets,layers:layers,markers:markers}),eventemitter3={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,o||e,i),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,o=r.length,i=new Array(o);a=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()1)return e(i[0])}else{var s=t.name;_[s]=t,a=s}return!r&&a&&(b=a),a||!r&&b},w=function(e,t){if(A(e))return e.clone();var n="object"==_typeof2(t)?t:{};return n.date=e,n.args=arguments,new S(n)},k=y;k.l=x,k.i=A,k.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var a=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return w(e)=g&&!o||"t"===o?(m+=f.abbreviations.trillion,t/=g):s=y&&!o||"b"===o?(m+=f.abbreviations.billion,t/=y):s=b&&!o||"m"===o?(m+=f.abbreviations.million,t/=b):(s=1e3&&!o||"k"===o)&&(m+=f.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(v=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],c=n.split(".")[1],p=n.indexOf(","),a=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),_=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):_=e._.toFixed(t,c.length,r),l=_.split(".")[0],_=e._.includes(_,".")?f.delimiters.decimal+_.split(".")[1]:"",v&&0===Number(_.slice(1))&&(_="")):l=e._.toFixed(t,0,r),m&&!o&&Number(l)>=1e3&&m!==f.abbreviations.trillion)switch(l=String(Number(l)/1e3),m){case f.abbreviations.thousand:m=f.abbreviations.million;break;case f.abbreviations.million:m=f.abbreviations.billion;break;case f.abbreviations.billion:m=f.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),A=!0),l.length0;x--)l="0"+l;return p>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===n.indexOf(".")&&(l=""),d=l+_+(m||""),h?d=(h&&A?"(":"")+d+(h&&A?")":""):u>=0?d=0===u?(A?"-":"+")+d:d+(A?"-":"+"):A&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,a=i[l.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return"number"==typeof e&&isNaN(e)})),includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),a=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=a)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r}),1)},toFixed:function(e,t,n,r){var a,o,i,s,l=e.toString().split("."),c=t-(r||0);return a=2===l.length?Math.min(Math.max(l[1].length,c),t):c,i=Math.pow(10,a),s=(n(e+"e+"+a)/i).toFixed(a),r>t-a&&(o=new RegExp("\\.?0{1,"+(r-(t-a))+"}$"),s=s.replace(o,"")),s}},e.options=l,e.formats=o,e.locales=i,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return i[l.currentLocale];if(e=e.toLowerCase(),!i[e])throw new Error("Unknown locale : "+e);return i[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,a,o,i,s,l,c,u;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(p){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,a="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(u=t.match(/^[^\d]+/))||(t=t.substr(1),u[0]===o))&&((null===(u=t.match(/[^\d]+$/))||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(a+"{2}"),!t.match(/[^\d.,]/g)&&(!((i=t.split(r)).length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/)))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,a,i,s=this._value,c=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)a=l.zeroFormat;else if(null===s&&null!==l.nullFormat)a=l.nullFormat;else{for(r in o)if(c.match(o[r].regexps.format)){i=o[r].format;break}a=(i=i||e._.numberToFormat)(s,c,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,r,a){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,r,a){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var a,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"BPS"),a=a.join("")):a=a+o+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a="("+(a=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(t,a,o){var i,s,l,c=e._.includes(a,"ib")?r:n,u=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),i=0;i<=c.suffixes.length;i++)if(s=Math.pow(c.base,i),l=Math.pow(c.base,i+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,a,o)+u},unformat:function(t){var a,o,i=e._.stringToNumber(t);if(i){for(a=n.suffixes.length-1;a>=0;a--){if(e._.includes(t,n.suffixes[a])){o=Math.pow(n.base,a);break}if(e._.includes(t,r.suffixes[a])){o=Math.pow(r.base,a);break}}i*=o||1}return i}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var a,o,i=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o=0;o--)switch(s.after[o]){case"$":a=o===s.after.length-1?a+i.currency.symbol:e._.insert(a,i.currency.symbol,-(s.after.length-(1+o)));break;case" ":a=o===s.after.length-1?a+" ":e._.insert(a," ",-(s.after.length-(1+o)+i.currency.symbol.length-1))}return a}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var a=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,r)+"e"+a[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),a=Number(n[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([r,Math.pow(10,a)],(function(t,n,r,a){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var a=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=a.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var a,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"%"),a=a.join("")):a=a+o+"%",a},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),a=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*a);return r+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e}))}(numeral$1);var numeral=numeral$1.exports;reactive({loadingCount:0});var browser=exports("e",(function(){var e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/),android:e.indexOf("ORCHESTRAAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("ORCHESTRAAPPI")>-1,isApp:e.indexOf("ORCHESTRAAPPI")>-1||e.indexOf("ORCHESTRAAPPA")>-1,isTeacher:e.indexOf("ORCHESTRATEACHER")>-1,isStudent:e.indexOf("ORCHESTRASTUDENT")>-1,isSchool:e.indexOf("ORCHESTRASCHOOL")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,alipay:e.indexOf("AlipayClient")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}})),getUrlCode=exports("bh",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"code",t=location.search,n=new Object;if(-1!=t.indexOf("?"))for(var r=t.substr(1),a=r.split("&"),o=0;o1&&void 0!==arguments[1]?arguments[1]:"0,0.00";return numeral(e).format(t)})),getSecondRPM=exports("b4",(function(e,t){if(isNaN(e))return"00:00";var n=Math.floor(e/60).toString().padStart(2,"0"),r=Math.floor(e%60).toString().padStart(2,"0");return"cn"===t?n+"分"+r+"秒":n+":"+r})),formatterDatePicker=exports("aj",(function(e,t){return"year"===e&&(t.text+="年"),"month"===e&&(t.text+="月"),"day"===e&&(t.text+="日"),t})),hasSymbol="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.toStringTag),PolySymbol=function(e){return hasSymbol?Symbol(e):"_vr_"+e},matchedRouteKey=PolySymbol("rvlm"),viewDepthKey=PolySymbol("rvd"),routerKey=PolySymbol("r"),routeLocationKey=PolySymbol("rl"),routerViewLocationKey=PolySymbol("rvl"),isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||hasSymbol&&"Module"===e[Symbol.toStringTag]}var assign$1=Object.assign;function applyToParams(e,t){var n={};for(var r in t){var a=t[r];n[r]=Array.isArray(a)?a.map(e):e(a)}return n}var noop=function(){},TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=function(e){return e.replace(TRAILING_SLASH_RE,"")},NavigationType,NavigationDirection;function parseURL(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",a={},o="",i="",s=t.indexOf("?"),l=t.indexOf("#",s>-1?s:0);return s>-1&&(n=t.slice(0,s),a=e(o=t.slice(s+1,l>-1?l:t.length))),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),{fullPath:(n=resolveRelativePath(null!=n?n:t,r))+(o&&"?")+o+i,path:n,query:a,hash:i}}function stringifyURL(e,t){var n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){var r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&isSameRouteRecord(t.matched[r],n.matched[a])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return Array.isArray(e)?isEquivalentArray(e,t):Array.isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return e===t[n]})):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;var n,r,a=t.split("/"),o=e.split("/"),i=a.length-1;for(n=0;n-1){var i=a.includes(e.slice(o))?e.slice(o).length:1,s=a.slice(i);return"/"!==s[0]&&(s="/"+s),stripBase(s,"")}return stripBase(n,e)+r+a}function useHistoryListeners(e,t,n,r){var a=[],o=[],i=null,s=function(o){var s=o.state,l=createCurrentLocation(e,location),c=n.value,u=t.value,p=0;if(s){if(n.value=l,t.value=s,i&&i===c)return void(i=null);p=u?s.position-u.position:0}else r(l);a.forEach((function(e){e(n.value,c,{delta:p,type:NavigationType.pop,direction:p?p>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function l(){var e=window.history;e.state&&e.replaceState(assign$1({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:function(){i=n.value},listen:function(e){a.push(e);var t=function(){var t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t},destroy:function(){var e,t=_createForOfIteratorHelper(o);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(n){t.e(n)}finally{t.f()}o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}function buildState(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?computeScrollPosition():null}}function useHistoryStateNavigation(e){var t=window,n=t.history,r=t.location,a={value:createCurrentLocation(e,r)},o={value:n.state};function i(t,a,i){var s=e.indexOf("#"),l=s>-1?(r.host&&document.querySelector("base")?e:e.slice(s))+t:createBaseLocation()+e+t;try{n[i?"replaceState":"pushState"](a,"",l),o.value=a}catch(c){console.error(c),r[i?"replace":"assign"](l)}}return o.value||i(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:a,state:o,push:function(e,t){var r=assign$1({},o.value,n.state,{forward:e,scroll:computeScrollPosition()});i(r.current,r,!0),i(e,assign$1({},buildState(a.value,e,null),{position:r.position+1},t),!1),a.value=e},replace:function(e,t){i(e,assign$1({},n.state,buildState(o.value.back,e,o.value.forward,!0),t,{position:o.value.position}),!0),a.value=e}}}function createWebHistory(e){var t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);var r=assign$1({location:"",base:e,go:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(r,"state",{enumerable:!0,get:function(){return t.state.value}}),r}function createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"===_typeof2(e)}function isRouteName(e){return"string"==typeof e||"symbol"===_typeof2(e)}var START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=PolySymbol("nf"),NavigationFailureType;function createRouterError(e,t){return assign$1(new Error,_defineProperty2({type:e},NavigationFailureSymbol,!0),t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(NavigationFailureType||(NavigationFailureType={}));var BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){var n,r=assign$1({},BASE_PATH_PARSER_OPTIONS,t),a=[],o=r.start?"^":"",i=[],s=_createForOfIteratorHelper(e);try{for(s.s();!(n=s.n()).done;){var l=n.value,c=l.length?[]:[90];r.strict&&!l.length&&(o+="/");for(var u=0;ut.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){for(var n=0,r=e.score,a=t.score;n1&&("*"===s||"+"===s)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),n.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function d(){c+=s}for(;l-1&&(n.splice(a,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function i(e){for(var t=0;t=0;)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&r.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return a(e)})),{addRoute:a,resolve:function(e,t){var a,o,i,s={};if("name"in e&&e.name){if(!(a=r.get(e.name)))throw createRouterError(1,{location:e});i=a.record.name,s=assign$1(paramsFromLocation(t.params,a.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}))),e.params),o=a.stringify(s)}else if("path"in e)o=e.path,(a=n.find((function(e){return e.re.test(o)})))&&(s=a.parse(o),i=a.record.name);else{if(!(a=t.name?r.get(t.name):n.find((function(e){return e.re.test(t.path)}))))throw createRouterError(1,{location:e,currentLocation:t});i=a.record.name,s=assign$1({},t.params,e.params),o=a.stringify(s)}for(var l=[],c=a;c;)l.unshift(c.record),c=c.parent;return{name:i,path:o,params:s,matched:l,meta:mergeMetaFields(l)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function paramsFromLocation(e,t){var n,r={},a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;o in e&&(r[o]=e[o])}}catch(i){a.e(i)}finally{a.f()}return r}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function normalizeRecordProps(e){var t={},n=e.props||!1;if("component"in e)t.default=n;else for(var r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((function(e,t){return assign$1(e,t.meta)}),{})}function mergeOptions(e,t){var n={};for(var r in e)n[r]=r in t?t[r]:e[r];return n}var HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$2(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){var t={};if(""===e||"?"===e)return t;for(var n=("?"===e[0]?e.slice(1):e).split("&"),r=0;r-1&&e.splice(n,1)}},list:function(){return e},reset:function(){e=[]}}}function guardToPromiseFn(e,t,n,r,a){var o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return function(){return new Promise((function(i,s){var l=function(e){!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(o&&r.enterCallbacks[a]===o&&"function"==typeof e&&o.push(e),i())},c=e.call(r&&r.instances[a],t,n,l),u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((function(e){return s(e)}))}))}}function extractComponentsGuards(e,t,n,r){var a,o=[],i=_createForOfIteratorHelper(e);try{var s=function(){var e=a.value,i=function(a){var i=e.components[a];if("beforeRouteEnter"!==t&&!e.instances[a])return"continue";if(isRouteComponent(i)){var s=(i.__vccOpts||i)[t];s&&o.push(guardToPromiseFn(s,n,r,e,a))}else{var l=i();o.push((function(){return l.then((function(o){if(!o)return Promise.reject(new Error("Couldn't resolve component \"".concat(a,'" at "').concat(e.path,'"')));var i=isESModule(o)?o.default:o;e.components[a]=i;var s=(i.__vccOpts||i)[t];return s&&guardToPromiseFn(s,n,r,e,a)()}))}))}};for(var s in e.components)i(s)};for(i.s();!(a=i.n()).done;)s()}catch(l){i.e(l)}finally{i.f()}return o}function isRouteComponent(e){return"object"===_typeof2(e)||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){var t=inject(routerKey),n=inject(routeLocationKey),r=computed((function(){return t.resolve(unref(e.to))})),a=computed((function(){var e=r.value.matched,t=e.length,a=e[t-1],o=n.matched;if(!a||!o.length)return-1;var i=o.findIndex(isSameRouteRecord.bind(null,a));if(i>-1)return i;var s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(a)===s&&o[o.length-1].path!==s?o.findIndex(isSameRouteRecord.bind(null,e[t-2])):i})),o=computed((function(){return a.value>-1&&includesParams(n.params,r.value.params)})),i=computed((function(){return a.value>-1&&a.value===n.matched.length-1&&isSameRouteLocationParams(n.params,r.value.params)}));return{route:r,href:computed((function(){return r.value.href})),isActive:o,isExactActive:i,navigate:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return guardEvent(n)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop):Promise.resolve()}}}var RouterLinkImpl=defineComponent({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink,setup:function(e,t){var n=t.slots,r=reactive(useLink(e)),a=inject(routerKey).options,o=computed((function(){var t;return _defineProperty2(t={},getLinkClass(e.activeClass,a.linkActiveClass,"router-link-active"),r.isActive),_defineProperty2(t,getLinkClass(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active"),r.isExactActive),t}));return function(){var t=n.default&&n.default(r);return e.custom?t:h$1("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},t)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){var n=function(n){var r=t[n],a=e[n];if("string"==typeof r){if(r!==a)return{v:!1}}else if(!Array.isArray(a)||a.length!==r.length||r.some((function(e,t){return e!==a[t]})))return{v:!1}};for(var r in t){var a=n(r);if("object"===_typeof2(a))return a.v}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var getLinkClass=function(e,t,n){return null!=e?e:null!=t?t:n},RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(e,t){var n=t.attrs,r=t.slots,a=inject(routerViewLocationKey),o=computed((function(){return e.route||a.value})),i=inject(viewDepthKey,0),s=computed((function(){return o.value.matched[i]}));provide(viewDepthKey,i+1),provide(matchedRouteKey,s),provide(routerViewLocationKey,o);var l=ref();return watch((function(){return[l.value,s.value,e.name]}),(function(e,t){var n=_slicedToArray(e,3),r=n[0],a=n[1],o=n[2],i=_slicedToArray(t,3),s=i[0],l=i[1];i[2];a&&(a.instances[o]=r,l&&l!==a&&r&&r===s&&(a.leaveGuards.size||(a.leaveGuards=l.leaveGuards),a.updateGuards.size||(a.updateGuards=l.updateGuards))),!r||!a||l&&isSameRouteRecord(a,l)&&s||(a.enterCallbacks[o]||[]).forEach((function(e){return e(r)}))}),{flush:"post"}),function(){var t=o.value,a=s.value,i=a&&a.components[e.name],c=e.name;if(!i)return normalizeSlot(r.default,{Component:i,route:t});var u=a.props[e.name],p=u?!0===u?t.params:"function"==typeof u?u(t):u:null,d=h$1(i,assign$1({},p,n,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(a.instances[c]=null)},ref:l}));return normalizeSlot(r.default,{Component:d,route:t})||d}}});function normalizeSlot(e,t){if(!e)return null;var n=e(t);return 1===n.length?n[0]:n}var RouterView=RouterViewImpl;function createRouter(e){var t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,r=e.stringifyQuery||stringifyQuery,a=e.history,o=useCallbacks(),i=useCallbacks(),s=useCallbacks(),l=shallowRef(START_LOCATION_NORMALIZED),c=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var u,p=applyToParams.bind(null,(function(e){return""+e})),d=applyToParams.bind(null,encodeParam),f=applyToParams.bind(null,decode$2);function h(e,o){if(o=assign$1({},o||l.value),"string"==typeof e){var i=parseURL(n,e,o.path),s=t.resolve({path:i.path},o),c=a.createHref(i.fullPath);return assign$1(i,s,{params:f(s.params),hash:decode$2(i.hash),redirectedFrom:void 0,href:c})}var u;if("path"in e)u=assign$1({},e,{path:parseURL(n,e.path,o.path).path});else{var h=assign$1({},e.params);for(var v in h)null==h[v]&&delete h[v];u=assign$1({},e,{params:d(e.params)}),o.params=d(o.params)}var m=t.resolve(u,o),g=e.hash||"";m.params=p(f(m.params));var y=stringifyURL(r,assign$1({},e,{hash:encodeHash(g),path:m.path})),b=a.createHref(y);return assign$1({fullPath:y,hash:g,query:r===stringifyQuery?normalizeQuery(e.query):e.query||{}},m,{redirectedFrom:void 0,href:b})}function v(e){return"string"==typeof e?parseURL(n,e,l.value.path):assign$1({},e)}function m(e,t){if(c!==e)return createRouterError(8,{from:t,to:e})}function g(e){return b(e)}function y(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var n=t.redirect,r="function"==typeof n?n(e):n;return"string"==typeof r&&((r=r.includes("?")||r.includes("#")?r=v(r):{path:r}).params={}),assign$1({query:e.query,hash:e.hash,params:e.params},r)}}function b(e,t){var n=c=h(e),a=l.value,o=e.state,i=e.force,s=!0===e.replace,u=y(n);if(u)return b(assign$1(v(u),{state:o,force:i,replace:s}),t||n);var p,d=n;return d.redirectedFrom=t,!i&&isSameRouteLocation(r,a,n)&&(p=createRouterError(16,{to:d,from:a}),T(a,a,!0,!1)),(p?Promise.resolve(p):A(d,a)).catch((function(e){return isNavigationFailure(e)?e:P(e,d,a)})).then((function(e){if(e){if(isNavigationFailure(e,2))return b(assign$1(v(e.to),{state:o,force:i,replace:s}),t||d)}else e=w(d,a,!0,s,o);return x(d,a,e),e}))}function _(e,t){var n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function A(e,t){var n,r=_slicedToArray(extractChangingRecords(e,t),3),a=r[0],s=r[1],l=r[2];n=extractComponentsGuards(a.reverse(),"beforeRouteLeave",e,t);var c,u=_createForOfIteratorHelper(a);try{for(u.s();!(c=u.n()).done;){c.value.leaveGuards.forEach((function(r){n.push(guardToPromiseFn(r,e,t))}))}}catch(d){u.e(d)}finally{u.f()}var p=_.bind(null,e,t);return n.push(p),runGuardQueue(n).then((function(){n=[];var r,a=_createForOfIteratorHelper(o.list());try{for(a.s();!(r=a.n()).done;){var i=r.value;n.push(guardToPromiseFn(i,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){n=extractComponentsGuards(s,"beforeRouteUpdate",e,t);var r,a=_createForOfIteratorHelper(s);try{for(a.s();!(r=a.n()).done;){r.value.updateGuards.forEach((function(r){n.push(guardToPromiseFn(r,e,t))}))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){n=[];var r,a=_createForOfIteratorHelper(e.matched);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.beforeEnter&&!t.matched.includes(o))if(Array.isArray(o.beforeEnter)){var i,s=_createForOfIteratorHelper(o.beforeEnter);try{for(s.s();!(i=s.n()).done;){var l=i.value;n.push(guardToPromiseFn(l,e,t))}}catch(d){s.e(d)}finally{s.f()}}else n.push(guardToPromiseFn(o.beforeEnter,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){return e.matched.forEach((function(e){return e.enterCallbacks={}})),(n=extractComponentsGuards(l,"beforeRouteEnter",e,t)).push(p),runGuardQueue(n)})).then((function(){n=[];var r,a=_createForOfIteratorHelper(i.list());try{for(a.s();!(r=a.n()).done;){var o=r.value;n.push(guardToPromiseFn(o,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).catch((function(e){return isNavigationFailure(e,8)?e:Promise.reject(e)}))}function x(e,t,n){var r,a=_createForOfIteratorHelper(s.list());try{for(a.s();!(r=a.n()).done;){(0,r.value)(e,t,n)}}catch(o){a.e(o)}finally{a.f()}}function w(e,t,n,r,o){var i=m(e,t);if(i)return i;var s=t===START_LOCATION_NORMALIZED,c=isBrowser?history.state:{};n&&(r||s?a.replace(e.fullPath,assign$1({scroll:s&&c&&c.scroll},o)):a.push(e.fullPath,o)),l.value=e,T(e,t,n,s),C()}var k,S=useCallbacks(),E=useCallbacks();function P(e,t,n){C(e);var r=E.list();return r.length?r.forEach((function(r){return r(e,t,n)})):console.error(e),Promise.reject(e)}function C(e){k||(k=!0,u=a.listen((function(e,t,n){var r=h(e),o=y(r);if(o)b(assign$1(o,{replace:!0}),r).catch(noop);else{c=r;var i=l.value;isBrowser&&saveScrollPosition(getScrollKey(i.fullPath,n.delta),computeScrollPosition()),A(r,i).catch((function(e){return isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(b(e.to,r).then((function(e){isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&a.go(-1,!1)})).catch(noop),Promise.reject()):(n.delta&&a.go(-n.delta,!1),P(e,r,i))})).then((function(e){(e=e||w(r,i,!1))&&(n.delta?a.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&a.go(-1,!1)),x(r,i,e)})).catch(noop)}})),S.list().forEach((function(t){var n=_slicedToArray(t,2),r=n[0],a=n[1];return e?a(e):r()})),S.reset())}function T(t,n,r,a){var o=e.scrollBehavior;if(!isBrowser||!o)return Promise.resolve();var i=!r&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return nextTick().then((function(){return o(t,n,i)})).then((function(e){return e&&scrollToPosition(e)})).catch((function(e){return P(e,t,n)}))}var I,M=function(e){return a.go(e)},R=new Set,O={currentRoute:l,addRoute:function(e,n){var r,a;return isRouteName(e)?(r=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,r)},removeRoute:function(e){var n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((function(e){return e.record}))},resolve:h,options:e,push:g,replace:function(e){return g(assign$1(v(e),{replace:!0}))},go:M,back:function(){return M(-1)},forward:function(){return M(1)},beforeEach:o.add,beforeResolve:i.add,afterEach:s.add,onError:E.add,isReady:function(){return k&&l.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((function(e,t){S.add([e,t])}))},install:function(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:function(){return unref(l)}}),isBrowser&&!I&&l.value===START_LOCATION_NORMALIZED&&(I=!0,g(a.location).catch((function(e){})));var t={},n=function(e){t[e]=computed((function(){return l.value[e]}))};for(var r in START_LOCATION_NORMALIZED)n(r);e.provide(routerKey,this),e.provide(routeLocationKey,reactive(t)),e.provide(routerViewLocationKey,l);var o=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=START_LOCATION_NORMALIZED,u&&u(),l.value=START_LOCATION_NORMALIZED,I=!1,k=!1),o()}}};return O}function runGuardQueue(e){return e.reduce((function(e,t){return e.then((function(){return t()}))}),Promise.resolve())}function extractChangingRecords(e,t){for(var n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length),i=function(o){var i=t.matched[o];i&&(e.matched.find((function(e){return isSameRouteRecord(e,i)}))?r.push(i):n.push(i));var s=e.matched[o];s&&(t.matched.find((function(e){return isSameRouteRecord(e,s)}))||a.push(s))},s=0;s1&&"boolean"!=typeof t)throw new $TypeError$1('"allowMissing" argument must be a boolean');var n=stringToPath(e),r=n.length>0?n[0]:"",a=getBaseIntrinsic("%"+r+"%",t),o=a.name,i=a.value,s=!1,l=a.alias;l&&(r=l[0],$spliceApply(n,$concat([0,1],l)));for(var c=1,u=!0;c=n.length){var h=$gOPD(i,p);i=(u=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[p]}else u=hasOwn$1(i,p),i=i[p];u&&!s&&(INTRINSICS[o]=i)}}return i},callBind$1={exports:{}};!function(t){var n=functionBind,r=getIntrinsic,a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||n.call(o,a),s=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=i(n,o,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var u=function(){return i(n,a,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u}(callBind$1);var GetIntrinsic$1=getIntrinsic,callBind=callBind$1.exports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(e,t){var n=GetIntrinsic$1(e,!!t);return"function"==typeof n&&$indexOf(e,".prototype.")>-1?callBind(n):n},__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1),hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap="function"==typeof WeakMap&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet="function"==typeof WeakSet&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef="function"==typeof WeakRef&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString$1=Object.prototype.toString,functionToString=Function.prototype.toString,match=String.prototype.match,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"===_typeof2(Symbol.iterator),isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),inspectCustom=require$$0.custom,inspectSymbol=inspectCustom&&isSymbol(inspectCustom)?inspectCustom:null,toStringTag="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null,objectInspect=function e(t,n,r,a){var o=n||{};if(has$3(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$3(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!has$3(o,"customInspect")||o.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$3(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===o.depth?5:o.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"===_typeof2(t))return isArray$4(t)?"[Array]":"[Object]";var l=getIndent(o,r);if(void 0===a)a=[];else if(indexOf(a,t)>=0)return"[Circular]";function c(t,n,i){if(n&&(a=a.slice()).push(n),i){var s={depth:o.depth};return has$3(o,"quoteStyle")&&(s.quoteStyle=o.quoteStyle),e(t,s,r+1,a)}return e(t,o,r+1,a)}if("function"==typeof t){var u=nameOf(t),p=arrObjKeys(t,c);return"[Function"+(u?": "+u:" (anonymous)")+"]"+(p.length>0?" { "+p.join(", ")+" }":"")}if(isSymbol(t)){var d=hasShammedSymbols?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(t);return"object"!==_typeof2(t)||hasShammedSymbols?d:markBoxed(d)}if(isElement(t)){for(var f="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],v=0;v",t.childNodes&&t.childNodes.length&&(f+="..."),f+=""+String(t.nodeName).toLowerCase()+">"}if(isArray$4(t)){if(0===t.length)return"[]";var m=arrObjKeys(t,c);return l&&!singleLineValues(m)?"["+indentedJoin(m,l)+"]":"[ "+m.join(", ")+" ]"}if(isError(t)){var g=arrObjKeys(t,c);return 0===g.length?"["+String(t)+"]":"{ ["+String(t)+"] "+g.join(", ")+" }"}if("object"===_typeof2(t)&&i){if(inspectSymbol&&"function"==typeof t[inspectSymbol])return t[inspectSymbol]();if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(isMap(t)){var y=[];return mapForEach.call(t,(function(e,n){y.push(c(n,t,!0)+" => "+c(e,t))})),collectionOf("Map",mapSize.call(t),y,l)}if(isSet(t)){var b=[];return setForEach.call(t,(function(e){b.push(c(e,t))})),collectionOf("Set",setSize.call(t),b,l)}if(isWeakMap(t))return weakCollectionOf("WeakMap");if(isWeakSet(t))return weakCollectionOf("WeakSet");if(isWeakRef(t))return weakCollectionOf("WeakRef");if(isNumber(t))return markBoxed(c(Number(t)));if(isBigInt(t))return markBoxed(c(bigIntValueOf.call(t)));if(isBoolean(t))return markBoxed(booleanValueOf.call(t));if(isString(t))return markBoxed(c(String(t)));if(!isDate$1(t)&&!isRegExp$1(t)){var _=arrObjKeys(t,c),A=gPO?gPO(t)===Object.prototype:t instanceof Object||t.constructor===Object,x=t instanceof Object?"":"null prototype",w=!A&&toStringTag&&Object(t)===t&&toStringTag in t?toStr(t).slice(8,-1):x?"Object":"",k=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(w||x?"["+[].concat(w||[],x||[]).join(": ")+"] ":"");return 0===_.length?k+"{}":l?k+"{"+indentedJoin(_,l)+"}":k+"{ "+_.join(", ")+" }"}return String(t)};function wrapQuotes(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function quote(e){return String(e).replace(/"/g,""")}function isArray$4(e){return!("[object Array]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isDate$1(e){return!("[object Date]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isRegExp$1(e){return!("[object RegExp]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isError(e){return!("[object Error]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isString(e){return!("[object String]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isNumber(e){return!("[object Number]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isBoolean(e){return!("[object Boolean]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isSymbol(t){if(hasShammedSymbols)return t&&"object"===_typeof2(t)&&t instanceof Symbol;if("symbol"===_typeof2(t))return!0;if(!t||"object"!==_typeof2(t)||!symToString)return!1;try{return symToString.call(t),!0}catch(e){}return!1}function isBigInt(t){if(!t||"object"!==_typeof2(t)||!bigIntValueOf)return!1;try{return bigIntValueOf.call(t),!0}catch(e){}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(e){return e in this};function has$3(e,t){return hasOwn.call(e,t)}function toStr(e){return objectToString$1.call(e)}function nameOf(e){if(e.name)return e.name;var t=match.call(functionToString.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return inspectString(e.slice(0,t.maxStringLength),t)+r}return wrapQuotes(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,lowbyte),"single",t)}function lowbyte(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,t,n,r){return e+" ("+t+") {"+(r?indentedJoin(n,r):n.join(", "))+"}"}function singleLineValues(e){for(var t=0;t=0)return!1;return!0}function getIndent(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}function indentedJoin(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function arrObjKeys(e,t){var n=isArray$4(e),r=[];if(n){r.length=e.length;for(var a=0;a1;){var t=e.pop(),n=t.obj[t.prop];if(isArray$3(n)){for(var r=[],a=0;a=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===formats$2.RFC1738&&(40===l||41===l)?i+=o.charAt(s):l<128?i+=hexTable[l]:l<2048?i+=hexTable[192|l>>6]+hexTable[128|63&l]:l<55296||l>=57344?i+=hexTable[224|l>>12]+hexTable[128|l>>6&63]+hexTable[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&o.charCodeAt(s)),i+=hexTable[240|l>>18]+hexTable[128|l>>12&63]+hexTable[128|l>>6&63]+hexTable[128|63&l])}return i},compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r0?m.join(",")||null:void 0}];else if(isArray$2(s))S=s;else{var P=Object.keys(m);S=l?P.sort(l):P}for(var C=0;C0?d+p:""},utils=utils$2,has=Object.prototype.hasOwnProperty,isArray$1=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(e){return e.replace(/(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},parseArrayValue=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(e,t){var n,r={},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=a.split(t.delimiter,o),s=-1,l=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(u=isArray$1(u)?[u]:u),has.call(r,c)?r[c]=utils.combine(r[c],u):r[c]=u}return r},parseObject=function(e,t,n,r){for(var a=r?t:parseArrayValue(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=a:"__proto__"!==l&&(i[l]=a):i={0:a}}a=i}return a},parseKeys=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,i=n.depth>0&&/(\[[^[\]]*])/.exec(a),s=i?a.slice(0,i.index):a,l=[];if(s){if(!n.plainObjects&&has.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var c=0;n.depth>0&&null!==(i=o.exec(a))&&c-1};function normalizeName(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function normalizeValue(e){return"string"!=typeof e&&(e=String(e)),e}function iteratorFor(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return support.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Headers(e){this.map={},e instanceof Headers?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function consumed(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function fileReaderReady(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function readBlobAsArrayBuffer(e){var t=new FileReader,n=fileReaderReady(t);return t.readAsArrayBuffer(e),n}function readBlobAsText(e){var t=new FileReader,n=fileReaderReady(t);return t.readAsText(e),n}function readArrayBufferAsText(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}function Request(e,t){if(!(this instanceof Request))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof Request){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Headers(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Headers(t.headers)),this.method=normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function decode(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function parseHeaders(e){var t=new Headers;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();t.append(r,a)}})),t}function Response(e,t){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Headers(t.headers),this.url=t.url||"",this._initBody(e)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})},Response.error=function(){var e=new Response(null,{status:0,statusText:""});return e.type="error",e};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(e,t){if(-1===redirectStatuses.indexOf(t))throw new RangeError("Invalid status code");return new Response(null,{status:t,headers:{location:e}})};var DOMException=global$1.DOMException;try{new DOMException}catch(err){DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},DOMException.prototype=Object.create(Error.prototype),DOMException.prototype.constructor=DOMException}function fetch$1(t,n){return new Promise((function(r,a){var o=new Request(t,n);if(o.signal&&o.signal.aborted)return a(new DOMException("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:parseHeaders(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;setTimeout((function(){r(new Response(t,e))}),0)},i.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){a(new DOMException("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&global$1.location.href?global$1.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(support.blob?i.responseType="blob":support.arrayBuffer&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!n||"object"!==_typeof2(n.headers)||n.headers instanceof Headers?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){i.setRequestHeader(e,normalizeValue(n.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread2(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1,defaultInstance:!1},r=!1,a=!1,o=!1;"number"==typeof n?(process&&process.env,r=!0,a=!1):"object"===_typeof(n)&&n&&(a=n.global||!1,r=n.core||!1,o=n.defaultInstance||!1),a?e.globalMiddlewares.splice(e.globalMiddlewares.length-e.defaultGlobalMiddlewaresLength,0,t):r?e.coreMiddlewares.splice(e.coreMiddlewares.length-e.defaultCoreMiddlewaresLength,0,t):o?this.defaultMiddlewares.push(t):this.middlewares.push(t)}},{key:"execute",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=compose([].concat(_toConsumableArray(this.middlewares),_toConsumableArray(this.defaultMiddlewares),_toConsumableArray(e.globalMiddlewares),_toConsumableArray(e.coreMiddlewares)));return n(t)}}]),e}();Onion.globalMiddlewares=[],Onion.defaultGlobalMiddlewaresLength=0,Onion.coreMiddlewares=[],Onion.defaultCoreMiddlewaresLength=0;var MapCache=function(){function e(t){_classCallCheck(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return _createClass(e,[{key:"extendOptions",value:function(e){this.maxCache=e.maxCache||0}},{key:"get",value:function(e){return this.cache.get(JSON.stringify(e))}},{key:"set",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var a=_toConsumableArray(this.cache.keys())[0];this.cache.delete(a),this.timer[a]&&clearTimeout(this.timer[a])}var o=JSON.stringify(e);this.cache.set(o,t),r>0&&(this.timer[o]=setTimeout((function(){n.cache.delete(o),delete n.timer[o]}),r))}},{key:"delete",value:function(e){var t=JSON.stringify(e);return delete this.timer[t],this.cache.delete(t)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),e}(),RequestError=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"RequestError";return _classCallCheck(this,n),(a=t.call(this,e)).name="RequestError",a.request=r,a.type=o,a}return n}(_wrapNativeSuper(Error)),ResponseError=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var i,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ResponseError";return _classCallCheck(this,n),(i=t.call(this,r||e.statusText)).name="ResponseError",i.data=a,i.response=e,i.request=o,i.type=s,i}return n}(_wrapNativeSuper(Error));function readerGBK(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){t(r.result)},r.onerror=n,r.readAsText(e,"GBK")}))}function safeJsonParse(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{return JSON.parse(t)}catch(e){if(n)throw new ResponseError(r,"JSON.parse fail",t,a,"ParseError")}return t}function timeout2Throw(e,t,n){return new Promise((function(r,a){setTimeout((function(){a(new RequestError(t||"timeout of ".concat(e,"ms exceeded"),n,"Timeout"))}),e)}))}function cancel2Throw(e){return new Promise((function(t,n){e.cancelToken&&e.cancelToken.promise.then((function(e){n(e)}))}))}var toString=Object.prototype.toString;function getEnv(){var e;return"undefined"!=typeof process&&"[object process]"===toString.call(process)&&(e="NODE"),"undefined"!=typeof XMLHttpRequest&&(e="BROWSER"),e}function isArray(e){return"object"===_typeof(e)&&"[object Array]"===Object.prototype.toString.call(e)}function isURLSearchParams(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function isDate(e){return"object"===_typeof(e)&&"[object Date]"===Object.prototype.toString.call(e)}function isObject(e){return null!==e&&"object"===_typeof(e)}function forEach2ObjArr(e,t){if(e)if("object"!==_typeof(e)&&(e=[e]),isArray(e))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=t.suffix;return n&&(e="".concat(n).concat(e)),r&&(e="".concat(e).concat(r)),{url:e,options:t}},warnedCoreType=!1;function __defaultValidateCache(e,t){var n=t.method;return"get"===(void 0===n?"get":n).toLowerCase()}function fetchMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=n.url,i=void 0===o?"":o,s=e.cache,l=e.responseInterceptors,c=a.timeout,u=void 0===c?0:c,p=a.timeoutMessage,d=a.__umiRequestCoreType__,f=void 0===d?"normal":d,h=a.useCache,v=void 0!==h&&h,m=a.method,g=void 0===m?"get":m,y=a.params,b=a.ttl,_=a.validateCache,A=void 0===_?__defaultValidateCache:_;if("normal"!==f)return process&&process.env,t();var x=fetch;if(!x)throw new Error("Global fetch not exist!");var w,k="BROWSER"===getEnv(),S=A(i,a)&&v&&k;if(S){var E=s.get({url:i,params:y,method:g});if(E)return(E=E.clone()).useCache=!0,e.res=E,t()}return w=u>0?Promise.race([cancel2Throw(a),x(i,a),timeout2Throw(u,p,e.req)]):Promise.race([cancel2Throw(a),x(i,a)]),l.forEach((function(e){w=w.then((function(t){var n="function"==typeof t.clone?t.clone():t;return e(n,a)}))})),w.then((function(n){if(S&&200===n.status){var r=n.clone();r.useCache=!0,s.set({url:i,params:y,method:g},r,b)}return e.res=n,t()}))}function parseResponseMiddleware(t,n){var r;return n().then((function(){if(t){var n=t.res,a=void 0===n?{}:n,o=t.req,i=void 0===o?{}:o,s=(i||{}).options,l=(s=void 0===s?{}:s).responseType,c=void 0===l?"json":l,u=s.charset,p=void 0===u?"utf8":u;s.getResponse;var d=s.throwErrIfParseFail,f=void 0!==d&&d,h=s.parseResponse;if((void 0===h||h)&&a&&a.clone){if((r="BROWSER"===getEnv()?a.clone():a).useCache=a.useCache||!1,"gbk"===p)try{return a.blob().then(readerGBK).then((function(e){return safeJsonParse(e,!1,r,i)}))}catch(e){throw new ResponseError(r,e.message,null,i,"ParseError")}else if("json"===c)return a.text().then((function(e){return safeJsonParse(e,f,r,i)}));try{return a[c]()}catch(e){throw new ResponseError(r,"responseType not support",null,i,"ParseError")}}}})).then((function(e){if(t){t.res;var n=t.req,a=void 0===n?{}:n,o=(a||{}).options,i=(o=void 0===o?{}:o).getResponse,s=void 0!==i&&i;if(r){if(r.status>=200&&r.status<300)return s?void(t.res={data:e,response:r}):void(t.res=e);throw new ResponseError(r,"http error",e,a,"HttpError")}}})).catch((function(e){if(e instanceof RequestError||e instanceof ResponseError)throw e;var n=t.req,r=t.res;throw e.request=e.request||n,e.response=e.response||r,e.type=e.type||e.name,e.data=e.data||void 0,e}))}function simplePostMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=a.method;if(-1===["post","put","patch","delete"].indexOf((void 0===o?"get":o).toLowerCase()))return t();var i=a.requestType,s=void 0===i?"json":i,l=a.data;if(l){var c=Object.prototype.toString.call(l);"[object Object]"===c||"[object Array]"===c?"json"===s?(a.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},a.headers),a.body=JSON.stringify(l)):"form"===s&&(a.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},a.headers),a.body=reqStringify(l)):(a.headers=_objectSpread2({Accept:"application/json"},a.headers),a.body=l)}return e.req.options=a,t()}function paramsSerialize(e,t){var n,r;if(e)if(t)n=t(e);else if(isURLSearchParams(e))n=e.toString();else{if(isArray(e))r=[],forEach2ObjArr(e,(function(e){null==e?r.push(e):r.push(isObject(e)?JSON.stringify(e):e)})),n=reqStringify(r);else r={},forEach2ObjArr(e,(function(e,t){var n=e;null==e?r[t]=e:isDate(e)?n=e.toISOString():isArray(e)?n=e:isObject(e)&&(n=JSON.stringify(e)),r[t]=n})),n=reqStringify(r)}return n}function simpleGetMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=a.paramsSerializer,i=a.params,s=e.req,l=(s=void 0===s?{}:s).url,c=void 0===l?"":l;a.method=a.method?a.method.toUpperCase():"GET",a.credentials=a.credentials||"same-origin";var u=paramsSerialize(i,o);if(e.req.originUrl=c,u){var p=-1!==c.indexOf("?")?"&":"?";e.req.url="".concat(c).concat(p).concat(u)}return e.req.options=a,t()}var globalMiddlewares=[simplePostMiddleware,simpleGetMiddleware,parseResponseMiddleware],coreMiddlewares=[fetchMiddleware];Onion.globalMiddlewares=globalMiddlewares,Onion.defaultGlobalMiddlewaresLength=globalMiddlewares.length,Onion.coreMiddlewares=coreMiddlewares,Onion.defaultCoreMiddlewaresLength=coreMiddlewares.length;var Core=function(){function t(e){_classCallCheck(this,t),this.onion=new Onion([]),this.fetchIndex=0,this.mapCache=new MapCache(e),this.initOptions=e,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return _createClass(t,[{key:"use",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1};return this.onion.use(e,t),this}},{key:"extendOptions",value:function(e){this.initOptions=mergeRequestOptions(this.initOptions,e),this.mapCache.extendOptions(e)}},{key:"dealRequestInterceptors",value:function(e){return[].concat(_toConsumableArray(t.requestInterceptors),_toConsumableArray(this.instanceRequestInterceptors)).reduce((function(t,n){return t.then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,n(e.req.url,e.req.options)}))}),Promise.resolve()).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,Promise.resolve()}))}},{key:"request",value:function(n,r){var a=this,o=this.onion,i={req:{url:n,options:_objectSpread2(_objectSpread2({},r),{},{url:n})},res:null,cache:this.mapCache,responseInterceptors:[].concat(_toConsumableArray(t.responseInterceptors),_toConsumableArray(this.instanceResponseInterceptors))};if("string"!=typeof n)throw new Error("url MUST be a string");return new Promise((function(t,n){a.dealRequestInterceptors(i).then((function(){return o.execute(i)})).then((function(){t(i.res)})).catch((function(r){var a=i.req.options.errorHandler;if(a)try{var o=a(r);t(o)}catch(e){n(e)}else n(r)}))}))}}],[{key:"requestUse",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");n.global?t.requestInterceptors.push(e):this.instanceRequestInterceptors.push(e)}},{key:"responseUse",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");n.global?t.responseInterceptors.push(e):this.instanceResponseInterceptors.push(e)}}]),t}();function Cancel(e){this.message=e}function CancelToken(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 Cancel(e),t(n.reason))}))}function isCancel(e){return!(!e||!e.__CANCEL__)}Core.requestInterceptors=[addfix],Core.responseInterceptors=[],Cancel.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Cancel.prototype.__CANCEL__=!0,CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.source=function(){var e;return{token:new CancelToken((function(t){e=t})),cancel:e}};var request$1=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Core(e),n=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=mergeRequestOptions(t.initOptions,n);return t.request(e,r)};n.use=t.use.bind(t),n.fetchIndex=t.fetchIndex,n.interceptors={request:{use:Core.requestUse.bind(t)},response:{use:Core.responseUse.bind(t)}};var r=["get","post","delete","put","patch","head","options","rpc"];return r.forEach((function(e){n[e]=function(t,r){return n(t,_objectSpread2(_objectSpread2({},r),{},{method:e}))}})),n.Cancel=Cancel,n.CancelToken=CancelToken,n.isCancel=isCancel,n.extendOptions=t.extendOptions.bind(t),n.middlewares={instance:t.onion.middlewares,defaultInstance:t.onion.defaultMiddlewares,global:Onion.globalMiddlewares,core:Onion.coreMiddlewares},n},extend=exports("bk",(function(e){return request$1(e)}));request$1({parseResponse:!1});var request$1$1=exports("bv",request$1({})),lodash_isempty={exports:{}};!function(t,n){var r=9007199254740991,a="[object Map]",o="[object Promise]",i="[object Set]",s="[object WeakMap]",l="[object DataView]",c=/^\[object .+?Constructor\]$/,u="object"==_typeof2(commonjsGlobal$1)&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,p="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,d=u||p||Function("return this")(),f=n&&!n.nodeType&&n,h=f&&t&&!t.nodeType&&t,v=h&&h.exports===f;var m=Function.prototype,g=Object.prototype,y=d["__core-js_shared__"],b=function(){var e=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),_=m.toString,A=g.hasOwnProperty,x=g.toString,w=RegExp("^"+_.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=v?d.Buffer:void 0,S=g.propertyIsEnumerable,E=k?k.isBuffer:void 0,P=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),C=V(d,"DataView"),T=V(d,"Map"),I=V(d,"Promise"),M=V(d,"Set"),R=V(d,"WeakMap"),O=!S.call({valueOf:1},"valueOf"),z=H(C),D=H(T),F=H(I),B=H(M),N=H(R);function j(t){if(!$(t)||(n=t,b&&b in n))return!1;var n,r=K(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}(t)?w:c;return r.test(H(t))}function V(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}var L=function(e){return x.call(e)};function H(t){if(null!=t){try{return _.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function G(e){return function(e){return function(e){return!!e&&"object"==_typeof2(e)}(e)&&U(e)}(e)&&A.call(e,"callee")&&(!S.call(e,"callee")||"[object Arguments]"==x.call(e))}(C&&L(new C(new ArrayBuffer(1)))!=l||T&&L(new T)!=a||I&&L(I.resolve())!=o||M&&L(new M)!=i||R&&L(new R)!=s)&&(L=function(e){var t=x.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?H(n):void 0;if(r)switch(r){case z:return l;case D:return a;case F:return o;case B:return i;case N:return s}return t});var q=Array.isArray;function U(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!K(e)}var W=E||function(){return!1};function K(e){var t=$(e)?x.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function $(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}t.exports=function(e){if(U(e)&&(q(e)||"string"==typeof e||"function"==typeof e.splice||W(e)||G(e)))return!e.length;var t=L(e);if(t==a||t==i)return!e.size;if(O||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||g)}(e))return!P(e).length;for(var n in e)if(A.call(e,n))return!1;return!0}}(lodash_isempty,lodash_isempty.exports);var objectTag="[object Object]";function isHostObject(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}function overArg(e,t){return function(n){return e(t(n))}}var funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object),objectToString=objectProto.toString,getPrototype=overArg(Object.getPrototypeOf,Object);function isObjectLike(e){return!!e&&"object"==_typeof2(e)}function isPlainObject$1(e){if(!isObjectLike(e)||objectToString.call(e)!=objectTag||isHostObject(e))return!1;var t=getPrototype(e);if(null===t)return!0;var n=hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&funcToString.call(n)==objectCtorString}var lodash_isplainobject=isPlainObject$1,lodash_transform={exports:{}};!function(t,n){var r="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",p="[object Map]",d="[object Number]",f="[object Object]",h="[object Promise]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",A="[object DataView]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/,k=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,E=/\\(\\)?/g,P=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[o]=T[i]=T[_]=T[s]=T[A]=T[l]=T[c]=T[u]=T[p]=T[d]=T[f]=T[v]=T[m]=T[g]=T[b]=!1;var I="object"==_typeof2(commonjsGlobal$1)&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,M="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,R=I||M||Function("return this")(),O=n&&!n.nodeType&&n,z=O&&t&&!t.nodeType&&t,D=z&&z.exports===O&&I.process,F=function(){try{return D&&D.binding("util")}catch(e){}}(),B=F&&F.isTypedArray;function N(e,t){for(var n=-1,r=e?e.length:0;++n-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},xe.prototype.clear=function(){this.__data__={hash:new _e,map:new(se||Ae),string:new _e}},xe.prototype.delete=function(e){return Ne(this,e).delete(e)},xe.prototype.get=function(e){return Ne(this,e).get(e)},xe.prototype.has=function(e){return Ne(this,e).has(e)},xe.prototype.set=function(e,t){return Ne(this,e).set(e,t),this},we.prototype.add=we.prototype.push=function(e){return this.__data__.set(e,r),this},we.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.clear=function(){this.__data__=new Ae},ke.prototype.delete=function(e){return this.__data__.delete(e)},ke.prototype.get=function(e){return this.__data__.get(e)},ke.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this;n=this.__data__=new xe(r)}return n.set(e,t),this};var Pe,Ce=function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var s=o[Pe?i:++r];if(!1===t(a[s],s,a))break}return e};function Te(e,t){return e&&Ce(e,t,it)}function Ie(e,t){for(var n=0,r=(t=He(t,e)?[t]:Fe(t)).length;null!=e&&ns))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,p=!0,d=1&a?new we:void 0;for(o.set(e,t),o.set(t,e);++u-1&&e%1==0&&e-1&&e%1==0&&e<=a}function tt(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}function nt(e){return!!e&&"object"==_typeof2(e)}function rt(e){return"symbol"==_typeof2(e)||nt(e)&&Q.call(e)==y}var at,ot=B?(at=B,function(e){return at(e)}):function(e){return nt(e)&&et(e.length)&&!!T[Q.call(e)]};function it(e){return Xe(e)?Se(e):De(e)}function st(e){return e}t.exports=function(e,t,n){var r,a=Qe(e)||ot(e);if(t=ze(t),null==n)if(a||tt(e)){var o=e.constructor;n=a?Qe(e)?new o:[]:Ze(o)?tt(r=te(e))?ne(r):{}:{}}else n={};return(a?N:Te)(e,(function(e,r,a){return t(n,e,r,a)})),n}}(lodash_transform,lodash_transform.exports);var isEmpty=lodash_isempty.exports,isPlainObject=lodash_isplainobject,transform=lodash_transform.exports,src=exports("bm",(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.cleanKeys,a=void 0===r?[]:r,o=n.cleanValues,i=void 0===o?[]:o,s=n.emptyArrays,l=void 0===s||s,c=n.emptyObjects,u=void 0===c||c,p=n.emptyStrings,d=void 0===p||p,f=n.NaNValues,h=void 0!==f&&f,v=n.nullValues,m=void 0===v||v,g=n.undefinedValues,y=void 0===g||g;return transform(t,(function(t,n,r){if(!a.includes(r)&&((Array.isArray(n)||isPlainObject(n))&&(n=e(n,{NaNValues:h,cleanKeys:a,cleanValues:i,emptyArrays:l,emptyObjects:u,emptyStrings:d,nullValues:m,undefinedValues:y})),!i.includes(n)&&!(u&&isPlainObject(n)&&isEmpty(n))&&(!l||!Array.isArray(n)||n.length)&&!(d&&""===n||h&&Number.isNaN(n)||m&&null===n||y&&void 0===n)))return Array.isArray(t)?t.push(n):void(t[r]=n)}))})),request=exports("m",extend({hideLoading:!0,timeout:2e4,timeoutMessage:"请求超时"})),initRequest=!1,toast;request.interceptors.request.use((function(e,t){var n,r;t.hideLoading||(clearTimeout(toast),baseEvent.emit("toastShow","center")),initRequest=t.initRequest||!1;var a=sessionStorage.getItem("Authorization")||"",o={};if(a&&!["/api-oauth/userlogin","/api-oauth/open/sendSms"].includes(e)&&(o.Authorization=a),null!=state&&null!==(n=state.user)&&void 0!==n&&null!==(r=n.data)&&void 0!==r&&r.schoolInfos){var i=(state.user.data.schoolInfos||[]).map((function(e){return e.id})).join(",");i&&(o.schoolId=i)}return{url:e,options:_objectSpread(_objectSpread({},t),{},{params:src(t.params),data:src(t.data),headers:_objectSpread(_objectSpread({},t.headers),o)})}}),{global:!1}),request.interceptors.response.use(function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var n,r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(toast=setTimeout((function(){baseEvent.emit("toastClose","center")}),100),!(t.status>299||t.status<200)){e.next=7;break}throw clearTimeout(toast),n="服务器错误,状态码"+t.status,baseEvent.emit("toastClose","center"),showToast(n),new Error(n);case 7:return e.next=9,t.clone().json();case 9:if(200===(r=e.sent).code||0===r.errCode||999===r.code){e.next=18;break}throw a=r.msg||r.message||"处理失败,请重试",initRequest&&(403===r.code||5e3===r.code?setLogout():setLoginError()),console.log(r.code,"5104"),403!==r.code&&5e3!==r.code&&(clearTimeout(toast),baseEvent.emit("toastClose","center"),showToast(a)),o=browser(),5e3===r.code&&(a+="5000",o.isApp?postMessage({api:"login"}):setLogout()),new Error(a);case 18:return e.abrupt("return",t);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{global:!1});var empty="./assets/emptyContent.04f9724b.png",__glob_5_0=Object.freeze(Object.defineProperty({__proto__:null,default:empty},Symbol.toStringTag,{value:"Module"})),emptyContent="./assets/emptyContent.04f9724b.png",__glob_5_1=Object.freeze(Object.defineProperty({__proto__:null,default:emptyContent},Symbol.toStringTag,{value:"Module"})),network="./assets/network.6d51555b.png",__glob_5_2=Object.freeze(Object.defineProperty({__proto__:null,default:network},Symbol.toStringTag,{value:"Module"})),notFond="./assets/notFond.78c3cc5e.png",__glob_5_3=Object.freeze(Object.defineProperty({__proto__:null,default:notFond},Symbol.toStringTag,{value:"Module"})),tips="_tips_uqenj_12",btn="_btn_uqenj_17",SMALL="_SMALL_uqenj_28",CERT="_CERT_uqenj_32",styles$1={"col-result":"_col-result_uqenj_1",tips:tips,btn:btn,SMALL:SMALL,CERT:CERT},getAssetsHomeFile=function(e){var t="./images/".concat(e);return{"./images/empty.png":__glob_5_0,"./images/emptyContent.png":__glob_5_1,"./images/network.png":__glob_5_2,"./images/notFond.png":__glob_5_3}[t].default},OEmpty=exports("ai",defineComponent({name:"o-empty",props:{tips:{type:String},type:{type:String,default:"empty"},classImgSize:{type:String,default:""},imageSize:{type:Number,default:0},plain:{type:Boolean,default:!1},btnStatus:{type:Boolean,default:!1},buttonText:{type:String,default:"我知道了"},onClick:Function},methods:{onResult:function(){this.onClick?this.onClick():postMessage({api:"back",content:{}})}},computed:{image:function(){var e=null;switch(this.type){case"emptyContent":e=getAssetsHomeFile("emptyContent.png");break;case"error":e="error";break;case"network":e=getAssetsHomeFile("network.png");break;case"search":e="search";break;case"notFond":e=getAssetsHomeFile("notFond.png");break;default:e=getAssetsHomeFile("empty.png")}return e}},render:function(){var e=this;return createVNode("div",{class:[styles$1["col-result"],"o-result-container"]},[createVNode(Empty,{image:this.image,imageSize:this.imageSize||"",class:styles$1[this.classImgSize],description:this.tips},null),this.btnStatus?createVNode(Button,{class:styles$1.btn,round:!0,block:!0,type:"primary",plain:this.plain,onClick:this.onResult},{default:function(){return[e.buttonText]}}):null])}})),browserInfo$1=browser(),Auth=defineComponent({name:"Auth-loayout",data:function(){return{loading:!1}},computed:{isExternal:function(){return this.$route.meta.isExternal&&!browserInfo$1.isStudent||!1},isNeedView:function(){return"login"===state.user.status||"/login"===this.$route.path||this.isExternal}},mounted:function(){!this.isExternal&&this.setAuth()},methods:{setAuth:function(){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function t(){var n,r,a,o,i,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$route.query,(r=n.userInfo||n.Authorization)&&setAuth$1(r),!e.loading){t.next=5;break}return t.abrupt("return");case 5:if("init"!==state.user.status&&"error"!==state.user.status){t.next=20;break}return e.loading=!0,t.prev=7,t.next=10,request.get(state.platformApi+"/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});case 10:a=t.sent,"SCHOOL"===state.platformType&&(o=a.data.schoolInfos?a.data.schoolInfos[0]:{},a.data.school=o),setLogin(a.data),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(7),-1===(i=t.t0.message).indexOf("5000")&&-1===i.indexOf("authentication")?setLoginError():setLogout();case 19:e.loading=!1;case 20:if("logout"===state.user.status)if(browser().isApp)postMessage({api:"login"});else try{s=e.$route,l=_objectSpread({returnUrl:e.$route.path},e.$route.query),s.meta.isRegister&&(l.isRegister=s.meta.isRegister),e.$router.replace({path:"/login",query:l})}catch(error){}case 21:case"end":return t.stop()}}),t,null,[[7,15]])})))()}},render:function(){return createVNode(Fragment,null,["error"===state.user.status?createVNode("div",{class:styles$2.error},[createVNode(OEmpty,{type:"notFond",classImgSize:"CERT",tips:"加载失败,请稍后重试",buttonText:"重新加载",plain:!0,btnStatus:!0,onClick:this.setAuth},null)]):this.isNeedView?createVNode(RouterView,null,null):null])}}),paymentType$1=window.paymentType,router$1=[{path:"/lessonCourseware",name:"lessonCourseware",component:function(){return __vitePreload((function(){return module.import("./index-legacy.3d44fa73.js")}),void 0)},meta:{title:"选择课件"}},{path:"/courseList",name:"courseList",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ae6fac9f.js")}),void 0)},meta:{title:"课程列表"}},{path:"/coursewarePlay",name:"coursewarePlay",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4c791670.js")}),void 0)},meta:{title:"课程播放"}},{path:"/exerciseAfterClass",name:"exerciseAfterClass",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a8e26dfb.js")}),void 0)},meta:{title:"观看视频"}},{path:"/accompany",name:"accompany",component:function(){return __vitePreload((function(){return module.import("./index-legacy.13240e62.js")}),void 0)},meta:{title:"云练习"}},{path:"/musicList",name:"music-list",component:function(){return __vitePreload((function(){return module.import("./music-list-legacy.dee8b3b7.js")}),void 0)},meta:{title:"曲谱列表"}},{path:"/information-list",name:"information-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.47b2efef.js")}),void 0)},meta:{title:"资讯列表"}},{path:"/information-detail",name:"information-detail",component:function(){return __vitePreload((function(){return module.import("./information-detail-legacy.bac22698.js")}),void 0)},meta:{title:"资讯详情"}},{path:"/notice-detail",name:"notice-detail",component:function(){return __vitePreload((function(){return module.import("./notice-detail-legacy.68263bae.js")}),void 0)},meta:{title:"公告详情"}},{path:"/help-center",name:"help-center",component:function(){return __vitePreload((function(){return module.import("./index-legacy.abf3abfc.js")}),void 0)},meta:{title:"帮助中心"}},{path:"/help-detail",name:"help-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.add9bce5.js")}),void 0)},meta:{title:"帮助中心详情"}},{path:"/unit-test",name:"unit-test",component:function(){return __vitePreload((function(){return module.import("./index-legacy.9cd1f6f7.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unit-detail",name:"unit-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f7648173.js")}),void 0)},meta:{title:"测验详情"}},{path:"/test-exercise",name:"test-exercise",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4f16bf57.js")}),void 0)},meta:{title:"测试练习"}},{path:"/practice-mode",name:"practice-mode",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ae386b81.js")}),void 0)},meta:{title:"练习模式"}},{path:"/examination-mode",name:"examination-mode",component:function(){return __vitePreload((function(){return module.import("./index-legacy.03fa4ce7.js")}),void 0)},meta:{title:"测试详情"}},{path:"/approval-manage-subsidy",name:"approval-manage-subsidy",component:function(){return __vitePreload((function(){return module.import("./index-legacy.1a958f26.js")}),void 0)},meta:{title:"补助确认"}},{path:"/mine-orchestra",name:"mine-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f57eb14a.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/mine-myphoto",name:"mine-myphoto",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ca0a1fd0.js")}),void 0)},meta:{title:"乐团剪影"}},{path:"/photo-list",name:"photo-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.8e043ba1.js")}),void 0)},meta:{title:"相册"}},{path:"/photo-list-detail",name:"photo-list-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.96250dc0.js")}),void 0)},meta:{title:"相册详情"}},{path:"/message-detail",name:"message-detail",component:function(){return __vitePreload((function(){return module.import("./message-detail-legacy.f3920fc4.js")}),void 0)},meta:{title:"消息详情"}}],rootRouter=[{path:"/payCenter",name:"payCenter",component:function(){return __vitePreload((function(){return module.import("./index-legacy.106d35e0.js")}),void 0)},meta:{title:"支付"}},{path:"/payDefine",name:"payDefine",component:function(){return __vitePreload((function(){return module.import("./index-legacy.294c931b.js")}),void 0)},meta:{title:"支付"}},{path:"/payResult",name:"payResult",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e4280bc7.js")}),void 0)},meta:{title:"支付"}},{path:"/preview-protocol",name:"preview-protocol",component:function(){return __vitePreload((function(){return module.import("./index-legacy.369fa392.js")}),void 0)},meta:{title:"管乐团用户注册协议"}},{path:"/privacyProtocol",name:"privacyProtocol",component:function(){return __vitePreload((function(){return module.import("./privacy-legacy.9c18c85f.js")}),void 0)},meta:{title:"管乐团隐私政策"}},{path:"/cashProtocol",name:"cashProtocol",component:function(){return __vitePreload((function(){return module.import("./cash-protocol-legacy.ffc4b46c.js")}),void 0)},meta:{title:"共享经济平台注册经营者协议"}},{path:"/guide",name:"guide",component:function(){return __vitePreload((function(){return module.import("./guide-legacy.62bbd374.js")}),void 0)},meta:{title:"投屏帮助"}},{path:"/follow-account",name:"follow-account",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a1b0c8e6.js")}),void 0)},meta:{title:"关注微信公众号"}},{path:"/bind-wechat",name:"bind-wechat",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f6f528ea.js")}),void 0)},meta:{title:"绑定微信"}},{path:"/transfer",component:function(){return __vitePreload((function(){return module.import("./transfer-legacy.48069654.js")}),void 0)},meta:{title:"管乐团"}},{path:"/:pathMatch(.*)*",component:function(){return __vitePreload((function(){return module.import("./index-legacy.801726cc.js")}),void 0)},meta:{title:"404",platform:paymentType$1}}],noLoginRouter$2=[],routesTeacher=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.1087ff0f.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.79c54a39.js")}),void 0)}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.0284b0da.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.cac51217.js")}),void 0)},meta:{title:"练习统计"}},{path:"/attendance",name:"attendance",component:function(){return __vitePreload((function(){return module.import("./index-legacy.8ea18ba7.js")}),void 0)},meta:{title:"我的考勤"}},{path:"/teacher-attendDetail",name:"teacher-attendDetail",component:function(){return __vitePreload((function(){return module.import("./teacher-attendDetail-legacy.d9bb851f.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ed8af3e5.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/screen-projection",name:"screen-projection",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a90549a6.js")}),void 0)},meta:{title:"教学课件"}},{path:"/unit-list",name:"unit-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ca5f59e0.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unit-create",name:"unit-create",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ddfc2461.js")}),void 0)},meta:{title:"新增测验"}},{path:"/unit-Lesson",name:"unit-Lesson",component:function(){return __vitePreload((function(){return module.import("./unit-Lesson-legacy.b8b54a24.js")}),void 0)},meta:{title:"选择教材"}},{path:"/uni-test",name:"uni-test",component:function(){return __vitePreload((function(){return module.import("./uni-test-legacy.f2365cd8.js")}),void 0)},meta:{title:"选择教材"}},{path:"/uni-last",name:"uni-last",component:function(){return __vitePreload((function(){return module.import("./uni-last-legacy.3fbca2b5.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unitDetail",name:"unitDetail",component:function(){return __vitePreload((function(){return module.import("./unitDetail-legacy.b2ca3b4b.js")}),void 0)},meta:{title:"测验详情"}},{path:"/subsidy-exercise-details",name:"subsidy-exercise-details",component:function(){return __vitePreload((function(){return module.import("./details-legacy.aa688099.js")}),void 0)},meta:{title:"补助明细"}}])}].concat(rootRouter,noLoginRouter$2),error="_error_1aqdy_1",info="_info_1aqdy_9",login="_login_1aqdy_27",loginTitle="_loginTitle_1aqdy_33",codeText="_codeText_1aqdy_41",margin34="_margin34_1aqdy_44",formTitle="_formTitle_1aqdy_47",wxPopupDialog="_wxPopupDialog_1aqdy_63",popupContainer="_popupContainer_1aqdy_80",title="_title_1aqdy_86",popupTips="_popupTips_1aqdy_93",styles=exports("bg",{error:error,info:info,login:login,loginTitle:loginTitle,codeText:codeText,margin34:margin34,formTitle:formTitle,wxPopupDialog:wxPopupDialog,popupContainer:popupContainer,title:title,popupTips:popupTips}),removeAuth=exports("bd",(function(){sessionStorage.removeItem("Authorization")})),_setAuth=exports("s",(function(e){sessionStorage.setItem("Authorization",e)})),browserInfo=browser(),MusicAuth=defineComponent({name:"Auth-loayout",data:function(){return{loading:!1}},computed:{isExternal:function(){return this.$route.meta.isExternal&&!browserInfo.isStudent||!1},isNeedView:function(){return"login"===state.user.status||"/loginMusic"===this.$route.path||this.isExternal}},mounted:function(){!this.isExternal&&this.setAuth()},methods:{setAuth:function(){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function t(){var n,r,a,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$route.query,(r=n.userInfo||n.Authorization)&&_setAuth(r),!e.loading){t.next=5;break}return t.abrupt("return");case 5:if("init"!==state.user.status&&"error"!==state.user.status){t.next=19;break}return e.loading=!0,t.prev=7,t.next=10,request.get("/api-student/user/getUserInfo",{initRequest:!0,requestType:"form"});case 10:a=t.sent,setLogin(a.data),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(7),-1===(o=t.t0.message).indexOf("5000")&&-1===o.indexOf("authentication")?setLoginError():setLogout();case 18:e.loading=!1;case 19:if("logout"===state.user.status)try{i=e.$route,s=_objectSpread({returnUrl:e.$route.path},e.$route.query),i.meta.isRegister&&(s.isRegister=i.meta.isRegister),e.$router.replace({path:"/loginMusic",query:s})}catch(error){}case 20:case"end":return t.stop()}}),t,null,[[7,14]])})))()}},render:function(){return createVNode(Fragment,null,["error"===state.user.status?createVNode("div",{class:styles.error},[createVNode(OEmpty,{type:"notFond",classImgSize:"CERT",tips:"加载失败,请稍后重试",buttonText:"重新加载",plain:!0,btnStatus:!0,onClick:this.setAuth},null)]):this.isNeedView?createVNode(RouterView,null,null):null])}}),noLoginRouter$1=[{path:"/payment-result",name:"payment-result",component:function(){return __vitePreload((function(){return module.import("./index-legacy.087293f1.js")}),void 0)},meta:{title:"支付详情"}},{path:"/download",name:"download",component:function(){return __vitePreload((function(){return module.import("./index-legacy.3a506a88.js")}),void 0)},meta:{title:"下载管乐团学生端"}}],routesStudent=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.1087ff0f.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e9a6a298.js")}),void 0)}},{path:"/coupons",name:"coupons",component:function(){return __vitePreload((function(){return module.import("./index-legacy.345f36be.js")}),void 0)},meta:{title:"优惠券"}},{path:"/memberCenter",name:"memberCenter",component:function(){return __vitePreload((function(){return module.import("./index-legacy.b9717537.js")}),void 0)},meta:{title:"会员中心"}},{path:"/tradeRecord",name:"tradeRecord",component:function(){return __vitePreload((function(){return module.import("./index-legacy.6f5ae35f.js")}),void 0)},meta:{title:"交易记录"}},{path:"/my-orchestra",name:"my-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.6723f437.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/photo-detail",name:"photo-detail",component:function(){return __vitePreload((function(){return module.import("./photo-detail-legacy.bf919b41.js")}),void 0)},meta:{title:"相片"}},{path:"/apply-withdrawal",name:"apply-withdrawal",component:function(){return __vitePreload((function(){return module.import("./apply-withdrawal-legacy.af9642ae.js")}),void 0)},meta:{title:"申请退团"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ed8af3e5.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/ranking-list",name:"ranking-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.45253e01.js")}),void 0)},meta:{title:"排行榜"}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.0284b0da.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.cac51217.js")}),void 0)},meta:{title:"练习统计"}}])},{path:"/msuicGroup",component:MusicAuth,children:[{path:"/loginMusic",name:"loginMusic",component:function(){return __vitePreload((function(){return module.import("./login-legacy.a30c7bdc.js")}),void 0)},meta:{isRegister:!1}},{path:"/preApply",name:"preApply",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4559321c.js")}),void 0)},meta:{title:"乐团报名"}},{path:"/orderDetail",name:"orderDetail",component:function(){return __vitePreload((function(){return module.import("./order-detail-legacy.d46bb789.js")}),void 0)},meta:{title:"订单详情"}},{path:"/shopAddress",name:"shopAddress",component:function(){return __vitePreload((function(){return module.import("./index-legacy.5c2ba446.js")}),void 0)},meta:{title:"收货地址"}},{path:"/addressOperation",name:"addressOperation",component:function(){return __vitePreload((function(){return module.import("./address-operation-legacy.5245eccd.js")}),void 0)},meta:{title:"收货地址"}}]}].concat(noLoginRouter$1,rootRouter),noLoginRouter=[{path:"/companion-teacher-register",name:"companion-teacher-register",component:function(){return __vitePreload((function(){return module.import("./companion-teacher-register-legacy.d67a2955.js")}),void 0)},meta:{title:"乐团伴学指导注册"}},{path:"/manage-teacher-register",name:"manage-teacher-register",component:function(){return __vitePreload((function(){return module.import("./manage-teacher-register-legacy.144b0e03.js")}),void 0)},meta:{title:"乐团管理老师注册"}}],routesSchool=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.1087ff0f.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.7dffd72c.js")}),void 0)}},{path:"/my-orchestra",name:"my-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.10df88a9.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/create-orchestra",name:"create-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a9b87efc.js")}),void 0)},meta:{title:"新建乐团"}},{path:"/create-orchestra-teacher",name:"create-orchestra-teacher",component:function(){return __vitePreload((function(){return module.import("./select-teacher-legacy.5f4230bb.js")}),void 0)},meta:{title:"选择老师"}},{path:"/orchestra-detail",name:"orchestra-detail",component:function(){return __vitePreload((function(){return module.import("./orchestra-detail-legacy.f658c46c.js")}),void 0)},meta:{title:"乐团详情"}},{path:"/school-photo",name:"school-photo",component:function(){return __vitePreload((function(){return module.import("./photo-legacy.6322ebcb.js")}),void 0)},meta:{title:"乐团剪影"}},{path:"/photo-detail",name:"photo-detail",component:function(){return __vitePreload((function(){return module.import("./photo-detail-legacy.0e388f0a.js")}),void 0)},meta:{title:"相册详情"}},{path:"/mass-message",name:"mass-message",component:function(){return __vitePreload((function(){return module.import("./index-legacy.0910faca.js")}),void 0)},meta:{title:"群发记录"}},{path:"/create-message",name:"create-message",component:function(){return __vitePreload((function(){return module.import("./create-message-legacy.dcc48463.js")}),void 0)},meta:{title:"群发消息"}},{path:"/companion-teacher",name:"companion-teacher",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f07697c5.js")}),void 0)},meta:{title:"伴学指导"}},{path:"/companion-teacher-detail",name:"companion-teacher-detail",component:function(){return __vitePreload((function(){return module.import("./companion-detail-legacy.d6f12874.js")}),void 0)},meta:{title:"伴学指导详情"}},{path:"/companion-unbind",name:"companion-unbind",component:function(){return __vitePreload((function(){return module.import("./unbind-legacy.398e8b41.js")}),void 0)},meta:{title:"课程交接"}},{path:"/manage-teacher",name:"manage-teacher",component:function(){return __vitePreload((function(){return module.import("./index-legacy.c85a4658.js")}),void 0)},meta:{title:"管理老师"}},{path:"/manage-teacher-detail",name:"manage-teacher-detail",component:function(){return __vitePreload((function(){return module.import("./manage-detail-legacy.ed74bd65.js")}),void 0)},meta:{title:"管理老师详情"}},{path:"/save-share-image",name:"save-share-image",component:function(){return __vitePreload((function(){return module.import("./index-legacy.41df9ddf.js")}),void 0)},meta:{title:"注册"}},{path:"/orchestra-information",name:"orchestra-information",component:function(){return __vitePreload((function(){return module.import("./orchestra-information-legacy.37247ae3.js")}),void 0)},meta:{title:"乐团资讯"}},{path:"/add-information",name:"add-information",component:function(){return __vitePreload((function(){return module.import("./add-information-legacy.b0588ba3.js")}),void 0)},meta:{title:"添加资讯"}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.0284b0da.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.cac51217.js")}),void 0)},meta:{title:"练习统计"}},{path:"/attendance",name:"attendance",component:function(){return __vitePreload((function(){return module.import("./index-legacy.64ff5649.js")}),void 0)},meta:{title:"考勤管理"}},{path:"/student-att-day",name:"student-att-day",component:function(){return __vitePreload((function(){return module.import("./student-att-day-legacy.1e0a9928.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/teacher-attendDetail",name:"teacher-attendDetail",component:function(){return __vitePreload((function(){return module.import("./teacher-attendDetail-legacy.d9bb851f.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/ranking-list",name:"ranking-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.99f18ba3.js")}),void 0)},meta:{title:"排行榜"}},{path:"/approval-manage",name:"approval-manage",component:function(){return __vitePreload((function(){return module.import("./index-legacy.11d29471.js")}),void 0)},meta:{title:"待办事项"}},{path:"/student-leave",name:"student-leave",component:function(){return __vitePreload((function(){return module.import("./student-leave-legacy.acd16e38.js")}),void 0)},meta:{title:"审批详情"}},{path:"/train-planning",name:"train-planning",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4002673d.js")}),void 0)},meta:{title:"乐团排课"}},{path:"/train-content",name:"train-content",component:function(){return __vitePreload((function(){return module.import("./index-legacy.3d48caac.js")}),void 0)},meta:{title:"训练内容"}},{path:"/practice-detail",name:"practice-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.b98c0213.js")}),void 0)},meta:{title:"训练详情"}},{path:"/course-preview",name:"course-preview",component:function(){return __vitePreload((function(){return module.import("./index-legacy.5a4cde45.js")}),void 0)},meta:{title:"课程预览"}},{path:"/course-adjust",name:"course-adjust",component:function(){return __vitePreload((function(){return module.import("./course-adjust-legacy.9319343c.js")}),void 0)},meta:{title:"课程调整"}},{path:"/batch-adjust",name:"batch-adjust",component:function(){return __vitePreload((function(){return module.import("./batch-adjust-legacy.fccf1337.js")}),void 0)},meta:{title:"批量调整"}},{path:"/school-detail",name:"school-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.c80ffb8a.js")}),void 0)},meta:{title:"学校信息"}},{path:"/school-eidt",name:"school-eidt",component:function(){return __vitePreload((function(){return module.import("./eidt-school-legacy.7484f3dd.js")}),void 0)},meta:{title:"修改学校地址"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ed8af3e5.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/orchestra-story",name:"orchestra-story",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e23d46fc.js")}),void 0)},meta:{title:"乐团事迹"}},{path:"/story-operation",name:"story-operation",component:function(){return __vitePreload((function(){return module.import("./index-legacy.072bd782.js")}),void 0)},meta:{title:"添加事迹"}},{path:"/subsidy-exercise-detail",name:"subsidy-exercise-detail",component:function(){return __vitePreload((function(){return module.import("./exercise-detail-legacy.6cd2a283.js")}),void 0)},meta:{title:"训练补助详情"}},{path:"/subsidy-exercise-details",name:"subsidy-exercise-details",component:function(){return __vitePreload((function(){return module.import("./details-legacy.aa688099.js")}),void 0)},meta:{title:"补助明细"}},{path:"/subsidy-grant-detail",name:"subsidy-grant-detail",component:function(){return __vitePreload((function(){return module.import("./grant-detail-legacy.bb9726d3.js")}),void 0)},meta:{title:"管理补助详情"}},{path:"/subsidy-reward-detail",name:"subsidy-reward-detail",component:function(){return __vitePreload((function(){return module.import("./reward-detail-legacy.d36dcb82.js")}),void 0)},meta:{title:"练习奖励详情"}},{path:"/unitDetail",name:"unitDetail",component:function(){return __vitePreload((function(){return module.import("./unitDetail-legacy.b2ca3b4b.js")}),void 0)},meta:{title:"测验详情"}},{path:"/unit-list",name:"unit-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ca5f59e0.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/orchestra-photo-create",name:"orchestra-photo-create",component:function(){return __vitePreload((function(){return module.import("./photo-create-legacy.1b15dabe.js")}),void 0)},meta:{title:"创建相册"}},{path:"/practice-rewards",name:"practice-rewards",component:function(){return __vitePreload((function(){return module.import("./index-legacy.1f7fc37f.js")}),void 0)},meta:{title:"练习奖励"}},{path:"/practice-rewards-detail",name:"practice-rewards-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.cedc524e.js")}),void 0)},meta:{title:"练习奖励详情"}}])}].concat(rootRouter,noLoginRouter),paymentType=window.paymentType,routes=[],baseUrl=null;"STUDENT"===paymentType?routes=routesStudent:"TEACHER"===paymentType?(routes=routesTeacher,baseUrl="/teacher.html"):"SCHOOL"===paymentType&&(routes=routesSchool,baseUrl="/school.html"),console.log(routes,baseUrl,paymentType);var router=exports("i",createRouter({history:createWebHashHistory(),routes:routes,scrollBehavior:function(e,t,n){if(e.hash)return{el:e.hash,behavior:"smooth"}}})),whitePath=["/coursewarePlay"];router.beforeEach((function(e,t,n){whitePath.includes(e.path)||baseEvent.emit("toastShow"),document.title=e.meta.title||"管乐团",n()})),router.afterEach((function(e,t){e.path===t.path?baseEvent.emit("toastClose"):setTimeout((function(){baseEvent.emit("toastClose")}),300)}));var isOpen=!1;router.onError((function(e){if(e instanceof Error){var t=e.name.indexOf("chunk"),n=router.currentRoute.value.fullPath;console.log(e),t&&!isOpen&&(baseEvent.emit("toastClose"),isOpen=!0,showDialog({title:"更新提示",message:"APP有更新请点击确定刷新页面?",confirmButtonColor:"var(--van-primary)"}).then((function(){browser().isApp?postMessage({api:"back"}):(location.hash=n,window.location.reload())})))}}));var index$1="",normalize="",style="",index=""}}}))})();
>>>>>>> online:dist/assets/index-legacy.5250e410.js
=======
!function(e){!function(t,n){e.exports?e.exports=n():t.numeral=n()}(commonjsGlobal$1,(function(){var e,t,n,r,a,o={},i={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,a,i,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(l.zeroFormat&&n===l.zeroFormat)r=0;else if(l.nullFormat&&n===l.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(a in o)if((s="function"==typeof o[a].regexps.unformat?o[a].regexps.unformat():o[a].regexps.unformat)&&n.match(s)){i=o[a].unformat;break}r=(i=i||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var a,o,s,l,c,u,p,d,f=i[e.options.currentLocale],h=!1,v=!1,m="",g=1e12,y=1e9,b=1e6,_="",A=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(u=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(m=" "),n=n.replace(new RegExp(m+"a[kmbt]?"),""),s>=g&&!o||"t"===o?(m+=f.abbreviations.trillion,t/=g):s=y&&!o||"b"===o?(m+=f.abbreviations.billion,t/=y):s=b&&!o||"m"===o?(m+=f.abbreviations.million,t/=b):(s=1e3&&!o||"k"===o)&&(m+=f.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(v=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],c=n.split(".")[1],p=n.indexOf(","),a=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),_=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):_=e._.toFixed(t,c.length,r),l=_.split(".")[0],_=e._.includes(_,".")?f.delimiters.decimal+_.split(".")[1]:"",v&&0===Number(_.slice(1))&&(_="")):l=e._.toFixed(t,0,r),m&&!o&&Number(l)>=1e3&&m!==f.abbreviations.trillion)switch(l=String(Number(l)/1e3),m){case f.abbreviations.thousand:m=f.abbreviations.million;break;case f.abbreviations.million:m=f.abbreviations.billion;break;case f.abbreviations.billion:m=f.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),A=!0),l.length0;x--)l="0"+l;return p>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===n.indexOf(".")&&(l=""),d=l+_+(m||""),h?d=(h&&A?"(":"")+d+(h&&A?")":""):u>=0?d=0===u?(A?"-":"+")+d:d+(A?"-":"+"):A&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,a=i[l.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return"number"==typeof e&&isNaN(e)})),includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),a=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=a)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r}),1)},toFixed:function(e,t,n,r){var a,o,i,s,l=e.toString().split("."),c=t-(r||0);return a=2===l.length?Math.min(Math.max(l[1].length,c),t):c,i=Math.pow(10,a),s=(n(e+"e+"+a)/i).toFixed(a),r>t-a&&(o=new RegExp("\\.?0{1,"+(r-(t-a))+"}$"),s=s.replace(o,"")),s}},e.options=l,e.formats=o,e.locales=i,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return i[l.currentLocale];if(e=e.toLowerCase(),!i[e])throw new Error("Unknown locale : "+e);return i[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,a,o,i,s,l,c,u;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(p){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,a="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(u=t.match(/^[^\d]+/))||(t=t.substr(1),u[0]===o))&&((null===(u=t.match(/[^\d]+$/))||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(a+"{2}"),!t.match(/[^\d.,]/g)&&(!((i=t.split(r)).length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/)))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,a,i,s=this._value,c=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)a=l.zeroFormat;else if(null===s&&null!==l.nullFormat)a=l.nullFormat;else{for(r in o)if(c.match(o[r].regexps.format)){i=o[r].format;break}a=(i=i||e._.numberToFormat)(s,c,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,r,a){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,r,a){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var a,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"BPS"),a=a.join("")):a=a+o+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a="("+(a=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(t,a,o){var i,s,l,c=e._.includes(a,"ib")?r:n,u=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),i=0;i<=c.suffixes.length;i++)if(s=Math.pow(c.base,i),l=Math.pow(c.base,i+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,a,o)+u},unformat:function(t){var a,o,i=e._.stringToNumber(t);if(i){for(a=n.suffixes.length-1;a>=0;a--){if(e._.includes(t,n.suffixes[a])){o=Math.pow(n.base,a);break}if(e._.includes(t,r.suffixes[a])){o=Math.pow(r.base,a);break}}i*=o||1}return i}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var a,o,i=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o=0;o--)switch(s.after[o]){case"$":a=o===s.after.length-1?a+i.currency.symbol:e._.insert(a,i.currency.symbol,-(s.after.length-(1+o)));break;case" ":a=o===s.after.length-1?a+" ":e._.insert(a," ",-(s.after.length-(1+o)+i.currency.symbol.length-1))}return a}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var a=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,r)+"e"+a[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),a=Number(n[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([r,Math.pow(10,a)],(function(t,n,r,a){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var a=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=a.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var a,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"%"),a=a.join("")):a=a+o+"%",a},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),a=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*a);return r+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e}))}(numeral$1);var numeral=numeral$1.exports;reactive({loadingCount:0});var browser=exports("e",(function(){var e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/),android:e.indexOf("ORCHESTRAAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("ORCHESTRAAPPI")>-1,isApp:e.indexOf("ORCHESTRAAPPI")>-1||e.indexOf("ORCHESTRAAPPA")>-1,isTeacher:e.indexOf("ORCHESTRATEACHER")>-1,isStudent:e.indexOf("ORCHESTRASTUDENT")>-1,isSchool:e.indexOf("ORCHESTRASCHOOL")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,alipay:e.indexOf("AlipayClient")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}})),getUrlCode=exports("bh",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"code",t=location.search,n=new Object;if(-1!=t.indexOf("?"))for(var r=t.substr(1),a=r.split("&"),o=0;o1&&void 0!==arguments[1]?arguments[1]:"0,0.00";return numeral(e).format(t)})),getSecondRPM=exports("b4",(function(e,t){if(isNaN(e))return"00:00";var n=Math.floor(e/60).toString().padStart(2,"0"),r=Math.floor(e%60).toString().padStart(2,"0");return"cn"===t?n+"分"+r+"秒":n+":"+r})),formatterDatePicker=exports("aj",(function(e,t){return"year"===e&&(t.text+="年"),"month"===e&&(t.text+="月"),"day"===e&&(t.text+="日"),t})),hasSymbol="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.toStringTag),PolySymbol=function(e){return hasSymbol?Symbol(e):"_vr_"+e},matchedRouteKey=PolySymbol("rvlm"),viewDepthKey=PolySymbol("rvd"),routerKey=PolySymbol("r"),routeLocationKey=PolySymbol("rl"),routerViewLocationKey=PolySymbol("rvl"),isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||hasSymbol&&"Module"===e[Symbol.toStringTag]}var assign$1=Object.assign;function applyToParams(e,t){var n={};for(var r in t){var a=t[r];n[r]=Array.isArray(a)?a.map(e):e(a)}return n}var noop=function(){},TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=function(e){return e.replace(TRAILING_SLASH_RE,"")},NavigationType,NavigationDirection;function parseURL(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",a={},o="",i="",s=t.indexOf("?"),l=t.indexOf("#",s>-1?s:0);return s>-1&&(n=t.slice(0,s),a=e(o=t.slice(s+1,l>-1?l:t.length))),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),{fullPath:(n=resolveRelativePath(null!=n?n:t,r))+(o&&"?")+o+i,path:n,query:a,hash:i}}function stringifyURL(e,t){var n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){var r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&isSameRouteRecord(t.matched[r],n.matched[a])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return Array.isArray(e)?isEquivalentArray(e,t):Array.isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return e===t[n]})):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;var n,r,a=t.split("/"),o=e.split("/"),i=a.length-1;for(n=0;n-1){var i=a.includes(e.slice(o))?e.slice(o).length:1,s=a.slice(i);return"/"!==s[0]&&(s="/"+s),stripBase(s,"")}return stripBase(n,e)+r+a}function useHistoryListeners(e,t,n,r){var a=[],o=[],i=null,s=function(o){var s=o.state,l=createCurrentLocation(e,location),c=n.value,u=t.value,p=0;if(s){if(n.value=l,t.value=s,i&&i===c)return void(i=null);p=u?s.position-u.position:0}else r(l);a.forEach((function(e){e(n.value,c,{delta:p,type:NavigationType.pop,direction:p?p>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function l(){var e=window.history;e.state&&e.replaceState(assign$1({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:function(){i=n.value},listen:function(e){a.push(e);var t=function(){var t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t},destroy:function(){var e,t=_createForOfIteratorHelper(o);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(n){t.e(n)}finally{t.f()}o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}function buildState(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?computeScrollPosition():null}}function useHistoryStateNavigation(e){var t=window,n=t.history,r=t.location,a={value:createCurrentLocation(e,r)},o={value:n.state};function i(t,a,i){var s=e.indexOf("#"),l=s>-1?(r.host&&document.querySelector("base")?e:e.slice(s))+t:createBaseLocation()+e+t;try{n[i?"replaceState":"pushState"](a,"",l),o.value=a}catch(c){console.error(c),r[i?"replace":"assign"](l)}}return o.value||i(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:a,state:o,push:function(e,t){var r=assign$1({},o.value,n.state,{forward:e,scroll:computeScrollPosition()});i(r.current,r,!0),i(e,assign$1({},buildState(a.value,e,null),{position:r.position+1},t),!1),a.value=e},replace:function(e,t){i(e,assign$1({},n.state,buildState(o.value.back,e,o.value.forward,!0),t,{position:o.value.position}),!0),a.value=e}}}function createWebHistory(e){var t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);var r=assign$1({location:"",base:e,go:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(r,"state",{enumerable:!0,get:function(){return t.state.value}}),r}function createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"===_typeof2(e)}function isRouteName(e){return"string"==typeof e||"symbol"===_typeof2(e)}var START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=PolySymbol("nf"),NavigationFailureType;function createRouterError(e,t){return assign$1(new Error,_defineProperty2({type:e},NavigationFailureSymbol,!0),t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(NavigationFailureType||(NavigationFailureType={}));var BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){var n,r=assign$1({},BASE_PATH_PARSER_OPTIONS,t),a=[],o=r.start?"^":"",i=[],s=_createForOfIteratorHelper(e);try{for(s.s();!(n=s.n()).done;){var l=n.value,c=l.length?[]:[90];r.strict&&!l.length&&(o+="/");for(var u=0;ut.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){for(var n=0,r=e.score,a=t.score;n1&&("*"===s||"+"===s)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),n.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function d(){c+=s}for(;l-1&&(n.splice(a,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function i(e){for(var t=0;t=0;)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&r.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return a(e)})),{addRoute:a,resolve:function(e,t){var a,o,i,s={};if("name"in e&&e.name){if(!(a=r.get(e.name)))throw createRouterError(1,{location:e});i=a.record.name,s=assign$1(paramsFromLocation(t.params,a.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}))),e.params),o=a.stringify(s)}else if("path"in e)o=e.path,(a=n.find((function(e){return e.re.test(o)})))&&(s=a.parse(o),i=a.record.name);else{if(!(a=t.name?r.get(t.name):n.find((function(e){return e.re.test(t.path)}))))throw createRouterError(1,{location:e,currentLocation:t});i=a.record.name,s=assign$1({},t.params,e.params),o=a.stringify(s)}for(var l=[],c=a;c;)l.unshift(c.record),c=c.parent;return{name:i,path:o,params:s,matched:l,meta:mergeMetaFields(l)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function paramsFromLocation(e,t){var n,r={},a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;o in e&&(r[o]=e[o])}}catch(i){a.e(i)}finally{a.f()}return r}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function normalizeRecordProps(e){var t={},n=e.props||!1;if("component"in e)t.default=n;else for(var r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((function(e,t){return assign$1(e,t.meta)}),{})}function mergeOptions(e,t){var n={};for(var r in e)n[r]=r in t?t[r]:e[r];return n}var HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$2(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){var t={};if(""===e||"?"===e)return t;for(var n=("?"===e[0]?e.slice(1):e).split("&"),r=0;r-1&&e.splice(n,1)}},list:function(){return e},reset:function(){e=[]}}}function guardToPromiseFn(e,t,n,r,a){var o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return function(){return new Promise((function(i,s){var l=function(e){!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(o&&r.enterCallbacks[a]===o&&"function"==typeof e&&o.push(e),i())},c=e.call(r&&r.instances[a],t,n,l),u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((function(e){return s(e)}))}))}}function extractComponentsGuards(e,t,n,r){var a,o=[],i=_createForOfIteratorHelper(e);try{var s=function(){var e=a.value,i=function(a){var i=e.components[a];if("beforeRouteEnter"!==t&&!e.instances[a])return"continue";if(isRouteComponent(i)){var s=(i.__vccOpts||i)[t];s&&o.push(guardToPromiseFn(s,n,r,e,a))}else{var l=i();o.push((function(){return l.then((function(o){if(!o)return Promise.reject(new Error("Couldn't resolve component \"".concat(a,'" at "').concat(e.path,'"')));var i=isESModule(o)?o.default:o;e.components[a]=i;var s=(i.__vccOpts||i)[t];return s&&guardToPromiseFn(s,n,r,e,a)()}))}))}};for(var s in e.components)i(s)};for(i.s();!(a=i.n()).done;)s()}catch(l){i.e(l)}finally{i.f()}return o}function isRouteComponent(e){return"object"===_typeof2(e)||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){var t=inject(routerKey),n=inject(routeLocationKey),r=computed((function(){return t.resolve(unref(e.to))})),a=computed((function(){var e=r.value.matched,t=e.length,a=e[t-1],o=n.matched;if(!a||!o.length)return-1;var i=o.findIndex(isSameRouteRecord.bind(null,a));if(i>-1)return i;var s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(a)===s&&o[o.length-1].path!==s?o.findIndex(isSameRouteRecord.bind(null,e[t-2])):i})),o=computed((function(){return a.value>-1&&includesParams(n.params,r.value.params)})),i=computed((function(){return a.value>-1&&a.value===n.matched.length-1&&isSameRouteLocationParams(n.params,r.value.params)}));return{route:r,href:computed((function(){return r.value.href})),isActive:o,isExactActive:i,navigate:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return guardEvent(n)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop):Promise.resolve()}}}var RouterLinkImpl=defineComponent({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink,setup:function(e,t){var n=t.slots,r=reactive(useLink(e)),a=inject(routerKey).options,o=computed((function(){var t;return _defineProperty2(t={},getLinkClass(e.activeClass,a.linkActiveClass,"router-link-active"),r.isActive),_defineProperty2(t,getLinkClass(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active"),r.isExactActive),t}));return function(){var t=n.default&&n.default(r);return e.custom?t:h$1("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},t)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){var n=function(n){var r=t[n],a=e[n];if("string"==typeof r){if(r!==a)return{v:!1}}else if(!Array.isArray(a)||a.length!==r.length||r.some((function(e,t){return e!==a[t]})))return{v:!1}};for(var r in t){var a=n(r);if("object"===_typeof2(a))return a.v}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var getLinkClass=function(e,t,n){return null!=e?e:null!=t?t:n},RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(e,t){var n=t.attrs,r=t.slots,a=inject(routerViewLocationKey),o=computed((function(){return e.route||a.value})),i=inject(viewDepthKey,0),s=computed((function(){return o.value.matched[i]}));provide(viewDepthKey,i+1),provide(matchedRouteKey,s),provide(routerViewLocationKey,o);var l=ref();return watch((function(){return[l.value,s.value,e.name]}),(function(e,t){var n=_slicedToArray(e,3),r=n[0],a=n[1],o=n[2],i=_slicedToArray(t,3),s=i[0],l=i[1];i[2];a&&(a.instances[o]=r,l&&l!==a&&r&&r===s&&(a.leaveGuards.size||(a.leaveGuards=l.leaveGuards),a.updateGuards.size||(a.updateGuards=l.updateGuards))),!r||!a||l&&isSameRouteRecord(a,l)&&s||(a.enterCallbacks[o]||[]).forEach((function(e){return e(r)}))}),{flush:"post"}),function(){var t=o.value,a=s.value,i=a&&a.components[e.name],c=e.name;if(!i)return normalizeSlot(r.default,{Component:i,route:t});var u=a.props[e.name],p=u?!0===u?t.params:"function"==typeof u?u(t):u:null,d=h$1(i,assign$1({},p,n,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(a.instances[c]=null)},ref:l}));return normalizeSlot(r.default,{Component:d,route:t})||d}}});function normalizeSlot(e,t){if(!e)return null;var n=e(t);return 1===n.length?n[0]:n}var RouterView=RouterViewImpl;function createRouter(e){var t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,r=e.stringifyQuery||stringifyQuery,a=e.history,o=useCallbacks(),i=useCallbacks(),s=useCallbacks(),l=shallowRef(START_LOCATION_NORMALIZED),c=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var u,p=applyToParams.bind(null,(function(e){return""+e})),d=applyToParams.bind(null,encodeParam),f=applyToParams.bind(null,decode$2);function h(e,o){if(o=assign$1({},o||l.value),"string"==typeof e){var i=parseURL(n,e,o.path),s=t.resolve({path:i.path},o),c=a.createHref(i.fullPath);return assign$1(i,s,{params:f(s.params),hash:decode$2(i.hash),redirectedFrom:void 0,href:c})}var u;if("path"in e)u=assign$1({},e,{path:parseURL(n,e.path,o.path).path});else{var h=assign$1({},e.params);for(var v in h)null==h[v]&&delete h[v];u=assign$1({},e,{params:d(e.params)}),o.params=d(o.params)}var m=t.resolve(u,o),g=e.hash||"";m.params=p(f(m.params));var y=stringifyURL(r,assign$1({},e,{hash:encodeHash(g),path:m.path})),b=a.createHref(y);return assign$1({fullPath:y,hash:g,query:r===stringifyQuery?normalizeQuery(e.query):e.query||{}},m,{redirectedFrom:void 0,href:b})}function v(e){return"string"==typeof e?parseURL(n,e,l.value.path):assign$1({},e)}function m(e,t){if(c!==e)return createRouterError(8,{from:t,to:e})}function g(e){return b(e)}function y(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var n=t.redirect,r="function"==typeof n?n(e):n;return"string"==typeof r&&((r=r.includes("?")||r.includes("#")?r=v(r):{path:r}).params={}),assign$1({query:e.query,hash:e.hash,params:e.params},r)}}function b(e,t){var n=c=h(e),a=l.value,o=e.state,i=e.force,s=!0===e.replace,u=y(n);if(u)return b(assign$1(v(u),{state:o,force:i,replace:s}),t||n);var p,d=n;return d.redirectedFrom=t,!i&&isSameRouteLocation(r,a,n)&&(p=createRouterError(16,{to:d,from:a}),T(a,a,!0,!1)),(p?Promise.resolve(p):A(d,a)).catch((function(e){return isNavigationFailure(e)?e:P(e,d,a)})).then((function(e){if(e){if(isNavigationFailure(e,2))return b(assign$1(v(e.to),{state:o,force:i,replace:s}),t||d)}else e=w(d,a,!0,s,o);return x(d,a,e),e}))}function _(e,t){var n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function A(e,t){var n,r=_slicedToArray(extractChangingRecords(e,t),3),a=r[0],s=r[1],l=r[2];n=extractComponentsGuards(a.reverse(),"beforeRouteLeave",e,t);var c,u=_createForOfIteratorHelper(a);try{for(u.s();!(c=u.n()).done;){c.value.leaveGuards.forEach((function(r){n.push(guardToPromiseFn(r,e,t))}))}}catch(d){u.e(d)}finally{u.f()}var p=_.bind(null,e,t);return n.push(p),runGuardQueue(n).then((function(){n=[];var r,a=_createForOfIteratorHelper(o.list());try{for(a.s();!(r=a.n()).done;){var i=r.value;n.push(guardToPromiseFn(i,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){n=extractComponentsGuards(s,"beforeRouteUpdate",e,t);var r,a=_createForOfIteratorHelper(s);try{for(a.s();!(r=a.n()).done;){r.value.updateGuards.forEach((function(r){n.push(guardToPromiseFn(r,e,t))}))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){n=[];var r,a=_createForOfIteratorHelper(e.matched);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.beforeEnter&&!t.matched.includes(o))if(Array.isArray(o.beforeEnter)){var i,s=_createForOfIteratorHelper(o.beforeEnter);try{for(s.s();!(i=s.n()).done;){var l=i.value;n.push(guardToPromiseFn(l,e,t))}}catch(d){s.e(d)}finally{s.f()}}else n.push(guardToPromiseFn(o.beforeEnter,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).then((function(){return e.matched.forEach((function(e){return e.enterCallbacks={}})),(n=extractComponentsGuards(l,"beforeRouteEnter",e,t)).push(p),runGuardQueue(n)})).then((function(){n=[];var r,a=_createForOfIteratorHelper(i.list());try{for(a.s();!(r=a.n()).done;){var o=r.value;n.push(guardToPromiseFn(o,e,t))}}catch(d){a.e(d)}finally{a.f()}return n.push(p),runGuardQueue(n)})).catch((function(e){return isNavigationFailure(e,8)?e:Promise.reject(e)}))}function x(e,t,n){var r,a=_createForOfIteratorHelper(s.list());try{for(a.s();!(r=a.n()).done;){(0,r.value)(e,t,n)}}catch(o){a.e(o)}finally{a.f()}}function w(e,t,n,r,o){var i=m(e,t);if(i)return i;var s=t===START_LOCATION_NORMALIZED,c=isBrowser?history.state:{};n&&(r||s?a.replace(e.fullPath,assign$1({scroll:s&&c&&c.scroll},o)):a.push(e.fullPath,o)),l.value=e,T(e,t,n,s),C()}var k,S=useCallbacks(),E=useCallbacks();function P(e,t,n){C(e);var r=E.list();return r.length?r.forEach((function(r){return r(e,t,n)})):console.error(e),Promise.reject(e)}function C(e){k||(k=!0,u=a.listen((function(e,t,n){var r=h(e),o=y(r);if(o)b(assign$1(o,{replace:!0}),r).catch(noop);else{c=r;var i=l.value;isBrowser&&saveScrollPosition(getScrollKey(i.fullPath,n.delta),computeScrollPosition()),A(r,i).catch((function(e){return isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(b(e.to,r).then((function(e){isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&a.go(-1,!1)})).catch(noop),Promise.reject()):(n.delta&&a.go(-n.delta,!1),P(e,r,i))})).then((function(e){(e=e||w(r,i,!1))&&(n.delta?a.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&a.go(-1,!1)),x(r,i,e)})).catch(noop)}})),S.list().forEach((function(t){var n=_slicedToArray(t,2),r=n[0],a=n[1];return e?a(e):r()})),S.reset())}function T(t,n,r,a){var o=e.scrollBehavior;if(!isBrowser||!o)return Promise.resolve();var i=!r&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return nextTick().then((function(){return o(t,n,i)})).then((function(e){return e&&scrollToPosition(e)})).catch((function(e){return P(e,t,n)}))}var I,M=function(e){return a.go(e)},R=new Set,O={currentRoute:l,addRoute:function(e,n){var r,a;return isRouteName(e)?(r=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,r)},removeRoute:function(e){var n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((function(e){return e.record}))},resolve:h,options:e,push:g,replace:function(e){return g(assign$1(v(e),{replace:!0}))},go:M,back:function(){return M(-1)},forward:function(){return M(1)},beforeEach:o.add,beforeResolve:i.add,afterEach:s.add,onError:E.add,isReady:function(){return k&&l.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((function(e,t){S.add([e,t])}))},install:function(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:function(){return unref(l)}}),isBrowser&&!I&&l.value===START_LOCATION_NORMALIZED&&(I=!0,g(a.location).catch((function(e){})));var t={},n=function(e){t[e]=computed((function(){return l.value[e]}))};for(var r in START_LOCATION_NORMALIZED)n(r);e.provide(routerKey,this),e.provide(routeLocationKey,reactive(t)),e.provide(routerViewLocationKey,l);var o=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=START_LOCATION_NORMALIZED,u&&u(),l.value=START_LOCATION_NORMALIZED,I=!1,k=!1),o()}}};return O}function runGuardQueue(e){return e.reduce((function(e,t){return e.then((function(){return t()}))}),Promise.resolve())}function extractChangingRecords(e,t){for(var n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length),i=function(o){var i=t.matched[o];i&&(e.matched.find((function(e){return isSameRouteRecord(e,i)}))?r.push(i):n.push(i));var s=e.matched[o];s&&(t.matched.find((function(e){return isSameRouteRecord(e,s)}))||a.push(s))},s=0;s1&&"boolean"!=typeof t)throw new $TypeError$1('"allowMissing" argument must be a boolean');var n=stringToPath(e),r=n.length>0?n[0]:"",a=getBaseIntrinsic("%"+r+"%",t),o=a.name,i=a.value,s=!1,l=a.alias;l&&(r=l[0],$spliceApply(n,$concat([0,1],l)));for(var c=1,u=!0;c=n.length){var h=$gOPD(i,p);i=(u=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[p]}else u=hasOwn$1(i,p),i=i[p];u&&!s&&(INTRINSICS[o]=i)}}return i},callBind$1={exports:{}};!function(t){var n=functionBind,r=getIntrinsic,a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||n.call(o,a),s=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=i(n,o,arguments);if(s&&l){var r=s(t,"length");r.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var u=function(){return i(n,a,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u}(callBind$1);var GetIntrinsic$1=getIntrinsic,callBind=callBind$1.exports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function(e,t){var n=GetIntrinsic$1(e,!!t);return"function"==typeof n&&$indexOf(e,".prototype.")>-1?callBind(n):n},__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1),hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap="function"==typeof WeakMap&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet="function"==typeof WeakSet&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef="function"==typeof WeakRef&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString$1=Object.prototype.toString,functionToString=Function.prototype.toString,match=String.prototype.match,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"===_typeof2(Symbol.iterator),isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),inspectCustom=require$$0.custom,inspectSymbol=inspectCustom&&isSymbol(inspectCustom)?inspectCustom:null,toStringTag="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null,objectInspect=function e(t,n,r,a){var o=n||{};if(has$3(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$3(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!has$3(o,"customInspect")||o.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$3(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===o.depth?5:o.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"===_typeof2(t))return isArray$4(t)?"[Array]":"[Object]";var l=getIndent(o,r);if(void 0===a)a=[];else if(indexOf(a,t)>=0)return"[Circular]";function c(t,n,i){if(n&&(a=a.slice()).push(n),i){var s={depth:o.depth};return has$3(o,"quoteStyle")&&(s.quoteStyle=o.quoteStyle),e(t,s,r+1,a)}return e(t,o,r+1,a)}if("function"==typeof t){var u=nameOf(t),p=arrObjKeys(t,c);return"[Function"+(u?": "+u:" (anonymous)")+"]"+(p.length>0?" { "+p.join(", ")+" }":"")}if(isSymbol(t)){var d=hasShammedSymbols?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(t);return"object"!==_typeof2(t)||hasShammedSymbols?d:markBoxed(d)}if(isElement(t)){for(var f="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],v=0;v",t.childNodes&&t.childNodes.length&&(f+="..."),f+=""+String(t.nodeName).toLowerCase()+">"}if(isArray$4(t)){if(0===t.length)return"[]";var m=arrObjKeys(t,c);return l&&!singleLineValues(m)?"["+indentedJoin(m,l)+"]":"[ "+m.join(", ")+" ]"}if(isError(t)){var g=arrObjKeys(t,c);return 0===g.length?"["+String(t)+"]":"{ ["+String(t)+"] "+g.join(", ")+" }"}if("object"===_typeof2(t)&&i){if(inspectSymbol&&"function"==typeof t[inspectSymbol])return t[inspectSymbol]();if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(isMap(t)){var y=[];return mapForEach.call(t,(function(e,n){y.push(c(n,t,!0)+" => "+c(e,t))})),collectionOf("Map",mapSize.call(t),y,l)}if(isSet(t)){var b=[];return setForEach.call(t,(function(e){b.push(c(e,t))})),collectionOf("Set",setSize.call(t),b,l)}if(isWeakMap(t))return weakCollectionOf("WeakMap");if(isWeakSet(t))return weakCollectionOf("WeakSet");if(isWeakRef(t))return weakCollectionOf("WeakRef");if(isNumber(t))return markBoxed(c(Number(t)));if(isBigInt(t))return markBoxed(c(bigIntValueOf.call(t)));if(isBoolean(t))return markBoxed(booleanValueOf.call(t));if(isString(t))return markBoxed(c(String(t)));if(!isDate$1(t)&&!isRegExp$1(t)){var _=arrObjKeys(t,c),A=gPO?gPO(t)===Object.prototype:t instanceof Object||t.constructor===Object,x=t instanceof Object?"":"null prototype",w=!A&&toStringTag&&Object(t)===t&&toStringTag in t?toStr(t).slice(8,-1):x?"Object":"",k=(A||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(w||x?"["+[].concat(w||[],x||[]).join(": ")+"] ":"");return 0===_.length?k+"{}":l?k+"{"+indentedJoin(_,l)+"}":k+"{ "+_.join(", ")+" }"}return String(t)};function wrapQuotes(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function quote(e){return String(e).replace(/"/g,""")}function isArray$4(e){return!("[object Array]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isDate$1(e){return!("[object Date]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isRegExp$1(e){return!("[object RegExp]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isError(e){return!("[object Error]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isString(e){return!("[object String]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isNumber(e){return!("[object Number]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isBoolean(e){return!("[object Boolean]"!==toStr(e)||toStringTag&&"object"===_typeof2(e)&&toStringTag in e)}function isSymbol(t){if(hasShammedSymbols)return t&&"object"===_typeof2(t)&&t instanceof Symbol;if("symbol"===_typeof2(t))return!0;if(!t||"object"!==_typeof2(t)||!symToString)return!1;try{return symToString.call(t),!0}catch(e){}return!1}function isBigInt(t){if(!t||"object"!==_typeof2(t)||!bigIntValueOf)return!1;try{return bigIntValueOf.call(t),!0}catch(e){}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(e){return e in this};function has$3(e,t){return hasOwn.call(e,t)}function toStr(e){return objectToString$1.call(e)}function nameOf(e){if(e.name)return e.name;var t=match.call(functionToString.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return inspectString(e.slice(0,t.maxStringLength),t)+r}return wrapQuotes(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,lowbyte),"single",t)}function lowbyte(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,t,n,r){return e+" ("+t+") {"+(r?indentedJoin(n,r):n.join(", "))+"}"}function singleLineValues(e){for(var t=0;t=0)return!1;return!0}function getIndent(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}function indentedJoin(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function arrObjKeys(e,t){var n=isArray$4(e),r=[];if(n){r.length=e.length;for(var a=0;a1;){var t=e.pop(),n=t.obj[t.prop];if(isArray$3(n)){for(var r=[],a=0;a=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===formats$2.RFC1738&&(40===l||41===l)?i+=o.charAt(s):l<128?i+=hexTable[l]:l<2048?i+=hexTable[192|l>>6]+hexTable[128|63&l]:l<55296||l>=57344?i+=hexTable[224|l>>12]+hexTable[128|l>>6&63]+hexTable[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&o.charCodeAt(s)),i+=hexTable[240|l>>18]+hexTable[128|l>>12&63]+hexTable[128|l>>6&63]+hexTable[128|63&l])}return i},compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r0?m.join(",")||null:void 0}];else if(isArray$2(s))S=s;else{var P=Object.keys(m);S=l?P.sort(l):P}for(var C=0;C0?d+p:""},utils=utils$2,has=Object.prototype.hasOwnProperty,isArray$1=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(e){return e.replace(/(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},parseArrayValue=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(e,t){var n,r={},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=a.split(t.delimiter,o),s=-1,l=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(u=isArray$1(u)?[u]:u),has.call(r,c)?r[c]=utils.combine(r[c],u):r[c]=u}return r},parseObject=function(e,t,n,r){for(var a=r?t:parseArrayValue(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=a:"__proto__"!==l&&(i[l]=a):i={0:a}}a=i}return a},parseKeys=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,i=n.depth>0&&/(\[[^[\]]*])/.exec(a),s=i?a.slice(0,i.index):a,l=[];if(s){if(!n.plainObjects&&has.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var c=0;n.depth>0&&null!==(i=o.exec(a))&&c-1};function normalizeName(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function normalizeValue(e){return"string"!=typeof e&&(e=String(e)),e}function iteratorFor(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return support.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Headers(e){this.map={},e instanceof Headers?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function consumed(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function fileReaderReady(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function readBlobAsArrayBuffer(e){var t=new FileReader,n=fileReaderReady(t);return t.readAsArrayBuffer(e),n}function readBlobAsText(e){var t=new FileReader,n=fileReaderReady(t);return t.readAsText(e),n}function readArrayBufferAsText(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}function Request(e,t){if(!(this instanceof Request))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof Request){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Headers(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Headers(t.headers)),this.method=normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function decode(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function parseHeaders(e){var t=new Headers;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();t.append(r,a)}})),t}function Response(e,t){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Headers(t.headers),this.url=t.url||"",this._initBody(e)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})},Response.error=function(){var e=new Response(null,{status:0,statusText:""});return e.type="error",e};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(e,t){if(-1===redirectStatuses.indexOf(t))throw new RangeError("Invalid status code");return new Response(null,{status:t,headers:{location:e}})};var DOMException=global$1.DOMException;try{new DOMException}catch(err){DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},DOMException.prototype=Object.create(Error.prototype),DOMException.prototype.constructor=DOMException}function fetch$1(t,n){return new Promise((function(r,a){var o=new Request(t,n);if(o.signal&&o.signal.aborted)return a(new DOMException("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:parseHeaders(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;setTimeout((function(){r(new Response(t,e))}),0)},i.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){a(new DOMException("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&global$1.location.href?global$1.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(support.blob?i.responseType="blob":support.arrayBuffer&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!n||"object"!==_typeof2(n.headers)||n.headers instanceof Headers?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){i.setRequestHeader(e,normalizeValue(n.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread2(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1,defaultInstance:!1},r=!1,a=!1,o=!1;"number"==typeof n?(process&&process.env,r=!0,a=!1):"object"===_typeof(n)&&n&&(a=n.global||!1,r=n.core||!1,o=n.defaultInstance||!1),a?e.globalMiddlewares.splice(e.globalMiddlewares.length-e.defaultGlobalMiddlewaresLength,0,t):r?e.coreMiddlewares.splice(e.coreMiddlewares.length-e.defaultCoreMiddlewaresLength,0,t):o?this.defaultMiddlewares.push(t):this.middlewares.push(t)}},{key:"execute",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=compose([].concat(_toConsumableArray(this.middlewares),_toConsumableArray(this.defaultMiddlewares),_toConsumableArray(e.globalMiddlewares),_toConsumableArray(e.coreMiddlewares)));return n(t)}}]),e}();Onion.globalMiddlewares=[],Onion.defaultGlobalMiddlewaresLength=0,Onion.coreMiddlewares=[],Onion.defaultCoreMiddlewaresLength=0;var MapCache=function(){function e(t){_classCallCheck(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return _createClass(e,[{key:"extendOptions",value:function(e){this.maxCache=e.maxCache||0}},{key:"get",value:function(e){return this.cache.get(JSON.stringify(e))}},{key:"set",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var a=_toConsumableArray(this.cache.keys())[0];this.cache.delete(a),this.timer[a]&&clearTimeout(this.timer[a])}var o=JSON.stringify(e);this.cache.set(o,t),r>0&&(this.timer[o]=setTimeout((function(){n.cache.delete(o),delete n.timer[o]}),r))}},{key:"delete",value:function(e){var t=JSON.stringify(e);return delete this.timer[t],this.cache.delete(t)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),e}(),RequestError=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"RequestError";return _classCallCheck(this,n),(a=t.call(this,e)).name="RequestError",a.request=r,a.type=o,a}return n}(_wrapNativeSuper(Error)),ResponseError=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var i,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ResponseError";return _classCallCheck(this,n),(i=t.call(this,r||e.statusText)).name="ResponseError",i.data=a,i.response=e,i.request=o,i.type=s,i}return n}(_wrapNativeSuper(Error));function readerGBK(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){t(r.result)},r.onerror=n,r.readAsText(e,"GBK")}))}function safeJsonParse(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{return JSON.parse(t)}catch(e){if(n)throw new ResponseError(r,"JSON.parse fail",t,a,"ParseError")}return t}function timeout2Throw(e,t,n){return new Promise((function(r,a){setTimeout((function(){a(new RequestError(t||"timeout of ".concat(e,"ms exceeded"),n,"Timeout"))}),e)}))}function cancel2Throw(e){return new Promise((function(t,n){e.cancelToken&&e.cancelToken.promise.then((function(e){n(e)}))}))}var toString=Object.prototype.toString;function getEnv(){var e;return"undefined"!=typeof process&&"[object process]"===toString.call(process)&&(e="NODE"),"undefined"!=typeof XMLHttpRequest&&(e="BROWSER"),e}function isArray(e){return"object"===_typeof(e)&&"[object Array]"===Object.prototype.toString.call(e)}function isURLSearchParams(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function isDate(e){return"object"===_typeof(e)&&"[object Date]"===Object.prototype.toString.call(e)}function isObject(e){return null!==e&&"object"===_typeof(e)}function forEach2ObjArr(e,t){if(e)if("object"!==_typeof(e)&&(e=[e]),isArray(e))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=t.suffix;return n&&(e="".concat(n).concat(e)),r&&(e="".concat(e).concat(r)),{url:e,options:t}},warnedCoreType=!1;function __defaultValidateCache(e,t){var n=t.method;return"get"===(void 0===n?"get":n).toLowerCase()}function fetchMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=n.url,i=void 0===o?"":o,s=e.cache,l=e.responseInterceptors,c=a.timeout,u=void 0===c?0:c,p=a.timeoutMessage,d=a.__umiRequestCoreType__,f=void 0===d?"normal":d,h=a.useCache,v=void 0!==h&&h,m=a.method,g=void 0===m?"get":m,y=a.params,b=a.ttl,_=a.validateCache,A=void 0===_?__defaultValidateCache:_;if("normal"!==f)return process&&process.env,t();var x=fetch;if(!x)throw new Error("Global fetch not exist!");var w,k="BROWSER"===getEnv(),S=A(i,a)&&v&&k;if(S){var E=s.get({url:i,params:y,method:g});if(E)return(E=E.clone()).useCache=!0,e.res=E,t()}return w=u>0?Promise.race([cancel2Throw(a),x(i,a),timeout2Throw(u,p,e.req)]):Promise.race([cancel2Throw(a),x(i,a)]),l.forEach((function(e){w=w.then((function(t){var n="function"==typeof t.clone?t.clone():t;return e(n,a)}))})),w.then((function(n){if(S&&200===n.status){var r=n.clone();r.useCache=!0,s.set({url:i,params:y,method:g},r,b)}return e.res=n,t()}))}function parseResponseMiddleware(t,n){var r;return n().then((function(){if(t){var n=t.res,a=void 0===n?{}:n,o=t.req,i=void 0===o?{}:o,s=(i||{}).options,l=(s=void 0===s?{}:s).responseType,c=void 0===l?"json":l,u=s.charset,p=void 0===u?"utf8":u;s.getResponse;var d=s.throwErrIfParseFail,f=void 0!==d&&d,h=s.parseResponse;if((void 0===h||h)&&a&&a.clone){if((r="BROWSER"===getEnv()?a.clone():a).useCache=a.useCache||!1,"gbk"===p)try{return a.blob().then(readerGBK).then((function(e){return safeJsonParse(e,!1,r,i)}))}catch(e){throw new ResponseError(r,e.message,null,i,"ParseError")}else if("json"===c)return a.text().then((function(e){return safeJsonParse(e,f,r,i)}));try{return a[c]()}catch(e){throw new ResponseError(r,"responseType not support",null,i,"ParseError")}}}})).then((function(e){if(t){t.res;var n=t.req,a=void 0===n?{}:n,o=(a||{}).options,i=(o=void 0===o?{}:o).getResponse,s=void 0!==i&&i;if(r){if(r.status>=200&&r.status<300)return s?void(t.res={data:e,response:r}):void(t.res=e);throw new ResponseError(r,"http error",e,a,"HttpError")}}})).catch((function(e){if(e instanceof RequestError||e instanceof ResponseError)throw e;var n=t.req,r=t.res;throw e.request=e.request||n,e.response=e.response||r,e.type=e.type||e.name,e.data=e.data||void 0,e}))}function simplePostMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=a.method;if(-1===["post","put","patch","delete"].indexOf((void 0===o?"get":o).toLowerCase()))return t();var i=a.requestType,s=void 0===i?"json":i,l=a.data;if(l){var c=Object.prototype.toString.call(l);"[object Object]"===c||"[object Array]"===c?"json"===s?(a.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},a.headers),a.body=JSON.stringify(l)):"form"===s&&(a.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},a.headers),a.body=reqStringify(l)):(a.headers=_objectSpread2({Accept:"application/json"},a.headers),a.body=l)}return e.req.options=a,t()}function paramsSerialize(e,t){var n,r;if(e)if(t)n=t(e);else if(isURLSearchParams(e))n=e.toString();else{if(isArray(e))r=[],forEach2ObjArr(e,(function(e){null==e?r.push(e):r.push(isObject(e)?JSON.stringify(e):e)})),n=reqStringify(r);else r={},forEach2ObjArr(e,(function(e,t){var n=e;null==e?r[t]=e:isDate(e)?n=e.toISOString():isArray(e)?n=e:isObject(e)&&(n=JSON.stringify(e)),r[t]=n})),n=reqStringify(r)}return n}function simpleGetMiddleware(e,t){if(!e)return t();var n=e.req,r=(n=void 0===n?{}:n).options,a=void 0===r?{}:r,o=a.paramsSerializer,i=a.params,s=e.req,l=(s=void 0===s?{}:s).url,c=void 0===l?"":l;a.method=a.method?a.method.toUpperCase():"GET",a.credentials=a.credentials||"same-origin";var u=paramsSerialize(i,o);if(e.req.originUrl=c,u){var p=-1!==c.indexOf("?")?"&":"?";e.req.url="".concat(c).concat(p).concat(u)}return e.req.options=a,t()}var globalMiddlewares=[simplePostMiddleware,simpleGetMiddleware,parseResponseMiddleware],coreMiddlewares=[fetchMiddleware];Onion.globalMiddlewares=globalMiddlewares,Onion.defaultGlobalMiddlewaresLength=globalMiddlewares.length,Onion.coreMiddlewares=coreMiddlewares,Onion.defaultCoreMiddlewaresLength=coreMiddlewares.length;var Core=function(){function t(e){_classCallCheck(this,t),this.onion=new Onion([]),this.fetchIndex=0,this.mapCache=new MapCache(e),this.initOptions=e,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return _createClass(t,[{key:"use",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1};return this.onion.use(e,t),this}},{key:"extendOptions",value:function(e){this.initOptions=mergeRequestOptions(this.initOptions,e),this.mapCache.extendOptions(e)}},{key:"dealRequestInterceptors",value:function(e){return[].concat(_toConsumableArray(t.requestInterceptors),_toConsumableArray(this.instanceRequestInterceptors)).reduce((function(t,n){return t.then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,n(e.req.url,e.req.options)}))}),Promise.resolve()).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.req.url=t.url||e.req.url,e.req.options=t.options||e.req.options,Promise.resolve()}))}},{key:"request",value:function(n,r){var a=this,o=this.onion,i={req:{url:n,options:_objectSpread2(_objectSpread2({},r),{},{url:n})},res:null,cache:this.mapCache,responseInterceptors:[].concat(_toConsumableArray(t.responseInterceptors),_toConsumableArray(this.instanceResponseInterceptors))};if("string"!=typeof n)throw new Error("url MUST be a string");return new Promise((function(t,n){a.dealRequestInterceptors(i).then((function(){return o.execute(i)})).then((function(){t(i.res)})).catch((function(r){var a=i.req.options.errorHandler;if(a)try{var o=a(r);t(o)}catch(e){n(e)}else n(r)}))}))}}],[{key:"requestUse",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");n.global?t.requestInterceptors.push(e):this.instanceRequestInterceptors.push(e)}},{key:"responseUse",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof e)throw new TypeError("Interceptor must be function!");n.global?t.responseInterceptors.push(e):this.instanceResponseInterceptors.push(e)}}]),t}();function Cancel(e){this.message=e}function CancelToken(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 Cancel(e),t(n.reason))}))}function isCancel(e){return!(!e||!e.__CANCEL__)}Core.requestInterceptors=[addfix],Core.responseInterceptors=[],Cancel.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},Cancel.prototype.__CANCEL__=!0,CancelToken.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},CancelToken.source=function(){var e;return{token:new CancelToken((function(t){e=t})),cancel:e}};var request$1=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Core(e),n=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=mergeRequestOptions(t.initOptions,n);return t.request(e,r)};n.use=t.use.bind(t),n.fetchIndex=t.fetchIndex,n.interceptors={request:{use:Core.requestUse.bind(t)},response:{use:Core.responseUse.bind(t)}};var r=["get","post","delete","put","patch","head","options","rpc"];return r.forEach((function(e){n[e]=function(t,r){return n(t,_objectSpread2(_objectSpread2({},r),{},{method:e}))}})),n.Cancel=Cancel,n.CancelToken=CancelToken,n.isCancel=isCancel,n.extendOptions=t.extendOptions.bind(t),n.middlewares={instance:t.onion.middlewares,defaultInstance:t.onion.defaultMiddlewares,global:Onion.globalMiddlewares,core:Onion.coreMiddlewares},n},extend=exports("bk",(function(e){return request$1(e)}));request$1({parseResponse:!1});var request$1$1=exports("bv",request$1({})),lodash_isempty={exports:{}};!function(t,n){var r=9007199254740991,a="[object Map]",o="[object Promise]",i="[object Set]",s="[object WeakMap]",l="[object DataView]",c=/^\[object .+?Constructor\]$/,u="object"==_typeof2(commonjsGlobal$1)&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,p="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,d=u||p||Function("return this")(),f=n&&!n.nodeType&&n,h=f&&t&&!t.nodeType&&t,v=h&&h.exports===f;var m=Function.prototype,g=Object.prototype,y=d["__core-js_shared__"],b=function(){var e=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),_=m.toString,A=g.hasOwnProperty,x=g.toString,w=RegExp("^"+_.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=v?d.Buffer:void 0,S=g.propertyIsEnumerable,E=k?k.isBuffer:void 0,P=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),C=V(d,"DataView"),T=V(d,"Map"),I=V(d,"Promise"),M=V(d,"Set"),R=V(d,"WeakMap"),O=!S.call({valueOf:1},"valueOf"),z=H(C),D=H(T),F=H(I),B=H(M),N=H(R);function j(t){if(!$(t)||(n=t,b&&b in n))return!1;var n,r=K(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}(t)?w:c;return r.test(H(t))}function V(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}var L=function(e){return x.call(e)};function H(t){if(null!=t){try{return _.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function G(e){return function(e){return function(e){return!!e&&"object"==_typeof2(e)}(e)&&U(e)}(e)&&A.call(e,"callee")&&(!S.call(e,"callee")||"[object Arguments]"==x.call(e))}(C&&L(new C(new ArrayBuffer(1)))!=l||T&&L(new T)!=a||I&&L(I.resolve())!=o||M&&L(new M)!=i||R&&L(new R)!=s)&&(L=function(e){var t=x.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?H(n):void 0;if(r)switch(r){case z:return l;case D:return a;case F:return o;case B:return i;case N:return s}return t});var q=Array.isArray;function U(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!K(e)}var W=E||function(){return!1};function K(e){var t=$(e)?x.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function $(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}t.exports=function(e){if(U(e)&&(q(e)||"string"==typeof e||"function"==typeof e.splice||W(e)||G(e)))return!e.length;var t=L(e);if(t==a||t==i)return!e.size;if(O||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||g)}(e))return!P(e).length;for(var n in e)if(A.call(e,n))return!1;return!0}}(lodash_isempty,lodash_isempty.exports);var objectTag="[object Object]";function isHostObject(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}function overArg(e,t){return function(n){return e(t(n))}}var funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object),objectToString=objectProto.toString,getPrototype=overArg(Object.getPrototypeOf,Object);function isObjectLike(e){return!!e&&"object"==_typeof2(e)}function isPlainObject$1(e){if(!isObjectLike(e)||objectToString.call(e)!=objectTag||isHostObject(e))return!1;var t=getPrototype(e);if(null===t)return!0;var n=hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&funcToString.call(n)==objectCtorString}var lodash_isplainobject=isPlainObject$1,lodash_transform={exports:{}};!function(t,n){var r="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",p="[object Map]",d="[object Number]",f="[object Object]",h="[object Promise]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",A="[object DataView]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/,k=/^\./,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,E=/\\(\\)?/g,P=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[o]=T[i]=T[_]=T[s]=T[A]=T[l]=T[c]=T[u]=T[p]=T[d]=T[f]=T[v]=T[m]=T[g]=T[b]=!1;var I="object"==_typeof2(commonjsGlobal$1)&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,M="object"==("undefined"==typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self,R=I||M||Function("return this")(),O=n&&!n.nodeType&&n,z=O&&t&&!t.nodeType&&t,D=z&&z.exports===O&&I.process,F=function(){try{return D&&D.binding("util")}catch(e){}}(),B=F&&F.isTypedArray;function N(e,t){for(var n=-1,r=e?e.length:0;++n-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},xe.prototype.clear=function(){this.__data__={hash:new _e,map:new(se||Ae),string:new _e}},xe.prototype.delete=function(e){return Ne(this,e).delete(e)},xe.prototype.get=function(e){return Ne(this,e).get(e)},xe.prototype.has=function(e){return Ne(this,e).has(e)},xe.prototype.set=function(e,t){return Ne(this,e).set(e,t),this},we.prototype.add=we.prototype.push=function(e){return this.__data__.set(e,r),this},we.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.clear=function(){this.__data__=new Ae},ke.prototype.delete=function(e){return this.__data__.delete(e)},ke.prototype.get=function(e){return this.__data__.get(e)},ke.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this;n=this.__data__=new xe(r)}return n.set(e,t),this};var Pe,Ce=function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var s=o[Pe?i:++r];if(!1===t(a[s],s,a))break}return e};function Te(e,t){return e&&Ce(e,t,it)}function Ie(e,t){for(var n=0,r=(t=He(t,e)?[t]:Fe(t)).length;null!=e&&ns))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,p=!0,d=1&a?new we:void 0;for(o.set(e,t),o.set(t,e);++u-1&&e%1==0&&e-1&&e%1==0&&e<=a}function tt(e){var t=_typeof2(e);return!!e&&("object"==t||"function"==t)}function nt(e){return!!e&&"object"==_typeof2(e)}function rt(e){return"symbol"==_typeof2(e)||nt(e)&&Q.call(e)==y}var at,ot=B?(at=B,function(e){return at(e)}):function(e){return nt(e)&&et(e.length)&&!!T[Q.call(e)]};function it(e){return Xe(e)?Se(e):De(e)}function st(e){return e}t.exports=function(e,t,n){var r,a=Qe(e)||ot(e);if(t=ze(t),null==n)if(a||tt(e)){var o=e.constructor;n=a?Qe(e)?new o:[]:Ze(o)?tt(r=te(e))?ne(r):{}:{}}else n={};return(a?N:Te)(e,(function(e,r,a){return t(n,e,r,a)})),n}}(lodash_transform,lodash_transform.exports);var isEmpty=lodash_isempty.exports,isPlainObject=lodash_isplainobject,transform=lodash_transform.exports,src=exports("bm",(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.cleanKeys,a=void 0===r?[]:r,o=n.cleanValues,i=void 0===o?[]:o,s=n.emptyArrays,l=void 0===s||s,c=n.emptyObjects,u=void 0===c||c,p=n.emptyStrings,d=void 0===p||p,f=n.NaNValues,h=void 0!==f&&f,v=n.nullValues,m=void 0===v||v,g=n.undefinedValues,y=void 0===g||g;return transform(t,(function(t,n,r){if(!a.includes(r)&&((Array.isArray(n)||isPlainObject(n))&&(n=e(n,{NaNValues:h,cleanKeys:a,cleanValues:i,emptyArrays:l,emptyObjects:u,emptyStrings:d,nullValues:m,undefinedValues:y})),!i.includes(n)&&!(u&&isPlainObject(n)&&isEmpty(n))&&(!l||!Array.isArray(n)||n.length)&&!(d&&""===n||h&&Number.isNaN(n)||m&&null===n||y&&void 0===n)))return Array.isArray(t)?t.push(n):void(t[r]=n)}))})),request=exports("m",extend({hideLoading:!0,timeout:2e4,timeoutMessage:"请求超时"})),initRequest=!1,toast;request.interceptors.request.use((function(e,t){var n,r;t.hideLoading||(clearTimeout(toast),baseEvent.emit("toastShow","center")),initRequest=t.initRequest||!1;var a=sessionStorage.getItem("Authorization")||"",o={};if(a&&!["/api-oauth/userlogin","/api-oauth/open/sendSms"].includes(e)&&(o.Authorization=a),null!=state&&null!==(n=state.user)&&void 0!==n&&null!==(r=n.data)&&void 0!==r&&r.schoolInfos){var i=(state.user.data.schoolInfos||[]).map((function(e){return e.id})).join(",");i&&(o.schoolId=i)}return{url:e,options:_objectSpread(_objectSpread({},t),{},{params:src(t.params),data:src(t.data),headers:_objectSpread(_objectSpread({},t.headers),o)})}}),{global:!1}),request.interceptors.response.use(function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var n,r,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(toast=setTimeout((function(){baseEvent.emit("toastClose","center")}),100),!(t.status>299||t.status<200)){e.next=7;break}throw clearTimeout(toast),n="服务器错误,状态码"+t.status,baseEvent.emit("toastClose","center"),showToast(n),new Error(n);case 7:return e.next=9,t.clone().json();case 9:if(200===(r=e.sent).code||0===r.errCode||999===r.code){e.next=18;break}throw a=r.msg||r.message||"处理失败,请重试",initRequest&&(403===r.code||5e3===r.code?setLogout():setLoginError()),console.log(r.code,"5104"),403!==r.code&&5e3!==r.code&&(clearTimeout(toast),baseEvent.emit("toastClose","center"),showToast(a)),o=browser(),5e3===r.code&&(a+="5000",o.isApp?postMessage({api:"login"}):setLogout()),new Error(a);case 18:return e.abrupt("return",t);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{global:!1});var empty="./assets/emptyContent.04f9724b.png",__glob_5_0=Object.freeze(Object.defineProperty({__proto__:null,default:empty},Symbol.toStringTag,{value:"Module"})),emptyContent="./assets/emptyContent.04f9724b.png",__glob_5_1=Object.freeze(Object.defineProperty({__proto__:null,default:emptyContent},Symbol.toStringTag,{value:"Module"})),network="./assets/network.6d51555b.png",__glob_5_2=Object.freeze(Object.defineProperty({__proto__:null,default:network},Symbol.toStringTag,{value:"Module"})),notFond="./assets/notFond.78c3cc5e.png",__glob_5_3=Object.freeze(Object.defineProperty({__proto__:null,default:notFond},Symbol.toStringTag,{value:"Module"})),tips="_tips_uqenj_12",btn="_btn_uqenj_17",SMALL="_SMALL_uqenj_28",CERT="_CERT_uqenj_32",styles$1={"col-result":"_col-result_uqenj_1",tips:tips,btn:btn,SMALL:SMALL,CERT:CERT},getAssetsHomeFile=function(e){var t="./images/".concat(e);return{"./images/empty.png":__glob_5_0,"./images/emptyContent.png":__glob_5_1,"./images/network.png":__glob_5_2,"./images/notFond.png":__glob_5_3}[t].default},OEmpty=exports("ai",defineComponent({name:"o-empty",props:{tips:{type:String},type:{type:String,default:"empty"},classImgSize:{type:String,default:""},imageSize:{type:Number,default:0},plain:{type:Boolean,default:!1},btnStatus:{type:Boolean,default:!1},buttonText:{type:String,default:"我知道了"},onClick:Function},methods:{onResult:function(){this.onClick?this.onClick():postMessage({api:"back",content:{}})}},computed:{image:function(){var e=null;switch(this.type){case"emptyContent":e=getAssetsHomeFile("emptyContent.png");break;case"error":e="error";break;case"network":e=getAssetsHomeFile("network.png");break;case"search":e="search";break;case"notFond":e=getAssetsHomeFile("notFond.png");break;default:e=getAssetsHomeFile("empty.png")}return e}},render:function(){var e=this;return createVNode("div",{class:[styles$1["col-result"],"o-result-container"]},[createVNode(Empty,{image:this.image,imageSize:this.imageSize||"",class:styles$1[this.classImgSize],description:this.tips},null),this.btnStatus?createVNode(Button,{class:styles$1.btn,round:!0,block:!0,type:"primary",plain:this.plain,onClick:this.onResult},{default:function(){return[e.buttonText]}}):null])}})),browserInfo$1=browser(),Auth=defineComponent({name:"Auth-loayout",data:function(){return{loading:!1}},computed:{isExternal:function(){return this.$route.meta.isExternal&&!browserInfo$1.isStudent||!1},isNeedView:function(){return"login"===state.user.status||"/login"===this.$route.path||this.isExternal}},mounted:function(){!this.isExternal&&this.setAuth()},methods:{setAuth:function(){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function t(){var n,r,a,o,i,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$route.query,(r=n.userInfo||n.Authorization)&&setAuth$1(r),!e.loading){t.next=5;break}return t.abrupt("return");case 5:if("init"!==state.user.status&&"error"!==state.user.status){t.next=20;break}return e.loading=!0,t.prev=7,t.next=10,request.get(state.platformApi+"/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});case 10:a=t.sent,"SCHOOL"===state.platformType&&(o=a.data.schoolInfos?a.data.schoolInfos[0]:{},a.data.school=o),setLogin(a.data),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(7),-1===(i=t.t0.message).indexOf("5000")&&-1===i.indexOf("authentication")?setLoginError():setLogout();case 19:e.loading=!1;case 20:if("logout"===state.user.status)if(browser().isApp)postMessage({api:"login"});else try{s=e.$route,l=_objectSpread({returnUrl:e.$route.path},e.$route.query),s.meta.isRegister&&(l.isRegister=s.meta.isRegister),e.$router.replace({path:"/login",query:l})}catch(error){}case 21:case"end":return t.stop()}}),t,null,[[7,15]])})))()}},render:function(){return createVNode(Fragment,null,["error"===state.user.status?createVNode("div",{class:styles$2.error},[createVNode(OEmpty,{type:"notFond",classImgSize:"CERT",tips:"加载失败,请稍后重试",buttonText:"重新加载",plain:!0,btnStatus:!0,onClick:this.setAuth},null)]):this.isNeedView?createVNode(RouterView,null,null):null])}}),paymentType$1=window.paymentType,router$1=[{path:"/lessonCourseware",name:"lessonCourseware",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f77a596c.js")}),void 0)},meta:{title:"选择课件"}},{path:"/courseList",name:"courseList",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f46b3e9d.js")}),void 0)},meta:{title:"课程列表"}},{path:"/coursewarePlay",name:"coursewarePlay",component:function(){return __vitePreload((function(){return module.import("./index-legacy.61cdbfd8.js")}),void 0)},meta:{title:"课程播放"}},{path:"/exerciseAfterClass",name:"exerciseAfterClass",component:function(){return __vitePreload((function(){return module.import("./index-legacy.94a35f86.js")}),void 0)},meta:{title:"观看视频"}},{path:"/accompany",name:"accompany",component:function(){return __vitePreload((function(){return module.import("./index-legacy.d3d79bdf.js")}),void 0)},meta:{title:"云练习"}},{path:"/musicList",name:"music-list",component:function(){return __vitePreload((function(){return module.import("./music-list-legacy.49100765.js")}),void 0)},meta:{title:"曲谱列表"}},{path:"/information-list",name:"information-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e6d965e8.js")}),void 0)},meta:{title:"资讯列表"}},{path:"/information-detail",name:"information-detail",component:function(){return __vitePreload((function(){return module.import("./information-detail-legacy.f940faa4.js")}),void 0)},meta:{title:"资讯详情"}},{path:"/notice-detail",name:"notice-detail",component:function(){return __vitePreload((function(){return module.import("./notice-detail-legacy.18ff3092.js")}),void 0)},meta:{title:"公告详情"}},{path:"/help-center",name:"help-center",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4179df4a.js")}),void 0)},meta:{title:"帮助中心"}},{path:"/help-detail",name:"help-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.d4ee6847.js")}),void 0)},meta:{title:"帮助中心详情"}},{path:"/unit-test",name:"unit-test",component:function(){return __vitePreload((function(){return module.import("./index-legacy.176c66be.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unit-detail",name:"unit-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.86cdca25.js")}),void 0)},meta:{title:"测验详情"}},{path:"/test-exercise",name:"test-exercise",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a3476fe7.js")}),void 0)},meta:{title:"测试练习"}},{path:"/practice-mode",name:"practice-mode",component:function(){return __vitePreload((function(){return module.import("./index-legacy.63a5ae7c.js")}),void 0)},meta:{title:"练习模式"}},{path:"/examination-mode",name:"examination-mode",component:function(){return __vitePreload((function(){return module.import("./index-legacy.3e2ae4a0.js")}),void 0)},meta:{title:"测试详情"}},{path:"/approval-manage-subsidy",name:"approval-manage-subsidy",component:function(){return __vitePreload((function(){return module.import("./index-legacy.dbb2dab8.js")}),void 0)},meta:{title:"补助确认"}},{path:"/mine-orchestra",name:"mine-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f2bbe5af.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/mine-myphoto",name:"mine-myphoto",component:function(){return __vitePreload((function(){return module.import("./index-legacy.29115123.js")}),void 0)},meta:{title:"乐团剪影"}},{path:"/photo-list",name:"photo-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.325a69e7.js")}),void 0)},meta:{title:"相册"}},{path:"/photo-list-detail",name:"photo-list-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.8e86867a.js")}),void 0)},meta:{title:"相册详情"}},{path:"/message-detail",name:"message-detail",component:function(){return __vitePreload((function(){return module.import("./message-detail-legacy.9a71447d.js")}),void 0)},meta:{title:"消息详情"}}],rootRouter=[{path:"/payCenter",name:"payCenter",component:function(){return __vitePreload((function(){return module.import("./index-legacy.93c5950d.js")}),void 0)},meta:{title:"支付"}},{path:"/payDefine",name:"payDefine",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a56c1e62.js")}),void 0)},meta:{title:"支付"}},{path:"/payResult",name:"payResult",component:function(){return __vitePreload((function(){return module.import("./index-legacy.d74da96e.js")}),void 0)},meta:{title:"支付"}},{path:"/preview-protocol",name:"preview-protocol",component:function(){return __vitePreload((function(){return module.import("./index-legacy.bf9276cc.js")}),void 0)},meta:{title:"管乐团用户注册协议"}},{path:"/privacyProtocol",name:"privacyProtocol",component:function(){return __vitePreload((function(){return module.import("./privacy-legacy.d28b4af0.js")}),void 0)},meta:{title:"管乐团隐私政策"}},{path:"/cashProtocol",name:"cashProtocol",component:function(){return __vitePreload((function(){return module.import("./cash-protocol-legacy.c7bcccdf.js")}),void 0)},meta:{title:"共享经济平台注册经营者协议"}},{path:"/guide",name:"guide",component:function(){return __vitePreload((function(){return module.import("./guide-legacy.ef19aec0.js")}),void 0)},meta:{title:"投屏帮助"}},{path:"/follow-account",name:"follow-account",component:function(){return __vitePreload((function(){return module.import("./index-legacy.68b0a43c.js")}),void 0)},meta:{title:"关注微信公众号"}},{path:"/bind-wechat",name:"bind-wechat",component:function(){return __vitePreload((function(){return module.import("./index-legacy.514bb22f.js")}),void 0)},meta:{title:"绑定微信"}},{path:"/transfer",component:function(){return __vitePreload((function(){return module.import("./transfer-legacy.0db8e9f8.js")}),void 0)},meta:{title:"管乐团"}},{path:"/:pathMatch(.*)*",component:function(){return __vitePreload((function(){return module.import("./index-legacy.92c0ad72.js")}),void 0)},meta:{title:"404",platform:paymentType$1}}],noLoginRouter$2=[],routesTeacher=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.b39e9ce2.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.7d89e8d8.js")}),void 0)}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.13cf7e8f.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.1414baec.js")}),void 0)},meta:{title:"练习统计"}},{path:"/attendance",name:"attendance",component:function(){return __vitePreload((function(){return module.import("./index-legacy.10cbe3bd.js")}),void 0)},meta:{title:"我的考勤"}},{path:"/teacher-attendDetail",name:"teacher-attendDetail",component:function(){return __vitePreload((function(){return module.import("./teacher-attendDetail-legacy.5ae84765.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f6a609c1.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/screen-projection",name:"screen-projection",component:function(){return __vitePreload((function(){return module.import("./index-legacy.6b07656b.js")}),void 0)},meta:{title:"教学课件"}},{path:"/unit-list",name:"unit-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.44493ea5.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unit-create",name:"unit-create",component:function(){return __vitePreload((function(){return module.import("./index-legacy.a06b6cf5.js")}),void 0)},meta:{title:"新增测验"}},{path:"/unit-Lesson",name:"unit-Lesson",component:function(){return __vitePreload((function(){return module.import("./unit-Lesson-legacy.038b4047.js")}),void 0)},meta:{title:"选择教材"}},{path:"/uni-test",name:"uni-test",component:function(){return __vitePreload((function(){return module.import("./uni-test-legacy.de504da6.js")}),void 0)},meta:{title:"选择教材"}},{path:"/uni-last",name:"uni-last",component:function(){return __vitePreload((function(){return module.import("./uni-last-legacy.7ae261de.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/unitDetail",name:"unitDetail",component:function(){return __vitePreload((function(){return module.import("./unitDetail-legacy.e74e47ff.js")}),void 0)},meta:{title:"测验详情"}},{path:"/subsidy-exercise-details",name:"subsidy-exercise-details",component:function(){return __vitePreload((function(){return module.import("./details-legacy.7b33f5f8.js")}),void 0)},meta:{title:"补助明细"}}])}].concat(rootRouter,noLoginRouter$2),error="_error_1aqdy_1",info="_info_1aqdy_9",login="_login_1aqdy_27",loginTitle="_loginTitle_1aqdy_33",codeText="_codeText_1aqdy_41",margin34="_margin34_1aqdy_44",formTitle="_formTitle_1aqdy_47",wxPopupDialog="_wxPopupDialog_1aqdy_63",popupContainer="_popupContainer_1aqdy_80",title="_title_1aqdy_86",popupTips="_popupTips_1aqdy_93",styles=exports("bg",{error:error,info:info,login:login,loginTitle:loginTitle,codeText:codeText,margin34:margin34,formTitle:formTitle,wxPopupDialog:wxPopupDialog,popupContainer:popupContainer,title:title,popupTips:popupTips}),removeAuth=exports("bd",(function(){sessionStorage.removeItem("Authorization")})),_setAuth=exports("s",(function(e){sessionStorage.setItem("Authorization",e)})),browserInfo=browser(),MusicAuth=defineComponent({name:"Auth-loayout",data:function(){return{loading:!1}},computed:{isExternal:function(){return this.$route.meta.isExternal&&!browserInfo.isStudent||!1},isNeedView:function(){return"login"===state.user.status||"/loginMusic"===this.$route.path||this.isExternal}},mounted:function(){!this.isExternal&&this.setAuth()},methods:{setAuth:function(){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function t(){var n,r,a,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.$route.query,(r=n.userInfo||n.Authorization)&&_setAuth(r),!e.loading){t.next=5;break}return t.abrupt("return");case 5:if("init"!==state.user.status&&"error"!==state.user.status){t.next=19;break}return e.loading=!0,t.prev=7,t.next=10,request.get("/api-student/user/getUserInfo",{initRequest:!0,requestType:"form"});case 10:a=t.sent,setLogin(a.data),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(7),-1===(o=t.t0.message).indexOf("5000")&&-1===o.indexOf("authentication")?setLoginError():setLogout();case 18:e.loading=!1;case 19:if("logout"===state.user.status)try{i=e.$route,s=_objectSpread({returnUrl:e.$route.path},e.$route.query),i.meta.isRegister&&(s.isRegister=i.meta.isRegister),e.$router.replace({path:"/loginMusic",query:s})}catch(error){}case 20:case"end":return t.stop()}}),t,null,[[7,14]])})))()}},render:function(){return createVNode(Fragment,null,["error"===state.user.status?createVNode("div",{class:styles.error},[createVNode(OEmpty,{type:"notFond",classImgSize:"CERT",tips:"加载失败,请稍后重试",buttonText:"重新加载",plain:!0,btnStatus:!0,onClick:this.setAuth},null)]):this.isNeedView?createVNode(RouterView,null,null):null])}}),noLoginRouter$1=[{path:"/payment-result",name:"payment-result",component:function(){return __vitePreload((function(){return module.import("./index-legacy.9563da14.js")}),void 0)},meta:{title:"支付详情"}},{path:"/download",name:"download",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e9c59f10.js")}),void 0)},meta:{title:"下载管乐团学生端"}}],routesStudent=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.b39e9ce2.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.ff1d5e42.js")}),void 0)}},{path:"/coupons",name:"coupons",component:function(){return __vitePreload((function(){return module.import("./index-legacy.1d0f1f37.js")}),void 0)},meta:{title:"优惠券"}},{path:"/memberCenter",name:"memberCenter",component:function(){return __vitePreload((function(){return module.import("./index-legacy.d80311da.js")}),void 0)},meta:{title:"会员中心"}},{path:"/tradeRecord",name:"tradeRecord",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4fd0d900.js")}),void 0)},meta:{title:"交易记录"}},{path:"/my-orchestra",name:"my-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.52907a32.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/photo-detail",name:"photo-detail",component:function(){return __vitePreload((function(){return module.import("./photo-detail-legacy.84bd921c.js")}),void 0)},meta:{title:"相片"}},{path:"/apply-withdrawal",name:"apply-withdrawal",component:function(){return __vitePreload((function(){return module.import("./apply-withdrawal-legacy.2d85cfb4.js")}),void 0)},meta:{title:"申请退团"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f6a609c1.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/ranking-list",name:"ranking-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.66fabf51.js")}),void 0)},meta:{title:"排行榜"}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.13cf7e8f.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.1414baec.js")}),void 0)},meta:{title:"练习统计"}}])},{path:"/msuicGroup",component:MusicAuth,children:[{path:"/loginMusic",name:"loginMusic",component:function(){return __vitePreload((function(){return module.import("./login-legacy.9d47d797.js")}),void 0)},meta:{isRegister:!1}},{path:"/preApply",name:"preApply",component:function(){return __vitePreload((function(){return module.import("./index-legacy.4b67545e.js")}),void 0)},meta:{title:"乐团报名"}},{path:"/orderDetail",name:"orderDetail",component:function(){return __vitePreload((function(){return module.import("./order-detail-legacy.a9e20c84.js")}),void 0)},meta:{title:"订单详情"}},{path:"/shopAddress",name:"shopAddress",component:function(){return __vitePreload((function(){return module.import("./index-legacy.762f0e49.js")}),void 0)},meta:{title:"收货地址"}},{path:"/addressOperation",name:"addressOperation",component:function(){return __vitePreload((function(){return module.import("./address-operation-legacy.3c47239d.js")}),void 0)},meta:{title:"收货地址"}}]}].concat(noLoginRouter$1,rootRouter),noLoginRouter=[{path:"/companion-teacher-register",name:"companion-teacher-register",component:function(){return __vitePreload((function(){return module.import("./companion-teacher-register-legacy.46f1afb1.js")}),void 0)},meta:{title:"乐团伴学指导注册"}},{path:"/manage-teacher-register",name:"manage-teacher-register",component:function(){return __vitePreload((function(){return module.import("./manage-teacher-register-legacy.46c6a5fd.js")}),void 0)},meta:{title:"乐团管理老师注册"}}],routesSchool=[{path:"/",component:Auth,children:[].concat(router$1,[{path:"/login",name:"login",component:function(){return __vitePreload((function(){return module.import("./login-legacy.b39e9ce2.js")}),void 0)},meta:{isRegister:!1}},{path:"/home",name:"home",component:function(){return __vitePreload((function(){return module.import("./index-legacy.d8d9efec.js")}),void 0)}},{path:"/my-orchestra",name:"my-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.6ef2e4a4.js")}),void 0)},meta:{title:"我的乐团"}},{path:"/create-orchestra",name:"create-orchestra",component:function(){return __vitePreload((function(){return module.import("./index-legacy.af73baff.js")}),void 0)},meta:{title:"新建乐团"}},{path:"/create-orchestra-teacher",name:"create-orchestra-teacher",component:function(){return __vitePreload((function(){return module.import("./select-teacher-legacy.5a976f73.js")}),void 0)},meta:{title:"选择老师"}},{path:"/orchestra-detail",name:"orchestra-detail",component:function(){return __vitePreload((function(){return module.import("./orchestra-detail-legacy.24160adf.js")}),void 0)},meta:{title:"乐团详情"}},{path:"/school-photo",name:"school-photo",component:function(){return __vitePreload((function(){return module.import("./photo-legacy.18b83a4a.js")}),void 0)},meta:{title:"乐团剪影"}},{path:"/photo-detail",name:"photo-detail",component:function(){return __vitePreload((function(){return module.import("./photo-detail-legacy.a8c61858.js")}),void 0)},meta:{title:"相册详情"}},{path:"/mass-message",name:"mass-message",component:function(){return __vitePreload((function(){return module.import("./index-legacy.5d6b2683.js")}),void 0)},meta:{title:"群发记录"}},{path:"/create-message",name:"create-message",component:function(){return __vitePreload((function(){return module.import("./create-message-legacy.33d2160a.js")}),void 0)},meta:{title:"群发消息"}},{path:"/companion-teacher",name:"companion-teacher",component:function(){return __vitePreload((function(){return module.import("./index-legacy.0971754b.js")}),void 0)},meta:{title:"伴学指导"}},{path:"/companion-teacher-detail",name:"companion-teacher-detail",component:function(){return __vitePreload((function(){return module.import("./companion-detail-legacy.4a515aa6.js")}),void 0)},meta:{title:"伴学指导详情"}},{path:"/companion-unbind",name:"companion-unbind",component:function(){return __vitePreload((function(){return module.import("./unbind-legacy.cc177e61.js")}),void 0)},meta:{title:"课程交接"}},{path:"/manage-teacher",name:"manage-teacher",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f2f6884b.js")}),void 0)},meta:{title:"管理老师"}},{path:"/manage-teacher-detail",name:"manage-teacher-detail",component:function(){return __vitePreload((function(){return module.import("./manage-detail-legacy.4312a0ce.js")}),void 0)},meta:{title:"管理老师详情"}},{path:"/save-share-image",name:"save-share-image",component:function(){return __vitePreload((function(){return module.import("./index-legacy.9d90b065.js")}),void 0)},meta:{title:"注册"}},{path:"/orchestra-information",name:"orchestra-information",component:function(){return __vitePreload((function(){return module.import("./orchestra-information-legacy.504e0665.js")}),void 0)},meta:{title:"乐团资讯"}},{path:"/add-information",name:"add-information",component:function(){return __vitePreload((function(){return module.import("./add-information-legacy.d394eccb.js")}),void 0)},meta:{title:"添加资讯"}},{path:"/exercise-record",name:"exercise-record",component:function(){return __vitePreload((function(){return module.import("./index-legacy.13cf7e8f.js")}),void 0)},meta:{title:"练习记录"}},{path:"/exercis-detail",name:"exercis-detail",component:function(){return __vitePreload((function(){return module.import("./exercis-detail-legacy.1414baec.js")}),void 0)},meta:{title:"练习统计"}},{path:"/attendance",name:"attendance",component:function(){return __vitePreload((function(){return module.import("./index-legacy.403f6e06.js")}),void 0)},meta:{title:"考勤管理"}},{path:"/student-att-day",name:"student-att-day",component:function(){return __vitePreload((function(){return module.import("./student-att-day-legacy.60a9f41b.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/teacher-attendDetail",name:"teacher-attendDetail",component:function(){return __vitePreload((function(){return module.import("./teacher-attendDetail-legacy.5ae84765.js")}),void 0)},meta:{title:"考勤详情"}},{path:"/ranking-list",name:"ranking-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.fd10e307.js")}),void 0)},meta:{title:"排行榜"}},{path:"/approval-manage",name:"approval-manage",component:function(){return __vitePreload((function(){return module.import("./index-legacy.5ecbc196.js")}),void 0)},meta:{title:"待办事项"}},{path:"/student-leave",name:"student-leave",component:function(){return __vitePreload((function(){return module.import("./student-leave-legacy.0638ddbb.js")}),void 0)},meta:{title:"审批详情"}},{path:"/train-planning",name:"train-planning",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e0645a9a.js")}),void 0)},meta:{title:"乐团排课"}},{path:"/train-content",name:"train-content",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f787bd6d.js")}),void 0)},meta:{title:"训练内容"}},{path:"/practice-detail",name:"practice-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.fc3e2696.js")}),void 0)},meta:{title:"训练详情"}},{path:"/course-preview",name:"course-preview",component:function(){return __vitePreload((function(){return module.import("./index-legacy.b64e2182.js")}),void 0)},meta:{title:"课程预览"}},{path:"/course-adjust",name:"course-adjust",component:function(){return __vitePreload((function(){return module.import("./course-adjust-legacy.f6838390.js")}),void 0)},meta:{title:"课程调整"}},{path:"/batch-adjust",name:"batch-adjust",component:function(){return __vitePreload((function(){return module.import("./batch-adjust-legacy.27db7420.js")}),void 0)},meta:{title:"批量调整"}},{path:"/school-detail",name:"school-detail",component:function(){return __vitePreload((function(){return module.import("./index-legacy.af14cb46.js")}),void 0)},meta:{title:"学校信息"}},{path:"/school-eidt",name:"school-eidt",component:function(){return __vitePreload((function(){return module.import("./eidt-school-legacy.c42a05db.js")}),void 0)},meta:{title:"修改学校地址"}},{path:"/attendance-rule",name:"attendance-rule",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f6a609c1.js")}),void 0)},meta:{title:"考勤规则"}},{path:"/orchestra-story",name:"orchestra-story",component:function(){return __vitePreload((function(){return module.import("./index-legacy.f33a4107.js")}),void 0)},meta:{title:"乐团事迹"}},{path:"/story-operation",name:"story-operation",component:function(){return __vitePreload((function(){return module.import("./index-legacy.e4effab2.js")}),void 0)},meta:{title:"添加事迹"}},{path:"/subsidy-exercise-detail",name:"subsidy-exercise-detail",component:function(){return __vitePreload((function(){return module.import("./exercise-detail-legacy.9b0fd09d.js")}),void 0)},meta:{title:"训练补助详情"}},{path:"/subsidy-exercise-details",name:"subsidy-exercise-details",component:function(){return __vitePreload((function(){return module.import("./details-legacy.7b33f5f8.js")}),void 0)},meta:{title:"补助明细"}},{path:"/subsidy-grant-detail",name:"subsidy-grant-detail",component:function(){return __vitePreload((function(){return module.import("./grant-detail-legacy.07ba9e3a.js")}),void 0)},meta:{title:"管理补助详情"}},{path:"/subsidy-reward-detail",name:"subsidy-reward-detail",component:function(){return __vitePreload((function(){return module.import("./reward-detail-legacy.fd4c1fe0.js")}),void 0)},meta:{title:"练习奖励详情"}},{path:"/unitDetail",name:"unitDetail",component:function(){return __vitePreload((function(){return module.import("./unitDetail-legacy.e74e47ff.js")}),void 0)},meta:{title:"测验详情"}},{path:"/unit-list",name:"unit-list",component:function(){return __vitePreload((function(){return module.import("./index-legacy.44493ea5.js")}),void 0)},meta:{title:"阶段自测"}},{path:"/orchestra-photo-create",name:"orchestra-photo-create",component:function(){return __vitePreload((function(){return module.import("./photo-create-legacy.0866cca5.js")}),void 0)},meta:{title:"创建相册"}},{path:"/practice-rewards",name:"practice-rewards",component:function(){return __vitePreload((function(){return module.import("./index-legacy.d733c03d.js")}),void 0)},meta:{title:"练习奖励"}},{path:"/practice-rewards-detail",name:"practice-rewards-detail",component:function(){return __vitePreload((function(){return module.import("./detail-legacy.520d4eb2.js")}),void 0)},meta:{title:"练习奖励详情"}}])}].concat(rootRouter,noLoginRouter),paymentType=window.paymentType,routes=[],baseUrl=null;"STUDENT"===paymentType?routes=routesStudent:"TEACHER"===paymentType?(routes=routesTeacher,baseUrl="/teacher.html"):"SCHOOL"===paymentType&&(routes=routesSchool,baseUrl="/school.html"),console.log(routes,baseUrl,paymentType);var router=exports("i",createRouter({history:createWebHashHistory(),routes:routes,scrollBehavior:function(e,t,n){if(e.hash)return{el:e.hash,behavior:"smooth"}}})),whitePath=["/coursewarePlay"];router.beforeEach((function(e,t,n){whitePath.includes(e.path)||baseEvent.emit("toastShow"),document.title=e.meta.title||"管乐团",n()})),router.afterEach((function(e,t){e.path===t.path?baseEvent.emit("toastClose"):setTimeout((function(){baseEvent.emit("toastClose")}),300)}));var isOpen=!1;router.onError((function(e){if(e instanceof Error){var t=e.name.indexOf("chunk"),n=router.currentRoute.value.fullPath;console.log(e),t&&!isOpen&&(baseEvent.emit("toastClose"),isOpen=!0,showDialog({title:"更新提示",message:"APP有更新请点击确定刷新页面?",confirmButtonColor:"var(--van-primary)"}).then((function(){browser().isApp?postMessage({api:"back"}):(location.hash=n,window.location.reload())})))}}));var index$1="",normalize="",style="",index=""}}}))})();
>>>>>>> online:dist/assets/index-legacy.e776119d.js
=======
!function(e){!function(t,n){e.exports?e.exports=n():t.numeral=n()}(commonjsGlobal$1,(function(){var e,t,n,r,a,o={},i={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,a,i,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(l.zeroFormat&&n===l.zeroFormat)r=0;else if(l.nullFormat&&n===l.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(a in o)if((s="function"==typeof o[a].regexps.unformat?o[a].regexps.unformat():o[a].regexps.unformat)&&n.match(s)){i=o[a].unformat;break}r=(i=i||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var a,o,s,l,c,u,p,d,f=i[e.options.currentLocale],h=!1,v=!1,m="",g=1e12,y=1e9,b=1e6,_="",A=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(u=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(m=" "),n=n.replace(new RegExp(m+"a[kmbt]?"),""),s>=g&&!o||"t"===o?(m+=f.abbreviations.trillion,t/=g):s=y&&!o||"b"===o?(m+=f.abbreviations.billion,t/=y):s=b&&!o||"m"===o?(m+=f.abbreviations.million,t/=b):(s=1e3&&!o||"k"===o)&&(m+=f.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(v=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],c=n.split(".")[1],p=n.indexOf(","),a=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),_=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):_=e._.toFixed(t,c.length,r),l=_.split(".")[0],_=e._.includes(_,".")?f.delimiters.decimal+_.split(".")[1]:"",v&&0===Number(_.slice(1))&&(_="")):l=e._.toFixed(t,0,r),m&&!o&&Number(l)>=1e3&&m!==f.abbreviations.trillion)switch(l=String(Number(l)/1e3),m){case f.abbreviations.thousand:m=f.abbreviations.million;break;case f.abbreviations.million:m=f.abbreviations.billion;break;case f.abbreviations.billion:m=f.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),A=!0),l.length0;x--)l="0"+l;return p>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===n.indexOf(".")&&(l=""),d=l+_+(m||""),h?d=(h&&A?"(":"")+d+(h&&A?")":""):u>=0?d=0===u?(A?"-":"+")+d:d+(A?"-":"+"):A&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,a=i[l.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return"number"==typeof e&&isNaN(e)})),includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),a=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=a)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r}),1)},toFixed:function(e,t,n,r){var a,o,i,s,l=e.toString().split("."),c=t-(r||0);return a=2===l.length?Math.min(Math.max(l[1].length,c),t):c,i=Math.pow(10,a),s=(n(e+"e+"+a)/i).toFixed(a),r>t-a&&(o=new RegExp("\\.?0{1,"+(r-(t-a))+"}$"),s=s.replace(o,"")),s}},e.options=l,e.formats=o,e.locales=i,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return i[l.currentLocale];if(e=e.toLowerCase(),!i[e])throw new Error("Unknown locale : "+e);return i[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,a,o,i,s,l,c,u;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(p){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,a="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(u=t.match(/^[^\d]+/))||(t=t.substr(1),u[0]===o))&&((null===(u=t.match(/[^\d]+$/))||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(a+"{2}"),!t.match(/[^\d.,]/g)&&(!((i=t.split(r)).length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(l)&&!!i[1].match(/^\d+$/)))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,a,i,s=this._value,c=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)a=l.zeroFormat;else if(null===s&&null!==l.nullFormat)a=l.nullFormat;else{for(r in o)if(c.match(o[r].regexps.format)){i=o[r].format;break}a=(i=i||e._.numberToFormat)(s,c,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,r,a){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,r,a){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,a){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var a,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"BPS"),a=a.join("")):a=a+o+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a="("+(a=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(t,a,o){var i,s,l,c=e._.includes(a,"ib")?r:n,u=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),i=0;i<=c.suffixes.length;i++)if(s=Math.pow(c.base,i),l=Math.pow(c.base,i+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,a,o)+u},unformat:function(t){var a,o,i=e._.stringToNumber(t);if(i){for(a=n.suffixes.length-1;a>=0;a--){if(e._.includes(t,n.suffixes[a])){o=Math.pow(n.base,a);break}if(e._.includes(t,r.suffixes[a])){o=Math.pow(r.base,a);break}}i*=o||1}return i}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var a,o,i=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o=0;o--)switch(s.after[o]){case"$":a=o===s.after.length-1?a+i.currency.symbol:e._.insert(a,i.currency.symbol,-(s.after.length-(1+o)));break;case" ":a=o===s.after.length-1?a+" ":e._.insert(a," ",-(s.after.length-(1+o)+i.currency.symbol.length-1))}return a}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var a=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,r)+"e"+a[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),a=Number(n[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([r,Math.pow(10,a)],(function(t,n,r,a){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var a=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=a.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var a,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),a=e._.numberToFormat(t,n,r),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"%"),a=a.join("")):a=a+o+"%",a},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),a=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*a);return r+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e}))}(numeral$1);var numeral=numeral$1.exports;reactive({loadingCount:0});var browser=exports("e",(function(){var e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/),android:e.indexOf("ORCHESTRAAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("ORCHESTRAAPPI")>-1,isApp:e.indexOf("ORCHESTRAAPPI")>-1||e.indexOf("ORCHESTRAAPPA")>-1,isTeacher:e.indexOf("ORCHESTRATEACHER")>-1,isStudent:e.indexOf("ORCHESTRASTUDENT")>-1,isSchool:e.indexOf("ORCHESTRASCHOOL")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,alipay:e.indexOf("AlipayClient")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}})),getUrlCode=exports("bh",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"code",t=location.search,n=new Object;if(-1!=t.indexOf("?"))for(var r=t.substr(1),a=r.split("&"),o=0;o1&&void 0!==arguments[1]?arguments[1]:"0,0.00";return numeral(e).format(t)})),getSecondRPM=exports("b4",(function(e,t){if(isNaN(e))return"00:00";var n=Math.floor(e/60).toString().padStart(2,"0"),r=Math.floor(e%60).toString().padStart(2,"0");return"cn"===t?n+"分"+r+"秒":n+":"+r})),formatterDatePicker=exports("aj",(function(e,t){return"year"===e&&(t.text+="年"),"month"===e&&(t.text+="月"),"day"===e&&(t.text+="日"),t})),hasSymbol="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.toStringTag),PolySymbol=function(e){return hasSymbol?Symbol(e):"_vr_"+e},matchedRouteKey=PolySymbol("rvlm"),viewDepthKey=PolySymbol("rvd"),routerKey=PolySymbol("r"),routeLocationKey=PolySymbol("rl"),routerViewLocationKey=PolySymbol("rvl"),isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||hasSymbol&&"Module"===e[Symbol.toStringTag]}var assign$1=Object.assign;function applyToParams(e,t){var n={};for(var r in t){var a=t[r];n[r]=Array.isArray(a)?a.map(e):e(a)}return n}var noop=function(){},TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=function(e){return e.replace(TRAILING_SLASH_RE,"")},NavigationType,NavigationDirection;function parseURL(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",a={},o="",i="",s=t.indexOf("?"),l=t.indexOf("#",s>-1?s:0);return s>-1&&(n=t.slice(0,s),a=e(o=t.slice(s+1,l>-1?l:t.length))),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),{fullPath:(n=resolveRelativePath(null!=n?n:t,r))+(o&&"?")+o+i,path:n,query:a,hash:i}}function stringifyURL(e,t){var n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){var r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&isSameRouteRecord(t.matched[r],n.matched[a])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return Array.isArray(e)?isEquivalentArray(e,t):Array.isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return e===t[n]})):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;var n,r,a=t.split("/"),o=e.split("/"),i=a.length-1;for(n=0;n-1){var i=a.includes(e.slice(o))?e.slice(o).length:1,s=a.slice(i);return"/"!==s[0]&&(s="/"+s),stripBase(s,"")}return stripBase(n,e)+r+a}function useHistoryListeners(e,t,n,r){var a=[],o=[],i=null,s=function(o){var s=o.state,l=createCurrentLocation(e,location),c=n.value,u=t.value,p=0;if(s){if(n.value=l,t.value=s,i&&i===c)return void(i=null);p=u?s.position-u.position:0}else r(l);a.forEach((function(e){e(n.value,c,{delta:p,type:NavigationType.pop,direction:p?p>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function l(){var e=window.history;e.state&&e.replaceState(assign$1({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l),{pauseListeners:function(){i=n.value},listen:function(e){a.push(e);var t=function(){var t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t},destroy:function(){var e,t=_createForOfIteratorHelper(o);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(n){t.e(n)}finally{t.f()}o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}function buildState(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?computeScrollPosition():null}}function useHistoryStateNavigation(e){var t=window,n=t.history,r=t.location,a={value:createCurrentLocation(e,r)},o={value:n.state};function i(t,a,i){var s=e.indexOf("#"),l=s>-1?(r.host&&document.querySelector("base")?e:e.slice(s))+t:createBaseLocation()+e+t;try{n[i?"replaceState":"pushState"](a,"",l),o.value=a}catch(c){console.error(c),r[i?"replace":"assign"](l)}}return o.value||i(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:a,state:o,push:function(e,t){var r=assign$1({},o.value,n.state,{forward:e,scroll:computeScrollPosition()});i(r.current,r,!0),i(e,assign$1({},buildState(a.value,e,null),{position:r.position+1},t),!1),a.value=e},replace:function(e,t){i(e,assign$1({},n.state,buildState(o.value.back,e,o.value.forward,!0),t,{position:o.value.position}),!0),a.value=e}}}function createWebHistory(e){var t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);var r=assign$1({location:"",base:e,go:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(r,"state",{enumerable:!0,get:function(){return t.state.value}}),r}function createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"===_typeof2(e)}function isRouteName(e){return"string"==typeof e||"symbol"===_typeof2(e)}var START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=PolySymbol("nf"),NavigationFailureType;function createRouterError(e,t){return assign$1(new Error,_defineProperty2({type:e},NavigationFailureSymbol,!0),t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(NavigationFailureType||(NavigationFailureType={}));var BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){var n,r=assign$1({},BASE_PATH_PARSER_OPTIONS,t),a=[],o=r.start?"^":"",i=[],s=_createForOfIteratorHelper(e);try{for(s.s();!(n=s.n()).done;){var l=n.value,c=l.length?[]:[90];r.strict&&!l.length&&(o+="/");for(var u=0;ut.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){for(var n=0,r=e.score,a=t.score;n1&&("*"===s||"+"===s)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),n.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function d(){c+=s}for(;l-1&&(n.splice(a,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function i(e){for(var t=0;t=0;)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&r.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return a(e)})),{addRoute:a,resolve:function(e,t){var a,o,i,s={};if("name"in e&&e.name){if(!(a=r.get(e.name)))throw createRouterError(1,{location:e});i=a.record.name,s=assign$1(paramsFromLocation(t.params,a.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}))),e.params),o=a.stringify(s)}else if("path"in e)o=e.path,(a=n.find((function(e){return e.re.test(o)})))&&(s=a.parse(o),i=a.record.name);else{if(!(a=t.name?r.get(t.name):n.find((function(e){return e.re.test(t.path)}))))throw createRouterError(1,{location:e,currentLocation:t});i=a.record.name,s=assign$1({},t.params,e.params),o=a.stringify(s)}for(var l=[],c=a;c;)l.unshift(c.record),c=c.parent;return{name:i,path:o,params:s,matched:l,meta:mergeMetaFields(l)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function paramsFromLocation(e,t){var n,r={},a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;o in e&&(r[o]=e[o])}}catch(i){a.e(i)}finally{a.f()}return r}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function normalizeRecordProps(e){var t={},n=e.props||!1;if("component"in e)t.default=n;else for(var r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((function(e,t){return assign$1(e,t.meta)}),{})}function mergeOptions(e,t){var n={};for(var r in e)n[r]=r in t?t[r]:e[r];return n}var HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$2(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){var t={};if(""===e||"?"===e)return t;for(var n=("?"===e[0]?e.slice(1):e).split("&"),r=0;r