element-readonly-form-item
Version:
基于 ElementUI 的表单只读态控件,完美适配所有表单组件。主要用于新建页与详情页动态切换。支持 npm 与 cdn 方式的引入。
1,616 lines • 152 kB
JavaScript
var So = Object.defineProperty, $o = Object.defineProperties;
var To = Object.getOwnPropertyDescriptors;
var Nt = Object.getOwnPropertySymbols;
var ur = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
var cr = (e, t, n) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nn = (e, t) => {
for (var n in t || (t = {}))
ur.call(t, n) && cr(e, n, t[n]);
if (Nt)
for (var n of Nt(t))
fr.call(t, n) && cr(e, n, t[n]);
return e;
}, rn = (e, t) => $o(e, To(t));
var lr = (e, t) => {
var n = {};
for (var r in e)
ur.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
if (e != null && Nt)
for (var r of Nt(e))
t.indexOf(r) < 0 && fr.call(e, r) && (n[r] = e[r]);
return n;
};
var xo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
function Ao(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var mi = { exports: {} };
(function(e) {
(function(t) {
var n = {}, r = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, i = "\\d\\d?", o = "\\d{3}", a = "\\d{4}", s = "[^\\s]+", c = /\[([^]*?)\]/gm, p = function() {
};
function v(d) {
return d.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
}
function y(d, m) {
for (var T = [], S = 0, D = d.length; S < D; S++)
T.push(d[S].substr(0, m));
return T;
}
function _(d) {
return function(m, T, S) {
var D = S[d].indexOf(T.charAt(0).toUpperCase() + T.substr(1).toLowerCase());
~D && (m.month = D);
};
}
function E(d, m) {
for (d = String(d), m = m || 2; d.length < m; )
d = "0" + d;
return d;
}
var L = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], w = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], j = y(w, 3), z = y(L, 3);
n.i18n = {
dayNamesShort: z,
dayNames: L,
monthNamesShort: j,
monthNames: w,
amPm: ["am", "pm"],
DoFn: function(m) {
return m + ["th", "st", "nd", "rd"][m % 10 > 3 ? 0 : (m - m % 10 !== 10) * m % 10];
}
};
var B = {
D: function(d) {
return d.getDay();
},
DD: function(d) {
return E(d.getDay());
},
Do: function(d, m) {
return m.DoFn(d.getDate());
},
d: function(d) {
return d.getDate();
},
dd: function(d) {
return E(d.getDate());
},
ddd: function(d, m) {
return m.dayNamesShort[d.getDay()];
},
dddd: function(d, m) {
return m.dayNames[d.getDay()];
},
M: function(d) {
return d.getMonth() + 1;
},
MM: function(d) {
return E(d.getMonth() + 1);
},
MMM: function(d, m) {
return m.monthNamesShort[d.getMonth()];
},
MMMM: function(d, m) {
return m.monthNames[d.getMonth()];
},
yy: function(d) {
return E(String(d.getFullYear()), 4).substr(2);
},
yyyy: function(d) {
return E(d.getFullYear(), 4);
},
h: function(d) {
return d.getHours() % 12 || 12;
},
hh: function(d) {
return E(d.getHours() % 12 || 12);
},
H: function(d) {
return d.getHours();
},
HH: function(d) {
return E(d.getHours());
},
m: function(d) {
return d.getMinutes();
},
mm: function(d) {
return E(d.getMinutes());
},
s: function(d) {
return d.getSeconds();
},
ss: function(d) {
return E(d.getSeconds());
},
S: function(d) {
return Math.round(d.getMilliseconds() / 100);
},
SS: function(d) {
return E(Math.round(d.getMilliseconds() / 10), 2);
},
SSS: function(d) {
return E(d.getMilliseconds(), 3);
},
a: function(d, m) {
return d.getHours() < 12 ? m.amPm[0] : m.amPm[1];
},
A: function(d, m) {
return d.getHours() < 12 ? m.amPm[0].toUpperCase() : m.amPm[1].toUpperCase();
},
ZZ: function(d) {
var m = d.getTimezoneOffset();
return (m > 0 ? "-" : "+") + E(Math.floor(Math.abs(m) / 60) * 100 + Math.abs(m) % 60, 4);
}
}, A = {
d: [i, function(d, m) {
d.day = m;
}],
Do: [i + s, function(d, m) {
d.day = parseInt(m, 10);
}],
M: [i, function(d, m) {
d.month = m - 1;
}],
yy: [i, function(d, m) {
var T = /* @__PURE__ */ new Date(), S = +("" + T.getFullYear()).substr(0, 2);
d.year = "" + (m > 68 ? S - 1 : S) + m;
}],
h: [i, function(d, m) {
d.hour = m;
}],
m: [i, function(d, m) {
d.minute = m;
}],
s: [i, function(d, m) {
d.second = m;
}],
yyyy: [a, function(d, m) {
d.year = m;
}],
S: ["\\d", function(d, m) {
d.millisecond = m * 100;
}],
SS: ["\\d{2}", function(d, m) {
d.millisecond = m * 10;
}],
SSS: [o, function(d, m) {
d.millisecond = m;
}],
D: [i, p],
ddd: [s, p],
MMM: [s, _("monthNamesShort")],
MMMM: [s, _("monthNames")],
a: [s, function(d, m, T) {
var S = m.toLowerCase();
S === T.amPm[0] ? d.isPm = !1 : S === T.amPm[1] && (d.isPm = !0);
}],
ZZ: ["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z", function(d, m) {
var T = (m + "").match(/([+-]|\d\d)/gi), S;
T && (S = +(T[1] * 60) + parseInt(T[2], 10), d.timezoneOffset = T[0] === "+" ? S : -S);
}]
};
A.dd = A.d, A.dddd = A.ddd, A.DD = A.D, A.mm = A.m, A.hh = A.H = A.HH = A.h, A.MM = A.M, A.ss = A.s, A.A = A.a, n.masks = {
default: "ddd MMM dd yyyy HH:mm:ss",
shortDate: "M/D/yy",
mediumDate: "MMM d, yyyy",
longDate: "MMMM d, yyyy",
fullDate: "dddd, MMMM d, yyyy",
shortTime: "HH:mm",
mediumTime: "HH:mm:ss",
longTime: "HH:mm:ss.SSS"
}, n.format = function(d, m, T) {
var S = T || n.i18n;
if (typeof d == "number" && (d = new Date(d)), Object.prototype.toString.call(d) !== "[object Date]" || isNaN(d.getTime()))
throw new Error("Invalid Date in fecha.format");
m = n.masks[m] || m || n.masks.default;
var D = [];
return m = m.replace(c, function(K, ye) {
return D.push(ye), "@@@";
}), m = m.replace(r, function(K) {
return K in B ? B[K](d, S) : K.slice(1, K.length - 1);
}), m.replace(/@@@/g, function() {
return D.shift();
});
}, n.parse = function(d, m, T) {
var S = T || n.i18n;
if (typeof m != "string")
throw new Error("Invalid format in fecha.parse");
if (m = n.masks[m] || m, d.length > 1e3)
return null;
var D = {}, K = [], ye = [];
m = m.replace(c, function(fe, f) {
return ye.push(f), "@@@";
});
var ee = v(m).replace(r, function(fe) {
if (A[fe]) {
var f = A[fe];
return K.push(f[1]), "(" + f[0] + ")";
}
return fe;
});
ee = ee.replace(/@@@/g, function() {
return ye.shift();
});
var ie = d.match(new RegExp(ee, "i"));
if (!ie)
return null;
for (var oe = 1; oe < ie.length; oe++)
K[oe - 1](D, ie[oe], S);
var Ie = /* @__PURE__ */ new Date();
D.isPm === !0 && D.hour != null && +D.hour != 12 ? D.hour = +D.hour + 12 : D.isPm === !1 && +D.hour == 12 && (D.hour = 0);
var ae;
return D.timezoneOffset != null ? (D.minute = +(D.minute || 0) - +D.timezoneOffset, ae = new Date(Date.UTC(
D.year || Ie.getFullYear(),
D.month || 0,
D.day || 1,
D.hour || 0,
D.minute || 0,
D.second || 0,
D.millisecond || 0
))) : ae = new Date(
D.year || Ie.getFullYear(),
D.month || 0,
D.day || 1,
D.hour || 0,
D.minute || 0,
D.second || 0,
D.millisecond || 0
), ae;
}, e.exports ? e.exports = n : t.fecha = n;
})(xo);
})(mi);
var Mo = mi.exports;
const gi = /* @__PURE__ */ Ao(Mo), Po = {
el: {
colorpicker: {
confirm: "确定",
clear: "清空"
},
datepicker: {
now: "此刻",
today: "今天",
cancel: "取消",
clear: "清空",
confirm: "确定",
selectDate: "选择日期",
selectTime: "选择时间",
startDate: "开始日期",
startTime: "开始时间",
endDate: "结束日期",
endTime: "结束时间",
prevYear: "前一年",
nextYear: "后一年",
prevMonth: "上个月",
nextMonth: "下个月",
year: "年",
month1: "1 月",
month2: "2 月",
month3: "3 月",
month4: "4 月",
month5: "5 月",
month6: "6 月",
month7: "7 月",
month8: "8 月",
month9: "9 月",
month10: "10 月",
month11: "11 月",
month12: "12 月",
// week: '周次',
weeks: {
sun: "日",
mon: "一",
tue: "二",
wed: "三",
thu: "四",
fri: "五",
sat: "六"
},
months: {
jan: "一月",
feb: "二月",
mar: "三月",
apr: "四月",
may: "五月",
jun: "六月",
jul: "七月",
aug: "八月",
sep: "九月",
oct: "十月",
nov: "十一月",
dec: "十二月"
}
},
select: {
loading: "加载中",
noMatch: "无匹配数据",
noData: "无数据",
placeholder: "请选择"
},
cascader: {
noMatch: "无匹配数据",
loading: "加载中",
placeholder: "请选择",
noData: "暂无数据"
},
pagination: {
goto: "前往",
pagesize: "条/页",
total: "共 {total} 条",
pageClassifier: "页"
},
messagebox: {
title: "提示",
confirm: "确定",
cancel: "取消",
error: "输入的数据不合法!"
},
upload: {
deleteTip: "按 delete 键可删除",
delete: "删除",
preview: "查看图片",
continue: "继续上传"
},
table: {
emptyText: "暂无数据",
confirmFilter: "筛选",
resetFilter: "重置",
clearFilter: "全部",
sumText: "合计"
},
tree: {
emptyText: "暂无数据"
},
transfer: {
noMatch: "无匹配数据",
noData: "无数据",
titles: ["列表 1", "列表 2"],
filterPlaceholder: "请输入搜索内容",
noCheckedFormat: "共 {total} 项",
hasCheckedFormat: "已选 {checked}/{total} 项"
},
image: {
error: "加载失败"
},
pageHeader: {
title: "返回"
},
popconfirm: {
confirmButtonText: "确定",
cancelButtonText: "取消"
},
empty: {
description: "暂无数据"
}
}
};
/*!
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/
var q = Object.freeze({}), C = Array.isArray;
function O(e) {
return e == null;
}
function l(e) {
return e != null;
}
function U(e) {
return e === !0;
}
function Io(e) {
return e === !1;
}
function Oe(e) {
return typeof e == "string" || typeof e == "number" || // $flow-disable-line
typeof e == "symbol" || typeof e == "boolean";
}
function V(e) {
return typeof e == "function";
}
function Z(e) {
return e !== null && typeof e == "object";
}
var Qt = Object.prototype.toString;
function _t(e) {
return Qt.call(e).slice(8, -1);
}
function X(e) {
return Qt.call(e) === "[object Object]";
}
function yi(e) {
return Qt.call(e) === "[object RegExp]";
}
function _i(e) {
var t = parseFloat(String(e));
return t >= 0 && Math.floor(t) === t && isFinite(e);
}
function vn(e) {
return l(e) && typeof e.then == "function" && typeof e.catch == "function";
}
function jo(e) {
return e == null ? "" : Array.isArray(e) || X(e) && e.toString === Qt ? JSON.stringify(e, null, 2) : String(e);
}
function ft(e) {
var t = parseFloat(e);
return isNaN(t) ? e : t;
}
function re(e, t) {
for (var n = /* @__PURE__ */ Object.create(null), r = e.split(","), i = 0; i < r.length; i++)
n[r[i]] = !0;
return t ? function(o) {
return n[o.toLowerCase()];
} : function(o) {
return n[o];
};
}
var Fo = re("slot,component", !0), bi = re("key,ref,slot,slot-scope,is");
function Pe(e, t) {
var n = e.length;
if (n) {
if (t === e[n - 1]) {
e.length = n - 1;
return;
}
var r = e.indexOf(t);
if (r > -1)
return e.splice(r, 1);
}
}
var Ro = Object.prototype.hasOwnProperty;
function Y(e, t) {
return Ro.call(e, t);
}
function We(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
var i = t[r];
return i || (t[r] = e(r));
};
}
var Ho = /-(\w)/g, Ue = We(function(e) {
return e.replace(Ho, function(t, n) {
return n ? n.toUpperCase() : "";
});
}), Ei = We(function(e) {
return e.charAt(0).toUpperCase() + e.slice(1);
}), Lo = /\B([A-Z])/g, Ge = We(function(e) {
return e.replace(Lo, "-$1").toLowerCase();
});
function ko(e, t) {
function n(r) {
var i = arguments.length;
return i ? i > 1 ? e.apply(t, arguments) : e.call(t, r) : e.call(t);
}
return n._length = e.length, n;
}
function Vo(e, t) {
return e.bind(t);
}
var Ni = Function.prototype.bind ? Vo : ko;
function mn(e, t) {
t = t || 0;
for (var n = e.length - t, r = new Array(n); n--; )
r[n] = e[n + t];
return r;
}
function k(e, t) {
for (var n in t)
e[n] = t[n];
return e;
}
function Oi(e) {
for (var t = {}, n = 0; n < e.length; n++)
e[n] && k(t, e[n]);
return t;
}
function W(e, t, n) {
}
var Ot = function(e, t, n) {
return !1;
}, wi = function(e) {
return e;
};
function ze(e, t) {
if (e === t)
return !0;
var n = Z(e), r = Z(t);
if (n && r)
try {
var i = Array.isArray(e), o = Array.isArray(t);
if (i && o)
return e.length === t.length && e.every(function(c, p) {
return ze(c, t[p]);
});
if (e instanceof Date && t instanceof Date)
return e.getTime() === t.getTime();
if (!i && !o) {
var a = Object.keys(e), s = Object.keys(t);
return a.length === s.length && a.every(function(c) {
return ze(e[c], t[c]);
});
} else
return !1;
} catch (c) {
return !1;
}
else
return !n && !r ? String(e) === String(t) : !1;
}
function Di(e, t) {
for (var n = 0; n < e.length; n++)
if (ze(e[n], t))
return n;
return -1;
}
function Lt(e) {
var t = !1;
return function() {
t || (t = !0, e.apply(this, arguments));
};
}
function Uo(e, t) {
return e === t ? e === 0 && 1 / e !== 1 / t : e === e || t === t;
}
var pr = "data-server-rendered", en = ["component", "directive", "filter"], Ci = [
"beforeCreate",
"created",
"beforeMount",
"mounted",
"beforeUpdate",
"updated",
"beforeDestroy",
"destroyed",
"activated",
"deactivated",
"errorCaptured",
"serverPrefetch",
"renderTracked",
"renderTriggered"
], R = {
/**
* Option merge strategies (used in core/util/options)
*/
// $flow-disable-line
optionMergeStrategies: /* @__PURE__ */ Object.create(null),
/**
* Whether to suppress warnings.
*/
silent: !1,
/**
* Show production mode tip message on boot?
*/
productionTip: process.env.NODE_ENV !== "production",
/**
* Whether to enable devtools
*/
devtools: process.env.NODE_ENV !== "production",
/**
* Whether to record perf
*/
performance: !1,
/**
* Error handler for watcher errors
*/
errorHandler: null,
/**
* Warn handler for watcher warns
*/
warnHandler: null,
/**
* Ignore certain custom elements
*/
ignoredElements: [],
/**
* Custom user key aliases for v-on
*/
// $flow-disable-line
keyCodes: /* @__PURE__ */ Object.create(null),
/**
* Check if a tag is reserved so that it cannot be registered as a
* component. This is platform-dependent and may be overwritten.
*/
isReservedTag: Ot,
/**
* Check if an attribute is reserved so that it cannot be used as a component
* prop. This is platform-dependent and may be overwritten.
*/
isReservedAttr: Ot,
/**
* Check if a tag is an unknown element.
* Platform-dependent.
*/
isUnknownElement: Ot,
/**
* Get the namespace of an element
*/
getTagNamespace: W,
/**
* Parse the real tag name for the specific platform.
*/
parsePlatformTagName: wi,
/**
* Check if an attribute must be bound using property, e.g. value
* Platform-dependent.
*/
mustUseProp: Ot,
/**
* Perform updates asynchronously. Intended to be used by Vue Test Utils
* This will significantly reduce performance if set to false.
*/
async: !0,
/**
* Exposed for legacy reasons
*/
_lifecycleHooks: Ci
}, Si = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
function Fn(e) {
var t = (e + "").charCodeAt(0);
return t === 36 || t === 95;
}
function $e(e, t, n, r) {
Object.defineProperty(e, t, {
value: n,
enumerable: !!r,
writable: !0,
configurable: !0
});
}
var zo = new RegExp("[^".concat(Si.source, ".$_\\d]"));
function Bo(e) {
if (!zo.test(e)) {
var t = e.split(".");
return function(n) {
for (var r = 0; r < t.length; r++) {
if (!n)
return;
n = n[t[r]];
}
return n;
};
}
}
var Wo = "__proto__" in {}, Q = typeof window != "undefined", ue = Q && window.navigator.userAgent.toLowerCase(), tt = ue && /msie|trident/.test(ue), nt = ue && ue.indexOf("msie 9.0") > 0, $i = ue && ue.indexOf("edge/") > 0;
ue && ue.indexOf("android") > 0;
var Go = ue && /iphone|ipad|ipod|ios/.test(ue), dr = ue && ue.match(/firefox\/(\d+)/), gn = {}.watch, Ti = !1;
if (Q)
try {
var hr = {};
Object.defineProperty(hr, "passive", {
get: function() {
Ti = !0;
}
}), window.addEventListener("test-passive", null, hr);
} catch (e) {
}
var wt, bt = function() {
return wt === void 0 && (!Q && typeof global != "undefined" ? wt = global.process && global.process.env.VUE_ENV === "server" : wt = !1), wt;
}, kt = Q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
function He(e) {
return typeof e == "function" && /native code/.test(e.toString());
}
var Et = typeof Symbol != "undefined" && He(Symbol) && typeof Reflect != "undefined" && He(Reflect.ownKeys), lt;
typeof Set != "undefined" && He(Set) ? lt = Set : lt = /** @class */
function() {
function e() {
this.set = /* @__PURE__ */ Object.create(null);
}
return e.prototype.has = function(t) {
return this.set[t] === !0;
}, e.prototype.add = function(t) {
this.set[t] = !0;
}, e.prototype.clear = function() {
this.set = /* @__PURE__ */ Object.create(null);
}, e;
}();
var Xe = null;
function Te(e) {
e === void 0 && (e = null), e || Xe && Xe._scope.off(), Xe = e, e && e._scope.on();
}
var J = (
/** @class */
function() {
function e(t, n, r, i, o, a, s, c) {
this.tag = t, this.data = n, this.children = r, this.text = i, this.elm = o, this.ns = void 0, this.context = a, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = n && n.key, this.componentOptions = s, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = c, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1;
}
return Object.defineProperty(e.prototype, "child", {
// DEPRECATED: alias for componentInstance for backwards compat.
/* istanbul ignore next */
get: function() {
return this.componentInstance;
},
enumerable: !1,
configurable: !0
}), e;
}()
), Le = function(e) {
e === void 0 && (e = "");
var t = new J();
return t.text = e, t.isComment = !0, t;
};
function Ze(e) {
return new J(void 0, void 0, void 0, String(e));
}
function yn(e) {
var t = new J(
e.tag,
e.data,
// #7975
// clone children array to avoid mutating original in case of cloning
// a child.
e.children && e.children.slice(),
e.text,
e.elm,
e.context,
e.componentOptions,
e.asyncFactory
);
return t.ns = e.ns, t.isStatic = e.isStatic, t.key = e.key, t.isComment = e.isComment, t.fnContext = e.fnContext, t.fnOptions = e.fnOptions, t.fnScopeId = e.fnScopeId, t.asyncMeta = e.asyncMeta, t.isCloned = !0, t;
}
var Vt = function() {
return Vt = Object.assign || function(t) {
for (var n, r = 1, i = arguments.length; r < i; r++) {
n = arguments[r];
for (var o in n)
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
}
return t;
}, Vt.apply(this, arguments);
}, Yo = 0, It = [], Zo = function() {
for (var e = 0; e < It.length; e++) {
var t = It[e];
t.subs = t.subs.filter(function(n) {
return n;
}), t._pending = !1;
}
It.length = 0;
}, le = (
/** @class */
function() {
function e() {
this._pending = !1, this.id = Yo++, this.subs = [];
}
return e.prototype.addSub = function(t) {
this.subs.push(t);
}, e.prototype.removeSub = function(t) {
this.subs[this.subs.indexOf(t)] = null, this._pending || (this._pending = !0, It.push(this));
}, e.prototype.depend = function(t) {
e.target && (e.target.addDep(this), process.env.NODE_ENV !== "production" && t && e.target.onTrack && e.target.onTrack(Vt({ effect: e.target }, t)));
}, e.prototype.notify = function(t) {
var n = this.subs.filter(function(a) {
return a;
});
process.env.NODE_ENV !== "production" && !R.async && n.sort(function(a, s) {
return a.id - s.id;
});
for (var r = 0, i = n.length; r < i; r++) {
var o = n[r];
process.env.NODE_ENV !== "production" && t && o.onTrigger && o.onTrigger(Vt({ effect: n[r] }, t)), o.update();
}
}, e;
}()
);
le.target = null;
var jt = [];
function rt(e) {
jt.push(e), le.target = e;
}
function it() {
jt.pop(), le.target = jt[jt.length - 1];
}
var xi = Array.prototype, Ut = Object.create(xi), Ko = [
"push",
"pop",
"shift",
"unshift",
"splice",
"sort",
"reverse"
];
Ko.forEach(function(e) {
var t = xi[e];
$e(Ut, e, function() {
for (var r = [], i = 0; i < arguments.length; i++)
r[i] = arguments[i];
var o = t.apply(this, r), a = this.__ob__, s;
switch (e) {
case "push":
case "unshift":
s = r;
break;
case "splice":
s = r.slice(2);
break;
}
return s && a.observeArray(s), process.env.NODE_ENV !== "production" ? a.dep.notify({
type: "array mutation",
target: this,
key: e
}) : a.dep.notify(), o;
});
});
var vr = Object.getOwnPropertyNames(Ut), Ai = {}, Rn = !0;
function xe(e) {
Rn = e;
}
var qo = {
notify: W,
depend: W,
addSub: W,
removeSub: W
}, mr = (
/** @class */
function() {
function e(t, n, r) {
if (n === void 0 && (n = !1), r === void 0 && (r = !1), this.value = t, this.shallow = n, this.mock = r, this.dep = r ? qo : new le(), this.vmCount = 0, $e(t, "__ob__", this), C(t)) {
if (!r)
if (Wo)
t.__proto__ = Ut;
else
for (var i = 0, o = vr.length; i < o; i++) {
var a = vr[i];
$e(t, a, Ut[a]);
}
n || this.observeArray(t);
} else
for (var s = Object.keys(t), i = 0; i < s.length; i++) {
var a = s[i];
pe(t, a, Ai, void 0, n, r);
}
}
return e.prototype.observeArray = function(t) {
for (var n = 0, r = t.length; n < r; n++)
Ne(t[n], !1, this.mock);
}, e;
}()
);
function Ne(e, t, n) {
if (e && Y(e, "__ob__") && e.__ob__ instanceof mr)
return e.__ob__;
if (Rn && (n || !bt()) && (C(e) || X(e)) && Object.isExtensible(e) && !e.__v_skip && !ge(e) && !(e instanceof J))
return new mr(e, t, n);
}
function pe(e, t, n, r, i, o) {
var a = new le(), s = Object.getOwnPropertyDescriptor(e, t);
if (!(s && s.configurable === !1)) {
var c = s && s.get, p = s && s.set;
(!c || p) && (n === Ai || arguments.length === 2) && (n = e[t]);
var v = !i && Ne(n, !1, o);
return Object.defineProperty(e, t, {
enumerable: !0,
configurable: !0,
get: function() {
var _ = c ? c.call(e) : n;
return le.target && (process.env.NODE_ENV !== "production" ? a.depend({
target: e,
type: "get",
key: t
}) : a.depend(), v && (v.dep.depend(), C(_) && Pi(_))), ge(_) && !i ? _.value : _;
},
set: function(_) {
var E = c ? c.call(e) : n;
if (Uo(E, _)) {
if (process.env.NODE_ENV !== "production" && r && r(), p)
p.call(e, _);
else {
if (c)
return;
if (!i && ge(E) && !ge(_)) {
E.value = _;
return;
} else
n = _;
}
v = !i && Ne(_, !1, o), process.env.NODE_ENV !== "production" ? a.notify({
type: "set",
target: e,
key: t,
newValue: _,
oldValue: E
}) : a.notify();
}
}
}), a;
}
}
function Hn(e, t, n) {
if (process.env.NODE_ENV !== "production" && (O(e) || Oe(e)) && g("Cannot set reactive property on undefined, null, or primitive value: ".concat(e)), Ln(e)) {
process.env.NODE_ENV !== "production" && g('Set operation on key "'.concat(t, '" failed: target is readonly.'));
return;
}
var r = e.__ob__;
return C(e) && _i(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), r && !r.shallow && r.mock && Ne(n, !1, !0), n) : t in e && !(t in Object.prototype) ? (e[t] = n, n) : e._isVue || r && r.vmCount ? (process.env.NODE_ENV !== "production" && g("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."), n) : r ? (pe(r.value, t, n, void 0, r.shallow, r.mock), process.env.NODE_ENV !== "production" ? r.dep.notify({
type: "add",
target: e,
key: t,
newValue: n,
oldValue: void 0
}) : r.dep.notify(), n) : (e[t] = n, n);
}
function Mi(e, t) {
if (process.env.NODE_ENV !== "production" && (O(e) || Oe(e)) && g("Cannot delete reactive property on undefined, null, or primitive value: ".concat(e)), C(e) && _i(t)) {
e.splice(t, 1);
return;
}
var n = e.__ob__;
if (e._isVue || n && n.vmCount) {
process.env.NODE_ENV !== "production" && g("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");
return;
}
if (Ln(e)) {
process.env.NODE_ENV !== "production" && g('Delete operation on key "'.concat(t, '" failed: target is readonly.'));
return;
}
Y(e, t) && (delete e[t], n && (process.env.NODE_ENV !== "production" ? n.dep.notify({
type: "delete",
target: e,
key: t
}) : n.dep.notify()));
}
function Pi(e) {
for (var t = void 0, n = 0, r = e.length; n < r; n++)
t = e[n], t && t.__ob__ && t.__ob__.dep.depend(), C(t) && Pi(t);
}
function Ii(e) {
return Xo(e, !0), $e(e, "__v_isShallow", !0), e;
}
function Xo(e, t) {
if (!Ln(e)) {
if (process.env.NODE_ENV !== "production") {
C(e) && g("Avoid using Array as root value for ".concat(t ? "shallowReactive()" : "reactive()", " as it cannot be tracked in watch() or watchEffect(). Use ").concat(t ? "shallowRef()" : "ref()", " instead. This is a Vue-2-only limitation."));
var n = e && e.__ob__;
n && n.shallow !== t && g("Target is already a ".concat(n.shallow ? "" : "non-", "shallow reactive object, and cannot be converted to ").concat(t ? "" : "non-", "shallow."));
}
var r = Ne(
e,
t,
bt()
/* ssr mock reactivity */
);
process.env.NODE_ENV !== "production" && !r && ((e == null || Oe(e)) && g("value cannot be made reactive: ".concat(String(e))), Jo(e) && g("Vue 2 does not support reactive collection types such as Map or Set."));
}
}
function Ln(e) {
return !!(e && e.__v_isReadonly);
}
function Jo(e) {
var t = _t(e);
return t === "Map" || t === "WeakMap" || t === "Set" || t === "WeakSet";
}
function ge(e) {
return !!(e && e.__v_isRef === !0);
}
function _n(e, t, n) {
Object.defineProperty(e, n, {
enumerable: !0,
configurable: !0,
get: function() {
var r = t[n];
if (ge(r))
return r.value;
var i = r && r.__ob__;
return i && i.dep.depend(), r;
},
set: function(r) {
var i = t[n];
ge(i) && !ge(r) ? i.value = r : t[n] = r;
}
});
}
var te, Qo = (
/** @class */
function() {
function e(t) {
t === void 0 && (t = !1), this.detached = t, this.active = !0, this.effects = [], this.cleanups = [], this.parent = te, !t && te && (this.index = (te.scopes || (te.scopes = [])).push(this) - 1);
}
return e.prototype.run = function(t) {
if (this.active) {
var n = te;
try {
return te = this, t();
} finally {
te = n;
}
} else
process.env.NODE_ENV !== "production" && g("cannot run an inactive effect scope.");
}, e.prototype.on = function() {
te = this;
}, e.prototype.off = function() {
te = this.parent;
}, e.prototype.stop = function(t) {
if (this.active) {
var n = void 0, r = void 0;
for (n = 0, r = this.effects.length; n < r; n++)
this.effects[n].teardown();
for (n = 0, r = this.cleanups.length; n < r; n++)
this.cleanups[n]();
if (this.scopes)
for (n = 0, r = this.scopes.length; n < r; n++)
this.scopes[n].stop(!0);
if (!this.detached && this.parent && !t) {
var i = this.parent.scopes.pop();
i && i !== this && (this.parent.scopes[this.index] = i, i.index = this.index);
}
this.parent = void 0, this.active = !1;
}
}, e;
}()
);
function ea(e, t) {
t === void 0 && (t = te), t && t.active && t.effects.push(e);
}
function ta(e) {
var t = e._provided, n = e.$parent && e.$parent._provided;
return n === t ? e._provided = Object.create(n) : t;
}
var gr = We(function(e) {
var t = e.charAt(0) === "&";
e = t ? e.slice(1) : e;
var n = e.charAt(0) === "~";
e = n ? e.slice(1) : e;
var r = e.charAt(0) === "!";
return e = r ? e.slice(1) : e, {
name: e,
once: n,
capture: r,
passive: t
};
});
function bn(e, t) {
function n() {
var r = n.fns;
if (C(r))
for (var i = r.slice(), o = 0; o < i.length; o++)
Me(i[o], null, arguments, t, "v-on handler");
else
return Me(r, null, arguments, t, "v-on handler");
}
return n.fns = e, n;
}
function ji(e, t, n, r, i, o) {
var a, s, c, p;
for (a in e)
s = e[a], c = t[a], p = gr(a), O(s) ? process.env.NODE_ENV !== "production" && g('Invalid handler for event "'.concat(p.name, '": got ') + String(s), o) : O(c) ? (O(s.fns) && (s = e[a] = bn(s, o)), U(p.once) && (s = e[a] = i(p.name, s, p.capture)), n(p.name, s, p.capture, p.passive, p.params)) : s !== c && (c.fns = s, e[a] = c);
for (a in t)
O(e[a]) && (p = gr(a), r(p.name, t[a], p.capture));
}
function Ce(e, t, n) {
e instanceof J && (e = e.data.hook || (e.data.hook = {}));
var r, i = e[t];
function o() {
n.apply(this, arguments), Pe(r.fns, o);
}
O(i) ? r = bn([o]) : l(i.fns) && U(i.merged) ? (r = i, r.fns.push(o)) : r = bn([i, o]), r.merged = !0, e[t] = r;
}
function na(e, t, n) {
var r = t.options.props;
if (!O(r)) {
var i = {}, o = e.attrs, a = e.props;
if (l(o) || l(a))
for (var s in r) {
var c = Ge(s);
if (process.env.NODE_ENV !== "production") {
var p = s.toLowerCase();
s !== p && o && Y(o, p) && Kn('Prop "'.concat(p, '" is passed to component ') + "".concat(Re(
// @ts-expect-error tag is string
n || t
), ", but the declared prop name is") + ' "'.concat(s, '". ') + "Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM " + 'templates. You should probably use "'.concat(c, '" instead of "').concat(s, '".'));
}
yr(i, a, s, c, !0) || yr(i, o, s, c, !1);
}
return i;
}
}
function yr(e, t, n, r, i) {
if (l(t)) {
if (Y(t, n))
return e[n] = t[n], i || delete t[n], !0;
if (Y(t, r))
return e[n] = t[r], i || delete t[r], !0;
}
return !1;
}
function ra(e) {
for (var t = 0; t < e.length; t++)
if (C(e[t]))
return Array.prototype.concat.apply([], e);
return e;
}
function kn(e) {
return Oe(e) ? [Ze(e)] : C(e) ? Fi(e) : void 0;
}
function ot(e) {
return l(e) && l(e.text) && Io(e.isComment);
}
function Fi(e, t) {
var n = [], r, i, o, a;
for (r = 0; r < e.length; r++)
i = e[r], !(O(i) || typeof i == "boolean") && (o = n.length - 1, a = n[o], C(i) ? i.length > 0 && (i = Fi(i, "".concat(t || "", "_").concat(r)), ot(i[0]) && ot(a) && (n[o] = Ze(a.text + i[0].text), i.shift()), n.push.apply(n, i)) : Oe(i) ? ot(a) ? n[o] = Ze(a.text + i) : i !== "" && n.push(Ze(i)) : ot(i) && ot(a) ? n[o] = Ze(a.text + i.text) : (U(e._isVList) && l(i.tag) && O(i.key) && l(t) && (i.key = "__vlist".concat(t, "_").concat(r, "__")), n.push(i)));
return n;
}
function ia(e, t) {
var n = null, r, i, o, a;
if (C(e) || typeof e == "string")
for (n = new Array(e.length), r = 0, i = e.length; r < i; r++)
n[r] = t(e[r], r);
else if (typeof e == "number")
for (n = new Array(e), r = 0; r < e; r++)
n[r] = t(r + 1, r);
else if (Z(e))
if (Et && e[Symbol.iterator]) {
n = [];
for (var s = e[Symbol.iterator](), c = s.next(); !c.done; )
n.push(t(c.value, n.length)), c = s.next();
} else
for (o = Object.keys(e), n = new Array(o.length), r = 0, i = o.length; r < i; r++)
a = o[r], n[r] = t(e[a], a, r);
return l(n) || (n = []), n._isVList = !0, n;
}
function oa(e, t, n, r) {
var i = this.$scopedSlots[e], o;
i ? (n = n || {}, r && (process.env.NODE_ENV !== "production" && !Z(r) && g("slot v-bind without argument expects an Object", this), n = k(k({}, r), n)), o = i(n) || (V(t) ? t() : t)) : o = this.$slots[e] || (V(t) ? t() : t);
var a = n && n.slot;
return a ? this.$createElement("template", { slot: a }, o) : o;
}
function aa(e) {
return Yt(this.$options, "filters", e, !0) || wi;
}
function _r(e, t) {
return C(e) ? e.indexOf(t) === -1 : e !== t;
}
function sa(e, t, n, r, i) {
var o = R.keyCodes[t] || n;
return i && r && !R.keyCodes[t] ? _r(i, r) : o ? _r(o, e) : r ? Ge(r) !== t : e === void 0;
}
function ca(e, t, n, r, i) {
if (n)
if (!Z(n))
process.env.NODE_ENV !== "production" && g("v-bind without argument expects an Object or Array value", this);
else {
C(n) && (n = Oi(n));
var o = void 0, a = function(c) {
if (c === "class" || c === "style" || bi(c))
o = e;
else {
var p = e.attrs && e.attrs.type;
o = r || R.mustUseProp(t, p, c) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {});
}
var v = Ue(c), y = Ge(c);
if (!(v in o) && !(y in o) && (o[c] = n[c], i)) {
var _ = e.on || (e.on = {});
_["update:".concat(c)] = function(E) {
n[c] = E;
};
}
};
for (var s in n)
a(s);
}
return e;
}
function ua(e, t) {
var n = this._staticTrees || (this._staticTrees = []), r = n[e];
return r && !t || (r = n[e] = this.$options.staticRenderFns[e].call(
this._renderProxy,
this._c,
this
// for render fns generated for functional component templates
), Ri(r, "__static__".concat(e), !1)), r;
}
function fa(e, t, n) {
return Ri(e, "__once__".concat(t).concat(n ? "_".concat(n) : ""), !0), e;
}
function Ri(e, t, n) {
if (C(e))
for (var r = 0; r < e.length; r++)
e[r] && typeof e[r] != "string" && br(e[r], "".concat(t, "_").concat(r), n);
else
br(e, t, n);
}
function br(e, t, n) {
e.isStatic = !0, e.key = t, e.isOnce = n;
}
function la(e, t) {
if (t)
if (!X(t))
process.env.NODE_ENV !== "production" && g("v-on without argument expects an Object value", this);
else {
var n = e.on = e.on ? k({}, e.on) : {};
for (var r in t) {
var i = n[r], o = t[r];
n[r] = i ? [].concat(i, o) : o;
}
}
return e;
}
function Hi(e, t, n, r) {
t = t || { $stable: !n };
for (var i = 0; i < e.length; i++) {
var o = e[i];
C(o) ? Hi(o, t, n) : o && (o.proxy && (o.fn.proxy = !0), t[o.key] = o.fn);
}
return r && (t.$key = r), t;
}
function pa(e, t) {
for (var n = 0; n < t.length; n += 2) {
var r = t[n];
typeof r == "string" && r ? e[t[n]] = t[n + 1] : process.env.NODE_ENV !== "production" && r !== "" && r !== null && g("Invalid value for dynamic directive argument (expected string or null): ".concat(r), this);
}
return e;
}
function da(e, t) {
return typeof e == "string" ? t + e : e;
}
function Li(e) {
e._o = fa, e._n = ft, e._s = jo, e._l = ia, e._t = oa, e._q = ze, e._i = Di, e._m = ua, e._f = aa, e._k = sa, e._b = ca, e._v = Ze, e._e = Le, e._u = Hi, e._g = la, e._d = pa, e._p = da;
}
function Vn(e, t) {
if (!e || !e.length)
return {};
for (var n = {}, r = 0, i = e.length; r < i; r++) {
var o = e[r], a = o.data;
if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, (o.context === t || o.fnContext === t) && a && a.slot != null) {
var s = a.slot, c = n[s] || (n[s] = []);
o.tag === "template" ? c.push.apply(c, o.children || []) : c.push(o);
} else
(n.default || (n.default = [])).push(o);
}
for (var p in n)
n[p].every(ha) && delete n[p];
return n;
}
function ha(e) {
return e.isComment && !e.asyncFactory || e.text === " ";
}
function pt(e) {
return e.isComment && e.asyncFactory;
}
function ut(e, t, n, r) {
var i, o = Object.keys(n).length > 0, a = t ? !!t.$stable : !o, s = t && t.$key;
if (!t)
i = {};
else {
if (t._normalized)
return t._normalized;
if (a && r && r !== q && s === r.$key && !o && !r.$hasNormal)
return r;
i = {};
for (var c in t)
t[c] && c[0] !== "$" && (i[c] = va(e, n, c, t[c]));
}
for (var p in n)
p in i || (i[p] = ma(n, p));
return t && Object.isExtensible(t) && (t._normalized = i), $e(i, "$stable", a), $e(i, "$key", s), $e(i, "$hasNormal", o), i;
}
function va(e, t, n, r) {
var i = function() {
var o = Xe;
Te(e);
var a = arguments.length ? r.apply(null, arguments) : r({});
a = a && typeof a == "object" && !C(a) ? [a] : kn(a);
var s = a && a[0];
return Te(o), a && (!s || a.length === 1 && s.isComment && !pt(s)) ? void 0 : a;
};
return r.proxy && Object.defineProperty(t, n, {
get: i,
enumerable: !0,
configurable: !0
}), i;
}
function ma(e, t) {
return function() {
return e[t];
};
}
function ga(e) {
var t = e.$options, n = t.setup;
if (n) {
var r = e._setupContext = ya(e);
Te(e), rt();
var i = Me(n, null, [e._props || Ii({}), r], e, "setup");
if (it(), Te(), V(i))
t.render = i;
else if (Z(i))
if (process.env.NODE_ENV !== "production" && i instanceof J && g("setup() should not return VNodes directly - return a render function instead."), e._setupState = i, i.__sfc) {
var a = e._setupProxy = {};
for (var o in i)
o !== "__sfc" && _n(a, i, o);
} else
for (var o in i)
Fn(o) ? process.env.NODE_ENV !== "production" && g("Avoid using variables that start with _ or $ in setup().") : _n(e, i, o);
else
process.env.NODE_ENV !== "production" && i !== void 0 && g("setup() should return an object. Received: ".concat(i === null ? "null" : typeof i));
}
}
function ya(e) {
var t = !1;
return {
get attrs() {
if (!e._attrsProxy) {
var n = e._attrsProxy = {};
$e(n, "_v_attr_proxy", !0), zt(n, e.$attrs, q, e, "$attrs");
}
return e._attrsProxy;
},
get listeners() {
if (!e._listenersProxy) {
var n = e._listenersProxy = {};
zt(n, e.$listeners, q, e, "$listeners");
}
return e._listenersProxy;
},
get slots() {
return ba(e);
},
emit: Ni(e.$emit, e),
expose: function(n) {
process.env.NODE_ENV !== "production" && (t && g("expose() should be called only once per setup().", e), t = !0), n && Object.keys(n).forEach(function(r) {
return _n(e, n, r);
});
}
};
}
function zt(e, t, n, r, i) {
var o = !1;
for (var a in t)
a in e ? t[a] !== n[a] && (o = !0) : (o = !0, _a(e, a, r, i));
for (var a in e)
a in t || (o = !0, delete e[a]);
return o;
}
function _a(e, t, n, r) {
Object.defineProperty(e, t, {
enumerable: !0,
configurable: !0,
get: function() {
return n[r][t];
}
});
}
function ba(e) {
return e._slotsProxy || ki(e._slotsProxy = {}, e.$scopedSlots), e._slotsProxy;
}
function ki(e, t) {
for (var n in t)
e[n] = t[n];
for (var n in e)
n in t || delete e[n];
}
function Ea(e) {
e._vnode = null, e._staticTrees = null;
var t = e.$options, n = e.$vnode = t._parentVnode, r = n && n.context;
e.$slots = Vn(t._renderChildren, r), e.$scopedSlots = n ? ut(e.$parent, n.data.scopedSlots, e.$slots) : q, e._c = function(o, a, s, c) {
return Bt(e, o, a, s, c, !1);
}, e.$createElement = function(o, a, s, c) {
return Bt(e, o, a, s, c, !0);
};
var i = n && n.data;
process.env.NODE_ENV !== "production" ? (pe(e, "$attrs", i && i.attrs || q, function() {
!ht && g("$attrs is readonly.", e);
}, !0), pe(e, "$listeners", t._parentListeners || q, function() {
!ht && g("$listeners is readonly.", e);
}, !0)) : (pe(e, "$attrs", i && i.attrs || q, null, !0), pe(e, "$listeners", t._parentListeners || q, null, !0));
}
var En = null;
function Na(e) {
Li(e.prototype), e.prototype.$nextTick = function(t) {
return Un(t, this);
}, e.prototype._render = function() {
var t = this, n = t.$options, r = n.render, i = n._parentVnode;
i && t._isMounted && (t.$scopedSlots = ut(t.$parent, i.data.scopedSlots, t.$slots, t.$scopedSlots), t._slotsProxy && ki(t._slotsProxy, t.$scopedSlots)), t.$vnode = i;
var o;
try {
Te(t), En = t, o = r.call(t._renderProxy, t.$createElement);
} catch (a) {
if (Ae(a, t, "render"), process.env.NODE_ENV !== "production" && t.$options.renderError)
try {
o = t.$options.renderError.call(t._renderProxy, t.$createElement, a);
} catch (s) {
Ae(s, t, "renderError"), o = t._vnode;
}
else
o = t._vnode;
} finally {
En = null, Te();
}
return C(o) && o.length === 1 && (o = o[0]), o instanceof J || (process.env.NODE_ENV !== "production" && C(o) && g("Multiple root nodes returned from render function. Render function should return a single root node.", t), o = Le()), o.parent = i, o;
};
}
function on(e, t) {
return (e.__esModule || Et && e[Symbol.toStringTag] === "Module") && (e = e.default), Z(e) ? t.extend(e) : e;
}
function Oa(e, t, n, r, i) {
var o = Le();
return o.asyncFactory = e, o.asyncMeta = { data: t, context: n, children: r, tag: i }, o;
}
function wa(e, t) {
if (U(e.error) && l(e.errorComp))
return e.errorComp;
if (l(e.resolved))
return e.resolved;
var n = En;
if (n && l(e.owners) && e.owners.indexOf(n) === -1 && e.owners.push(n), U(e.loading) && l(e.loadingComp))
return e.loadingComp;
if (n && !l(e.owners)) {
var r = e.owners = [n], i = !0, o = null, a = null;
n.$on("hook:destroyed", function() {
return Pe(r, n);
});
var s = function(y) {
for (var _ = 0, E = r.length; _ < E; _++)
r[_].$forceUpdate();
y && (r.length = 0, o !== null && (clearTimeout(o), o = null), a !== null && (clearTimeout(a), a = null));
}, c = Lt(function(y) {
e.resolved = on(y, t), i ? r.length = 0 : s(!0);
}), p = Lt(function(y) {
process.env.NODE_ENV !== "production" && g("Failed to resolve async component: ".concat(String(e)) + (y ? `
Reason: `.concat(y) : "")), l(e.errorComp) && (e.error = !0, s(!0));
}), v = e(c, p);
return Z(v) && (vn(v) ? O(e.resolved) && v.then(c, p) : vn(v.component) && (v.component.then(c, p), l(v.error) && (e.errorComp = on(v.error, t)), l(v.loading) && (e.loadingComp = on(v.loading, t), v.delay === 0 ? e.loading = !0 : o = setTimeout(function() {
o = null, O(e.resolved) && O(e.error) && (e.loading = !0, s(!1));
}, v.delay || 200)), l(v.timeout) && (a = setTimeout(function() {
a = null, O(e.resolved) && p(process.env.NODE_ENV !== "production" ? "timeout (".concat(v.timeout, "ms)") : null);
}, v.timeout)))), i = !1, e.loading ? e.loadingComp : e.resolved;
}
}
function Vi(e) {
if (C(e))
for (var t = 0; t < e.length; t++) {
var n = e[t];
if (l(n) && (l(n.componentOptions) || pt(n)))
return n;
}
}
var Da = 1, Ui = 2;
function Bt(e, t, n, r, i, o) {
return (C(n) || Oe(n)) && (i = r, r = n, n = void 0), U(o) && (i = Ui), Ca(e, t, n, r, i);
}
function Ca(e, t, n, r, i) {
if (l(n) && l(n.__ob__))
return process.env.NODE_ENV !== "production" && g("Avoid using observed data object as vnode data: ".concat(JSON.stringify(n), `
`) + "Always create fresh vnode data objects in each render!", e), Le();
if (l(n) && l(n.is) && (t = n.is), !t)
return Le();
process.env.NODE_ENV !== "production" && l(n) && l(n.key) && !Oe(n.key) && g("Avoid using non-primitive value as key, use string/number value instead.", e), C(r) && V(r[0]) && (n = n || {}, n.scopedSlots = { default: r[0] }, r.length = 0), i === Ui ? r = kn(r) : i === Da && (r = ra(r));
var o, a;
if (typeof t == "string") {
var s = void 0;
a = e.$vnode && e.$vnode.ns || R.getTagNamespace(t), R.isReservedTag(t) ? (process.env.NODE_ENV !== "production" && l(n) && l(n.nativeOn) && n.tag !== "component" && g("The .native modifier for v-on is only valid on components but it was used on <".concat(t, ">."), e), o = new J(R.parsePlatformTagName(t), n, r, void 0, void 0, e)) : (!n || !n.pre) && l(s = Yt(e.$options, "components", t)) ? o = Tr(s, n, e, r, t) : o = new J(t, n, r, void 0, void 0, e);
} else
o = Tr(t, n, e, r);
return C(o) ? o : l(o) ? (l(a) && zi(o, a), l(n) && Sa(n), o) : Le();
}
function zi(e, t, n) {
if (e.ns = t, e.tag === "foreignObject" && (t = void 0, n = !0), l(e.children))
for (var r = 0, i = e.children.length; r < i; r++) {
var o = e.children[r];
l(o.tag) && (O(o.ns) || U(n) && o.tag !== "svg") && zi(o, t, n);
}
}
function Sa(e) {
Z(e.style) && Wt(e.style), Z(e.class) && Wt(e.class);
}
function Ae(e, t, n) {
rt();
try {
if (t)
for (var r = t; r = r.$parent; ) {
var i = r.$options.errorCaptured;
if (i)
for (var o = 0; o < i.length; o++)
try {
var a = i[o].call(r, e, t, n) === !1;
if (a)
return;
} catch (s) {
Er(s, r, "errorCaptured hook");
}
}
Er(e, t, n);
} finally {
it();
}
}
function Me(e, t, n, r, i) {
var o;
try {
o = n ? e.apply(t, n) : e.call(t), o && !o._isVue && vn(o) && !o._handled && (o.catch(function(a) {
return Ae(a, r, i + " (Promise/async)");
}), o._handled = !0);
} catch (a) {
Ae(a, r, i);
}
return o;
}
function Er(e, t, n) {
if (R.errorHandler)
try {
return R.errorHandler.call(null, e, t, n);
} catch (r) {
r !== e && Nr(r, null, "config.errorHandler");
}
Nr(e, t, n);
}
function Nr(e, t, n) {
if (process.env.NODE_ENV !== "production" && g("Error in ".concat(n, ': "').concat(e.toString(), '"'), t), Q && typeof console != "undefined")
console.error(e);
else
throw e;
}
var Nn = !1, On = [], wn = !1;
function Dt() {
wn = !1;
var e = On.slice(0);
On.length = 0;
for (var t = 0; t < e.length; t++)
e[t]();
}
var ct;
if (typeof Promise != "undefined" && He(Promise)) {
var $a = Promise.resolve();
ct = function() {
$a.then(Dt), Go && setTimeout(W);
}, Nn = !0;
} else if (!tt && typeof MutationObserver != "undefined" && (He(MutationObserver) || // PhantomJS and iOS 7.x
MutationObserver.toString() === "[object MutationObserverConstructor]")) {
var Ct = 1, Ta = new MutationObserver(Dt), Or = document.createTextNode(String(Ct));
Ta.observe(Or, {
characterData: !0
}), ct = function() {
Ct = (Ct + 1) % 2, Or.data = String(Ct);
}, Nn = !0;
} else
typeof setImmediate != "undefined" && He(setImmediate) ? ct = function() {
setImmediate(Dt);
} : ct = function() {
setTimeout(Dt, 0);
};
function Un(e, t) {
var n;
if (On.push(function() {
if (e)
try {
e.call(t);
} catch (r) {
Ae(r, t, "nextTick");
}
else
n && n(t);
}), wn || (wn = !0, ct()), !e && typeof Promise != "undefined")
return new Promise(function(r) {
n = r;
});
}
var xa = "2.7.14", wr = new lt();
function Wt(e) {
return Ft(e, wr), wr.clear(), e;
}
function Ft(e, t) {
var n, r, i = C(e);
if (!(!i && !Z(e) || e.__v_skip || Object.isFrozen(e) || e instanceof J)) {
if (e.__ob__) {
var o = e.__ob__.dep.id;
if (t.has(o))
return;
t.add(o);
}
if (i)
for (n = e.length; n--; )
Ft(e[n], t);
else if (ge(e))
Ft(e.value, t);
else
for (r = Object.keys(e), n = r.length; n--; )
Ft(e[r[n]], t);
}
}
var Aa = 0, zn = (
/** @class */
function() {
function e(t, n, r, i, o) {
ea(
this,
// if the active effect scope is manually created (not a component scope),
// prioritize it
te && !te._vm ? te : t ? t._scope : void 0
), (this.vm = t) && o && (t._watcher = this), i ? (this.deep = !!i.deep, this.user = !!i.user, this.lazy = !!i.lazy, this.sync = !!i.sync, this.before = i.before, process.env.NODE_ENV !== "production"