var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
return typeof t;
} : function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
};
(global.webpackJsonp = global.webpackJsonp || []).push([ [ "common/vendor" ], [ , function(t, e, n) {
Object.defineProperty(e, "__esModule", {
value: !0
}), e.createApp = Tt, e.createComponent = zt, e.createPage = Bt, e.default = void 0;
var r, u = (r = n(2)) && r.__esModule ? r : {
default: r
};
function o(e, t) {
var n, r = Object.keys(e);
return Object.getOwnPropertySymbols && (n = Object.getOwnPropertySymbols(e), t && (n = n.filter(function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable;
})), r.push.apply(r, n)), r;
}
function i(t, e) {
return function(t) {
if (Array.isArray(t)) return t;
}(t) || function(t, e) {
if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return;
var n = [], r = !0, o = !1, i = void 0;
try {
for (var a, s = t[Symbol.iterator](); !(r = (a = s.next()).done) && (n.push(a.value),
!e || n.length !== e); r = !0) ;
} catch (t) {
o = !0, i = t;
} finally {
try {
r || null == s.return || s.return();
} finally {
if (o) throw i;
}
}
return n;
}(t, e) || s(t, e) || function() {
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 f(t, e, n) {
return e in t ? Object.defineProperty(t, e, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : t[e] = n, t;
}
function a(t) {
return function(t) {
if (Array.isArray(t)) return c(t);
}(t) || function(t) {
if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t);
}(t) || s(t) || function() {
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 s(t, e) {
if (t) {
if ("string" == typeof t) return c(t, e);
var n = Object.prototype.toString.call(t).slice(8, -1);
return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? c(t, e) : void 0;
}
}
function c(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
return r;
}
var l = Object.prototype.toString, p = Object.prototype.hasOwnProperty;
function d(t) {
return "function" == typeof t;
}
function h(t) {
return "string" == typeof t;
}
function v(t) {
return "[object Object]" === l.call(t);
}
function y(t, e) {
return p.call(t, e);
}
function _() {}
function m(e) {
var n = Object.create(null);
return function(t) {
return n[t] || (n[t] = e(t));
};
}
var g = /-(\w)/g, b = m(function(t) {
return t.replace(g, function(t, e) {
return e ? e.toUpperCase() : "";
});
}), $ = [ "invoke", "success", "fail", "complete", "returnValue" ], w = {}, O = {};
function A(t, e) {
t = e ? t ? t.concat(e) : Array.isArray(e) ? e : [ e ] : t;
return t && function(t) {
for (var e = [], n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);
return e;
}(t);
}
function x(e, n) {
Object.keys(n).forEach(function(t) {
-1 !== $.indexOf(t) && d(n[t]) && (e[t] = A(e[t], n[t]));
});
}
function j(n, r) {
n && r && Object.keys(r).forEach(function(t) {
var e;
-1 !== $.indexOf(t) && d(r[t]) && (e = n[t], t = r[t], -1 !== (t = e.indexOf(t)) && e.splice(t, 1));
});
}
function k(t) {
return t && ("object" === (void 0 === t ? "undefined" : _typeof(t)) || "function" == typeof t) && "function" == typeof t.then;
}
function E(t, e) {
for (var n = !1, r = 0; r < t.length; r++) {
var o = t[r];
if (n) n = Promise.resolve(function(e) {
return function(t) {
return e(t) || t;
};
}(o)); else {
o = o(e);
if (k(o) && (n = Promise.resolve(o)), !1 === o) return {
then: function() {}
};
}
}
return n || {
then: function(t) {
return t(e);
}
};
}
function S(r, t) {
var o = 1 < arguments.length && void 0 !== t ? t : {};
return [ "success", "fail", "complete" ].forEach(function(e) {
var n;
Array.isArray(r[e]) && (n = o[e], o[e] = function(t) {
E(r[e], t).then(function(t) {
return d(n) && n(t) || t;
});
});
}), o;
}
function P(t, e) {
var n = [];
Array.isArray(w.returnValue) && n.push.apply(n, a(w.returnValue));
t = O[t];
return t && Array.isArray(t.returnValue) && n.push.apply(n, a(t.returnValue)), n.forEach(function(t) {
e = t(e) || e;
}), e;
}
function C(t, e, n) {
for (var r = arguments.length, o = new Array(3 < r ? r - 3 : 0), i = 3; i < r; i++) o[i - 3] = arguments[i];
var a = function(t) {
var e = Object.create(null);
Object.keys(w).forEach(function(t) {
"returnValue" !== t && (e[t] = w[t].slice());
});
var n = O[t];
return n && Object.keys(n).forEach(function(t) {
"returnValue" !== t && (e[t] = (e[t] || []).concat(n[t]));
}), e;
}(t);
return a && Object.keys(a).length ? Array.isArray(a.invoke) ? E(a.invoke, n).then(function(t) {
return e.apply(void 0, [ S(a, t) ].concat(o));
}) : e.apply(void 0, [ S(a, n) ].concat(o)) : e.apply(void 0, [ n ].concat(o));
}
var I = {
returnValue: function(t) {
return k(t) ? t.then(function(t) {
return t[1];
}).catch(function(t) {
return t[0];
}) : t;
}
}, T = /^\$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/, D = /^create|Manager$/, M = [ "createBLEConnection" ], N = [ "createBLEConnection" ], R = /^on|^off/;
function L(t) {
return D.test(t) && -1 === M.indexOf(t);
}
function V(t) {
return T.test(t) && -1 === N.indexOf(t);
}
function F(t) {
return !(L(t) || V(t) || (t = t, R.test(t) && "onPush" !== t));
}
function U(o, i) {
return F(o) ? function() {
for (var n = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length, r = new Array(1 < t ? t - 1 : 0), e = 1; e < t; e++) r[e - 1] = arguments[e];
return d(n.success) || d(n.fail) || d(n.complete) ? P(o, C.apply(void 0, [ o, i, n ].concat(r))) : P(o, new Promise(function(t, e) {
C.apply(void 0, [ o, i, Object.assign({}, n, {
success: t,
fail: e
评论4