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.
high-mini/unpackage/dist/build/mp-weixin/common/vendor.js

16 lines
209 KiB

4 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0c1d":function(l,e,a){(function(e){var a=getApp();function u(l,u,v){return new Promise((function(t){e.request({method:l,url:u,data:v,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:a.globalData.token},success:function(l){t(l),401!=l.statusCode&&102068!=l.data.return_code||(e.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3}),a.globalData.userInfo="",a.globalData.token="",e.setStorage({key:"user",data:""}),e.setStorage({key:"token",data:""}),e.reLaunch({url:"/pages/tabBar/home/home"}))},fail:function(l){e.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function v(l,e,a){return u(l,e,a)}l.exports={POST:v}}).call(this,a("543d")["default"])},"185d":function(l,e){},3460:function(l,e,a){(function(e){var a=getApp();function u(l,u,v){return new Promise((function(t){e.request({method:l,url:u,data:v,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:a.globalData.brestToken},success:function(l){t(l),401!=l.statusCode&&102068!=l.statusCode||(e.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3}),a.globalData.brestUserInfo="",a.globalData.brestToken="",e.reLaunch({url:"/pages/tabBar/home/home"}))},fail:function(l){e.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function v(l,e,a){return u(l,e,a)}l.exports={POSTBREST:v}}).call(this,a("543d")["default"])},"3c35":function(l,e){(function(e){l.exports=e}).call(this,{})},4362:function(l,e,a){e.nextTick=function(l){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){l.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(l){throw new Error("No such module. (Possibly not yet loaded)")},function(){var l,u="/";e.cwd=function(){return u},e.chdir=function(e){l||(l=a("df7c")),u=l.resolve(e,u)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"524d":function(l,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useCouponCode=e.userLogin=e.getOrderById=e.cancelOrder=e.getUserOrderList=e.getUserCouponDetail=e.getUserCouponList=e.getUserGoldRecList=e.orderToGoldPay=e.orderToPay=e.addOrder=e.getCouponById=e.getStoreListByCoupon=e.getCouponList=e.OpenidGetUser=e.WXlogin=e.findUser=e.getUserInfo=e.GetPhoneNumber=e.HandleCode=void 0;var u=a("0c1d"),v=a("3460"),t=getApp(),n=t.globalData.url,b=t.globalData.brestUrl,r=function(l){return(0,u.POST)("GET","".concat(n,"/wechat/handleCode"),l).then((function(l){return l.data}))};e.HandleCode=r;var o=function(l){return(0,u.POST)("GET","".concat(n,"/wechat/getPhoneNumber"),l).then((function(l){return l.data}))};e.GetPhoneNumber=o;var i=function(l){return(0,u.POST)("GET","".concat(n,"/wechat/getUserInfo"),l).then((function(l){return l.data}))};e.getUserInfo=i;var s=function(l){return(0,u.POST)("GET","".concat(n,"/highUser/findUser"),l).then((function(l){return l.data}))};e.findUser=s;var c=function(l){return(0,u.POST)("GET","".concat(n,"/wechat/login"),l).then((function(l){return l.data}))};e.WXlogin=c;var f=function(l,e){return(0,u.POST)("GET","".concat(n,"/User/openid/").concat(l),e).then((function(l){return l.data}))};e.OpenidGetUser=f;var p=function(l){return(0,u.POST)("GET","".concat(n,"/coupon/getCouponList"),l).then((function(l){return l.data}))};e.getCouponList=p;var h=function(l){return(0,u.POST)("GET","".concat(n,"/highMerchantStore/getStoreListByCoupon"),l).then((function(l){return l.data}))};e.getStoreListByCoupon=h;var d=function(l){return(0,u.POST)("GET","".concat(n,"/coupon/getCouponById"),l).then((function(l){return l.data}))};e.getCouponById=d;var y=function(l){return(0,u.POST)("POST","".concat(n,"/highOrder/addOrder"),l).then((function(l){return l.data}))};e.addOrder=y;var _=function(l){return(0,u.POST)("POST","".concat(n,"/order/orderToPay"),l).then((function(l){return l.data}))};e.orderToPay=_;var g=function(l){return(0,u.POST)("POST","".concat(n,"/
/*!
* Vue.js v2.6.11
* (c) 2014-2021 Evan You
* Released under the MIT License.
*/
4 years ago
var a=Object.freeze({});function u(l){return void 0===l||null===l}function v(l){return void 0!==l&&null!==l}function t(l){return!0===l}function n(l){return!1===l}function b(l){return"string"===typeof l||"number"===typeof l||"symbol"===typeof l||"boolean"===typeof l}function r(l){return null!==l&&"object"===typeof l}var o=Object.prototype.toString;function i(l){return"[object Object]"===o.call(l)}function s(l){return"[object RegExp]"===o.call(l)}function c(l){var e=parseFloat(String(l));return e>=0&&Math.floor(e)===e&&isFinite(l)}function f(l){return v(l)&&"function"===typeof l.then&&"function"===typeof l.catch}function p(l){return null==l?"":Array.isArray(l)||i(l)&&l.toString===o?JSON.stringify(l,null,2):String(l)}function h(l){var e=parseFloat(l);return isNaN(e)?l:e}function d(l,e){for(var a=Object.create(null),u=l.split(","),v=0;v<u.length;v++)a[u[v]]=!0;return e?function(l){return a[l.toLowerCase()]}:function(l){return a[l]}}d("slot,component",!0);var y=d("key,ref,slot,slot-scope,is");function _(l,e){if(l.length){var a=l.indexOf(e);if(a>-1)return l.splice(a,1)}}var g=Object.prototype.hasOwnProperty;function m(l,e){return g.call(l,e)}function O(l){var e=Object.create(null);return function(a){var u=e[a];return u||(e[a]=l(a))}}var w=/-(\w)/g,A=O((function(l){return l.replace(w,(function(l,e){return e?e.toUpperCase():""}))})),$=O((function(l){return l.charAt(0).toUpperCase()+l.slice(1)})),S=/\B([A-Z])/g,x=O((function(l){return l.replace(S,"-$1").toLowerCase()}));function j(l,e){function a(a){var u=arguments.length;return u?u>1?l.apply(e,arguments):l.call(e,a):l.call(e)}return a._length=l.length,a}function k(l,e){return l.bind(e)}var P=Function.prototype.bind?k:j;function E(l,e){e=e||0;var a=l.length-e,u=new Array(a);while(a--)u[a]=l[a+e];return u}function C(l,e){for(var a in e)l[a]=e[a];return l}function T(l){for(var e={},a=0;a<l.length;a++)l[a]&&C(e,l[a]);return e}function D(l,e,a){}var I=function(l,e,a){return!1},U=function(l){return l};function B(l,e){if(l===e)return!0;var a=r(l),u=r(e);if(!a||!u)return!a&&!u&&String(l)===String(e);try{var v=Array.isArray(l),t=Array.isArray(e);if(v&&t)return l.length===e.length&&l.every((function(l,a){return B(l,e[a])}));if(l instanceof Date&&e instanceof Date)return l.getTime()===e.getTime();if(v||t)return!1;var n=Object.keys(l),b=Object.keys(e);return n.length===b.length&&n.every((function(a){return B(l[a],e[a])}))}catch(o){return!1}}function M(l,e){for(var a=0;a<l.length;a++)if(B(l[a],e))return a;return-1}function N(l){var e=!1;return function(){e||(e=!0,l.apply(this,arguments))}}var R=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:D,parsePlatformTagName:U,mustUseProp:I,async:!0,_lifecycleHooks:L},F=/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 G(l){var e=(l+"").charCodeAt(0);return 36===e||95===e}function z(l,e,a,u){Object.defineProperty(l,e,{value:a,enumerable:!!u,writable:!0,configurable:!0})}var H=new RegExp("[^"+F.source+".$_\\d]");function W(l){if(!H.test(l)){var e=l.split(".");return function(l){for(var a=0;a<e.length;a++){if(!l)return;l=l[e[a]]}return l}}}var J,q="__proto__"in{},K="undefined"!==typeof window,X="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Q=X&&WXEnvironment.platform.toLowerCase(),Y=K&&window.navigator.userAgent.toLowerCase(),Z=Y&&/msie|trident/.test(Y),ll=(Y&&Y.indexOf("msie 9.0"),Y&&Y.indexOf("edge/")>0),el=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===Q),al=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/),{}.watch);if(K)try{var ul={};Object.defineProperty(ul,"passive",{get:fun
/**
* [js-md5]{@link https://github.com/emn178/js-md5}
*
* @namespace md5
* @version 0.7.3
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
4 years ago
*/!function(){"use strict";function t(e){if(e)d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d,this.buffer8=l;else if(a){var u=new ArrayBuffer(68);this.buffer8=new Uint8Array(u),this.blocks=new Uint32Array(u)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var r="input is invalid type",e="object"==typeof window,i=e?window:{};i.JS_MD5_NO_WINDOW&&(e=!1);var s=!e&&"object"==typeof self,h=!i.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;h?i=global:s&&(i=self);var f=!i.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,o=__webpack_require__("3c35"),a=!i.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,n="0123456789abcdef".split(""),u=[128,32768,8388608,-2147483648],y=[0,8,16,24],c=["hex","array","digest","buffer","arrayBuffer","base64"],p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),d=[],l;if(a){var A=new ArrayBuffer(68);l=new Uint8Array(A),d=new Uint32Array(A)}!i.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(l){return"[object Array]"===Object.prototype.toString.call(l)}),!a||!i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(l){return"object"==typeof l&&l.buffer&&l.buffer.constructor===ArrayBuffer});var b=function(l){return function(e){return new t(!0).update(e)[l]()}},v=function(){var l=b("hex");h&&(l=w(l)),l.create=function(){return new t},l.update=function(e){return l.create().update(e)};for(var e=0;e<c.length;++e){var a=c[e];l[a]=b(a)}return l},w=function w(t){var e=eval("require('crypto')"),i=eval("require('buffer').Buffer"),s=function(l){if("string"==typeof l)return e.createHash("md5").update(l,"utf8").digest("hex");if(null===l||void 0===l)throw r;return l.constructor===ArrayBuffer&&(l=new Uint8Array(l)),Array.isArray(l)||ArrayBuffer.isView(l)||l.constructor===i?e.createHash("md5").update(new i(l)).digest("hex"):t(l)};return s};t.prototype.update=function(l){if(!this.finalized){var e,u=typeof l;if("string"!==u){if("object"!==u)throw r;if(null===l)throw r;if(a&&l.constructor===ArrayBuffer)l=new Uint8Array(l);else if(!(Array.isArray(l)||a&&ArrayBuffer.isView(l)))throw r;e=!0}for(var v,t,n=0,b=l.length,o=this.blocks,i=this.buffer8;n<b;){if(this.hashed&&(this.hashed=!1,o[0]=o[16],o[16]=o[1]=o[2]=o[3]=o[4]=o[5]=o[6]=o[7]=o[8]=o[9]=o[10]=o[11]=o[12]=o[13]=o[14]=o[15]=0),e)if(a)for(t=this.start;n<b&&t<64;++n)i[t++]=l[n];else for(t=this.start;n<b&&t<64;++n)o[t>>2]|=l[n]<<y[3&t++];else if(a)for(t=this.start;n<b&&t<64;++n)(v=l.charCodeAt(n))<128?i[t++]=v:v<2048?(i[t++]=192|v>>6,i[t++]=128|63&v):v<55296||v>=57344?(i[t++]=224|v>>12,i[t++]=128|v>>6&63,i[t++]=128|63&v):(v=65536+((1023&v)<<10|1023&l.charCodeAt(++n)),i[t++]=240|v>>18,i[t++]=128|v>>12&63,i[t++]=128|v>>6&63,i[t++]=128|63&v);else for(t=this.start;n<b&&t<64;++n)(v=l.charCodeAt(n))<128?o[t>>2]|=v<<y[3&t++]:v<2048?(o[t>>2]|=(192|v>>6)<<y[3&t++],o[t>>2]|=(128|63&v)<<y[3&t++]):v<55296||v>=57344?(o[t>>2]|=(224|v>>12)<<y[3&t++],o[t>>2]|=(128|v>>6&63)<<y[3&t++],o[t>>2]|=(128|63&v)<<y[3&t++]):(v=65536+((1023&v)<<10|1023&l.charCodeAt(++n)),o[t>>2]|=(240|v>>18)<<y[3&t++],o[t>>2]|=(128|v>>12&63)<<y[3&t++],o[t>>2]|=(128|v>>6&63)<<y[3&t++],o[t>>2]|=(128|63&v)<<y[3&t++]);this.lastByteIndex=t,this.bytes+=t-this.start,t>=64?(this.start=t-64,this.hash(),this.hashed=!0):this.start=t}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var l=this.blocks,e=this.lastByteIndex;l[e>>2]|=u[3&e],e>=56&&(this.hashed||this.hash(),l[0]=l[16],l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),l[14]=this.bytes<<3,l[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},t.prototype.hash=function(){var l,e,a,u,v,t,n=this.blocks;this.first?e=((e=((l=((l=n[0]-680876937)<<7|l>>>25)-271733879<<0)^(a=((a=(-271733879^(u=((u=(-1732584194^2004318071