时间:2019-05-04 来源:小程序工厂
M***:
(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.i=function(a){return a},b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=311)})({2:function(a){function b(a){l=a?a:l,j=new f(k,l),j.onopen=function(){let a=[].concat(n);n=[],a.forEach((a)=>{c(a)})},j.onclose=function(){j=null,setTimeout(()=>{b(a)})},j.onmessage=function(a){try{let b=JSON.parse(a.data);d(b)}catch(a){}}}function c(a){j&&j.readyState===f.OPEN?j.send(JSON.stringify(a)):n.push(a)}function d(){m.forEach((a)=>{try{a.apply(this,arguments)}catch(a){console.error(a)}})}var e=window.navigator||window.__global.navigator,f=window.WebSocket||window.__global.WebSocket,g=e.userAgent,h=g.match(/port\/(\d*)/),i=h?parseInt(h[1]):9974,j=null,k=`ws://127.0.0.1:${i}`,l=null,m=[],n=[];a.exports={connect:b,send:c,registerCallback:(a)=>{m.push(a)}}},252:function(a,b,c){function d(){(function(){const a=['ontouchstart','ontouchend','ontouchmove','ontouchcancel'];for(var b=[window.__proto__,document.__proto__],c=0;c