|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-printSet-printSet"],{"1b5e":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("e9c4"),n("14d9");var i=r(n("c7eb")),o=r(n("1da1")),a=r(n("b85c")),u=r(n("d4ec")),c=r(n("bee2")),s=function(){function t(){(0,u.default)(this,t),this.isOpenBle=!1,this.deviceId="",this.serviceId="",this.writeId="",this.notifyId="",this.openBluetoothAdapter()}return(0,c.default)(t,[{key:"showToast",value:function(t){uni.showToast({title:t,icon:"none",duration:2e3})}},{key:"openBluetoothAdapter",value:function(){var t=this;return new Promise((function(e,n){uni.openBluetoothAdapter({success:function(n){t.isOpenBle=!0,t.showToast("初始化蓝牙模块成功"),e(n)},fail:function(e){t.showToast("初始化蓝牙模块失败"+JSON.stringify(e)),n(e)}})}))}},{key:"startBluetoothDevicesDiscovery",value:function(){if(this.isOpenBle){var t=this;return uni.showLoading({title:"蓝牙搜索中"}),new Promise((function(e,n){setTimeout((function(){uni.startBluetoothDevicesDiscovery({success:function(t){e(t)},fail:function(e){t.showToast("搜索设备失败"+JSON.stringify(err)),n(err)}})}),300)}))}this.showToast("初始化蓝牙模块失败")}},{key:"stopBluetoothDevicesDiscovery",value:function(){var t=this;return new Promise((function(e,n){uni.stopBluetoothDevicesDiscovery({success:function(t){uni.hideLoading()},fail:function(e){uni.hideLoading(),t.showToast("停止搜索蓝牙设备失败"+JSON.stringify(err))}})}))}},{key:"createBLEConnection",value:function(){var t=this.deviceId,e=this;return uni.showLoading({mask:!0,title:"设别连接中,请稍候..."}),console.log(this.deviceId),new Promise((function(n,r){uni.createBLEConnection({deviceId:t,success:function(t){console.log("res:createBLEConnection "+JSON.stringify(t)),n(t)},fail:function(t){uni.hideLoading(),e.showToast("停止搜索蓝牙设备失败"+JSON.stringify(t)),r(t)}})}))}},{key:"getBLEDeviceServices",value:function(){var t=[],e=this.deviceId,n=this;return new Promise((function(r,i){setTimeout((function(){uni.getBLEDeviceServices({deviceId:e,success:function(e){var n,i=(0,a.default)(e.services);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.isPrimary&&t.push(o)}}catch(err){i.e(err)}finally{i.f()}uni.hideLoading(),console.log("_serviceList: "+JSON.stringify(t)),r(t)},fail:function(t){uni.hideLoading(),n.showToast("获取设备Services"+JSON.stringify(t)),i(t)}})}),500)}))}},{key:"getBLEDeviceCharacteristics",value:function(){var t=this.deviceId,e=this.serviceId,n=this;return new Promise((function(r,i){uni.getBLEDeviceCharacteristics({deviceId:t,serviceId:e,success:function(t){var e,i=(0,a.default)(t.characteristics);try{for(i.s();!(e=i.n()).done;){var o=e.value;o.properties.notify&&(n.notifyId=o.uuid,uni.setStorageSync("notifyId",n.notifyId)),o.properties.write&&(n.writeId=o.uuid,uni.setStorageSync("writeId",n.writeId))}}catch(err){i.e(err)}finally{i.f()}var u={notifyId:n.notifyId,writeId:n.writeId};n.showToast("获取服务中所有特征值OK,".concat(JSON.stringify(u))),r(u)},fail:function(t){n.showToast("getBLEDeviceCharacteristics"+JSON.stringify(t)),i(t)}})}))}},{key:"closeBLEConnection",value:function(){var t=this.deviceId;uni.closeBLEConnection({deviceId:t,success:function(t){console.log(t)}})}},{key:"notifyBLECharacteristicValue",value:function(){var t=this.deviceId,e=this.serviceId,n=this.notifyId;uni.notifyBLECharacteristicValueChange({state:!0,deviceId:t,serviceId:e,characteristicId:n,success:function(t){uni.onBLECharacteristicValueChange((function(t){}))},fail:function(t){console.log("notifyBLECharacteristicValueChange failed:"+t.errMsg)}})}},{key:"writeBLECharacteristicValue",value:function(t){var e=this.deviceId,n=this.serviceId,r=this.writeId;return console.log("this: "+JSON.stringify(this)),new Promise((function(i,o){uni.writeBLECharacteristicValue({deviceId:e,serviceId:n,characteristicId:r,value:t,success:function(t){console.log("message发送成功",JSON.stringify(t)),i(t)},fail:function(t){console.log("message发送失败",JSON.stringify(t)),o(t)}})}))}},{key:"closeBluetoothAdapter",value:function(){uni.closeBluetoothAdapter({success:function(t){console.log(t)}})}},{key:"reconnect",value:function(){var t=this;(0,o.default)((0,i.default)().mark((function e(){var n,r,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.deviceId=t.deviceId||uni.getStorageSync("deviceId"),t.serviceId=t.serviceId||uni.getStorageSync("serviceId"),e.next=5,t.createBLEConnection();case 5:return n=e.sent,console.log("createBLEConnection: "+JSON.stringify(n)),e.next=9,t.getBLEDeviceServices();case 9:return r=e.sent,console.log("getBLEDeviceServices: "+JSON.stringify(r)),e.next=13,t.getBLEDeviceCharacteristics();case 13:o=e.sent,console.log("getBLEDeviceCharacteristics: "+JSON.stringify(o)),e.next=20;break;case 17:e.prev=17,e.t0=e["catch"](0),console.log("err: "+JSON.stringify(e.t0));case 20:case"end":return e.stop()}}),e,null,[[0,17]])})))()}}]),t}(),f=s;e.default=f},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var u=t[o](a),c=u.value}catch(s){return void n(s)}u.done?e(c):Promise.resolve(c).then(r,i)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function u(t){r(a,i,o,u,c,"next",t)}function c(t){r(a,i,o,u,c,"throw",t)}u(void 0)}))}},n("d3b7")},"2bec":function(t,e,n){n("d81d"),n("d401"),n("d3b7"),n("25f0"),n("14d9"),n("99af"),n("ace4"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7");var r=function(t){return t=t.toString(),t[1]?t:"0"+t};function i(t){for(var e=[],n=0;n<t.length;n++)if(n%4==0){var r=.299*t[n]+.587*t[n+1]+.114*t[n+2];t[n]=r>200?0:1,e.push(t[n])}return e}function o(t){for(var e=[],n=0;n<t.length;n+=8){var r=128*t[n]+64*t[n+1]+32*t[n+2]+16*t[n+3]+8*t[n+4]+4*t[n+5]+2*t[n+6]+1*t[n+7];e.push(r)}return e}t.exports={formatTime:function(t){var e=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),o=t.getHours(),a=t.getMinutes(),u=t.getSeconds();return[e,n,i].map(r).join("/")+" "+[o,a,u].map(r).join(":")},toArrayBuffer:function(t){var e=i(t.data),n=o(e),r=[].concat([27,97,1],[29,118,48,0,30,0,240,0],n,[27,74,3],[27,64]);return new Uint8Array(r).buffer},zip_image:function(t){var e=i(t.data),n=o(e);return n}}},4313:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.startBluetoothDeviceDiscovery.apply(void 0,arguments)}}},[t._v("搜索周边设备")]),n("v-uni-button",{attrs:{size:"mini",type:"warn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.stopBluetoothDevicesDiscovery.apply(void 0,arguments)}}},[t._v("停止搜索")]),n("v-uni-button",{attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.pickUpOnce.apply(void 0,arguments)}}},[t._v("测试打印")]),n("v-uni-scroll-view",{staticClass:"device_list",attrs:{"scroll-y":"true","show-scrollbar":"true"}},[n("v-uni-radio-group",t._l(t.devicesList,(function(e,r){return e.name.length>0?n("v-uni-view",{key:r,staticClass:"device_item"},[n("v-uni-view",{staticStyle:{"font-size":"32rpx",color:"#333"}},[n("v-uni-radio",{attrs:{value:e.deviceId},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.select_deviceId(e)}}}),t._v(t._s(e.name))],1),n("v-uni-view",{staticStyle:{"font-size":"20rpx"}},[t._v("信号强度: "+t._s(e.RSSI)+"dBm ("+t._s(Math.max(100+e.RSSI,0))+"%)")]),n("v-uni-view",{staticStyle:{"font-size":"20rpx"}},[t._v("deviceId: "+t._s(e.deviceId))]),n("v-uni-view",{staticStyle:{"font-size":"20rpx"}},[t._v("Service数量: "+t._s(e.advertisServiceUUIDs.length||0))]),t.deviceId===e.deviceId?n("v-uni-radio-group",t._l(t.serviceList,(function(e,r){return n("v-uni-view",{key:r,staticStyle:{"font-size":"20rpx"}},[n("v-uni-radio",{staticStyle:{transform:"scale(0.7)"},attrs:{value:e.uuid},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.select_service(e)}}}),t._v(t._s(e.uuid))],1)})),1):t._e()],1):t._e()})),1)],1),n("v-uni-canvas",{staticStyle:{width:"240px",height:"240px"},attrs:{"canvas-id":"shareCanvas"}})],1)},i=[]},"4cda":function(t,e){var n={LF:[10],FS:[28],FF:[12],GS:[29],DLE:[16],EOT:[4],NUL:[0],ESC:[27],EOL:"\n",FEED_CONTROL_SEQUENCES:{CTL_LF:[10],CTL_GLF:[74,0],CTL_FF:[12],CTL_CR:[13],CTL_HT:[9],CTL_VT:[11]},CHARACTER_SPACING:{CS_DEFAULT:[27,32,0],CS_SET:[27,32]},LINE_SPACING:{LS_DEFAULT:[27,50],LS_SET:[27,51]},HARDWARE:{HW_INIT:[27,64],HW_SELECT:[27,61,1],HW_RESET:[27,63,10,0]},CASH_DRAWER:{CD_KICK_2:[27,112,0],CD_KICK_5:[27,112,1]},MARGINS:{BOTTOM:[27,79],LEFT:[27,108],RIGHT:[27,81]},PAPER:{PAPER_FULL_CUT:[29,86,0],PAPER_PART_CUT:[29,86,1],PAPER_CUT_A:[29,86,65],PAPER_CUT_B:[29,86,66]},TEXT_FORMAT:{TXT_NORMAL:[27,33,0],TXT_2HEIGHT:[27,33,16],TXT_2WIDTH:[27,33,32],TXT_4SQUARE:[27,33,48],TXT_UNDERL_OFF:[27,45,0],TXT_UNDERL_ON:[27,45,1],TXT_UNDERL2_ON:[27,45,2],TXT_BOLD_OFF:[27,69,0],TXT_BOLD_ON:[27,69,1],TXT_ITALIC_OFF:[27,53],TXT_ITALIC_ON:[27,52],TXT_FONT_A:[27,77,0],TXT_FONT_B:[27,77,1],TXT_FONT_C:[27,77,2],TXT_ALIGN_LT:[27,97,0],TXT_ALIGN_CT:[27,97,1],TXT_ALIGN_RT:[27,97,2]},BARCODE_FORMAT:{BARCODE_TXT_OFF:[29,72,0],BARCODE_TXT_ABV:[29,72,1],BARCODE_TXT_BLW:[29,72,2],BARCODE_TXT_BTH:[29,72,3],BARCODE_FONT_A:[29,102,0],BARCODE_FONT_B:[29,102,1],BARCODE_HEIGHT:function(t){return[29,104,t]},BARCODE_WIDTH:function(t){return[29,119,t]},BARCODE_HEIGHT_DEFAULT:[29,104,100],BARCODE_WIDTH_DEFAULT:[29,119,1],BARCODE_UPC_A:[29,107,0],BARCODE_UPC_E:[29,107,1],BARCODE_EAN13:[29,107,2],BARCODE_EAN8:[29,107,3],BARCODE_CODE39:[29,107,4],BARCODE_ITF:[29,107,5],BARCODE_NW7:[29,107,6],BARCODE_CODE93:[29,107,72],BARCODE_CODE128:[29,107,73]},IMAGE_FORMAT:{S_RASTER_N:[29,118,48,0],S_RASTER_2W:[29,118,48,1],S_RASTER_2H:[29,118,48,2],S_RASTER_Q:[29,118,48,3]},BITMAP_FORMAT:{BITMAP_S8:[27,42,0],BITMAP_D8:[27,42,1],BITMAP_S24:[27,42,32],BITMAP_D24:[27,42,33]},GSV0_FORMAT:{GSV0_NORMAL:[29,118,48,0],GSV0_DW:[29,118,48,1],GSV0_DH:[29,118,48,2],GSV0_DWDH:[29,118,48,3]},BEEP:[27,66],COLOR:{0:[27,114,0],1:[27,114,1]}};t.exports=n},"5a47c":function(t,e,n){"use strict";var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("53ca"));n("d3b7"),n("7a82"),n("e439"),n("14d9"),n("d9e2"),n("d401");var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)},f=function(t){if(!t||"[object Object]"!==a.call(t))return!1;var e,n=o.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&o.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;for(e in t);return void 0===e||o.call(t,e)},l=function(t,e){u&&"__proto__"===e.name?u(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},d=function(t,e){if("__proto__"===e){if(!o.call(t,e))return;if(c)return c(t,e).value}return t[e]};function h(t){this.mode=g.MODE_8BIT_BYTE,this.data=t}function v(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}h.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},v.prototype={addData:function(t){var e=new h(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=A.getRSBlocks(t,this.errorCorrectLevel),n=new C,r=0,i=0;i<e.length;i++)r+=e[i].dataCount;for(i=0;i<this.dataList.length;i++){var o=this.dataList[i];n.put(o.mode,4),n.put(o.getLength(),T.getLengthInBits(o.mode,t)),o.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=v.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=T.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},createMovieClip:function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var u=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(u,o),r.lineTo(u+1,o),r.lineTo(u+1,o+1),r.lineTo(u,o+1),r.endFill())}return r},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=T.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],i=t[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=T.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!t&&1==(e>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=T.getBCHTypeInfo(n),i=0;i<15;i++){var o=!t&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++)o=!t&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var u=0;u<2;u++)if(null==this.modules[r][a-u]){var c=!1;o<t.length&&(c=1==(t[o]>>>i&1)),T.getMask(e,r,a-u)&&(c=!c),this.modules[r][a-u]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},v.PAD0=236,v.PAD1=17,v.createData=function(t,e,n){for(var r=A.getRSBlocks(t,e),i=new C,o=0;o<n.length;o++){var a=n[o];i.put(a.mode,4),i.put(a.getLength(),T.getLengthInBits(a.mode,t)),a.write(i)}var u=0;for(o=0;o<r.length;o++)u+=r[o].dataCount;if(i.getLengthInBits()>8*u)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*u+")");for(i.getLengthInBits()+4<=8*u&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*u||(i.put(v.PAD0,8),i.getLengthInBits()>=8*u));)i.put(v.PAD1,8);return v.createBytes(i,r)},v.createBytes=function(t,e){for(var n=0,r=0,i=0,o=new Array(e.length),a=new Array(e.length),u=0;u<e.length;u++){var c=e[u].dataCount,s=e[u].totalCount-c;r=Math.max(r,c),i=Math.max(i,s),o[u]=new Array(c);for(var f=0;f<o[u].length;f++)o[u][f]=255&t.buffer[f+n];n+=c;var l=T.getErrorCorrectPolynomial(s),d=new E(o[u],l.getLength()-1).mod(l);for(a[u]=new Array(l.getLength()-1),f=0;f<a[u].length;f++){var h=f+d.getLength()-a[u].length;a[u][f]=h>=0?d.get(h):0}}var v=0;for(f=0;f<e.length;f++)v+=e[f].totalCount;var g=new Array(v),p=0;for(f=0;f<r;f++)for(u=0;u<e.length;u++)f<o[u].length&&(g[p++]=o[u][f]);for(f=0;f<i;f++)for(u=0;u<e.length;u++)f<a[u].length&&(g[p++]=a[u][f]);return g};for(var g={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},p={L:1,M:0,Q:3,H:2},_={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},T={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;T.getBCHDigit(e)-T.getBCHDigit(T.G15)>=0;)e^=T.G15<<T.getBCHDigit(e)-T.getBCHDigit(T.G15);return(t<<10|e)^T.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;T.getBCHDigit(e)-T.getBCHDigit(T.G18)>=0;)e^=T.G18<<T.getBCHDigit(e)-T.getBCHDigit(T.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return T.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case _.PATTERN000:return(e+n)%2==0;case _.PATTERN001:return e%2==0;case _.PATTERN010:return n%3==0;case _.PATTERN011:return(e+n)%3==0;case _.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case _.PATTERN101:return e*n%2+e*n%3==0;case _.PATTERN110:return(e*n%2+e*n%3)%2==0;case _.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new E([1],0),n=0;n<t;n++)e=e.multiply(new E([1,y.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case g.MODE_NUMBER:return 10;case g.MODE_ALPHA_NUM:return 9;case g.MODE_8BIT_BYTE:case g.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case g.MODE_NUMBER:return 12;case g.MODE_ALPHA_NUM:return 11;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case g.MODE_NUMBER:return 14;case g.MODE_ALPHA_NUM:return 13;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0;r<e;r++)for(var i=0;i<e;i++){for(var o=0,a=t.isDark(r,i),u=-1;u<=1;u++)if(!(r+u<0||e<=r+u))for(var c=-1;c<=1;c++)i+c<0||e<=i+c||0==u&&0==c||a==t.isDark(r+u,i+c)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<e-1;r++)for(i=0;i<e-1;i++){var s=0;t.isDark(r,i)&&s++,t.isDark(r+1,i)&&s++,t.isDark(r,i+1)&&s++,t.isDark(r+1,i+1)&&s++,0!=s&&4!=s||(n+=3)}for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(r,i)&&!t.isDark(r,i+1)&&t.isDark(r,i+2)&&t.isDark(r,i+3)&&t.isDark(r,i+4)&&!t.isDark(r,i+5)&&t.isDark(r,i+6)&&(n+=40);for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(r,i)&&!t.isDark(r+1,i)&&t.isDark(r+2,i)&&t.isDark(r+3,i)&&t.isDark(r+4,i)&&!t.isDark(r+5,i)&&t.isDark(r+6,i)&&(n+=40);var f=0;for(i=0;i<e;i++)for(r=0;r<e;r++)t.isDark(r,i)&&f++;return n+Math.abs(100*f/e/e-50)/5*10}},y={glog:function(t){if(t<1)throw new Error("glog("+t+")");return y.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return y.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},m=0;m<8;m++)y.EXP_TABLE[m]=1<<m;for(m=8;m<256;m++)y.EXP_TABLE[m]=y.EXP_TABLE[m-4]^y.EXP_TABLE[m-5]^y.EXP_TABLE[m-6]^y.EXP_TABLE[m-8];for(m=0;m<255;m++)y.LOG_TABLE[y.EXP_TABLE[m]]=m;function E(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}function A(t,e){this.totalCount=t,this.dataCount=e}function C(){this.buffer=new Array,this.length=0}E.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<t.getLength();r++)e[n+r]^=y.gexp(y.glog(this.get(n))+y.glog(t.get(r)));return new E(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=y.glog(this.get(0))-y.glog(t.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<t.getLength();r++)n[r]^=y.gexp(y.glog(t.get(r))+e);return new E(n,0).mod(t)}},A.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],A.getRSBlocks=function(t,e){var n=A.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var r=n.length/3,i=new Array,o=0;o<r;o++)for(var a=n[3*o+0],u=n[3*o+1],c=n[3*o+2],s=0;s<a;s++)i.push(new A(u,c));return i},A.getRsBlockTable=function(t,e){switch(e){case p.L:return A.RS_BLOCK_TABLE[4*(t-1)+0];case p.M:return A.RS_BLOCK_TABLE[4*(t-1)+1];case p.Q:return A.RS_BLOCK_TABLE[4*(t-1)+2];case p.H:return A.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},C.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var w=function(t){t=t||{},(t=function t(){var e,n,r,o,a,u,c=arguments[0],h=1,v=arguments.length,g=!1;for("boolean"==typeof c&&(g=c,c=arguments[1]||{},h=2),(null==c||"object"!=(0,i.default)(c)&&"function"!=typeof c)&&(c={});h<v;++h)if(null!=(e=arguments[h]))for(n in e)r=d(c,n),c!==(o=d(e,n))&&(g&&o&&(f(o)||(a=s(o)))?(a?(a=!1,u=r&&s(r)?r:[]):u=r&&f(r)?r:{},l(c,{name:n,newValue:t(g,u,o)})):void 0!==o&&l(c,{name:n,newValue:o}));return c}(!0,{width:256,height:256,x:0,y:0,typeNumber:-1,correctLevel:p.H,background:"#ffffff",foreground:"#000000",image:{imageResource:"",dx:0,dy:0,dWidth:100,dHeight:100}},t)).canvasId||t.ctx?function(){var e,n=new v(t.typeNumber,t.correctLevel);n.addData(function(t){var e,n,r,i;for(e="",r=t.length,n=0;n<r;n++)(i=t.charCodeAt(n))>=1&&i<=127?e+=t.charAt(n):i>2047?(e+=String.fromCharCode(224|i>>12&15),e+=String.fromCharCode(128|i>>6&63),e+=String.fromCharCode(128|i>>0&63)):(e+=String.fromCharCode(192|i>>6&31),e+=String.fromCharCode(128|i>>0&63));return e}(t.text)),n.make(),e=t.ctx?t.ctx:t._this?wx.createCanvasContext&&wx.createCanvasContext(t.canvasId,t._this):wx.createCanvasContext&&wx.createCanvasContext(t.canvasId);for(var r=t.width/n.getModuleCount(),i=t.height/n.getModuleCount(),o=0;o<n.getModuleCount();o++)for(var a=0;a<n.getModuleCount();a++){var u=n.isDark(o,a)?t.foreground:t.background;e.setFillStyle(u);var c=Math.ceil((a+1)*r)-Math.floor(a*r),s=Math.ceil((o+1)*r)-Math.floor(o*r);e.fillRect(Math.round(a*r)+t.x,Math.round(o*i)+t.y,c,s)}t.image.imageResource&&e.drawImage(t.image.imageResource,t.image.dx,t.image.dy,t.image.dWidth,t.image.dHeight),e.draw(!1,(function(e){t.callback&&t.callback(e)}))}():console.warn("please set canvasId or ctx!")};e.default=w},6473:function(t,e,n){"use strict";var r=n("d429"),i=n.n(r);i.a},"7af2":function(t,e,n){n("a630"),n("3ca3"),n("14d9"),n("99af"),n("cb29"),n("ace4"),n("d3b7"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7");var r=n("4cda"),i=n("ff49"),o=function(){this._queue=Array.from(r.HARDWARE.HW_INIT),this._enqueue=function(t){this._queue.push.apply(this._queue,t)}};o.prototype.text=function(t){if(t){var e=i.encode(t),n=Array.from(e);this._enqueue(n)}return this},o.prototype.print=function(t){return this.text(t),this._enqueue(r.LF),this},o.prototype.printQrcode=function(t){if(t){var e=[].concat([27,97,1],[29,118,48,0,30,0,240,0],t,[27,74,3],[27,64]);this._enqueue(e),this._enqueue(r.LF)}return this},o.prototype.println=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.print(t+r.EOL)},o.prototype.setAlign=function(t){return this._enqueue(r.TEXT_FORMAT["TXT_ALIGN_"+t.toUpperCase()]),this},o.prototype.setFont=function(t){return this._enqueue(r.TEXT_FORMAT["TXT_FONT_"+t.toUpperCase()]),this},o.prototype.setSize=function(t,e){return 2>=t&&2>=e&&(this._enqueue(r.TEXT_FORMAT.TXT_NORMAL),2===t&&2===e?this._enqueue(r.TEXT_FORMAT.TXT_4SQUARE):1===t&&2===e?this._enqueue(r.TEXT_FORMAT.TXT_2HEIGHT):2===t&&1===e&&this._enqueue(r.TEXT_FORMAT.TXT_2WIDTH)),this},o.prototype.setBold=function(t){return"boolean"!==typeof t&&(t=!0),this._enqueue(t?r.TEXT_FORMAT.TXT_BOLD_ON:r.TEXT_FORMAT.TXT_BOLD_OFF),this},o.prototype.setUnderline=function(t){return"boolean"!==typeof t&&(t=!0),this._enqueue(t?r.TEXT_FORMAT.TXT_UNDERL_ON:r.TEXT_FORMAT.TXT_UNDERL_OFF),this},o.prototype.setLineSpacing=function(t){return void 0===t||null===t?this._enqueue(r.LINE_SPACING.LS_DEFAULT):(this._enqueue(r.LINE_SPACING.LS_SET),this._enqueue([t])),this},o.prototype.lineFeed=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.print(new Array(t).fill(r.EOL).join(""))},o.prototype.setColor=function(t){return this._enqueue(r.COLOR[1===t?1:0]),this},o.prototype.beep=function(t,e){return this._enqueue(r.BEEP),this._enqueue([t,e]),this},o.prototype.clear=function(){return this._queue=Array.from(r.HARDWARE.HW_INIT),this},o.prototype.buffer=function(){return new Uint8Array(this._queue).buffer},t.exports=o},"9aa5":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("c7eb")),o=r(n("1da1"));n("e9c4"),n("d3b7"),n("14d9"),n("fb6a");var a=r(n("7af2")),u=r(n("fad6")),c=r(n("2bec")),s=r(n("5a47c")),f=r(n("1b5e")),l=new f.default,d={components:{},data:function(){return{isOpenBle:!1,devicesList:[],serviceList:[],deviceId:"",canvas_width:240,canvas_height:240}},onUnload:function(){l.closeBLEConnection(),l.closeBluetoothAdapter()},onLoad:function(){uni.getLocation({type:"wgs84",success:function(t){console.log("当前位置的经度:"+t.longitude),console.log("当前位置的纬度:"+t.latitude)}}),l.openBluetoothAdapter()},methods:{startBluetoothDeviceDiscovery:function(){uni.showLoading({title:"蓝牙搜索中"});var t=this;t.devicesList=[],setTimeout((function(){uni.startBluetoothDevicesDiscovery({success:function(e){uni.onBluetoothDeviceFound((function(e){console.log("发现设备: "+JSON.stringify(e)),t.devicesList.some((function(t){return t.deviceId===e.devices[0].deviceId}))||t.devicesList.push(e.devices[0])}))},fail:function(e){uni.hideLoading(),t.showToast("搜索设备失败"+JSON.stringify(err))}})}),200)},stopBluetoothDevicesDiscovery:function(){uni.hideLoading(),l.stopBluetoothDevicesDiscovery()},select_deviceId:function(t){var e=this;return(0,o.default)((0,i.default)().mark((function n(){var r;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.deviceId=t.deviceId,l.deviceId=t.deviceId,uni.setStorageSync("deviceId",l.deviceId),e.serviceList=[],n.prev=4,n.next=7,l.createBLEConnection();case 7:return n.sent,n.next=10,l.getBLEDeviceServices();case 10:r=n.sent,console.log("获取服务: "+JSON.stringify(r)),e.serviceList=r,n.next=18;break;case 15:n.prev=15,n.t0=n["catch"](4),console.log("e: "+JSON.stringify(n.t0));case 18:case"end":return n.stop()}}),n,null,[[4,15]])})))()},select_service:function(t){return(0,o.default)((0,i.default)().mark((function e(){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l.serviceId=t.uuid,uni.setStorageSync("serviceId",t.uuid),e.prev=2,e.next=5,l.getBLEDeviceCharacteristics();case 5:e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](2),console.log("e: "+JSON.stringify(e.t0));case 11:case"end":return e.stop()}}),e,null,[[2,8]])})))()},pickUpOnce:function(){l.notifyBLECharacteristicValue();var t=this;setTimeout((function(){t.writeBLECharacteristicValue()}),500)},writeBLECharacteristicValue:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n,r,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.get_Qrcode();case 2:n=e.sent,console.log(n),r=new a.default,r.print(c.default.formatTime(new Date)).print(u.default.fillLine()).setAlign("ct").setSize(2,2).print("#20外卖").setSize(1,1).print("切尔西Chelsea").setSize(2,2).print("在线支付(已支付)").setSize(1,1).print("订单号:5415221202244734").print("下单时间:"+c.default.formatTime(new Date)).setAlign("lt").print(u.default.fillAround("一号口袋")).print(u.default.inline("意大利茄汁一面 * 1","15")).print(u.default.fillAround("其他")).print("餐盒费:1").print("[赠送康师傅冰红茶] * 1").print(u.default.fillLine()).setAlign("rt").print("原价:¥16").print("总价:¥16").setAlign("lt").print(u.default.fillLine()).print("备注").print("无").print(u.default.fillLine()).printQrcode(n).println(),o=r.buffer(),t.printbuffs(o);case 8:case"end":return e.stop()}}),e)})))()},printbuffs:function(t){for(var e=0,n=0,r=t.byteLength;e<r;e+=20,n++){var i=t.slice(e,e+20<=r?e+20:r);setTimeout(this.printbuff,20*n,i)}},printbuff:function(t){l.writeBLECharacteristicValue(t)},get_Qrcode:function(){var t=this;return new Promise((function(e,n){var r=uni.createCanvasContext("shareCanvas");console.log(t.canvas_width),r.clearRect(0,0,t.canvas_width,t.canvas_height),(0,s.default)({canvasId:"shareCanvas",text:String("xiaonibaba.com"),width:t.canvas_width,height:t.canvas_height,callback:function(n){setTimeout((function(){console.log(t.canvas_width),uni.canvasGetImageData({canvasId:"shareCanvas",x:0,y:0,width:t.canvas_width,height:t.canvas_height,success:function(t){e(c.default.zip_image(t))}})}),1e3)}})}))}}};e.default=d},b07a:function(t,e,n){"use strict";n.r(e);var r=n("9aa5"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},b636:function(t,e,n){var r=n("e065");r("asyncIterator")},b85c:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,r.default)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(c)throw a}}}},n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2"),n("d401");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("06c5"))},bd01:function(t,e,n){"use strict";n.r(e);var r=n("4313"),i=n("b07a");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("6473");var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"19139306",null,!1,r["a"],void 0);e["default"]=u.exports},bdab:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,"uni-page-body[data-v-19139306]{color:#333}uni-button[data-v-19139306]{margin:%?10?%}.devices_summary[data-v-19139306]{margin-top:%?5?%;padding:%?20?%;font-size:%?30?%}.device_list[data-v-19139306]{margin:%?5?% %?20?% %?5?% %?20?%;border:%?1?% solid #ddd;border-radius:%?10?%;background-color:#fdfdfd;min-height:%?0?%;max-height:%?400?%;width:%?700?%}.device_item[data-v-19139306]{border-bottom:%?1?% solid #ddd;padding:%?20?%;color:#666}.device_item_hover[data-v-19139306]{background-color:rgba(0,0,0,.1)}.connected_info[data-v-19139306]{position:fixed;bottom:0;width:100%;background-color:#f0f0f0;padding:10px;padding-bottom:20px;margin-bottom:env(safe-area-inset-bottom);font-size:14px;min-height:100px;box-shadow:0 0 3px 0}.connected_info .operation[data-v-19139306]{position:absolute;display:inline-block;right:30px}",""]),t.exports=e},c7eb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
|