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
211 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"1be0":function(l,e,a){(function(e){var a=getApp();function u(l,u,t){return new Promise((function(v){e.request({method:l,url:u,data:t,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:a.globalData.brestToken},success:function(l){v(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 t(l,e,a){return u(l,e,a)}l.exports={POSTBREST:t}}).call(this,a("543d")["default"])},"265f":function(l,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=[{label:"北京市",value:"11"},{label:"天津市",value:"12"},{label:"河北省",value:"13"},{label:"山西省",value:"14"},{label:"内蒙古自治区",value:"15"},{label:"辽宁省",value:"21"},{label:"吉林省",value:"22"},{label:"黑龙江省",value:"23"},{label:"上海市",value:"31"},{label:"江苏省",value:"32"},{label:"浙江省",value:"33"},{label:"安徽省",value:"34"},{label:"福建省",value:"35"},{label:"江西省",value:"36"},{label:"山东省",value:"37"},{label:"河南省",value:"41"},{label:"湖北省",value:"42"},{label:"湖南省",value:"43"},{label:"广东省",value:"44"},{label:"广西壮族自治区",value:"45"},{label:"海南省",value:"46"},{label:"重庆市",value:"50"},{label:"四川省",value:"51"},{label:"贵州省",value:"52"},{label:"云南省",value:"53"},{label:"西藏自治区",value:"54"},{label:"陕西省",value:"61"},{label:"甘肃省",value:"62"},{label:"青海省",value:"63"},{label:"宁夏回族自治区",value:"64"},{label:"新疆维吾尔自治区",value:"65"},{label:"台湾",value:"66"},{label:"香港",value:"67"},{label:"澳门",value:"68"}],t=u;e.default=t},"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={}},"53e0":function(l,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useCouponCode=e.userLogin=e.getUserNormalDiscountList=e.getDiscountByUserDiscountId=e.getUserDiscountList=e.getCouponByDiscount=e.receiveDiscount=e.getDiscountByQrCode=e.getStoreListByMerchant=e.getMerchantList=e.getOrderById=e.cancelOrder=e.getUserOrderList=e.getUserCouponDetail=e.getUserCouponList=e.getUserGoldRecList=e.orderToGoldPay=e.orderToPay=e.addOrder=e.getCouponById=e.getCouponListByStoreId=e.getMerchantStoreById=e.getStoreListByCoupon=e.getCouponList=e.OpenidGetUser=e.WXlogin=e.findUser=e.getUserInfo=e.GetPhoneNumber=e.HandleCode=void 0;var u=a("bbc1"),t=a("1be0"),v=getApp(),n=v.globalData.url,b=v.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
/*!
* Vue.js v2.6.11
* (c) 2014-2021 Evan You
* Released under the MIT License.
*/
var a=Object.freeze({});function u(l){return void 0===l||null===l}function t(l){return void 0!==l&&null!==l}function v(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 t(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(","),t=0;t<u.length;t++)a[u[t]]=!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)/g,A=O((function(l){return l.replace($,(function(l,e){return e?e.toUpperCase():""}))})),w=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 P(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 j(l,e){return l.bind(e)}var k=Function.prototype.bind?j:P;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 t=Array.isArray(l),v=Array.isArray(e);if(t&&v)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(t||v)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 L(l){var e=!1;return function(){e||(e=!0,l.apply(this,arguments))}}var N=["component","directive","filter"],R=["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:R},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
*/!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 t,v,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(v=this.start;n<b&&v<64;++n)i[v++]=l[n];else for(v=this.start;n<b&&v<64;++n)o[v>>2]|=l[n]<<y[3&v++];else if(a)for(v=this.start;n<b&&v<64;++n)(t=l.charCodeAt(n))<128?i[v++]=t:t<2048?(i[v++]=192|t>>6,i[v++]=128|63&t):t<55296||t>=57344?(i[v++]=224|t>>12,i[v++]=128|t>>6&63,i[v++]=128|63&t):(t=65536+((1023&t)<<10|1023&l.charCodeAt(++n)),i[v++]=240|t>>18,i[v++]=128|t>>12&63,i[v++]=128|t>>6&63,i[v++]=128|63&t);else for(v=this.start;n<b&&v<64;++n)(t=l.charCodeAt(n))<128?o[v>>2]|=t<<y[3&v++]:t<2048?(o[v>>2]|=(192|t>>6)<<y[3&v++],o[v>>2]|=(128|63&t)<<y[3&v++]):t<55296||t>=57344?(o[v>>2]|=(224|t>>12)<<y[3&v++],o[v>>2]|=(128|t>>6&63)<<y[3&v++],o[v>>2]|=(128|63&t)<<y[3&v++]):(t=65536+((1023&t)<<10|1023&l.charCodeAt(++n)),o[v>>2]|=(240|t>>18)<<y[3&v++],o[v>>2]|=(128|t>>12&63)<<y[3&v++],o[v>>2]|=(128|t>>6&63)<<y[3&v++],o[v>>2]|=(128|63&t)<<y[3&v++]);this.lastByteIndex=v,this.bytes+=v-this.start,v>=64?(this.start=v-64,this.hash(),this.hashed=!0):this.start=v}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,t,v,n=this.blocks;this.first?e=((e=((l=((l=n[0]-680876937)<<7|l>>>25)-271733879<<0)^(a=((a=(-271733879^(u=((u=(-1732584194^2004318071