dolphin-weex-ui 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # 升级日志
2
2
 
3
+ ## 2.4.4
4
+
5
+ - [ ! ] 合并2.3.x版本修订
6
+ - [ ! ] date: 2025/09/30
7
+
3
8
  ## 2.4.3
4
9
 
5
10
  - [ ! ] 修复暗黑模式UI走查
@@ -15,6 +20,18 @@
15
20
  - [ ! ] 适配暗黑模式
16
21
  - [ ! ] date: 2025/09/01
17
22
 
23
+ ## 2.3.19
24
+
25
+ - [ ! ] 修正dof-modal 背景色
26
+ - [ ! ] date: 2025/09/30
27
+
28
+
29
+ ## 2.3.18
30
+
31
+ - [ ! ] dof-swiper新增imageBgColor
32
+ - [ ! ] date: 2025/09/22
33
+
34
+
18
35
  ## 2.3.17
19
36
 
20
37
  - [ ! ] 更换缺省图
@@ -744,7 +744,7 @@ module.exports = {
744
744
  /* 5 */
745
745
  /***/ (function(module, exports, __webpack_require__) {
746
746
 
747
- ((e,t)=>{ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dolphinNativeBridge={})})(this,function(e){let r={name:"weex扩展API",callNative:function(t,o,n,r,i){try{window!==window.top&&window.addEventListener("message",function(e){e.currentTarget.$midea_harmony_native.run(t,o,n,r,i)}),$midea_harmony_native.run(t,o,n,r,i)}catch(t){}}},E={name:"weex剪贴板事件",getString:function(e){r.callNative("clipboard.getString","",e)},setString:function(e){r.callNative("clipboard.setString",{message:e},void 0)}},q={name:"weex webview",goBack:function(e){e={method:"goBack",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},goForward:function(e){e={method:"goForward",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},reload:function(e){e={method:"reload",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},postMessage:function(e,t){e={method:"postMessage",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)},notifyWebview:function(e,t){e={method:"notifyWebview",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)}},R={name:"bridgeModule",commandInterface:function(e,t,o){var n;if((n="string"==typeof e?JSON.parse(e):e)&&0<Object.keys(n).length){let e=n.operation;e&&r.callNative("bridgeModule."+e,{options:n},t,void 0,o)}},requestDataTransmit:function(e,t,o){r.callNative("bridgeModule.requestDataTransmit",{options:e},t,void 0,o)},play:function(e,t){r.callNative("bridgeModule.play",{options:e},t)},pause:function(e,t){r.callNative("bridgeModule.pause",{options:e},t)},stop:function(e,t){r.callNative("bridgeModule.stop",{options:e},t)},seek:function(e,t){r.callNative("bridgeModule.seek",{options:e},t)},loop:function(e,t){r.callNative("bridgeModule.loop",{options:e},t)},setCallback:function(e,t){r.callNative("bridgeModule.setCallback",{options:e},t)},getDuration:function(e,t){r.callNative("bridgeModule.getDuration",{options:e},t)},backgroundPlay:function(e,t){r.callNative("bridgeModule.backgroundPlay",{options:e},t)},startRecord:function(e,t){r.callNative("bridgeModule.startRecord",{options:e},t)},stopRecord:function(e,t){r.callNative("bridgeModule.stopRecord",{options:e},t)},pauseRecord:function(e,t){r.callNative("bridgeModule.pauseRecord",{options:e},t)},resumeRecord:function(e,t){r.callNative("bridgeModule.resumeRecord",{options:e},t)},playAudio:function(e,t){r.callNative("bridgeModule.playAudio",{options:e},t)},pauseAudio:function(e,t){r.callNative("bridgeModule.pauseAudio",{options:e},t)},stopAudio:function(e,t){r.callNative("bridgeModule.stopAudio",{options:e},t)},musicDownload:function(e,t){r.callNative("bridgeModule.musicDownload",{options:e},t)},delMusic:function(e,t){r.callNative("bridgeModule.delMusic",{options:e},t)},delRecorder:function(e,t){r.callNative("bridgeModule.delRecorder",{options:e},t)},killKeyboard:function(e,t){r.callNative("bridgeModule.killKeyboard",{options:e},t)},setStatusBar:function(e,t){r.callNative("bridgeModule.setStatusBar",{options:e},t)},setBottomStatusBar:function(e,t){r.callNative("bridgeModule.setBottomStatusBar",{options:e},t)},showLoading:function(e,t){r.callNative("bridgeModule.showLoading",{options:e},t)},hideLoading:function(e,t){r.callNative("bridgeModule.hideLoading",{options:e},t)},showLoadingWithMsg:function(e,t){r.callNative("bridgeModule.showLoadingWithMsg",{options:e},t)},hideLoadingWithMsg:function(e,t){r.callNative("bridgeModule.hideLoadingWithMsg",{options:e},t)},toast:function(e,t){r.callNative("bridgeModule.toast",{options:e},t)},showToast:function(e,t){r.callNative("bridgeModule.showToast",{options:e},t)},showModal:function(e,t){r.callNative("bridgeModule.showModal",{options:e},t)},photoDownload:function(e,t){r.callNative("bridgeModule.photoDownload",{options:e},t)},openShare:function(e,t){r.callNative("bridgeModule.openShare",{options:e},t)},shareMsg:function(e,t){r.callNative("bridgeModule.shareMsg",{options:e},t)},showSharePanel:function(e,t){r.callNative("bridgeModule.showSharePanel",{options:e},t)},customSharePanel:function(e,t){r.callNative("bridgeModule.customSharePanel",{options:e},t)},shareCustomPanel:function(e,t){r.callNative("bridgeModule.shareCustomPanel",{options:e},t)},getLanguageSync:function(e,t){r.callNative("bridgeModule.getLanguageSync",{options:e},t)},getTimeZoneSync:function(e,t){r.callNative("bridgeModule.getTimeZoneSync",{options:e},t)},getWeexPath:function(n){if(window.isIframe){let e=window.location.pathname,t=e.lastIndexOf("/"),o=e.substring(0,t+1);n(JSON.stringify({weexPath:o}))}else r.callNative("bridgeModule.getWeexPath",{options:{}},n)},getWeexFunctionPath:function(e,t){r.callNative("bridgeModule.getWeexFunctionPath",{options:e},t)},reload:function(e,t){r.callNative("bridgeModule.reload",{options:e},t)},saveImageToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveImageToPhotosAlbum",{options:e},t)},saveVideoToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveVideoToPhotosAlbum",{options:e},t)},mapPoiNearbySearch:function(e,t){r.callNative("bridgeModule.mapPoiNearbySearch",{options:e},t)},searchPOI:function(e,t){r.callNative("bridgeModule.searchPOI",{options:e},t)},requestLocation:function(e,t){r.callNative("bridgeModule.requestLocation",{options:e},t)},launchMapApp:function(e,t){r.callNative("bridgeModule.launchMapApp",{options:e},t)},searchMapAddress:function(e,t){r.callNative("bridgeModule.searchMapAddress",{options:e},t)},geoCode:function(e,t){r.callNative("bridgeModule.geoCode",{options:e},t)},getCityInfo:function(e,t){r.callNative("bridgeModule.getCityInfo",{options:e},t)},cityLocation:function(e,t){r.callNative("bridgeModule.cityLocation",{options:e},t)},getWeatherInfo:function(e,t){r.callNative("bridgeModule.getWeatherInfo",{options:e},t)},getElderMode:function(e,t){r.callNative("bridgeModule.getElderMode",{options:e},t)},getDiablomode:function(e,t){r.callNative("bridgeModule.getDiablomode",{options:e},t)},canSupportSwitchTheme:function(e,t){r.callNative("bridgeModule.canSupportSwitchTheme",{options:e},t)},getDeviceUUID:function(e,t){r.callNative("bridgeModule.getDeviceUUID",{options:e},t)},sendCentralCloundRequest:function(e,t,o){r.callNative("bridgeModule.sendCentralCloundRequest",{options:e},t,void 0,o)},sendMCloudRequest:function(e,t){r.callNative("bridgeModule.sendMCloudRequest",{options:e},t)},setIdleTimerDisabled:function(e,t){r.callNative("bridgeModule.setIdleTimerDisabled",{options:e},t)},showControlPanelPage:function(e,t,o){r.callNative("bridgeModule.showControlPanelPage",{options:e},t,void 0,o)},getAuthToken:function(e,t,o){r.callNative("bridgeModule.getAuthToken",{options:e},t,void 0,o)},backToNative:function(e,t,o){r.callNative("bridgeModule.backToNative",{options:e},t,void 0,o)}},F={name:"aiSpeechModule",initAISDK:function(e,t,o){r.callNative("aiSpeechModule.initAISDK",{options:e},t,void 0,o)},stopASRSpeech:function(e,t,o){r.callNative("aiSpeechModule.stopASRSpeech",{options:e},t,void 0,o)},startASRSpeech:function(e,t,o){r.callNative("aiSpeechModule.startASRSpeech",{options:e},t,void 0,o)},getNLPWithText:function(e,t,o){r.callNative("aiSpeechModule.getNLPWithText",{options:e},t,void 0,o)},getSpeechDeviceId:function(e,t,o){r.callNative("aiSpeechModule.getSpeechDeviceId",{options:e},t,void 0,o)},startSpeechMonitor:function(e,t,o){r.callNative("aiSpeechModule.startSpeechMonitor",{options:e},t,void 0,o)},resumeSpeechMonitor:function(e,t,o){r.callNative("aiSpeechModule.resumeSpeechMonitor",{options:e},t,void 0,o)},pauseSpeechMonitor:function(e,t,o){r.callNative("aiSpeechModule.pauseSpeechMonitor",{options:e},t,void 0,o)},stopSpeechMonitor:function(e,t,o){r.callNative("aiSpeechModule.stopSpeechMonitor",{options:e},t,void 0,o)},textToSpeech:function(e,t,o){r.callNative("aiSpeechModule.textToSpeech",{options:e},t,void 0,o)},releaseDailog:function(e,t,o){r.callNative("aiSpeechModule.releaseDailog",{options:e},t,void 0,o)},enableWakeup:function(e,t,o){r.callNative("aiSpeechModule.enableWakeup",{options:e},t,void 0,o)},disableWakeup:function(e,t,o){r.callNative("aiSpeechModule.disableWakeup",{options:e},t,void 0,o)},prepareSpeech:function(e,t,o){r.callNative("aiSpeechModule.prepareSpeech",{options:e},t,void 0,o)},startSpeechToText:function(e,t,o){r.callNative("aiSpeechModule.startSpeechToText",{options:e},t,void 0,o)},startTextToSpeech:function(e,t,o){r.callNative("aiSpeechModule.startTextToSpeech",{options:e},t,void 0,o)},stopSpeechToText:function(e,t,o){r.callNative("aiSpeechModule.stopSpeechToText",{options:e},t,void 0,o)},stopTextToSpeech:function(e,t,o){r.callNative("aiSpeechModule.stopTextToSpeech",{options:e},t,void 0,o)}},W={name:"MallModule",isLogin:function(e){r.callNative("MallModule.isLogin",{},e)},getCookie:function(e,t){r.callNative("MallModule.getCookie",{name:e},t)},openWxPageTranslucent:function(e,t){r.callNative("MallModule.openWxPageTranslucent",{finalUrl:e,options:t},void 0)},openURL:function(e){r.callNative("MallModule.openURL",{url:e},void 0)},getWXPayInfo:function(e,t){r.callNative("MallModule.getWXPayInfo",{param:e},t)}},_={name:"weex获取全屏高度",enableFullScreenHeight:function(e){r.callNative("deviceInfo.enableFullScreenHeight",null,e)}},U={name:"weex导航事件",pop:function(e,t){r.callNative("navigator.navigatorPop",e,t)},push:function(e,t){r.callNative("navigator.navigatorPush",e,t)},replace:function(e,t){r.callNative("navigator.navigatorReplace",e,t)}},J={name:"weex监听全局事件",addEventListener:function(e,t){void 0===t?console.error("callback is undefined."):r.callNative("globalEvent.addEventListener",{eventName:e},t)},removeEventListener:function(e){r.callNative("globalEvent.removeEventListener",{eventName:e},void 0)},addBroadcastChannel:function(e,t,o){void 0===o?console.error("callback is undefined."):r.callNative("globalEvent.addBroadcastChannel",{channel:e,message:t},o)},removeBroadcastChannel:function(e){r.callNative("globalEvent.removeBroadcastChannel",{channel:e},void 0)}},o=[],n=[],i=[],a=[],u=null;function t(e,t){let o=new Event("error");e.forEach(e=>e(Object.defineProperty(o,"data",{value:t,enumerable:!0,writable:!0})))}var G,H,V=Object.freeze({__proto__:null,clipboard:E,weexModule:r,deviceInfo:_,navigator:U,globalEvent:J,websocket:{WebSocket:function(e,t){u&&(o=[],n=[],i=[],a=[],u=null),(u=new WebSocket(e,void 0!==t&&""!==t?t:"wss")).onopen=function(t){i.forEach(e=>e(t))},u.onmessage=function(t){a.forEach(e=>e(t))},u.onclose=function(t){n.forEach(e=>e(t))}},onopen:function(e){i.push(e)},onmessage:function(e){a.push(e)},onerror:function(e){o.push(e)},onclose:function(e){n.push(e)},send:function(e){if(null!=u)try{u.send(e)}catch(e){t(o,e.message)}else t(o,"WebSocket is not ready")},close:function(){if(null!=u)try{u.close(),o=[],n=[],i=[],a=[],u=null}catch(e){t(o,e.message)}else t(o,"WebSocket is not ready")}},webview:q,picker:{name:"weex 选择器",pick:function(e,t){r.callNative("picker.pick",{options:e},t)},pickDate:function(e,t){r.callNative("picker.pickDate",{options:e},t)},pickTime:function(e,t){r.callNative("picker.pickTime",{options:e},t)},pickWetness:function(e,t){r.callNative("picker.pickWetness",{options:e},t)},showPick:function(e,t){r.callNative("picker.showPick",{options:e},t)},pickCascade:function(e,t){r.callNative("picker.pickCascade",{options:e},t)},dismissPick:function(e,t){r.callNative("picker.dismissPick",{options:e},t)}},stream:{name:"weex 网络",fetch:function(e,t,o){r.callNative("stream.fetch",{options:e},t)}},lottieModule:{name:"lottieModule",lottieInterface:function(e,t,o,n){r.callNative("lottieModule.lottieInterface",{options:{name:"lottieView",param:t}},void 0,o,n)}},bridgeModule:R,event:{name:"event 模块",fireNativeGlobalEvent(e,t){r.callNative("event.fireNativeGlobalEvent",{options:e},t)}},storage:{name:"storage 模块",length:function(e){r.callNative("storage.length",{options:null},e)},getItem:function(e,t){r.callNative("storage.getItem",{options:e},t)},setItem:function(e,t,o){r.callNative("storage.setItem",{options:{key:e,value:t}},o)},setItemPersistent:function(e,t,o){r.callNative("storage.setItemPersistent",{options:{key:e,value:t}},o)},getAllKeys:function(e){r.callNative("storage.getAllKeys",{options:null},e)},removeItem:function(e,t){r.callNative("storage.removeItem",{options:e},t)}},singleBlueToothModule:{name:"singleBlueToothModule",getBlueStatus:function(e,t,o){r.callNative("singleBlueToothModule.getBlueStatus",{options:e},t,void 0,o)},startBlueScan:function(e,t,o){r.callNative("singleBlueToothModule.startBlueScan",{options:e},t,void 0,o)},stopBlueScan:function(e,t,o){r.callNative("singleBlueToothModule.stopBlueScan",{options:e},t,void 0,o)},setupBlueConnection:function(e,t,o){r.callNative("singleBlueToothModule.setupBlueConnection",{options:e},t,void 0,o)},queryBlueLuaStatus:function(e,t,o){r.callNative("singleBlueToothModule.queryBlueLuaStatus",{options:e},t,void 0,o)},sendBlueLuaRequest:function(e,t,o){r.callNative("singleBlueToothModule.sendBlueLuaRequest",{options:e},t,void 0,o)},disconnectBlueConnection:function(e,t,o){r.callNative("singleBlueToothModule.disconnectBlueConnection",{options:e},t,void 0,o)},downFile:function(e,t,o){r.callNative("singleBlueToothModule.downFile",{options:e},t,void 0,o)},readFirmwareStatus:function(e,t,o){r.callNative("singleBlueToothModule.readFirmwareStatus",{options:e},t,void 0,o)},startFirmwareOta:function(e,t,o){r.callNative("singleBlueToothModule.startFirmwareOta",{options:e},t,void 0,o)},stopFirmwareOta:function(e,t,o){r.callNative("singleBlueToothModule.stopFirmwareOta",{options:e},t,void 0,o)},restartBlueDevice:function(e,t,o){r.callNative("singleBlueToothModule.restartBlueDevice",{options:e},t,void 0,o)},startReceiveBlueAdvertising:function(e,t,o){r.callNative("singleBlueToothModule.startReceiveBlueAdvertising",{options:e},t,void 0,o)},stopReceiveBlueAdvertising:function(e,t,o){r.callNative("singleBlueToothModule.stopReceiveBlueAdvertising",{options:e},t,void 0,o)},queryAuthStatus:function(e,t,o){r.callNative("singleBlueToothModule.queryAuthStatus",{options:e},t,void 0,o)},startAuthenticRight:function(e,t,o){r.callNative("singleBlueToothModule.startAuthenticRight",{options:e},t,void 0,o)},subscribeLocalNotification:function(e,t,o){r.callNative("singleBlueToothModule.subscribeLocalNotification",{options:e},t,void 0,o)},unsubscribeLocalNotification:function(e,t,o){r.callNative("singleBlueToothModule.unsubscribeLocalNotification",{options:e},t,void 0,o)},queryDeviceConnectStatus:function(e,t,o){r.callNative("singleBlueToothModule.queryDeviceConnectStatus",{options:e},t,void 0,o)},switchModuleMode:function(e,t,o){r.callNative("singleBlueToothModule.switchModuleMode",{options:e},t,void 0,o)},sendSourceData:function(e,t,o){r.callNative("singleBlueToothModule.sendSourceData",{options:e},t,void 0,o)},enableGatewayProxy:function(e,t,o){r.callNative("singleBlueToothModule.enableGatewayProxy",{options:e},t,void 0,o)},disableGateayProxy:function(e,t,o){r.callNative("singleBlueToothModule.disableGateayProxy",{options:e},t,void 0,o)},queryDeviceProxyStatus:function(e,t,o){r.callNative("singleBlueToothModule.queryDeviceProxyStatus",{options:e},t,void 0,o)},requestBluetoothPermission:function(e,t,o){r.callNative("singleBlueToothModule.requestBluetoothPermission",{options:e},t,void 0,o)}},routerModule:{name:"路由",goToMeijuPage:function(e,t,o){r.callNative("routerModule.goToMeijuPage",{options:e},t,void 0,o)},goToMeijuPageWithUrl:function(e,t,o){r.callNative("routerModule.goToMeijuPageWithUrl",{options:e},t,void 0,o)}},nfcModule:{name:"nfcModule",isSupportNfc:function(e,t,o){r.callNative("nfcModule.isSupportNfc",e,t,void 0,o)},getNfcStatus:function(e,t,o){r.callNative("nfcModule.getNfcStatus",e,t,void 0,o)},getNfcData:function(e,t,o){r.callNative("nfcModule.getNfcData",e,t,void 0,o)},getNfcInfo:function(e,t,o){r.callNative("nfcModule.getNfcInfo",e,t,void 0,o)},clearNfcInfo:function(e,t,o){r.callNative("nfcModule.clearNfcInfo",e,t,void 0,o)},startReadNfc:function(e,t,o){r.callNative("nfcModule.startReadNfc",e,t,void 0,o)},startWriteNfc:function(e,t,o){r.callNative("nfcModule.startWriteNfc",e,t,void 0,o)},cancelWriteNfc:function(e,t,o){r.callNative("nfcModule.cancelWriteNfc",e,t,void 0,o)},toConfigDevice:function(e,t,o){r.callNative("nfcModule.toConfigDevice",e,t,void 0,o)},configDevice:function(e,t,o){r.callNative("nfcModule.configDevice",e,t,void 0,o)},getDeviceConnectInfo:function(e,t,o){r.callNative("nfcModule.getDeviceConnectInfo",e,t,void 0,o)},addDevice:function(e,t,o){r.callNative("nfcModule.addDevice",e,t,void 0,o)}},router:{name:"router",setMiniAppCache:function(e,t,o){r.callNative("router.setMiniAppCache",{options:e},t,void 0,o)},getMiniAppCache:function(e,t,o){r.callNative("router.getMiniAppCache",{options:e},t,void 0,o)},deleteMiniAppCache:function(e,t,o){r.callNative("router.deleteMiniAppCache",{options:e},t,void 0,o)},setGlobalAppCache:function(e,t,o){r.callNative("router.setGlobalAppCache",{options:e},t,void 0,o)},getGlobalAppCache:function(e,t,o){r.callNative("router.getGlobalAppCache",{options:e},t,void 0,o)},deleteGlobalAppCache:function(e,t,o){r.callNative("router.deleteGlobalAppCache",{options:e},t,void 0,o)},navigateTo:function(e,t,o){r.callNative("router.navigateTo",{options:e},t,void 0,o)},navigateBack:function(e,t,o){r.callNative("router.navigateBack",{options:e},t,void 0,o)},exitMiniApp:function(e,t,o){r.callNative("router.exitMiniApp",{options:e},t,void 0,o)}},aiSpeechModule:F,modal:{name:"modal",toast:function(e,t,o){r.callNative("modal.toast",{options:e},t,void 0,o)},alert:function(e,t,o){r.callNative("modal.alert",{options:e},t,void 0,o)},confirm:function(e,t,o){r.callNative("modal.confirm",{options:e},t,void 0,o)},prompt:function(e,t,o){r.callNative("modal.prompt",{options:e},t,void 0,o)}},MallModule:W,mideaAudio:{name:"midea-audio",play:function(e,t,o){r.callNative("midea-audio.play",{options:e},t,void 0,o)},pause:function(e,t,o){r.callNative("midea-audio.pause",{options:e},t,void 0,o)},stop:function(e,t,o){r.callNative("midea-audio.stop",{options:e},t,void 0,o)},seek:function(e,t,o){r.callNative("midea-audio.seek",{options:e},t,void 0,o)},loop:function(e,t,o){r.callNative("midea-audio.loop",{options:e},t,void 0,o)},setCallback:function(e,t,o){r.callNative("midea-audio.setCallback",{options:e},t,void 0,o)},getDuration:function(e,t,o){r.callNative("midea-audio.getDuration",{options:e},t,void 0,o)}}}),c=weex.config.env.platform;function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e,t){return e(t={exports:{}},t.exports),t.exports}"ios"!==c.toLowerCase()&&"android"!==c.toLowerCase()&&(G=["weexModule","globalEvent","clipboard","navigator","deviceInfo","websocket","picker","webview","stream","bridgeModule","lottieModule","singleBlueToothModule","nfcModule","storage","routerModule","router","modal","aiSpeechModule","MallModule","mideaAudio"],H=weex.requireModule.bind(weex),weex.requireModule=function(e){return G.includes(e)?V["midea-audio"==e?"mideaAudio":e]||{}:H(e)});var d=l(s(function(e){function c(e,t,o,n,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return o(e)}u.done?t(c):Promise.resolve(c).then(n,r)}e.exports=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,o){var n=u.apply(e,a);function r(e){c(n,t,o,r,i,"next",e)}function i(e){c(n,t,o,r,i,"throw",e)}r(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),p=s(function(t){function o(e){return t.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports}),Q=l(p),z=s(function(e){var n=p.default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports}),K=(l(z),s(function(e){var t=p.default;e.exports=function(e){e=z(e,"string");return"symbol"==t(e)?e:e+""},e.exports.__esModule=!0,e.exports.default=e.exports})),f=(l(K),l(s(function(e){e.exports=function(e,t,o){return(t=K(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports}))),c=s(function(D){var T=p.default;function e(){D.exports=function(){return a},D.exports.__esModule=!0,D.exports.default=D.exports;var c,a={},e=Object.prototype,l=e.hasOwnProperty,s=Object.defineProperty||function(e,t,o){e[t]=o.value},t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",o=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function i(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(c){i=function(e,t,o){return e[t]=o}}function u(e,t,o,n){var r,i,a,u,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype),n=new P(n||[]);return s(t,"_invoke",{value:(r=e,i=o,a=n,u=p,function(e,t){if(u===f)throw Error("Generator is already running");if(u===g){if("throw"===e)throw t;return{value:c,done:!0}}for(a.method=e,a.arg=t;;){var o=a.delegate;if(o){o=function e(t,o){var n=o.method,r=t.iterator[n];if(r===c)return o.delegate=null,"throw"===n&&t.iterator.return&&(o.method="return",o.arg=c,e(t,o),"throw"===o.method)||"return"!==n&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;n=d(r,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,h;r=n.arg;return r?r.done?(o[t.resultName]=r.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=c),o.delegate=null,h):r:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,h)}(o,a);if(o){if(o===h)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(u===p)throw u=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);u=f;o=d(r,i,a);if("normal"===o.type){if(u=a.done?g:"suspendedYield",o.arg===h)continue;return{value:o.arg,done:a.done}}"throw"===o.type&&(u=g,a.method="throw",a.arg=o.arg)}})}),t}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var p="suspendedStart",f="executing",g="completed",h={};function v(){}function m(){}function b(){}var t={},y=(i(t,n,function(){return this}),Object.getPrototypeOf),y=y&&y(y(x([]))),M=(y&&y!==e&&l.call(y,n)&&(t=y),b.prototype=v.prototype=Object.create(t));function w(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function S(a,u){var t;s(this,"_invoke",{value:function(o,n){function e(){return new u(function(e,t){!function t(e,o,n,r){var i,e=d(a[e],a,o);if("throw"!==e.type)return(o=(i=e.arg).value)&&"object"==T(o)&&l.call(o,"__await")?u.resolve(o.__await).then(function(e){t("next",e,n,r)},function(e){t("throw",e,n,r)}):u.resolve(o).then(function(e){i.value=e,n(i)},function(e){return t("throw",e,n,r)});r(e.arg)}(o,n,e,t)})}return t=t?t.then(e,e):e()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function x(t){if(t||""===t){var o,e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return o=-1,(e=function e(){for(;++o<t.length;)if(l.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=c,e.done=!0,e}).next=e}throw new TypeError(T(t)+" is not iterable")}return s(M,"constructor",{value:m.prototype=b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=i(b,r,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,r,"GeneratorFunction")),e.prototype=Object.create(M),e},a.awrap=function(e){return{__await:e}},w(S.prototype),i(S.prototype,o,function(){return this}),a.AsyncIterator=S,a.async=function(e,t,o,n,r){void 0===r&&(r=Promise);var i=new S(u(e,t,o,n),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},w(M),i(M,r,"Generator"),i(M,n,function(){return this}),i(M,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,o=Object(e),n=[];for(t in o)n.push(t);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in o)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(N),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=c)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(o){if(this.done)throw o;var n=this;function e(e,t){return i.type="throw",i.arg=o,n.next=e,t&&(n.method="next",n.arg=c),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;0<=o;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var r=n;break}}var i=(r=r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc?null:r)?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),N(o),h}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var o,n,r=this.tryEntries[t];if(r.tryLoc===e)return"throw"===(o=r.completion).type&&(n=o.arg,N(r)),n}throw Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:x(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=c),h}},a}D.exports=e,D.exports.__esModule=!0,D.exports.default=D.exports}),c=(l(c),c()),g=c;try{regeneratorRuntime=c}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}var $=Object.prototype.toString;function X(e){return $.call(e).slice(8,-1).toLowerCase()}function h(e){return"[object Object]"===$.call(e)}var Y=weex.config.env.appVersion;function Z(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Y;if(t===e)return!0;for(var o=t.split("."),n=e.split("."),r=Math.max(o.length,n.length),i=0;i<r;i++){var a=~~n[i],u=~~o[i];if(a<u)return!0;if(u<a)return!1}return!1}function ee(e,t){t=t||weex.config.bundleUrl;var o=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){e=e.split("=");o[e[0]]=e[1]}),e?o[e]:o}function v(e){try{e=JSON.parse(e)}catch(e){}return e}var c={_typeof:X,isDate:function(e){return"[object Date]"===$.call(e)},isPlainObject:h,deepMerge:function n(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.forEach(function(o){o&&Object.keys(o).forEach(function(e){var t=o[e];h(t)?h(r[e])?r[e]=n(r[e],t):r[e]=n(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:Z,getParamsFromUrl:ee,JSONFormat:v},te=s(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}),oe=(l(te),s(function(e){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,a,u=[],c=!0,l=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(n=i.call(o)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports})),ne=(l(oe),s(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n},e.exports.__esModule=!0,e.exports.default=e.exports})),re=(l(ne),s(function(e){e.exports=function(e,t){var o;if(e)return"string"==typeof e?ne(e,t):"Map"===(o="Object"===(o={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:o)||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ne(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports})),ie=(l(re),s(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports})),m=(l(ie),l(s(function(e){e.exports=function(e,t){return te(e)||oe(e,t)||re(e,t)||ie()},e.exports.__esModule=!0,e.exports.default=e.exports})),ee(weex.config.bundleUrl,"isDummy")||!1),m="web"!==weex.config.env.platform.toLowerCase()&&m,b=weex.requireModule("bridgeModule"),ae=weex.requireModule("routerModule"),ue=weex.requireModule("singleBlueToothModule"),ce=weex.requireModule("blueToothMeshModule"),le=weex.requireModule("globalEvent"),se=weex.requireModule("aiSpeechModule"),de=weex.requireModule("nfcModule"),pe=weex.requireModule("configCommonModule"),fe=weex.requireModule("clipboard"),y=weex.requireModule("midea-audio"),ge=weex.requireModule("picker"),he=weex.requireModule("router"),ve=weex.requireModule("blueToothModule"),me=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),be=weex.requireModule("infraredModule");function M(o,n,r){return new Promise(function(t,e){o||e("params can not be empty in native bridge module"),o=JSON.stringify(o),b&&b.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e),t(e)},function(e){r&&r(e),t(e)})})}function w(e,t){var n=0<arguments.length&&void 0!==e?e:T("params"),e=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===e?"commandInterface":e;return new Promise(function(t,o){console.log("params",n,r),b[r](n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)})})}function ye(o,e){var n=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){b.hasOwnProperty(o)?b[o](JSON.stringify(n),function(e){t(v(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(o," interface")})})}function S(o,e){var n=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){ve&&ve.hasOwnProperty(o)?ve[o](JSON.stringify(n),function(e){t(v(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(o," interface")})})}function O(n,e,t,o){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,o){var e;Z("5.9.0")&&(ue&&ue.hasOwnProperty(n)?(console.log("jslog:apiName,params",n,r),ue[n](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(v(e)),t(v(e))},function(e){console.log("jslog:error",e),a&&a(e),o(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(n)),e="singleBlueToothModule 缺少 ".concat(n),o({status:-1,message:e})))})}function N(e,t,o,n){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?o:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,o){he&&he[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){o(e),a&&a(e)})})}function Me(o,n){return new Promise(function(t,e){ce&&ce.hasOwnProperty(o)?ce[o](JSON.stringify(n),function(e){t(v(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(o)})})}function P(o,e){var n=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){se[o](JSON.stringify(n),function(e){t(v(e))},function(e){t(e)})})}function we(e,t,o){le&&le[e]?le[e](t,function(e){o&&o(v(e))}):(t="globalEvent 缺少 ".concat(e),o&&o({status:-1,message:t}))}function x(n,r,i,a){return new Promise(function(t,o){var e;de&&de.hasOwnProperty(n)?de[n](JSON.stringify(r),function(e){i&&i(v(e)),t(v(e))},function(e){a&&a(e),o(e)}):(e="nfcModule 缺少 ".concat(n),o({status:-1,message:e}))})}function D(n,r,i,a){return new Promise(function(t,o){var e;pe&&pe.hasOwnProperty(n)?pe[n](JSON.stringify(r),function(e){i&&i(v(e)),t(v(e))},function(e){a&&a(e),o(e)}):(e="configCommonModule 缺少 ".concat(n),o({status:-1,message:e}))})}function T(e){var o=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(o),t(o)}catch(e){console.error(e),t(e)}})}function Se(e,n){return new Promise(function(t,o){fe&&(n?fe[e](n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)}):fe[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)}))})}function j(e,n){return new Promise(function(t,o){y&&(n?y[e](n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)}):y[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)}))})}function I(n,e,t,o){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,o){var e;Z("5.9.0")&&(me&&me.hasOwnProperty(n)?(console.log("jslog:apiName,params",n,r),me[n](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(v(e)),t(v(e))},function(e){console.log("jslog:error",e),a&&a(v(e)),o(v(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(n)),e="qqDMModule 缺少 ".concat(n),o({status:-1,message:e})))})}function Oe(o,e){var n=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){be.hasOwnProperty(o)?be[o](JSON.stringify(n),function(e){t(v(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(o," interface")})})}function Ne(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function A(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Ne(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ne(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var Pe=weex.requireModule("modal"),xe=weex.requireModule("navigator"),De=weex.requireModule("stream"),B=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),m=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.5.16",isDummy:m,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,o=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{o?B.toast({message:e,duration:t||1.5,bgStyle:o}):B.toast({message:e,duration:t||1.5})}catch(o){Pe.toast({message:e||"",duration:t})}},alert:function(e,t,o){if("object"===Q(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}Pe.alert({message:e,okTitle:o||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){Pe.confirm({message:e,okTitle:2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",cancelTitle:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消"},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){xe.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||B.killKeyboard()},getUserInfo:function(){return M({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return M({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return M(A({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCurrentViewTag:function(){return M(A({operation:"getCurrentViewTag"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return M(A({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceAliasName:function(){return M(A({operation:"getDeviceAliasName"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return M(A({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return M(A({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{B.getDevicePluginInfo({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return M(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return M(A(A({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{B.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return M(A({operation:"callTel"},e))},callTelList:function(e){return M({operation:"callTelList",params:e})},setBackHandle:function(){return M({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return M(A({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return M({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return M({operation:"getNetworkStatus"})},shareMsg:function(e){return M({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,o){try{B.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){o(e)}})},getPath:function(){return new Promise(function(t,e){B.getWeexPath(function(e){t(L(e))})})},jumpNativePage:function(){return M(A({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return ye("backToNative")},getWeexFunctionPath:function(){return M({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return M(A({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){return B.showControlPanelPage(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},checkCurrentNotificationStatus:function(){return M({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return M({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{B.getAuthToken({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return M(A({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return M({operation:"stopRecordAudio"})},takePhoto:function(){return M(A({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return M(A({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return M(A({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return M(A({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return M(A({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return M(A({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return M(A({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return M(A({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return M(A({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,o=2<arguments.length?arguments[2]:void 0;return M(A({operation:"getGPSInfo"},e),t,o)},geoCode:function(){return M(A({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return M(A({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return M({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return M(A({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){B.interfaceForThirdParty.apply(B,arguments)},sendCentralCloudRequest:function(n){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,o){var e;1!=r.isDummy&&((e=i).url=n,a.isShowLoading&&r.showLoading(),B.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),o(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(o,n){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=(e=>{var t,o="";for(t in e)"function"!=typeof e[t]&&(o+="&"+t+"="+encodeURI(e[t]));return o.substring(1)})(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),De.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),o(t)):("string"==typeof e&&(e=JSON.parse(e)),n(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,o){var e,n;null==r?o("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(n=Object.create(null)).commandId=e,n.messageBody=r,i&&(n.deviceId=i),B.startCmdProcess(JSON.stringify(n),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}o(e)}))})},sendElectronicRequest:function(e){return ye("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,o){e?B.requestDataTransmit(JSON.stringify(e),function(e){t(L(e))},function(e){o(e)}):o("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),M(A(A({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):M(A(A({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var n=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,o){r&&n.showLoading();try{B.getTXList({},function(e){r&&n.hideLoading(),t(L(e))},function(e){t(e)})}catch(e){o(e)}})},uploadImgFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,o=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFile"},e),t,o)},uploadImgFileToMas:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,o=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFileToMas"},e),t,o)},setIdleTimerDisabled:function(){return M({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,o){try{B.downLoadDevicePlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){o(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,o){try{B.getDeviceOnlineStatus(e,function(e){t(L(e))},function(e){t(e)})}catch(e){o(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,o){try{B.loadingLatestPlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){o(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var o=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(o+16*Math.random())%16|0;return o=Math.floor(o/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=o.method,o=o.headers,r={url:e,method:void 0===n?"POST":n,headers:void 0===o?{"Content-Type":"application/json;charset=utf-8"}:o,data:A({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,o){console.log("params:".concat(JSON.stringify(r,null,4))),B.sendCentralCloundRequest(r,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)})})},updateAutoList:function(){return B.updateAutoList()}});function L(e){try{e=JSON.parse(e)}catch(e){}return e}function Te(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}var je={hideKeyboard:function(){return M({operation:"hideKeyboard",params:{}})},showLoading:function(){return M({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return M({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return M({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return M({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return M({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return M({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return M({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},hideStatusBar:function(){return M({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getStatusBar:function(){return M({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return M({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},hideNavigationBar:function(){return M({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},showConfirmView:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Te(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))},popupGeneralList:function(){return M({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},showPick:function(){return function(e,t){var n=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,o){ge&&ge[e](n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){o(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T())},likeAnimation:function(){return M({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},dismissFullPage:function(){return M({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAllBarHeight:function(){return M({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Ie(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function Ae(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ie(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var Be={errorCaptured:function(t){return d(g.mark(function e(){return g.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var o={name:"zoiew"},n={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),e=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(e),new Promise(function(e,t){e(Ae(Ae({},o),n))})},canIUse:function(){return M({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()}})},getSystemInfo:function(){return M({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return M({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return M({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},addEventListener:function(e,t){return we("addEventListener",e,t)},removeEventListener:function(e,t){return we("removeEventListener",e,t)},getPluginInfo:function(){return M({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return M({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return M({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return M({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomodeSync:function(){return function(e,t,o,n){var t=1<arguments.length&&void 0!==t?t:{},r=2<arguments.length?o:void 0,i=3<arguments.length?n:void 0;return b&&b.hasOwnProperty(e)?b[e](JSON.stringify(t),function(e){r&&r(v(e))},function(e){i&&i(e)}):"接口不存在"}("getDiablomodeSync",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},commandInterfaceBuffer:function(o,n,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){o||e("params can not be empty in native bridge module"),n&&"function"!=typeof n?(i=n,n=null):r&&"function"!=typeof r&&(i=r,r=null),o=JSON.stringify(o);e=weex.requireModule(i);e&&e.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}n&&n(),t(e)},function(e){r&&r(),t(e)})})}};function Le(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function ke(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Le(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Le(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var Ce=weex.requireModule("navigator"),Ee={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=(t=0<(t=weex.config.bundleUrl).indexOf("?")?t.substring(0,t.indexOf("?")):t).split("/").slice(0,-1).join("/");return e?t+"/":t},push:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:T("url"),s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var o,n,r,i,a=Object.create(null),u="";if("string"===X(l)?(a.url=l,a.options=s,a.params=d,a.callback=p):h(l)&&(o=l.url,n=void 0===(n=l.options)?{animated:"true",replace:"false"}:n,r=void 0===(r=l.params)?{}:r,i=void 0===(i=l.callback)?function(){}:i,a.url=o,a.options=n,a.params=r,a.callback=i),a.params)for(var c in a.params)u+=c+"="+encodeURIComponent(a.params[c])+"&";u=a.url.indexOf("?")?a.url+"?"+u.slice(0,-1):a.url+u.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(u)||(u=Ee.getContextPath()+u);try{Ce.push(ke({url:u},a.options),p),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof o&&(n=o,o=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{Ce.pop(ke({animated:"true",level:1},o),n)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(o,e){var n=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){ae&&ae.hasOwnProperty(o)&&ae[o](n)})}("goToMeijuPage",e)},popNativePage:function(){return M(ke({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))},goToPage:function(){return M({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},reload:function(){return M({operation:"reload"})},openURL:function(){return M({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},setMiniAppCache:function(){return N("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return N("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return N("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return N("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return N("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return N("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return M({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})}},qe={getBatteryInfo:function(){return M({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return M({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return M({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return M({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return M({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return M({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return M({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return M({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return M({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return M({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return M({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return M({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return M({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return M({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return M({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},vibrate:function(){return M({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAppInfo:function(){return M({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return M({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return M({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return M({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return M({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return M({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Re(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}var Fe={scanCode:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Re(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},We={encrypt:function(){return M({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return M({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return M({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return M({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},encodeAES128:function(){return M({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})}},_e={saveFile:function(){return M({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return M({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return M({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return M({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return M({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return M({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return M({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return M({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return M({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return M({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return M({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return M({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return M({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return M({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return M({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ue={downloadFile:function(){return M({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return M({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return M({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadVideoFileToMas:function(){return M({operation:"uploadVideoFileToMas",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return M({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return M({operation:"resetCookie",params:e})}},Je={getLocation:function(){return M({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return M({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return M({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return M({operation:"getTodaySteps"})}},Ge={getBluetoothStatus:function(){return M({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return M({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return M({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return M({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return M({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return M({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return M({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return M({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return M({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return O("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return O("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return O("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return O("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return O("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return O("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaNotification:function(){return O("sendBlueLuaNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return O("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return O("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return O("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return O("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return O("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return O("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceData:function(){return O("sendSourceData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceDataNotification:function(){return O("sendSourceDataNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},enableGatewayProxy:function(){return O("enableGatewayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disableGateayProxy:function(){return O("disableGateayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceProxyStatus:function(){return O("queryDeviceProxyStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return Me("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return Me("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return S("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return S("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return S("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return S("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return O("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return O("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryAuthStatus:function(){return O("queryAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startAuthenticRight:function(){return O("startAuthenticRight",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},He={chooseImage:function(){return M({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return M({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return M({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return M({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return M({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return M({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return M({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return M({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return M({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return M({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return M({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return M({operation:"pauseRecord"})},resumeRecord:function(){return M({operation:"resumeRecord"})},stopRecord:function(){return M({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return M({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return M({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return M({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return M({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return M({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return j("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return j("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){var o,n;o=e,n=t,y&&y.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e)},function(e){n&&n(e)})},getDuration:function(){return j("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return j("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return j("pause")},stop:function(){return j("stop")},recordVideo:function(){return M({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return M({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return M({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ve={getWifiList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Qe={startSpeechMonitor:function(){return P("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return P("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return P("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return P("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return P("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},ze=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Ke(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}var $e={reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ke(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},Xe={checkAndRequestPermission:function(){return M({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return M({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ye={getNfcInfo:function(){return x("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return x("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return x("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return x("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return x("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return x("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return x("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return x("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ze={configDevice:function(){return D("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return D("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},changeBleBindToWiFiConfig:function(){return D("changeBleBindToWiFiConfig",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},changeDeviceWifi:function(){return D("changeDeviceWifi",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function et(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function tt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?et(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):et(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var ot={getWeatherInfo:function(){return M(tt({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))},getAppWeatherInfo:function(){return M(tt({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))}};function nt(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function rt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):nt(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var it={canUseSiriShortcut:function(){return M({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return M({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAllSiriShortcuts:function(){return M({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return M({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},addInstructToSiriShortcut:function(){return M(rt({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))},getAllSiriInstructShortcuts:function(){return M(rt({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))},editSiriInstructShortcut:function(){return M(rt({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()))}},at={setString:function(){return Se("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T())},getString:function(){return Se("getString")}},ut={prepareSpeech:function(){return P("prepareSpeech")},startSpeechToText:function(){return P("startSpeechToText")},startTextToSpeech:function(){return P("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T())},stopSpeechToText:function(){return P("stopSpeechToText")},stopTextToSpeech:function(){return P("stopTextToSpeech")}},ct={getLoginInfo:function(){return M({operation:"getLoginInfo"})},getUserInfo:function(){return M({operation:"getUserInfo"})},logout:function(){return M({operation:"logout"})},getUnionId:function(){return M({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAuthToken:function(){return w(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return w(0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return w(0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return w(0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return M({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})}},lt={getHomeInfo:function(){return M({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAllHomeInfoList:function(){return M({operation:"getAllHomeInfoList"})},createHome:function(){return M({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},updateHomeInfo:function(){return M({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},deleteHome:function(){return M({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getHomeMemberList:function(){return M({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},inviteToHome:function(){return M({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getRoomInfo:function(){return M({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},getAllRoomInfoList:function(){return M({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},createRoom:function(){return M({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},deleteRoom:function(){return M({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},updateRoomInfo:function(){return M({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},refreshHomeInfo:function(){return M({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})}};function st(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}var dt={pay:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?st(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):st(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return M({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return I("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:T(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return I("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return I("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return I("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return I("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return I("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return I("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return I("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return I("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function pt(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function k(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):pt(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var ft={luaQuery:function(){return M(k({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return M(k({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return M(k({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return M(k({operation:"getDeviceList"},e))},toConfigDevice:function(e){return x("toConfigDevice",e)},getDeviceConnectInfo:function(e){return x("getDeviceConnectInfo",e)},addDevice:function(e){return x("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return M(k({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return M({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return M({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return M({operation:"getDeviceUUID"})}};function gt(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}var ht={checkInstalledThirdPlatform:function(e){return M({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):gt(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return ye("shareCustomPanel",e)},sharePeerToPeer:function(e){return M({operation:"sharePeerToPeer",params:e})}},vt={cameraMatch:function(){return Oe("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return Oe("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},mt={openMiniProgram:function(){return M({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},tslV2PerformAction:function(){return M({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},tslV2QueryAllProperties:function(){return M({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},tslV2QueryProperty:function(){return M({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},tslV2SetupProperty:function(){return M({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})},tslV2BatchQueryProperty:function(){return M({operation:"tslV2BatchQueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:T()})}},bt={subscribeMessage:function(){return M({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},yt=weex.requireModule("bridgeModule"),Mt=weex.requireModule("storage"),wt=(weex.requireModule("modal"),{});function St(e,t){Mt&&Mt.getItem(e,t)}function Ot(o,n){var r;void 0!==n&&(r={},St("WEEX_CANIUSE_MAP",function(e){var t;"undefined"!==e.data?(r=JSON.parse(e.data))[o]=n:r[o]=n,e=JSON.stringify(r),"object"==Q(e)&&(t=JSON.stringify(e)),Mt.setItem("WEEX_CANIUSE_MAP",t||e,function(e){console.log("set success")})}))}function Nt(i,a){return new Promise((o=d(g.mark(function e(t,n){var r;return g.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r={},void 0===wt[i])?e.next=5:(r=wt[i],e.next=8);break;case 5:e.next=7;var o={operation:"canIUse",params:{api:i}};return new Promise(function(t,e){o||e("params can not be empty in native bridge module"),o=JSON.stringify(o),yt&&yt.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})});case 7:r=e.sent;case 8:!0===r.enable||!0===r?(Ot(i,r.enable),t(!0)):(a=a?a:n)({code:-13,msg:i+"接口不支持"});case 9:case"end":return e.stop()}},e)})),function(e,t){return o.apply(this,arguments)}));var o}St("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(wt=JSON.parse(e.data))});var Pt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless","getGpsInfo"],xt=["getDiablomodeSync"];function Dt(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function C(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(o),!0).forEach(function(e){f(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Dt(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function Tt(e){e.prototype.$bridge=jt}var m=C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C(C({},m),Be),Ee),Ge),qe),Fe),We),_e),Ue),Je),He),je),Ve),Qe),ze),$e),Xe),Ye),Ze),ot),it),at),ut),ct),lt),dt),ft),ht),vt),mt),bt),jt=new Proxy(m,{get:function(e,i,t){var a=e[i];return"function"!=typeof a||xt.includes(i)?a:d(g.mark(function e(){var t,o,n,r=arguments;return g.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,Pt.includes(i)){e.next=4;break}return e.next=4,Nt(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject({code:-13,msg:i+"接口不支持"}));case 9:for(t=r.length,o=new Array(t),n=0;n<t;n++)o[n]=r[n];return e.abrupt("return",a.apply(this,o));case 11:case"end":return e.stop()}},e,this,[[0,6]])}))}}),Be={install:Tt};e.Bridge=jt,e.Utils=c,e.default=Be,e.install=Tt,Object.defineProperty(e,"__esModule",{value:!0})});
747
+ ((e,t)=>{ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dolphinNativeBridge={})})(this,function(e){let r={name:"weex扩展API",callNative:function(t,n,o,r,i){try{window!==window.top&&window.addEventListener("message",function(e){console.log("event🥳","-----\x3e👉",e),e.currentTarget.$midea_harmony_native.run(t,n,o,r,i)}),$midea_harmony_native.run(t,n,o,r,i)}catch(t){}}},E={name:"weex剪贴板事件",getString:function(e){r.callNative("clipboard.getString","",e)},setString:function(e){r.callNative("clipboard.setString",{message:e},void 0)}},q={name:"weex webview",goBack:function(e){e={method:"goBack",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},goForward:function(e){e={method:"goForward",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},reload:function(e){e={method:"reload",name:e.$children[0].embedId};r.callNative("webview.webHandle",e,void 0)},postMessage:function(e,t){e={method:"postMessage",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)},notifyWebview:function(e,t){e={method:"notifyWebview",name:e.$children[0].embedId,message:t};r.callNative("webview.webHandle",e,void 0)}},R={name:"bridgeModule",commandInterface:function(e,t,n){var o;if((o="string"==typeof e?JSON.parse(e):e)&&0<Object.keys(o).length){let e=o.operation;e&&r.callNative("bridgeModule."+e,{options:o},t,void 0,n)}},requestDataTransmit:function(e,t){r.callNative("bridgeModule.requestDataTransmit",{options:e},t)},play:function(e,t){r.callNative("bridgeModule.play",{options:e},t)},pause:function(e,t){r.callNative("bridgeModule.pause",{options:e},t)},stop:function(e,t){r.callNative("bridgeModule.stop",{options:e},t)},seek:function(e,t){r.callNative("bridgeModule.seek",{options:e},t)},loop:function(e,t){r.callNative("bridgeModule.loop",{options:e},t)},setCallback:function(e,t){r.callNative("bridgeModule.setCallback",{options:e},t)},getDuration:function(e,t){r.callNative("bridgeModule.getDuration",{options:e},t)},backgroundPlay:function(e,t){r.callNative("bridgeModule.backgroundPlay",{options:e},t)},startRecord:function(e,t){r.callNative("bridgeModule.startRecord",{options:e},t)},stopRecord:function(e,t){r.callNative("bridgeModule.stopRecord",{options:e},t)},pauseRecord:function(e,t){r.callNative("bridgeModule.pauseRecord",{options:e},t)},resumeRecord:function(e,t){r.callNative("bridgeModule.resumeRecord",{options:e},t)},playAudio:function(e,t){r.callNative("bridgeModule.playAudio",{options:e},t)},pauseAudio:function(e,t){r.callNative("bridgeModule.pauseAudio",{options:e},t)},stopAudio:function(e,t){r.callNative("bridgeModule.stopAudio",{options:e},t)},musicDownload:function(e,t){r.callNative("bridgeModule.musicDownload",{options:e},t)},delMusic:function(e,t){r.callNative("bridgeModule.delMusic",{options:e},t)},delRecorder:function(e,t){r.callNative("bridgeModule.delRecorder",{options:e},t)},killKeyboard:function(e,t){r.callNative("bridgeModule.killKeyboard",{options:e},t)},setStatusBar:function(e,t){r.callNative("bridgeModule.setStatusBar",{options:e},t)},setBottomStatusBar:function(e,t){r.callNative("bridgeModule.setBottomStatusBar",{options:e},t)},showLoading:function(e,t){r.callNative("bridgeModule.showLoading",{options:e},t)},hideLoading:function(e,t){r.callNative("bridgeModule.hideLoading",{options:e},t)},showLoadingWithMsg:function(e,t){r.callNative("bridgeModule.showLoadingWithMsg",{options:e},t)},hideLoadingWithMsg:function(e,t){r.callNative("bridgeModule.hideLoadingWithMsg",{options:e},t)},toast:function(e,t){r.callNative("bridgeModule.toast",{options:e},t)},showToast:function(e,t){r.callNative("bridgeModule.showToast",{options:e},t)},showModal:function(e,t){r.callNative("bridgeModule.showModal",{options:e},t)},photoDownload:function(e,t){r.callNative("bridgeModule.photoDownload",{options:e},t)},openShare:function(e,t){r.callNative("bridgeModule.openShare",{options:e},t)},shareMsg:function(e,t){r.callNative("bridgeModule.shareMsg",{options:e},t)},showSharePanel:function(e,t){r.callNative("bridgeModule.showSharePanel",{options:e},t)},customSharePanel:function(e,t){r.callNative("bridgeModule.customSharePanel",{options:e},t)},shareCustomPanel:function(e,t){r.callNative("bridgeModule.shareCustomPanel",{options:e},t)},getLanguageSync:function(e,t){r.callNative("bridgeModule.getLanguageSync",{options:e},t)},getTimeZoneSync:function(e,t){r.callNative("bridgeModule.getTimeZoneSync",{options:e},t)},getWeexPath:function(o){if(window.isIframe){let e=window.location.pathname,t=e.lastIndexOf("/"),n=e.substring(0,t+1);o(JSON.stringify({weexPath:n}))}else r.callNative("bridgeModule.getWeexPath",{options:{}},o)},getWeexFunctionPath:function(e,t){r.callNative("bridgeModule.getWeexFunctionPath",{options:e},t)},reload:function(e,t){r.callNative("bridgeModule.reload",{options:e},t)},saveImageToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveImageToPhotosAlbum",{options:e},t)},saveVideoToPhotosAlbum:function(e,t){r.callNative("bridgeModule.saveVideoToPhotosAlbum",{options:e},t)},mapPoiNearbySearch:function(e,t){r.callNative("bridgeModule.mapPoiNearbySearch",{options:e},t)},searchPOI:function(e,t){r.callNative("bridgeModule.searchPOI",{options:e},t)},requestLocation:function(e,t){r.callNative("bridgeModule.requestLocation",{options:e},t)},launchMapApp:function(e,t){r.callNative("bridgeModule.launchMapApp",{options:e},t)},searchMapAddress:function(e,t){r.callNative("bridgeModule.searchMapAddress",{options:e},t)},geoCode:function(e,t){r.callNative("bridgeModule.geoCode",{options:e},t)},getCityInfo:function(e,t){r.callNative("bridgeModule.getCityInfo",{options:e},t)},cityLocation:function(e,t){r.callNative("bridgeModule.cityLocation",{options:e},t)},getWeatherInfo:function(e,t){r.callNative("bridgeModule.getWeatherInfo",{options:e},t)},getElderMode:function(e,t){r.callNative("bridgeModule.getElderMode",{options:e},t)},getDiablomode:function(e,t){r.callNative("bridgeModule.getDiablomode",{options:e},t)},canSupportSwitchTheme:function(e,t){r.callNative("bridgeModule.canSupportSwitchTheme",{options:e},t)},getDeviceUUID:function(e,t){r.callNative("bridgeModule.getDeviceUUID",{options:e},t)},sendCentralCloundRequest:function(e,t){r.callNative("bridgeModule.sendCentralCloundRequest",{options:e},t)},sendMCloudRequest:function(e,t){r.callNative("bridgeModule.sendMCloudRequest",{options:e},t)},setIdleTimerDisabled:function(e,t){r.callNative("bridgeModule.setIdleTimerDisabled",{options:e},t)},showControlPanelPage:function(e,t,n){r.callNative("bridgeModule.showControlPanelPage",{options:e},t,void 0,n)},getAuthToken:function(e,t,n){r.callNative("bridgeModule.getAuthToken",{options:e},t,void 0,n)},backToNative:function(e,t,n){r.callNative("bridgeModule.backToNative",{options:e},t,void 0,n)}},F={name:"aiSpeechModule",initAISDK:function(e,t,n){r.callNative("aiSpeechModule.initAISDK",{options:e},t,void 0,n)},stopASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopASRSpeech",{options:e},t,void 0,n)},startASRSpeech:function(e,t,n){r.callNative("aiSpeechModule.startASRSpeech",{options:e},t,void 0,n)},getNLPWithText:function(e,t,n){r.callNative("aiSpeechModule.getNLPWithText",{options:e},t,void 0,n)},getSpeechDeviceId:function(e,t,n){r.callNative("aiSpeechModule.getSpeechDeviceId",{options:e},t,void 0,n)},startSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.startSpeechMonitor",{options:e},t,void 0,n)},resumeSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.resumeSpeechMonitor",{options:e},t,void 0,n)},pauseSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.pauseSpeechMonitor",{options:e},t,void 0,n)},stopSpeechMonitor:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechMonitor",{options:e},t,void 0,n)},textToSpeech:function(e,t,n){r.callNative("aiSpeechModule.textToSpeech",{options:e},t,void 0,n)},releaseDailog:function(e,t,n){r.callNative("aiSpeechModule.releaseDailog",{options:e},t,void 0,n)},enableWakeup:function(e,t,n){r.callNative("aiSpeechModule.enableWakeup",{options:e},t,void 0,n)},disableWakeup:function(e,t,n){r.callNative("aiSpeechModule.disableWakeup",{options:e},t,void 0,n)},prepareSpeech:function(e,t,n){r.callNative("aiSpeechModule.prepareSpeech",{options:e},t,void 0,n)},startSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.startSpeechToText",{options:e},t,void 0,n)},startTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.startTextToSpeech",{options:e},t,void 0,n)},stopSpeechToText:function(e,t,n){r.callNative("aiSpeechModule.stopSpeechToText",{options:e},t,void 0,n)},stopTextToSpeech:function(e,t,n){r.callNative("aiSpeechModule.stopTextToSpeech",{options:e},t,void 0,n)}},W={name:"MallModule",isLogin:function(e){r.callNative("MallModule.isLogin",{},e)},getCookie:function(e,t){r.callNative("MallModule.getCookie",{name:e},t)},openWxPageTranslucent:function(e,t){r.callNative("MallModule.openWxPageTranslucent",{finalUrl:e,options:t},void 0)},openURL:function(e){r.callNative("MallModule.openURL",{url:e},void 0)},getWXPayInfo:function(e,t){r.callNative("MallModule.getWXPayInfo",{param:e},t)}},_={name:"weex获取全屏高度",enableFullScreenHeight:function(e){r.callNative("deviceInfo.enableFullScreenHeight",null,e)}},U={name:"weex导航事件",pop:function(e,t){r.callNative("navigator.navigatorPop",e,t)},push:function(e,t){r.callNative("navigator.navigatorPush",e,t)},replace:function(e,t){r.callNative("navigator.navigatorReplace",e,t)}},J={name:"weex监听全局事件",addEventListener:function(e,t){void 0===t?console.error("callback is undefined."):r.callNative("globalEvent.addEventListener",{eventName:e},t)},removeEventListener:function(e){r.callNative("globalEvent.removeEventListener",{eventName:e},void 0)},addBroadcastChannel:function(e,t,n){void 0===n?console.error("callback is undefined."):r.callNative("globalEvent.addBroadcastChannel",{channel:e,message:t},n)},removeBroadcastChannel:function(e){r.callNative("globalEvent.removeBroadcastChannel",{channel:e},void 0)}},n=[],o=[],i=[],a=[],u=null;function t(e,t){let n=new Event("error");e.forEach(e=>e(Object.defineProperty(n,"data",{value:t,enumerable:!0,writable:!0})))}var G,H,c={WebSocket:function(e,t){u&&(n=[],o=[],i=[],a=[],u=null),(u=new WebSocket(e,void 0!==t&&""!==t?t:"wss")).onopen=function(t){i.forEach(e=>e(t))},u.onmessage=function(t){a.forEach(e=>e(t))},u.onclose=function(t){o.forEach(e=>e(t))}},onopen:function(e){i.push(e)},onmessage:function(e){a.push(e)},onerror:function(e){n.push(e)},onclose:function(e){o.push(e)},send:function(e){if(null!=u)try{u.send(e)}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")},close:function(){if(null!=u)try{u.close(),n=[],o=[],i=[],a=[],u=null}catch(e){t(n,e.message)}else t(n,"WebSocket is not ready")}},l={name:"weex 选择器",pick:function(e,t){r.callNative("picker.pick",{options:e},t)},pickDate:function(e,t){r.callNative("picker.pickDate",{options:e},t)},pickTime:function(e,t){r.callNative("picker.pickTime",{options:e},t)},pickWetness:function(e,t){r.callNative("picker.pickWetness",{options:e},t)},showPick:function(e,t){r.callNative("picker.showPick",{options:e},t)},pickCascade:function(e,t){r.callNative("picker.pickCascade",{options:e},t)},dismissPick:function(e,t){r.callNative("picker.dismissPick",{options:e},t)}},s={name:"weex 网络",fetch:function(e,t,n){r.callNative("stream.fetch",{options:e},t)}},V={name:"lottieModule",lottieInterface:function(e,t,n,o){r.callNative("lottieModule.lottieInterface",{options:{name:"lottieView",param:t}},void 0,n,o)}},d={name:"event 模块",fireNativeGlobalEvent(e,t){r.callNative("event.fireNativeGlobalEvent",{options:e},t)}},Q={name:"storage 模块",length:function(e){r.callNative("storage.length",{options:null},e)},getItem:function(e,t){r.callNative("storage.getItem",{options:e},t)},setItem:function(e,t,n){r.callNative("storage.setItem",{options:{key:e,value:t}},n)},setItemPersistent:function(e,t,n){r.callNative("storage.setItemPersistent",{options:{key:e,value:t}},n)},getAllKeys:function(e){r.callNative("storage.getAllKeys",{options:null},e)},removeItem:function(e,t){r.callNative("storage.removeItem",{options:e},t)}},z=new Proxy({},{get:(e,n)=>(e,t)=>{r.callNative("singleBlueToothModule."+n,{options:e},t)}}),K=Object.freeze({__proto__:null,clipboard:E,weexModule:r,deviceInfo:_,navigator:U,globalEvent:J,websocket:c,webview:q,picker:l,stream:s,lottieModule:V,bridgeModule:R,event:d,storage:Q,singleBlueToothModule:z,routerModule:{name:"路由",goToMeijuPage:function(e,t,n){r.callNative("routerModule.goToMeijuPage",{options:e},t,void 0,n)},goToMeijuPageWithUrl:function(e,t,n){r.callNative("routerModule.goToMeijuPageWithUrl",{options:e},t,void 0,n)}},nfcModule:{name:"nfcModule",isSupportNfc:function(e,t,n){r.callNative("nfcModule.isSupportNfc",e,t,void 0,n)},getNfcStatus:function(e,t,n){r.callNative("nfcModule.getNfcStatus",e,t,void 0,n)},getNfcData:function(e,t,n){r.callNative("nfcModule.getNfcData",e,t,void 0,n)},getNfcInfo:function(e,t,n){r.callNative("nfcModule.getNfcInfo",e,t,void 0,n)},clearNfcInfo:function(e,t,n){r.callNative("nfcModule.clearNfcInfo",e,t,void 0,n)},startReadNfc:function(e,t,n){r.callNative("nfcModule.startReadNfc",e,t,void 0,n)},startWriteNfc:function(e,t,n){r.callNative("nfcModule.startWriteNfc",e,t,void 0,n)},cancelWriteNfc:function(e,t,n){r.callNative("nfcModule.cancelWriteNfc",e,t,void 0,n)},toConfigDevice:function(e,t,n){r.callNative("nfcModule.toConfigDevice",e,t,void 0,n)},configDevice:function(e,t,n){r.callNative("nfcModule.configDevice",e,t,void 0,n)},getDeviceConnectInfo:function(e,t,n){r.callNative("nfcModule.getDeviceConnectInfo",e,t,void 0,n)},addDevice:function(e,t,n){r.callNative("nfcModule.addDevice",e,t,void 0,n)}},router:{name:"router",setMiniAppCache:function(e,t,n){r.callNative("router.setMiniAppCache",{options:e},t,void 0,n)},getMiniAppCache:function(e,t,n){r.callNative("router.getMiniAppCache",{options:e},t,void 0,n)},deleteMiniAppCache:function(e,t,n){r.callNative("router.deleteMiniAppCache",{options:e},t,void 0,n)},setGlobalAppCache:function(e,t,n){r.callNative("router.setGlobalAppCache",{options:e},t,void 0,n)},getGlobalAppCache:function(e,t,n){r.callNative("router.getGlobalAppCache",{options:e},t,void 0,n)},deleteGlobalAppCache:function(e,t,n){r.callNative("router.deleteGlobalAppCache",{options:e},t,void 0,n)},navigateTo:function(e,t,n){r.callNative("router.navigateTo",{options:e},t,void 0,n)},navigateBack:function(e,t,n){r.callNative("router.navigateBack",{options:e},t,void 0,n)},exitMiniApp:function(e,t,n){r.callNative("router.exitMiniApp",{options:e},t,void 0,n)}},aiSpeechModule:F,modal:{name:"modal",toast:function(e,t,n){r.callNative("modal.toast",{options:e},t,void 0,n)},alert:function(e,t,n){r.callNative("modal.alert",{options:e},t,void 0,n)},confirm:function(e,t,n){r.callNative("modal.confirm",{options:e},t,void 0,n)},prompt:function(e,t,n){r.callNative("modal.prompt",{options:e},t,void 0,n)}},MallModule:W,mideaAudio:{name:"midea-audio",play:function(e,t,n){r.callNative("midea-audio.play",{options:e},t,void 0,n)},pause:function(e,t,n){r.callNative("midea-audio.pause",{options:e},t,void 0,n)},stop:function(e,t,n){r.callNative("midea-audio.stop",{options:e},t,void 0,n)},seek:function(e,t,n){r.callNative("midea-audio.seek",{options:e},t,void 0,n)},loop:function(e,t,n){r.callNative("midea-audio.loop",{options:e},t,void 0,n)},setCallback:function(e,t,n){r.callNative("midea-audio.setCallback",{options:e},t,void 0,n)},getDuration:function(e,t,n){r.callNative("midea-audio.getDuration",{options:e},t,void 0,n)}}}),c=weex.config.env.platform;function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f(e,t){return e(t={exports:{}},t.exports),t.exports}"ios"!==c.toLowerCase()&&"android"!==c.toLowerCase()&&(G=["weexModule","globalEvent","clipboard","navigator","deviceInfo","websocket","picker","webview","stream","bridgeModule","lottieModule","singleBlueToothModule","nfcModule","storage","routerModule","router","modal","aiSpeechModule","MallModule","midea-audio"],H=weex.requireModule.bind(weex),weex.requireModule=function(e){return G.includes(e)?K["midea-audio"==e?"mideaAudio":e]||{}:H(e)});var $=p(f(function(e){function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e)}u.done?t(c):Promise.resolve(c).then(o,r)}e.exports=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var o=u.apply(e,a);function r(e){c(o,t,n,r,i,"next",e)}function i(e){c(o,t,n,r,i,"throw",e)}r(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),g=f(function(t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}),X=p(g),Y=f(function(e){var o=g.default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports}),Z=(p(Y),f(function(e){var t=g.default;e.exports=function(e){e=Y(e,"string");return"symbol"==t(e)?e:e+""},e.exports.__esModule=!0,e.exports.default=e.exports})),h=(p(Z),p(f(function(e){e.exports=function(e,t,n){return(t=Z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}))),l=f(function(D){var j=g.default;function e(){D.exports=function(){return a},D.exports.__esModule=!0,D.exports.default=D.exports;var c,a={},e=Object.prototype,l=e.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",r=t.toStringTag||"@@toStringTag";function i(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(c){i=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r,i,a,u,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype),o=new N(o||[]);return s(t,"_invoke",{value:(r=e,i=n,a=o,u=p,function(e,t){if(u===f)throw Error("Generator is already running");if(u===g){if("throw"===e)throw t;return{value:c,done:!0}}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var o=n.method,r=t.iterator[o];if(r===c)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=c,e(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;r=o.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}(n,a);if(n){if(n===h)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(u===p)throw u=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);u=f;n=d(r,i,a);if("normal"===n.type){if(u=a.done?g:"suspendedYield",n.arg===h)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(u=g,a.method="throw",a.arg=n.arg)}})}),t}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var p="suspendedStart",f="executing",g="completed",h={};function v(){}function m(){}function b(){}var t={},y=(i(t,o,function(){return this}),Object.getPrototypeOf),y=y&&y(y(x([]))),w=(y&&y!==e&&l.call(y,o)&&(t=y),b.prototype=v.prototype=Object.create(t));function M(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function S(a,u){var t;s(this,"_invoke",{value:function(n,o){function e(){return new u(function(e,t){!function t(e,n,o,r){var i,e=d(a[e],a,n);if("throw"!==e.type)return(n=(i=e.arg).value)&&"object"==j(n)&&l.call(n,"__await")?u.resolve(n.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):u.resolve(n).then(function(e){i.value=e,o(i)},function(e){return t("throw",e,o,r)});r(e.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}})}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function x(t){if(t||""===t){var n,e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=c,e.done=!0,e}).next=e}throw new TypeError(j(t)+" is not iterable")}return s(w,"constructor",{value:m.prototype=b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=i(b,r,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,r,"GeneratorFunction")),e.prototype=Object.create(w),e},a.awrap=function(e){return{__await:e}},M(S.prototype),i(S.prototype,n,function(){return this}),a.AsyncIterator=S,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new S(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},M(w),i(w,r,"Generator"),i(w,o,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=Object(e),o=[];for(t in n)o.push(t);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=c)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var o=this;function e(e,t){return i.type="throw",i.arg=n,o.next=e,t&&(o.method="next",o.arg=c),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&l.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}var i=(r=r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc?null:r)?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,o,r=this.tryEntries[t];if(r.tryLoc===e)return"throw"===(n=r.completion).type&&(o=n.arg,P(r)),o}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=c),h}},a}D.exports=e,D.exports.__esModule=!0,D.exports.default=D.exports}),s=(p(l),l()),v=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}var ee=Object.prototype.toString;function te(e){return ee.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===ee.call(e)}var ne=weex.config.env.appVersion;function oe(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:ne;if(t===e)return!0;for(var n=t.split("."),o=e.split("."),r=Math.max(n.length,o.length),i=0;i<r;i++){var a=~~o[i],u=~~n[i];if(a<u)return!0;if(u<a)return!1}return!1}function re(e,t){t=t||weex.config.bundleUrl;var n=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){e=e.split("=");n[e[0]]=e[1]}),e?n[e]:n}function b(e){try{e=JSON.parse(e)}catch(e){}return e}var V={_typeof:te,isDate:function(e){return"[object Date]"===ee.call(e)},isPlainObject:m,deepMerge:function o(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(n){n&&Object.keys(n).forEach(function(e){var t=n[e];m(t)?m(r[e])?r[e]=o(r[e],t):r[e]=o(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:oe,getParamsFromUrl:re,JSONFormat:b},ie=f(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}),ae=(p(ie),f(function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports})),ue=(p(ae),f(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports})),ce=(p(ue),f(function(e){e.exports=function(e,t){var n;if(e)return"string"==typeof e?ue(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports})),le=(p(ce),f(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports})),d=(p(le),p(f(function(e){e.exports=function(e,t){return ie(e)||ae(e,t)||ce(e,t)||le()},e.exports.__esModule=!0,e.exports.default=e.exports})),re(weex.config.bundleUrl,"isDummy")||!1),Q="web"!==weex.config.env.platform.toLowerCase()&&d,y=weex.requireModule("bridgeModule"),se=weex.requireModule("routerModule"),de=weex.requireModule("singleBlueToothModule"),pe=weex.requireModule("blueToothMeshModule"),fe=weex.requireModule("globalEvent"),ge=weex.requireModule("aiSpeechModule"),he=weex.requireModule("nfcModule"),ve=weex.requireModule("configCommonModule"),me=weex.requireModule("clipboard"),w=weex.requireModule("midea-audio"),be=weex.requireModule("picker"),ye=weex.requireModule("router"),we=weex.requireModule("blueToothModule"),Me=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),Se=weex.requireModule("infraredModule");function M(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),y&&y.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function S(e,t){var o=0<arguments.length&&void 0!==e?e:j("params"),e=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===e?"commandInterface":e;return new Promise(function(t,n){console.log("params",o,r),y[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function Oe(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){y.hasOwnProperty(n)?y[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function O(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){we&&we.hasOwnProperty(n)?we[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function P(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;oe("5.9.0")&&(de&&de.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),de[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(e),n(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(o)),e="singleBlueToothModule 缺少 ".concat(o),n({status:-1,message:e})))})}function N(e,t,n,o){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?n:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,n){ye&&ye[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function Pe(n,o){return new Promise(function(t,e){pe&&pe.hasOwnProperty(n)?pe[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function x(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){ge[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)})})}function Ne(e,t,n){fe&&fe[e]?fe[e](t,function(e){n&&n(b(e))}):(t="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:t}))}function D(o,r,i,a){return new Promise(function(t,n){var e;he&&he.hasOwnProperty(o)?he[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function xe(o,r,i,a){return new Promise(function(t,n){var e;ve&&ve.hasOwnProperty(o)?ve[o](JSON.stringify(r),function(e){i&&i(b(e)),t(b(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function j(e){var n=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(n),t(n)}catch(e){console.error(e),t(e)}})}function De(e,o){return new Promise(function(t,n){me&&(o?me[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):me[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function I(e,o){return new Promise(function(t,n){w&&(o?w[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):w[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function T(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;oe("5.9.0")&&(Me&&Me.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),Me[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(b(e)),t(b(e))},function(e){console.log("jslog:error",e),a&&a(b(e)),n(b(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function je(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){Se.hasOwnProperty(n)?Se[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function Ie(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Te=weex.requireModule("modal"),Ae=weex.requireModule("navigator"),ke=weex.requireModule("stream"),k=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),z=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.5.11",isDummy:Q,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,n=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{n?k.toast({message:e,duration:t||1.5,bgStyle:n}):k.toast({message:e,duration:t||1.5})}catch(n){Te.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===X(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}Te.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){Te.confirm({message:e,okTitle:2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",cancelTitle:3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消"},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Ae.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||k.killKeyboard()},getUserInfo:function(){return M({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return M({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return M(A({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return M(A({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceAliasName:function(){return M(A({operation:"getDeviceAliasName"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return M(A({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return M(A({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{k.getDevicePluginInfo({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return M(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return M(A(A({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{k.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return M(A({operation:"callTel"},e))},callTelList:function(e){return M({operation:"callTelList",params:e})},setBackHandle:function(){return M({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return M(A({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return M({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return M({operation:"getNetworkStatus"})},shareMsg:function(e){return M({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{k.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){k.getWeexPath(function(e){t(L(e))})})},jumpNativePage:function(){return M(A({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return Oe("backToNative")},getWeexFunctionPath:function(){return M({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return M(A({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){return k.showControlPanelPage(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},checkCurrentNotificationStatus:function(){return M({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return M({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{k.getAuthToken({},function(e){t(L(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return M(A({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return M({operation:"stopRecordAudio"})},takePhoto:function(){return M(A({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return M(A({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return M(A({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return M(A({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return M(A({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return M(A({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return M(A({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return M(A({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return M(A({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"getGPSInfo"},e),t,n)},geoCode:function(){return M(A({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return M(A({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return M({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return M(A({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){k.interfaceForThirdParty.apply(k,arguments)},sendCentralCloudRequest:function(o){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,n){var e;1!=r.isDummy&&((e=i).url=o,a.isShowLoading&&r.showLoading(),k.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),n(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(n,o){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=(e=>{var t,n="";for(t in e)"function"!=typeof e[t]&&(n+="&"+t+"="+encodeURI(e[t]));return n.substring(1)})(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),ke.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),n(t)):("string"==typeof e&&(e=JSON.parse(e)),o(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,n){var e,o;null==r?n("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(o=Object.create(null)).commandId=e,o.messageBody=r,i&&(o.deviceId=i),k.startCmdProcess(JSON.stringify(o),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}n(e)}))})},sendElectronicRequest:function(e){return Oe("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?k.requestDataTransmit(JSON.stringify(e),function(e){t(L(e))},function(e){n(e)}):n("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),M(A(A({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):M(A(A({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var o=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,n){r&&o.showLoading();try{k.getTXList({},function(e){r&&o.hideLoading(),t(L(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFile"},e),t,n)},uploadImgFileToMas:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return M(A({operation:"uploadImgFileToMas"},e),t,n)},setIdleTimerDisabled:function(){return M({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{k.downLoadDevicePlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{k.getDeviceOnlineStatus(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{k.loadingLatestPlugin(e,function(e){t(L(e))},function(e){t(e)})}catch(e){n(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.method,n=n.headers,r={url:e,method:void 0===o?"POST":o,headers:void 0===n?{"Content-Type":"application/json;charset=utf-8"}:n,data:A({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,n){console.log("params:".concat(JSON.stringify(r,null,4))),k.sendCentralCloundRequest(r,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return k.updateAutoList()}});function L(e){try{e=JSON.parse(e)}catch(e){}return e}function Le(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}c={hideKeyboard:function(){return M({operation:"hideKeyboard",params:{}})},showLoading:function(){return M({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return M({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return M({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return M({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return M({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return M({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return M({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideStatusBar:function(){return M({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getStatusBar:function(){return M({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return M({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},hideNavigationBar:function(){return M({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showConfirmView:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Le(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},popupGeneralList:function(){return M({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){be&&be[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},likeAnimation:function(){return M({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},dismissFullPage:function(){return M({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllBarHeight:function(){return M({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function Ce(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ce(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}l={errorCaptured:function(t){return $(v.mark(function e(){return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var n={name:"zoiew"},o={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),e=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(e),new Promise(function(e,t){e(Be(Be({},n),o))})},canIUse:function(){return M({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()}})},getSystemInfo:function(){return M({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return M({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return M({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addEventListener:function(e,t){return Ne("addEventListener",e,t)},removeEventListener:function(e,t){return Ne("removeEventListener",e,t)},getPluginInfo:function(){return M({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return M({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return M({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return M({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(n,o,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),o&&"function"!=typeof o?(i=o,o=null):r&&"function"!=typeof r&&(i=r,r=null),n=JSON.stringify(n);e=weex.requireModule(i);e&&e.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(),t(e)},function(e){r&&r(),t(e)})})}};function Ee(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Re=weex.requireModule("navigator"),Fe={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=(t=0<(t=weex.config.bundleUrl).indexOf("?")?t.substring(0,t.indexOf("?")):t).split("/").slice(0,-1).join("/");return e?t+"/":t},push:function(){var l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:j("url"),s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},p=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a=Object.create(null),u="";if("string"===te(l)?(a.url=l,a.options=s,a.params=d,a.callback=p):m(l)&&(n=l.url,o=void 0===(o=l.options)?{animated:"true",replace:"false"}:o,r=void 0===(r=l.params)?{}:r,i=void 0===(i=l.callback)?function(){}:i,a.url=n,a.options=o,a.params=r,a.callback=i),a.params)for(var c in a.params)u+=c+"="+encodeURIComponent(a.params[c])+"&";u=a.url.indexOf("?")?a.url+"?"+u.slice(0,-1):a.url+u.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(u)||(u=Fe.getContextPath()+u);try{Re.push(qe({url:u},a.options),p),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof n&&(o=n,n=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{Re.pop(qe({animated:"true",level:1},n),o)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){se&&se.hasOwnProperty(n)&&se[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return M(qe({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},goToPage:function(){return M({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},reload:function(){return M({operation:"reload"})},openURL:function(){return M({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},setMiniAppCache:function(){return N("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return N("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return N("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return N("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return N("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return N("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return M({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},s={getBatteryInfo:function(){return M({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return M({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return M({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return M({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return M({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return M({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return M({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return M({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return M({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return M({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return M({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return M({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return M({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return M({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return M({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},vibrate:function(){return M({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAppInfo:function(){return M({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return M({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return M({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return M({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return M({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return M({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function We(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var d={scanCode:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?We(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},Q={encrypt:function(){return M({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return M({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return M({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return M({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},encodeAES128:function(){return M({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},_e={saveFile:function(){return M({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return M({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return M({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return M({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return M({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return M({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return M({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return M({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return M({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return M({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return M({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return M({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return M({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return M({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return M({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ue={downloadFile:function(){return M({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return M({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return M({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return M({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return M({operation:"resetCookie",params:e})}},Je={getLocation:function(){return M({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return M({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return M({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return M({operation:"getTodaySteps"})}},Ge={getBluetoothStatus:function(){return M({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return M({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return M({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return M({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return M({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return M({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return M({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return M({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return M({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return P("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return P("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return P("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return P("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return P("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return P("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaNotification:function(){return P("sendBlueLuaNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return P("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return P("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return P("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return P("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return P("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return P("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceData:function(){return P("sendSourceData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendSourceDataNotification:function(){return P("sendSourceDataNotification",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},enableGatewayProxy:function(){return P("enableGatewayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disableGateayProxy:function(){return P("disableGateayProxy",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceProxyStatus:function(){return P("queryDeviceProxyStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return Pe("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return Pe("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return O("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return O("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return O("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return O("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return P("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return P("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryAuthStatus:function(){return P("queryAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startAuthenticRight:function(){return P("startAuthenticRight",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},He={chooseImage:function(){return M({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return M({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return M({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return M({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return M({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return M({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return M({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return M({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return M({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return M({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return M({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return M({operation:"pauseRecord"})},resumeRecord:function(){return M({operation:"resumeRecord"})},stopRecord:function(){return M({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return M({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return M({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return M({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return M({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return M({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return I("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return I("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){var n,o;n=e,o=t,w&&w.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)})},getDuration:function(){return I("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return I("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return I("pause")},stop:function(){return I("stop")},recordVideo:function(){return M({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return M({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return M({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ve={getWifiList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return M({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return M({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return M({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Qe={startSpeechMonitor:function(){return x("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return x("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return x("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return x("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return x("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},ze=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Ke(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var $e={reportError:function(e){var t=e.stack,e=e.extraInfo;return M({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===e?{message:"weex error: no extra information !"}:e})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},Xe={checkAndRequestPermission:function(){return M({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return M({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Ye={getNfcInfo:function(){return D("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return D("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return D("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return D("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return D("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return D("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return D("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return D("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},Ze={configDevice:function(){return xe("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return xe("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},changeBleBindToWiFiConfig:function(){return xe("changeBleBindToWiFiConfig",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function et(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nt={getWeatherInfo:function(){return M(tt({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAppWeatherInfo:function(){return M(tt({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}};function ot(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var it={canUseSiriShortcut:function(){return M({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return M({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllSiriShortcuts:function(){return M({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return M({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},addInstructToSiriShortcut:function(){return M(rt({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAllSiriInstructShortcuts:function(){return M(rt({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},editSiriInstructShortcut:function(){return M(rt({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}},at={setString:function(){return De("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},getString:function(){return De("getString")}},ut={prepareSpeech:function(){return x("prepareSpeech")},startSpeechToText:function(){return x("startSpeechToText")},startTextToSpeech:function(){return x("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},stopSpeechToText:function(){return x("stopSpeechToText")},stopTextToSpeech:function(){return x("stopTextToSpeech")}},ct={getLoginInfo:function(){return M({operation:"getLoginInfo"})},getUserInfo:function(){return M({operation:"getUserInfo"})},logout:function(){return M({operation:"logout"})},getUnionId:function(){return M({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAuthToken:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return S(0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return M({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},lt={getHomeInfo:function(){return M({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllHomeInfoList:function(){return M({operation:"getAllHomeInfoList"})},createHome:function(){return M({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateHomeInfo:function(){return M({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteHome:function(){return M({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getHomeMemberList:function(){return M({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},inviteToHome:function(){return M({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getRoomInfo:function(){return M({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},getAllRoomInfoList:function(){return M({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},createRoom:function(){return M({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},deleteRoom:function(){return M({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},updateRoomInfo:function(){return M({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},refreshHomeInfo:function(){return M({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}};function st(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var dt={pay:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return M({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return T("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return T("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return T("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return T("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return T("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return T("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return T("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return T("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return T("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function pt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ft={luaQuery:function(){return M(C({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return M(C({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return M(C({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return M(C({operation:"getDeviceList"},e))},toConfigDevice:function(e){return D("toConfigDevice",e)},getDeviceConnectInfo:function(e){return D("getDeviceConnectInfo",e)},addDevice:function(e){return D("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return M(C({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return M({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return M({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return M({operation:"getDeviceUUID"})}};function gt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var ht={checkInstalledThirdPlatform:function(e){return M({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return Oe("shareCustomPanel",e)},sharePeerToPeer:function(e){return M({operation:"sharePeerToPeer",params:e})}},vt={cameraMatch:function(){return je("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return je("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},mt={openMiniProgram:function(){return M({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2PerformAction:function(){return M({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryAllProperties:function(){return M({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2QueryProperty:function(){return M({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2SetupProperty:function(){return M({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})},tslV2BatchQueryProperty:function(){return M({operation:"tslV2BatchQueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()})}},bt={subscribeMessage:function(){return M({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},yt=weex.requireModule("bridgeModule"),wt=weex.requireModule("storage"),Mt=(weex.requireModule("modal"),{});function St(e,t){wt&&wt.getItem(e,t)}function Ot(n,o){var r;void 0!==o&&(r={},St("WEEX_CANIUSE_MAP",function(e){var t;"undefined"!==e.data?(r=JSON.parse(e.data))[n]=o:r[n]=o,e=JSON.stringify(r),"object"==X(e)&&(t=JSON.stringify(e)),wt.setItem("WEEX_CANIUSE_MAP",t||e,function(e){console.log("set success")})}))}function Pt(i,a){return new Promise((n=$(v.mark(function e(t,o){var r;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r={},void 0===Mt[i])?e.next=5:(r=Mt[i],e.next=8);break;case 5:e.next=7;var n={operation:"canIUse",params:{api:i}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),yt&&yt.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})});case 7:r=e.sent;case 8:!0===r.enable||!0===r?(Ot(i,r.enable),t(!0)):(a=a?a:o)({code:-13,msg:i+"接口不支持"});case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}St("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(Mt=JSON.parse(e.data))});var Nt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless","getGpsInfo"];function xt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Dt(e){e.prototype.$bridge=jt}var z=B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B({},z),l),Fe),Ge),s),d),Q),_e),Ue),Je),He),c),Ve),Qe),ze),$e),Xe),Ye),Ze),nt),it),at),ut),ct),lt),dt),ft),ht),vt),mt),bt),jt=new Proxy(z,{get:function(e,i,t){var a=e[i];return"function"==typeof a?$(v.mark(function e(){var t,n,o,r=arguments;return v.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,Nt.includes(i)){e.next=4;break}return e.next=4,Pt(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject({code:-13,msg:i+"接口不支持"}));case 9:for(t=r.length,n=new Array(t),o=0;o<t;o++)n[o]=r[o];return e.abrupt("return",a.apply(this,n));case 11:case"end":return e.stop()}},e,this,[[0,6]])})):a}}),l={install:Dt};e.Bridge=jt,e.Utils=V,e.default=l,e.install=Dt,Object.defineProperty(e,"__esModule",{value:!0})});
748
748
  //# sourceMappingURL=dolphin-native-bridge.umd.js.map
749
749
 
750
750
 
@@ -28366,7 +28366,7 @@ exports.default = {
28366
28366
  _modalStyle: function _modalStyle() {
28367
28367
  return _extends({
28368
28368
  borderRadius: this._isColmo ? '0px' : '26px',
28369
- backgroundColor: this._isColmo ? '#1c1e21' : this._isDiablo ? '#1e2326' : '#e9eaeb'
28369
+ backgroundColor: this._isColmo ? '#1c1e21' : this._isDiablo ? '#1e2326' : '#ffffff'
28370
28370
  }, this.modalStyle);
28371
28371
  },
28372
28372
  _modalFooterBorderColor: function _modalFooterBorderColor() {
@@ -39809,6 +39809,10 @@ exports.default = {
39809
39809
  phImgUrl: {
39810
39810
  type: String,
39811
39811
  default: PLACEHOLDERIMAGE
39812
+ },
39813
+ imageBgColor: {
39814
+ type: String,
39815
+ default: '#f2f2f2'
39812
39816
  }
39813
39817
  },
39814
39818
  data: function data() {
@@ -44122,7 +44126,7 @@ module.exports = {
44122
44126
  "width": "476",
44123
44127
  "height": "72",
44124
44128
  "lineHeight": "72",
44125
- "backgroundColor": "#ffffff",
44129
+ "backgroundColor": "#F6F7F9",
44126
44130
  "placeholderColor": "#8c8c8c",
44127
44131
  "border:active": "1px solid #9f9f9f !important"
44128
44132
  },
@@ -44647,8 +44651,7 @@ module.exports = {
44647
44651
  "borderRadius": "16"
44648
44652
  },
44649
44653
  "image": {
44650
- "borderRadius": "16",
44651
- "backgroundColor": "#f2f2f2"
44654
+ "borderRadius": "16"
44652
44655
  },
44653
44656
  "div_out": {
44654
44657
  "borderRadius": "16",
@@ -50342,7 +50345,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
50342
50345
  staticClass: ["image"],
50343
50346
  style: {
50344
50347
  width: _vm.imgWidth,
50345
- height: _vm.imgHeight
50348
+ height: _vm.imgHeight,
50349
+ backgroundColor: _vm.imageBgColor
50346
50350
  },
50347
50351
  attrs: {
50348
50352
  "resize": _vm.imgResize,