UNPKG

shiyzhangcron

Version:

> 一个基于vue3+Ant-Design-vue的cron表达式组件

1,655 lines 939 kB
import { Fragment as Ge, isVNode as ni, Comment as c0, Text as Mp, defineComponent as J, reactive as wt, getCurrentInstance as $n, onMounted as Fe, onUpdated as tr, onUnmounted as Ta, watch as ie, computed as E, inject as Pe, ref as Z, shallowRef as W, unref as $e, provide as je, watchEffect as Xe, onBeforeUnmount as ke, triggerRef as d0, createVNode as g, h as Xl, Transition as nr, withDirectives as or, resolveDirective as f0, cloneVNode as Pp, nextTick as at, toRef as jt, withModifiers as pc, vShow as Ap, onBeforeMount as p0, Teleport as Np, createTextVNode as Oe, isRef as h0, toRefs as Dp, toRaw as Ho, render as Rp, onBeforeUpdate as Fp, resolveComponent as _e, openBlock as Ue, createElementBlock as $t, normalizeClass as Bn, withCtx as te, createElementVNode as ee, mergeProps as ce, renderList as rr, createBlock as an, toDisplayString as ir, createCommentVNode as gi } from "vue"; function Hr(e) { "@babel/helpers - typeof"; return Hr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, Hr(e); } function m0(e, t) { if (Hr(e) != "object" || !e) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var o = n.call(e, t || "default"); if (Hr(o) != "object") return o; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } function v0(e) { var t = m0(e, "string"); return Hr(t) == "symbol" ? t : String(t); } function g0(e, t, n) { return t = v0(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } function hc(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); t && (o = o.filter(function(r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), n.push.apply(n, o); } return n; } function V(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; t % 2 ? hc(Object(n), !0).forEach(function(o) { g0(e, o, n[o]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hc(Object(n)).forEach(function(o) { Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); }); } return e; } function v() { return v = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); } return e; }, v.apply(this, arguments); } const b0 = (e) => typeof e == "function", y0 = Array.isArray, S0 = (e) => typeof e == "string", w0 = (e) => e !== null && typeof e == "object", $0 = /^on[^a-z]/, x0 = (e) => $0.test(e), Lp = (e) => { const t = /* @__PURE__ */ Object.create(null); return (n) => t[n] || (t[n] = e(n)); }, C0 = /-(\w)/g, Ea = Lp((e) => e.replace(C0, (t, n) => n ? n.toUpperCase() : "")), O0 = /\B([A-Z])/g, T0 = Lp((e) => e.replace(O0, "-$1").toLowerCase()), E0 = Object.prototype.hasOwnProperty, mc = (e, t) => E0.call(e, t); function I0(e, t, n, o) { const r = e[n]; if (r != null) { const i = mc(r, "default"); if (i && o === void 0) { const a = r.default; o = r.type !== Function && b0(a) ? a() : a; } r.type === Boolean && (!mc(t, n) && !i ? o = !1 : o === "" && (o = !0)); } return o; } function gr(e) { return typeof e == "number" ? `${e}px` : e; } function le() { const e = []; for (let t = 0; t < arguments.length; t++) { const n = t < 0 || arguments.length <= t ? void 0 : arguments[t]; if (n) { if (S0(n)) e.push(n); else if (y0(n)) for (let o = 0; o < n.length; o++) { const r = le(n[o]); r && e.push(r); } else if (w0(n)) for (const o in n) n[o] && e.push(o); } } return e.join(" "); } var kp = function() { if (typeof Map < "u") return Map; function e(t, n) { var o = -1; return t.some(function(r, i) { return r[0] === n ? (o = i, !0) : !1; }), o; } return ( /** @class */ function() { function t() { this.__entries__ = []; } return Object.defineProperty(t.prototype, "size", { /** * @returns {boolean} */ get: function() { return this.__entries__.length; }, enumerable: !0, configurable: !0 }), t.prototype.get = function(n) { var o = e(this.__entries__, n), r = this.__entries__[o]; return r && r[1]; }, t.prototype.set = function(n, o) { var r = e(this.__entries__, n); ~r ? this.__entries__[r][1] = o : this.__entries__.push([n, o]); }, t.prototype.delete = function(n) { var o = this.__entries__, r = e(o, n); ~r && o.splice(r, 1); }, t.prototype.has = function(n) { return !!~e(this.__entries__, n); }, t.prototype.clear = function() { this.__entries__.splice(0); }, t.prototype.forEach = function(n, o) { o === void 0 && (o = null); for (var r = 0, i = this.__entries__; r < i.length; r++) { var a = i[r]; n.call(o, a[1], a[0]); } }, t; }() ); }(), ql = typeof window < "u" && typeof document < "u" && window.document === document, Ji = function() { return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")(); }(), _0 = function() { return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ji) : function(e) { return setTimeout(function() { return e(Date.now()); }, 1e3 / 60); }; }(), M0 = 2; function P0(e, t) { var n = !1, o = !1, r = 0; function i() { n && (n = !1, e()), o && l(); } function a() { _0(i); } function l() { var s = Date.now(); if (n) { if (s - r < M0) return; o = !0; } else n = !0, o = !1, setTimeout(a, t); r = s; } return l; } var A0 = 20, N0 = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], D0 = typeof MutationObserver < "u", R0 = ( /** @class */ function() { function e() { this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = P0(this.refresh.bind(this), A0); } return e.prototype.addObserver = function(t) { ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_(); }, e.prototype.removeObserver = function(t) { var n = this.observers_, o = n.indexOf(t); ~o && n.splice(o, 1), !n.length && this.connected_ && this.disconnect_(); }, e.prototype.refresh = function() { var t = this.updateObservers_(); t && this.refresh(); }, e.prototype.updateObservers_ = function() { var t = this.observers_.filter(function(n) { return n.gatherActive(), n.hasActive(); }); return t.forEach(function(n) { return n.broadcastActive(); }), t.length > 0; }, e.prototype.connect_ = function() { !ql || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), D0 ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: !0, childList: !0, characterData: !0, subtree: !0 })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0); }, e.prototype.disconnect_ = function() { !ql || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1); }, e.prototype.onTransitionEnd_ = function(t) { var n = t.propertyName, o = n === void 0 ? "" : n, r = N0.some(function(i) { return !!~o.indexOf(i); }); r && this.refresh(); }, e.getInstance = function() { return this.instance_ || (this.instance_ = new e()), this.instance_; }, e.instance_ = null, e; }() ), Bp = function(e, t) { for (var n = 0, o = Object.keys(t); n < o.length; n++) { var r = o[n]; Object.defineProperty(e, r, { value: t[r], enumerable: !1, writable: !1, configurable: !0 }); } return e; }, Vo = function(e) { var t = e && e.ownerDocument && e.ownerDocument.defaultView; return t || Ji; }, zp = Ia(0, 0, 0, 0); function Qi(e) { return parseFloat(e) || 0; } function vc(e) { for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; return t.reduce(function(o, r) { var i = e["border-" + r + "-width"]; return o + Qi(i); }, 0); } function F0(e) { for (var t = ["top", "right", "bottom", "left"], n = {}, o = 0, r = t; o < r.length; o++) { var i = r[o], a = e["padding-" + i]; n[i] = Qi(a); } return n; } function L0(e) { var t = e.getBBox(); return Ia(0, 0, t.width, t.height); } function k0(e) { var t = e.clientWidth, n = e.clientHeight; if (!t && !n) return zp; var o = Vo(e).getComputedStyle(e), r = F0(o), i = r.left + r.right, a = r.top + r.bottom, l = Qi(o.width), s = Qi(o.height); if (o.boxSizing === "border-box" && (Math.round(l + i) !== t && (l -= vc(o, "left", "right") + i), Math.round(s + a) !== n && (s -= vc(o, "top", "bottom") + a)), !z0(e)) { var u = Math.round(l + i) - t, d = Math.round(s + a) - n; Math.abs(u) !== 1 && (l -= u), Math.abs(d) !== 1 && (s -= d); } return Ia(r.left, r.top, l, s); } var B0 = /* @__PURE__ */ function() { return typeof SVGGraphicsElement < "u" ? function(e) { return e instanceof Vo(e).SVGGraphicsElement; } : function(e) { return e instanceof Vo(e).SVGElement && typeof e.getBBox == "function"; }; }(); function z0(e) { return e === Vo(e).document.documentElement; } function H0(e) { return ql ? B0(e) ? L0(e) : k0(e) : zp; } function V0(e) { var t = e.x, n = e.y, o = e.width, r = e.height, i = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(i.prototype); return Bp(a, { x: t, y: n, width: o, height: r, top: n, right: t + o, bottom: r + n, left: t }), a; } function Ia(e, t, n, o) { return { x: e, y: t, width: n, height: o }; } var j0 = ( /** @class */ function() { function e(t) { this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ia(0, 0, 0, 0), this.target = t; } return e.prototype.isActive = function() { var t = H0(this.target); return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight; }, e.prototype.broadcastRect = function() { var t = this.contentRect_; return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t; }, e; }() ), W0 = ( /** @class */ /* @__PURE__ */ function() { function e(t, n) { var o = V0(n); Bp(this, { target: t, contentRect: o }); } return e; }() ), U0 = ( /** @class */ function() { function e(t, n, o) { if (this.activeObservations_ = [], this.observations_ = new kp(), typeof t != "function") throw new TypeError("The callback provided as parameter 1 is not a function."); this.callback_ = t, this.controller_ = n, this.callbackCtx_ = o; } return e.prototype.observe = function(t) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(t instanceof Vo(t).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var n = this.observations_; n.has(t) || (n.set(t, new j0(t)), this.controller_.addObserver(this), this.controller_.refresh()); } }, e.prototype.unobserve = function(t) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(t instanceof Vo(t).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var n = this.observations_; n.has(t) && (n.delete(t), n.size || this.controller_.removeObserver(this)); } }, e.prototype.disconnect = function() { this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this); }, e.prototype.gatherActive = function() { var t = this; this.clearActive(), this.observations_.forEach(function(n) { n.isActive() && t.activeObservations_.push(n); }); }, e.prototype.broadcastActive = function() { if (this.hasActive()) { var t = this.callbackCtx_, n = this.activeObservations_.map(function(o) { return new W0(o.target, o.broadcastRect()); }); this.callback_.call(t, n, t), this.clearActive(); } }, e.prototype.clearActive = function() { this.activeObservations_.splice(0); }, e.prototype.hasActive = function() { return this.activeObservations_.length > 0; }, e; }() ), Hp = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new kp(), Vp = ( /** @class */ /* @__PURE__ */ function() { function e(t) { if (!(this instanceof e)) throw new TypeError("Cannot call a class as a function."); if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); var n = R0.getInstance(), o = new U0(t, n, this); Hp.set(this, o); } return e; }() ); [ "observe", "unobserve", "disconnect" ].forEach(function(e) { Vp.prototype[e] = function() { var t; return (t = Hp.get(this))[e].apply(t, arguments); }; }); var jp = function() { return typeof Ji.ResizeObserver < "u" ? Ji.ResizeObserver : Vp; }(); const Zl = (e) => e != null && e !== "", zn = (e, t) => { const n = v({}, e); return Object.keys(t).forEach((o) => { const r = n[o]; if (r) r.type || r.default ? r.default = t[o] : r.def ? r.def(t[o]) : n[o] = { type: r, default: t[o] }; else throw new Error(`not have ${o} prop`); }), n; }, G0 = (e) => { const t = Object.keys(e), n = {}, o = {}, r = {}; for (let i = 0, a = t.length; i < a; i++) { const l = t[i]; x0(l) ? (n[l[2].toLowerCase() + l.slice(3)] = e[l], o[l] = e[l]) : r[l] = e[l]; } return { onEvents: o, events: n, extraAttrs: r }; }, K0 = function() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1; const n = {}, o = /;(?![^(]*\))/g, r = /:(.+)/; return typeof e == "object" ? e : (e.split(o).forEach(function(i) { if (i) { const a = i.split(r); if (a.length > 1) { const l = t ? Ea(a[0].trim()) : a[0].trim(); n[l] = a[1].trim(); } } }), n); }, Y0 = (e, t) => e[t] !== void 0, Wp = Symbol("skipFlatten"), lt = function() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; const n = Array.isArray(e) ? e : [e], o = []; return n.forEach((r) => { Array.isArray(r) ? o.push(...lt(r, t)) : r && r.type === Ge ? r.key === Wp ? o.push(r) : o.push(...lt(r.children, t)) : r && ni(r) ? t && !Up(r) ? o.push(r) : t || o.push(r) : Zl(r) && o.push(r); }), o; }, X0 = function(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; if (ni(e)) return e.type === Ge ? t === "default" ? lt(e.children) : [] : e.children && e.children[t] ? lt(e.children[t](n)) : []; { const o = e.$slots[t] && e.$slots[t](n); return lt(o); } }, Nn = (e) => { var t; let n = ((t = e == null ? void 0 : e.vnode) === null || t === void 0 ? void 0 : t.el) || e && (e.$el || e); for (; n && !n.tagName; ) n = n.nextSibling; return n; }, q0 = (e) => { const t = {}; if (e.$ && e.$.vnode) { const n = e.$.vnode.props || {}; Object.keys(e.$props).forEach((o) => { const r = e.$props[o], i = T0(o); (r !== void 0 || i in n) && (t[o] = r); }); } else if (ni(e) && typeof e.type == "object") { const n = e.props || {}, o = {}; Object.keys(n).forEach((i) => { o[Ea(i)] = n[i]; }); const r = e.type.props || {}; Object.keys(r).forEach((i) => { const a = I0(r, o, i, o[i]); (a !== void 0 || i in o) && (t[i] = a); }); } return t; }, Z0 = function(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, r; if (e.$) { const i = e[t]; if (i !== void 0) return typeof i == "function" && o ? i(n) : i; r = e.$slots[t], r = o && r ? r(n) : r; } else if (ni(e)) { const i = e.props && e.props[t]; if (i !== void 0 && e.props !== null) return typeof i == "function" && o ? i(n) : i; e.type === Ge ? r = e.children : e.children && e.children[t] && (r = e.children[t], r = o && r ? r(n) : r); } return Array.isArray(r) && (r = lt(r), r = r.length === 1 ? r[0] : r, r = r.length === 0 ? void 0 : r), r; }; function gc() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = {}; return e.$ ? n = v(v({}, n), e.$attrs) : n = v(v({}, n), e.props), G0(n)[t ? "onEvents" : "events"]; } function J0(e, t) { let o = ((ni(e) ? e.props : e.$attrs) || {}).style || {}; if (typeof o == "string") o = K0(o, t); else if (t && o) { const r = {}; return Object.keys(o).forEach((i) => r[Ea(i)] = o[i]), r; } return o; } function Q0(e) { return e.length === 1 && e[0].type === Ge; } function Up(e) { return e && (e.type === c0 || e.type === Ge && e.children.length === 0 || e.type === Mp && e.children.trim() === ""); } function ho() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; const t = []; return e.forEach((n) => { Array.isArray(n) ? t.push(...n) : (n == null ? void 0 : n.type) === Ge ? t.push(...ho(n.children)) : t.push(n); }), t.filter((n) => !Up(n)); } function un(e) { return Array.isArray(e) && e.length === 1 && (e = e[0]), e && e.__v_isVNode && typeof e.type != "symbol"; } function js(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "default"; var o, r; return (o = t[n]) !== null && o !== void 0 ? o : (r = e[n]) === null || r === void 0 ? void 0 : r.call(e); } const jo = J({ compatConfig: { MODE: 3 }, name: "ResizeObserver", props: { disabled: Boolean, onResize: Function }, emits: ["resize"], setup(e, t) { let { slots: n } = t; const o = wt({ width: 0, height: 0, offsetHeight: 0, offsetWidth: 0 }); let r = null, i = null; const a = () => { i && (i.disconnect(), i = null); }, l = (d) => { const { onResize: c } = e, p = d[0].target, { width: f, height: m } = p.getBoundingClientRect(), { offsetWidth: w, offsetHeight: S } = p, x = Math.floor(f), $ = Math.floor(m); if (o.width !== x || o.height !== $ || o.offsetWidth !== w || o.offsetHeight !== S) { const C = { width: x, height: $, offsetWidth: w, offsetHeight: S }; v(o, C), c && Promise.resolve().then(() => { c(v(v({}, C), { offsetWidth: w, offsetHeight: S }), p); }); } }, s = $n(), u = () => { const { disabled: d } = e; if (d) { a(); return; } const c = Nn(s); c !== r && (a(), r = c), !i && c && (i = new jp(l), i.observe(c)); }; return Fe(() => { u(); }), tr(() => { u(); }), Ta(() => { a(); }), ie(() => e.disabled, () => { u(); }, { flush: "post" }), () => { var d; return (d = n.default) === null || d === void 0 ? void 0 : d.call(n)[0]; }; } }); let Gp = (e) => setTimeout(e, 16), Kp = (e) => clearTimeout(e); typeof window < "u" && "requestAnimationFrame" in window && (Gp = (e) => window.requestAnimationFrame(e), Kp = (e) => window.cancelAnimationFrame(e)); let bc = 0; const Ws = /* @__PURE__ */ new Map(); function Yp(e) { Ws.delete(e); } function Te(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; bc += 1; const n = bc; function o(r) { if (r === 0) Yp(n), e(); else { const i = Gp(() => { o(r - 1); }); Ws.set(n, i); } } return o(t), n; } Te.cancel = (e) => { const t = Ws.get(e); return Yp(t), Kp(t); }; const Vr = function() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; return t; }, ar = (e) => { const t = e; return t.install = function(n) { n.component(t.displayName || t.name, e); }, e; }; function ea() { return { type: [Function, Array] }; } function ft(e) { return { type: Object, default: e }; } function Re(e) { return { type: Boolean, default: e }; } function Ie(e) { return { type: Function, default: e }; } function nn(e, t) { const n = { validator: () => !0, default: e }; return n; } function so(e) { return { type: Array, default: e }; } function it(e) { return { type: String, default: e }; } function Rt(e, t) { return e ? { type: e, default: t } : nn(t); } let Xp = !1; try { const e = Object.defineProperty({}, "passive", { get() { Xp = !0; } }); window.addEventListener("testPassive", null, e), window.removeEventListener("testPassive", null, e); } catch { } const yt = Xp; function Or(e, t, n, o) { if (e && e.addEventListener) { let r = o; r === void 0 && yt && (t === "touchstart" || t === "touchmove" || t === "wheel") && (r = { passive: !1 }), e.addEventListener(t, n, r); } return { remove: () => { e && e.removeEventListener && e.removeEventListener(t, n); } }; } const eb = "anticon", qp = Symbol("configProvider"), Zp = { getPrefixCls: (e, t) => t || (e ? `ant-${e}` : "ant"), iconPrefixCls: E(() => eb), getPopupContainer: E(() => () => document.body), direction: E(() => "ltr") }, tb = () => Pe(qp, Zp), nb = Symbol("DisabledContextKey"), yn = () => Pe(nb, Z(void 0)), ob = { // Options.jsx items_per_page: "/ page", jump_to: "Go to", jump_to_confirm: "confirm", page: "", // Pagination.jsx prev_page: "Previous Page", next_page: "Next Page", prev_5: "Previous 5 Pages", next_5: "Next 5 Pages", prev_3: "Previous 3 Pages", next_3: "Next 3 Pages" }, rb = { locale: "en_US", today: "Today", now: "Now", backToToday: "Back to today", ok: "Ok", clear: "Clear", month: "Month", year: "Year", timeSelect: "select time", dateSelect: "select date", weekSelect: "Choose a week", monthSelect: "Choose a month", yearSelect: "Choose a year", decadeSelect: "Choose a decade", yearFormat: "YYYY", dateFormat: "M/D/YYYY", dayFormat: "D", dateTimeFormat: "M/D/YYYY HH:mm:ss", monthBeforeYear: !0, previousMonth: "Previous month (PageUp)", nextMonth: "Next month (PageDown)", previousYear: "Last year (Control + left)", nextYear: "Next year (Control + right)", previousDecade: "Last decade", nextDecade: "Next decade", previousCentury: "Last century", nextCentury: "Next century" }, ib = rb, ab = { placeholder: "Select time", rangePlaceholder: ["Start time", "End time"] }, Jp = ab, lb = { lang: v({ placeholder: "Select date", yearPlaceholder: "Select year", quarterPlaceholder: "Select quarter", monthPlaceholder: "Select month", weekPlaceholder: "Select week", rangePlaceholder: ["Start date", "End date"], rangeYearPlaceholder: ["Start year", "End year"], rangeQuarterPlaceholder: ["Start quarter", "End quarter"], rangeMonthPlaceholder: ["Start month", "End month"], rangeWeekPlaceholder: ["Start week", "End week"] }, ib), timePickerLocale: v({}, Jp) }, yc = lb, xt = "${label} is not a valid ${type}", Sc = { locale: "en", Pagination: ob, DatePicker: yc, TimePicker: Jp, Calendar: yc, global: { placeholder: "Please select" }, Table: { filterTitle: "Filter menu", filterConfirm: "OK", filterReset: "Reset", filterEmptyText: "No filters", filterCheckall: "Select all items", filterSearchPlaceholder: "Search in filters", emptyText: "No data", selectAll: "Select current page", selectInvert: "Invert current page", selectNone: "Clear all data", selectionAll: "Select all data", sortTitle: "Sort", expand: "Expand row", collapse: "Collapse row", triggerDesc: "Click to sort descending", triggerAsc: "Click to sort ascending", cancelSort: "Click to cancel sorting" }, Tour: { Next: "Next", Previous: "Previous", Finish: "Finish" }, Modal: { okText: "OK", cancelText: "Cancel", justOkText: "OK" }, Popconfirm: { okText: "OK", cancelText: "Cancel" }, Transfer: { titles: ["", ""], searchPlaceholder: "Search here", itemUnit: "item", itemsUnit: "items", remove: "Remove", selectCurrent: "Select current page", removeCurrent: "Remove current page", selectAll: "Select all data", removeAll: "Remove all data", selectInvert: "Invert current page" }, Upload: { uploading: "Uploading...", removeFile: "Remove file", uploadError: "Upload error", previewFile: "Preview file", downloadFile: "Download file" }, Empty: { description: "No data" }, Icon: { icon: "icon" }, Text: { edit: "Edit", copy: "Copy", copied: "Copied", expand: "Expand" }, PageHeader: { back: "Back" }, Form: { optional: "(optional)", defaultValidateMessages: { default: "Field validation error for ${label}", required: "Please enter ${label}", enum: "${label} must be one of [${enum}]", whitespace: "${label} cannot be a blank character", date: { format: "${label} date format is invalid", parse: "${label} cannot be converted to a date", invalid: "${label} is an invalid date" }, types: { string: xt, method: xt, array: xt, object: xt, number: xt, date: xt, boolean: xt, integer: xt, float: xt, regexp: xt, email: xt, url: xt, hex: xt }, string: { len: "${label} must be ${len} characters", min: "${label} must be at least ${min} characters", max: "${label} must be up to ${max} characters", range: "${label} must be between ${min}-${max} characters" }, number: { len: "${label} must be equal to ${len}", min: "${label} must be minimum ${min}", max: "${label} must be maximum ${max}", range: "${label} must be between ${min}-${max}" }, array: { len: "Must be ${len} ${label}", min: "At least ${min} ${label}", max: "At most ${max} ${label}", range: "The amount of ${label} must be between ${min}-${max}" }, pattern: { mismatch: "${label} does not match the pattern ${pattern}" } } }, Image: { preview: "Preview" }, QRCode: { expired: "QR code expired", refresh: "Refresh", scanned: "Scanned" } }, sb = J({ compatConfig: { MODE: 3 }, name: "LocaleReceiver", props: { componentName: String, defaultLocale: { type: [Object, Function] }, children: { type: Function } }, setup(e, t) { let { slots: n } = t; const o = Pe("localeData", {}), r = E(() => { const { componentName: a = "global", defaultLocale: l } = e, s = l || Sc[a || "global"], { antLocale: u } = o, d = a && u ? u[a] : {}; return v(v({}, typeof s == "function" ? s() : s), d || {}); }), i = E(() => { const { antLocale: a } = o, l = a && a.locale; return a && a.exist && !l ? Sc.locale : l; }); return () => { const a = e.children || n.default, { antLocale: l } = o; return a == null ? void 0 : a(r.value, i.value, l); }; } }); function Us(e) { for (var t = 0, n, o = 0, r = e.length; r >= 4; ++o, r -= 4) n = e.charCodeAt(o) & 255 | (e.charCodeAt(++o) & 255) << 8 | (e.charCodeAt(++o) & 255) << 16 | (e.charCodeAt(++o) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ n >>> 24, t = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); switch (r) { case 3: t ^= (e.charCodeAt(o + 2) & 255) << 16; case 2: t ^= (e.charCodeAt(o + 1) & 255) << 8; case 1: t ^= e.charCodeAt(o) & 255, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); } return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } const wc = "%"; class ub { constructor(t) { this.cache = /* @__PURE__ */ new Map(), this.instanceId = t; } get(t) { return this.cache.get(Array.isArray(t) ? t.join(wc) : t) || null; } update(t, n) { const o = Array.isArray(t) ? t.join(wc) : t, r = this.cache.get(o), i = n(r); i === null ? this.cache.delete(o) : this.cache.set(o, i); } } const cb = ub, Qp = "data-token-hash", oo = "data-css-hash", db = "data-cache-path", No = "__cssinjs_instance__"; function jr() { const e = Math.random().toString(12).slice(2); if (typeof document < "u" && document.head && document.body) { const t = document.body.querySelectorAll(`style[${oo}]`) || [], { firstChild: n } = document.head; Array.from(t).forEach((r) => { r[No] = r[No] || e, r[No] === e && document.head.insertBefore(r, n); }); const o = {}; Array.from(document.querySelectorAll(`style[${oo}]`)).forEach((r) => { var i; const a = r.getAttribute(oo); o[a] ? r[No] === e && ((i = r.parentNode) === null || i === void 0 || i.removeChild(r)) : o[a] = !0; }); } return new cb(e); } const eh = Symbol("StyleContextKey"), fb = () => { var e, t, n; const o = $n(); let r; if (o && o.appContext) { const i = (n = (t = (e = o.appContext) === null || e === void 0 ? void 0 : e.config) === null || t === void 0 ? void 0 : t.globalProperties) === null || n === void 0 ? void 0 : n.__ANTDV_CSSINJS_CACHE__; i ? r = i : (r = jr(), o.appContext.config.globalProperties && (o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__ = r)); } else r = jr(); return r; }, th = { cache: jr(), defaultCache: !0, hashPriority: "low" }, _a = () => { const e = fb(); return Pe(eh, W(v(v({}, th), { cache: e }))); }, pb = (e) => { const t = _a(), n = W(v(v({}, th), { cache: jr() })); return ie([() => $e(e), t], () => { const o = v({}, t.value), r = $e(e); Object.keys(r).forEach((a) => { const l = r[a]; r[a] !== void 0 && (o[a] = l); }); const { cache: i } = r; o.cache = o.cache || jr(), o.defaultCache = !i && t.value.defaultCache, n.value = o; }, { immediate: !0 }), je(eh, n), n; }, hb = () => ({ autoClear: Re(), /** @private Test only. Not work in production. */ mock: it(), /** * Only set when you need ssr to extract style on you own. * If not provided, it will auto create <style /> on the end of Provider in server side. */ cache: ft(), /** Tell children that this context is default generated context */ defaultCache: Re(), /** Use `:where` selector to reduce hashId css selector priority */ hashPriority: it(), /** Tell cssinjs where to inject style in */ container: Rt(), /** Component wil render inline `<style />` for fallback in SSR. Not recommend. */ ssrInline: Re(), /** Transform css before inject in document. Please note that `transformers` do not support dynamic update */ transformers: so(), /** * Linters to lint css before inject in document. * Styles will be linted after transforming. * Please note that `linters` do not support dynamic update. */ linters: so() }); ar(J({ name: "AStyleProvider", inheritAttrs: !1, props: hb(), setup(e, t) { let { slots: n } = t; return pb(e), () => { var o; return (o = n.default) === null || o === void 0 ? void 0 : o.call(n); }; } })); function mb() { return !1; } let Jl = !1; function vb() { return Jl; } const gb = process.env.NODE_ENV === "production" ? mb : vb; if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") { const e = window; if (typeof e.webpackHotUpdate == "function") { const t = e.webpackHotUpdate; e.webpackHotUpdate = function() { return Jl = !0, setTimeout(() => { Jl = !1; }, 0), t(...arguments); }; } } function nh(e, t, n, o) { const r = _a(), i = W(""), a = W(); Xe(() => { i.value = [e, ...t.value].join("%"); }); const l = gb(), s = (u) => { r.value.cache.update(u, (d) => { const [c = 0, p] = d || []; return c - 1 === 0 ? (o == null || o(p, !1), null) : [c - 1, p]; }); }; return ie(i, (u, d) => { d && s(d), r.value.cache.update(u, (c) => { const [p = 0, f] = c || []; let m = f; process.env.NODE_ENV !== "production" && f && l && (o == null || o(m, l), m = null); const w = m || n(); return [p + 1, w]; }), a.value = r.value.cache.get(i.value)[1]; }, { immediate: !0 }), ke(() => { s(i.value); }), a; } function Kt() { return !!(typeof window < "u" && window.document && window.document.createElement); } function Zn(e, t) { return e && e.contains ? e.contains(t) : !1; } const $c = "data-vc-order", bb = "vc-util-key", Ql = /* @__PURE__ */ new Map(); function oh() { let { mark: e } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; return e ? e.startsWith("data-") ? e : `data-${e}` : bb; } function Ma(e) { return e.attachTo ? e.attachTo : document.querySelector("head") || document.body; } function yb(e) { return e === "queue" ? "prependQueue" : e ? "prepend" : "append"; } function rh(e) { return Array.from((Ql.get(e) || e).children).filter((t) => t.tagName === "STYLE"); } function ih(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (!Kt()) return null; const { csp: n, prepend: o } = t, r = document.createElement("style"); r.setAttribute($c, yb(o)), n != null && n.nonce && (r.nonce = n == null ? void 0 : n.nonce), r.innerHTML = e; const i = Ma(t), { firstChild: a } = i; if (o) { if (o === "queue") { const l = rh(i).filter((s) => ["prepend", "prependQueue"].includes(s.getAttribute($c))); if (l.length) return i.insertBefore(r, l[l.length - 1].nextSibling), r; } i.insertBefore(r, a); } else i.appendChild(r); return r; } function ah(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; const n = Ma(t); return rh(n).find((o) => o.getAttribute(oh(t)) === e); } function ta(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; const n = ah(e, t); n && Ma(t).removeChild(n); } function Sb(e, t) { const n = Ql.get(e); if (!n || !Zn(document, n)) { const o = ih("", t), { parentNode: r } = o; Ql.set(e, r), e.removeChild(o); } } function na(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; var o, r, i; const a = Ma(n); Sb(a, n); const l = ah(t, n); if (l) return !((o = n.csp) === null || o === void 0) && o.nonce && l.nonce !== ((r = n.csp) === null || r === void 0 ? void 0 : r.nonce) && (l.nonce = (i = n.csp) === null || i === void 0 ? void 0 : i.nonce), l.innerHTML !== e && (l.innerHTML = e), l; const s = ih(e, n); return s.setAttribute(oh(n), t), s; } function wb(e, t) { if (e.length !== t.length) return !1; for (let n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1; return !0; } class Wo { constructor() { this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0; } size() { return this.keys.length; } internalGet(t) { let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, o = { map: this.cache }; return t.forEach((r) => { var i; o ? o = (i = o == null ? void 0 : o.map) === null || i === void 0 ? void 0 : i.get(r) : o = void 0; }), o != null && o.value && n && (o.value[1] = this.cacheCallTimes++), o == null ? void 0 : o.value; } get(t) { var n; return (n = this.internalGet(t, !0)) === null || n === void 0 ? void 0 : n[0]; } has(t) { return !!this.internalGet(t); } set(t, n) { if (!this.has(t)) { if (this.size() + 1 > Wo.MAX_CACHE_SIZE + Wo.MAX_CACHE_OFFSET) { const [r] = this.keys.reduce((i, a) => { const [, l] = i; return this.internalGet(a)[1] < l ? [a, this.internalGet(a)[1]] : i; }, [this.keys[0], this.cacheCallTimes]); this.delete(r); } this.keys.push(t); } let o = this.cache; t.forEach((r, i) => { if (i === t.length - 1) o.set(r, { value: [n, this.cacheCallTimes++] }); else { const a = o.get(r); a ? a.map || (a.map = /* @__PURE__ */ new Map()) : o.set(r, { map: /* @__PURE__ */ new Map() }), o = o.get(r).map; } }); } deleteByPath(t, n) { var o; const r = t.get(n[0]); if (n.length === 1) return r.map ? t.set(n[0], { map: r.map }) : t.delete(n[0]), (o = r.value) === null || o === void 0 ? void 0 : o[0]; const i = this.deleteByPath(r.map, n.slice(1)); return (!r.map || r.map.size === 0) && !r.value && t.delete(n[0]), i; } delete(t) { if (this.has(t)) return this.keys = this.keys.filter((n) => !wb(n, t)), this.deleteByPath(this.cache, t); } } Wo.MAX_CACHE_SIZE = 20; Wo.MAX_CACHE_OFFSET = 5; let es = {}; function Gs(e, t) { process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`); } function $b(e, t) { process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.warn(`Note: ${t}`); } function xb() { es = {}; } function lh(e, t, n) { !t && !es[n] && (e(!1, n), es[n] = !0); } function Dt(e, t) { lh(Gs, e, t); } function xc(e, t) { lh($b, e, t); } function Cb() { } let sh = Cb; process.env.NODE_ENV !== "production" && (sh = (e, t, n) => { Dt(e, `[ant-design-vue: ${t}] ${n}`), process.env.NODE_ENV === "test" && xb(); }); const oi = sh; let Cc = 0; class uh { constructor(t) { this.derivatives = Array.isArray(t) ? t : [t], this.id = Cc, t.length === 0 && oi(t.length > 0, "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."), Cc += 1; } getDerivativeToken(t) { return this.derivatives.reduce((n, o) => o(t, n), void 0); } } const ll = new Wo(); function Ob(e) { const t = Array.isArray(e) ? e : [e]; return ll.has(t) || ll.set(t, new uh(t)), ll.get(t); } const Oc = /* @__PURE__ */ new WeakMap(); function oa(e) { let t = Oc.get(e) || ""; return t || (Object.keys(e).forEach((n) => { const o = e[n]; t += n, o instanceof uh ? t += o.id : o && typeof o == "object" ? t += oa(o) : t += o; }), Oc.set(e, t)), t; } function Tb(e, t) { return Us(`${t}_${oa(e)}`); } const Mr = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), ch = "_bAmBoO_"; function Eb(e, t, n) { var o, r; if (Kt()) { na(e, Mr); const i = document.createElement("div"); i.style.position = "fixed", i.style.left = "0", i.style.top = "0", t == null || t(i), document.body.appendChild(i), process.env.NODE_ENV !== "production" && (i.innerHTML = "Test", i.style.zIndex = "9999999"); const a = n ? n(i) : (o = getComputedStyle(i).content) === null || o === void 0 ? void 0 : o.includes(ch); return (r = i.parentNode) === null || r === void 0 || r.removeChild(i), ta(Mr), a; } return !1; } let sl; function Ib() { return sl === void 0 && (sl = Eb(`@layer ${Mr} { .${Mr} { content: "${ch}"!important; } }`, (e) => { e.className = Mr; })), sl; } const Tc = {}, _b = process.env.NODE_ENV === "production", Mb = process.env.NODE_ENV === "prerender", Pb = !_b && !Mb ? "css-dev-only-do-not-override" : "css", Jn = /* @__PURE__ */ new Map(); function Ab(e) { Jn.set(e, (Jn.get(e) || 0) + 1); } function Nb(e, t) { typeof document < "u" && document.querySelectorAll(`style[${Qp}="${e}"]`).forEach((o) => { var r; o[No] === t && ((r = o.parentNode) === null || r === void 0 || r.removeChild(o)); }); } const Db = 0; function Rb(e, t) { Jn.set(e, (Jn.get(e) || 0) - 1); const n = Array.from(Jn.keys()), o = n.filter((r) => (Jn.get(r) || 0) <= 0); n.length - o.length > Db && o.forEach((r) => { Nb(r, t), Jn.delete(r); }); } const Fb = (e, t, n, o) => { const r = n.getDerivativeToken(e); let i = v(v({}, r), t); return o && (i = o(i)), i; }; function Lb(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Z({}); const o = _a(), r = E(() => v({}, ...t.value)), i = E(() => oa(r.value)), a = E(() => oa(n.value.override || Tc)); return nh("token", E(() => [n.value.salt || "", e.value.id, i.value, a.value]), () => { const { salt: s = "", override: u = Tc, formatToken: d, getComputedToken: c } = n.value, p = c ? c(r.value, u, e.value) : Fb(r.value, u, e.value, d), f = Tb(p, s); p._tokenKey = f, Ab(f); const m = `${Pb}-${Us(f)}`; return p._hashId = m, [p, m]; }, (s) => { var u; Rb(s[0]._tokenKey, (u = o.value) === null || u === void 0 ? void 0 : u.cache.instanceId); }); } var kb = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, // SVG-related properties fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }, dh = "comm", fh = "rule", ph = "decl", Bb = "@import", zb = "@keyframes", Hb = "@layer", hh = Math.abs, Ks = String.fromCharCode; function mh(e) { return e.trim(); } function zi(e, t, n) { return e.replace(t, n); } function Vb(e, t, n) { return e.indexOf(t, n); } function Wr(e, t) { return e.charCodeAt(t) | 0; } function Ur(e, t, n) { return e.slice(t, n); } function gn(e) { return e.length; } function jb(e) { return e.length; } function bi(e, t) { return t.push(e), e; } var Pa = 1, Uo = 1, vh = 0, Bt = 0, tt = 0, lr = ""; function Ys(e, t, n, o, r, i, a, l) { return { value: e, root: t, parent: n, type: o, props: r, children: i, line: Pa, column: Uo, length: a, return: "", siblings: l }; } function Wb() { return tt; } function Ub() { return tt = Bt > 0 ? Wr(lr, --Bt) : 0, Uo--, tt === 10 && (Uo = 1, Pa--), tt; } function Ut() { return tt = Bt < vh ? Wr(lr, Bt++) : 0, Uo++, tt === 10 && (Uo = 1, Pa++), tt; } function ro() { return Wr(lr, Bt); } function Hi() { return Bt; } function Aa(e, t) { return Ur(lr, e, t); } function ts(e) { switch (e) { case 0: case 9: case 10: case 13: case 32: return 5; case 33: case 43: case 44: case 47: case 62: case 64: case 126: case 59: case 123: case 125: return 4; case 58: return 3; case 34: case 39: case 40: case 91: return 2; case 41: case 93: return 1; } return 0; } function Gb(e) { return Pa = Uo = 1, vh = gn(lr = e), Bt = 0, []; } function Kb(e) { return lr = "", e; } function ul(e) { return mh(Aa(Bt - 1, ns(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function Yb(e) { for (; (tt = ro()) && tt < 33; ) Ut(); return ts(e) > 2 || ts(tt) > 3 ? "" : " "; } function Xb(e, t) { for (; --t && Ut() && !(tt < 48 || tt > 102 || tt > 57 && tt < 65 || tt > 70 && tt < 97); ) ; return Aa(e, Hi() + (t < 6 && ro() == 32 && Ut() == 32)); } function ns(e) { for (; Ut(); ) switch (tt) { case e: return Bt; case 34: case 39: e !== 34 && e !== 39 && ns(tt); break; case 40: e === 41 && ns(e); break; case 92: Ut(); break; } return Bt; } function qb(e, t) { for (; Ut() && e + tt !== 57; ) if (e + tt === 84 && ro() === 47) break; return "/*" + Aa(t, Bt - 1) + "*" + Ks(e === 47 ? e : Ut()); } function Zb(e) { for (; !ts(ro()); ) Ut(); return Aa(e, Bt); } function Jb(e) { return Kb(Vi("", null, null, null, [""], e = Gb(e), 0, [0], e)); } function Vi(e, t, n, o, r, i, a, l, s) { for (var u = 0, d = 0, c = a, p = 0, f = 0, m = 0, w = 1, S = 1, x = 1, $ = 0, C = "", O = r, b = i, T = o, h = C; S; ) switch (m = $, $ = Ut()) { case 40: if (m != 108 && Wr(h, c - 1) == 58) { Vb(h += zi(ul($), "&", "&\f"), "&\f", hh(u ? l[u - 1] : 0)) != -1 && (x = -1); break; } case 34: case 39: case 91: h += ul($); break; case 9: case 10: case 13: case 32: h += Yb(m); break; case 92: h += Xb(Hi() - 1, 7); continue; case 47: switch (ro()) { case 42: case 47: bi(Qb(qb(Ut(), Hi()), t, n, s), s); break; default: h += "/"; } break; case 123 * w: l[u++] = gn(h) * x; case 125 * w: case 59: case 0: switch ($) { case 0: case 125: S = 0; case 59 + d: x == -1 && (h = zi(h, /\f/g, "")), f > 0 && gn(h) - c && bi(f > 32 ? Ic(h + ";", o, n, c - 1, s) : Ic(zi(h, " ", "") + ";", o, n, c - 2, s), s); break; case 59: h += ";"; default: if (bi(T = Ec(h, t, n, u, d, r, l, C, O = [], b = [], c, i), i), $ === 123) if (d === 0) Vi(h, t, T, T, O, i, c, l, b); else switch (p === 99 && Wr(h, 3) === 110 ? 100 : p) { case 100: case 108: case 109: case 115: Vi(e, T, T, o && bi(Ec(e, T, T, 0, 0, r, l, C, r, O = [], c, b), b), r, b, c, l, o ? O : b); break; default: Vi(h, T, T, T, [""], b, 0, l, b); } } u = d = f = 0, w = x = 1, C = h = "", c = a; break; case 58: c = 1 + gn(h), f = m; default: if (w < 1) { if ($ == 123) --w; else if ($ == 125 && w++ == 0 && Ub() == 125) continue; } switch (h += Ks($), $ * w) { case 38: x = d > 0 ? 1 : (h += "\f", -1); break; case 44: l[u++] = (gn(h) - 1) * x, x = 1; break; case 64: ro() === 45 && (h += ul(Ut())), p = ro(), d = c = gn(C = h += Zb(Hi())), $++; break; case 45: m === 45 && gn(h) == 2 && (w = 0); } } return i; } function Ec(e, t, n, o, r, i, a, l, s, u, d, c) { for (var p = r - 1, f = r === 0 ? i : [""], m = jb(f), w = 0, S = 0, x = 0; w < o; ++w) for (var $ = 0, C = Ur(e, p + 1, p = hh(S = a[w])), O = e; $ < m; ++$) (O = mh(S > 0 ? f[$] + " " + C : zi(C, /&\f/g, f[$]))) && (s[x++] = O); return Ys(e, t, n, r === 0 ? fh : l, s, u, d, c); } function Qb(e, t, n, o) { return Ys(e, t, n, dh, Ks(Wb()), Ur(e, 2, -2), 0, o); } function Ic(e, t, n, o, r) { return Ys(e, t, n, ph, Ur(e, 0, o), Ur(e, o + 1, -1), o, r); } function os(e, t) { for (var n = "", o = 0; o < e.length; o++) n += t(e[o], o, e, t) || ""; return n; } function ey(e, t, n, o) { switch (e.type) { case Hb: if (e.children.length) break; case Bb: case ph: ret