You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/node_modules/.vite/deps/weixin-js-sdk.js.map

8 lines
44 KiB

7 months ago
{
"version": 3,
"sources": ["../../weixin-js-sdk/index.js"],
"sourcesContent": ["!(function (e, n) {\n module.exports = n(e);\n})(typeof window === \"object\" && window, function (r, e) {\n if (!r) {\n console.warn(\"can't use weixin-js-sdk in server side\");\n return;\n }\n var a, c, n, i, t, o, s, d, l, u, p, f, m, g, h, S, y, I, v, _, w, T;\n if (!r.jWeixin)\n return (\n (a = {\n config: \"preVerifyJSAPI\",\n onMenuShareTimeline: \"menu:share:timeline\",\n onMenuShareAppMessage: \"menu:share:appmessage\",\n onMenuShareQQ: \"menu:share:qq\",\n onMenuShareWeibo: \"menu:share:weiboApp\",\n onMenuShareQZone: \"menu:share:QZone\",\n previewImage: \"imagePreview\",\n getLocation: \"geoLocation\",\n openProductSpecificView: \"openProductViewWithPid\",\n addCard: \"batchAddCard\",\n openCard: \"batchViewCard\",\n chooseWXPay: \"getBrandWCPayRequest\",\n openEnterpriseRedPacket: \"getRecevieBizHongBaoRequest\",\n startSearchBeacons: \"startMonitoringBeacons\",\n stopSearchBeacons: \"stopMonitoringBeacons\",\n onSearchBeacons: \"onBeaconsInRange\",\n consumeAndShareCard: \"consumedShareCard\",\n openAddress: \"editAddress\",\n }),\n (c = (function () {\n var e,\n n = {};\n for (e in a) n[a[e]] = e;\n return n;\n })()),\n (n = r.document),\n (i = n.title),\n (t = navigator.userAgent.toLowerCase()),\n (f = navigator.platform.toLowerCase()),\n (o = !(!f.match(\"mac\") && !f.match(\"win\"))),\n (s = -1 != t.indexOf(\"wxdebugger\")),\n (d = -1 != t.indexOf(\"micromessenger\")),\n (l = -1 != t.indexOf(\"android\")),\n (u = -1 != t.indexOf(\"iphone\") || -1 != t.indexOf(\"ipad\")),\n (p = (f =\n t.match(/micromessenger\\/(\\d+\\.\\d+\\.\\d+)/) ||\n t.match(/micromessenger\\/(\\d+\\.\\d+)/))\n ? f[1]\n : \"\"),\n (m = {\n initStartTime: L(),\n initEndTime: 0,\n preVerifyStartTime: 0,\n preVerifyEndTime: 0,\n }),\n (g = {\n version: 1,\n appId: \"\",\n initTime: 0,\n preVerifyTime: 0,\n networkType: \"\",\n isPreVerifyOk: 1,\n systemType: u ? 1 : l ? 2 : -1,\n clientVersion: p,\n url: encodeURIComponent(location.href),\n }),\n (h = {}),\n (S = { _completes: [] }),\n (y = { state: 0, data: {} }),\n O(function () {\n m.initEndTime = L();\n }),\n (I = !1),\n (v = []),\n (_ = {\n config: function (e) {\n C(\"config\", (h = e));\n var o = !1 !== h.check;\n O(function () {\n if (o)\n k(\n a.config,\n {\n verifyJsApiList: A(h.jsApiList),\n verifyOpenTagList: A(h.openTagList),\n },\n ((S._complete = function (e) {\n (m.preVerifyEndTime = L()), (y.state = 1), (y.data = e);\n }),\n (S.success = function (e) {\n g.isPreVerifyOk = 0;\n }),\n (S.fail = function (e) {\n S._fail ? S._fail(e) : (y.state = -1);\n }),\n (t = S._completes).push(function () {\n B();\n }),\n (S.complete = function (e) {\n for (var n = 0, i = t.length; n < i; ++n) t[n]();\n S._completes = [];\n }),\n S)\n ),\n (m.preVerifyStartTime = L());\n else {\n y.state = 1;\n for (var e = S._completes, n = 0, i = e.length; n < i; ++n)\n e[n]();\n S._completes = [];\n }\n var t;\n }),\n _.invoke ||\n ((_.invoke = function (e, n, i) {\n r.WeixinJSBridge && WeixinJSBridge.invoke(e, P(n), i);\n }),\n (_.on = function (e, n) {\n r.We
"mappings": ";;;;;AAAA;AAAA;AAAA,KAAE,SAAU,GAAG,GAAG;AAChB,aAAO,UAAU,EAAE,CAAC;AAAA,IACtB,EAAG,OAAO,WAAW,YAAY,QAAQ,SAAU,GAAG,GAAG;AACvD,UAAI,CAAC,GAAG;AACN,gBAAQ,KAAK,wCAAwC;AACrD;AAAA,MACF;AACA,UAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,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