dolphin-weex-ui 2.2.16 → 2.2.18

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,15 @@
1
1
  # 升级日志
2
2
 
3
+ ## 2.2.18
4
+
5
+ - [ ! ] 依赖升级(兼容鸿蒙)
6
+ - [ ! ] date: 2025/04/23
7
+
8
+ ## 2.2.17
9
+
10
+ - [ ! ] 优化dof-tab-page(兼容鸿蒙)
11
+ - [ ! ] date: 2025/04/23
12
+
3
13
  ## 2.2.16
4
14
 
5
15
  - [ ! ] 解决dof-rate 增加style标签scoped属性(兼容鸿蒙)
@@ -664,7 +664,7 @@ module.exports = {
664
664
  /* 4 */
665
665
  /***/ (function(module, exports, __webpack_require__) {
666
666
 
667
- !function(e,t){ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).dolphinNativeBridge={})}(this,function(e){"use strict";function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e),0}u.done?t(c):Promise.resolve(c).then(o,r)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=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)})}};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var s=t(function(e){var t=function(a){var e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function u(e,t,n,o){var i,a,u,c,r=t&&t.prototype instanceof d?t:d,s=Object.create(r.prototype),l=new w(o||[]);return s._invoke=(i=e,a=n,u=l,c="suspendedStart",function(e,t){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===e)throw t;return S()}for(u.method=e,u.arg=t;;){var n=u.delegate;if(n){var o=function e(t,n){var o=t.iterator[n.method];if(void 0===o){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=p(o,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,u);if(o){if(o===f)continue;return o}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===c)throw c="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);c="executing";var r=p(i,a,u);if("normal"===r.type){if(c=u.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:u.done}}"throw"===r.type&&(c="completed",u.method="throw",u.arg=r.arg)}}),s}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var f={};function d(){}function i(){}function c(){}var s={};s[r]=function(){return this};var g=Object.getPrototypeOf,h=g&&g(g(P([])));h&&h!==e&&l.call(h,r)&&(s=h);var v=c.prototype=d.prototype=Object.create(s);function m(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function y(c,s){var t;this._invoke=function(n,o){function e(){return new s(function(e,t){!function t(e,n,o,r){var i=p(c[e],c,n);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&l.call(u,"__await")?s.resolve(u.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):s.resolve(u).then(function(e){a.value=e,o(a)},function(e){return t("throw",e,o,r)})}r(i.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}}function b(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return(i.prototype=v.constructor=c).constructor=i,c[o]=i.displayName="GeneratorFunction",a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,o in e||(e[o]="GeneratorFunction")),e.prototype=Object.create(v),e},a.awrap=function(e){return{__await:e}},m(y.prototype),y.prototype[n]=function(){return this},a.AsyncIterator=y,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new y(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},m(v),v[o]="Generator",v[r]=function(){return this},v.toString=function(){return"[object Generator]"},a.keys=function(n){var o=[];for(var e in n)o.push(e);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=P,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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=void 0),!!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 new 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}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):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),f},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),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o,r=n.completion;return"throw"===r.type&&(o=r.arg,O(n)),o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},a}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}),a=t(function(t){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n}),n=Object.prototype.toString;function v(e){return n.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===n.call(e)}var l=weex.config.env.appVersion;function p(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:l;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 r(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){var n=e.split("=");o[n[0]]=n[1]}),e?o[e]:o}function f(e){try{e=JSON.parse(e)}catch(e){}return e}var i={_typeof:v,isDate:function(e){return"[object Date]"===n.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:p,getParamsFromUrl:r,JSONFormat:f},d=r(weex.config.bundleUrl,"isDummy")||!1,g="web"===weex.config.env.platform.toLowerCase()||d,h=weex.requireModule("bridgeModule"),y=weex.requireModule("routerModule"),b=weex.requireModule("singleBlueToothModule"),O=weex.requireModule("blueToothMeshModule"),w=weex.requireModule("globalEvent"),P=weex.requireModule("aiSpeechModule"),S=weex.requireModule("nfcModule"),M=weex.requireModule("configCommonModule"),j=weex.requireModule("clipboard"),D=weex.requireModule("midea-audio"),x=weex.requireModule("picker"),I=weex.requireModule("router"),A=weex.requireModule("blueToothModule"),L=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),T=weex.requireModule("infraredModule");function N(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),h&&h.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function k(e,t){var o=0<arguments.length&&void 0!==e?e:W("params"),n=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===n?"commandInterface":n;return new Promise(function(t,n){console.log("params",o,r),h[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function C(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){h.hasOwnProperty(n)?h[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function E(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){A&&A.hasOwnProperty(n)?A[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function B(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;p("5.9.0")&&(b&&b.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),b[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(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 q(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){I&&I[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function F(n,o){return new Promise(function(t,e){O&&O.hasOwnProperty(n)?O[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function R(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){P[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)})})}function J(e,t,n){var o;w&&w[e]?w[e](t,function(e){n&&n(f(e))}):(o="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:o}))}function U(o,r,i,a){return new Promise(function(t,n){var e;S&&S.hasOwnProperty(o)?S[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function H(o,r,i,a){return new Promise(function(t,n){var e;M&&M.hasOwnProperty(o)?M[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function W(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 V(e,o){return new Promise(function(t,n){j&&(o?j[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):j[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function G(e,o){return new Promise(function(t,n){D&&(o?D[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):D[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function _(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;p("5.9.0")&&(L&&L.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),L[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(e))},function(e){console.log("jslog:error",e),a&&a(f(e)),n(f(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function Q(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){T.hasOwnProperty(n)?T[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function z(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 K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var X=weex.requireModule("modal"),Y=weex.requireModule("navigator"),$=weex.requireModule("stream"),Z=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),ee=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.4.0",isDummy:g,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?Z.toast({message:e,duration:t||1.5,bgStyle:n}):Z.toast({message:e,duration:t||1.5})}catch(n){X.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===a(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}X.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消";X.confirm({message:e,okTitle:n,cancelTitle:o},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Y.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||Z.killKeyboard()},getUserInfo:function(){return N({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return N({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return N(K({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return N(K({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return N(K({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return N(K({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{Z.getDevicePluginInfo({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return N(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return N(K(K({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{Z.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return N(K({operation:"callTel"},e))},callTelList:function(e){return N({operation:"callTelList",params:e})},setBackHandle:function(){return N({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return N(K({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return N({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return N({operation:"getNetworkStatus"})},shareMsg:function(e){return N({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{Z.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){Z.getWeexPath(function(e){t(te(e))})})},jumpNativePage:function(){return N(K({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return C("backToNative")},getWeexFunctionPath:function(){return N({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return N(K({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Z.showControlPanelPage(e)},checkCurrentNotificationStatus:function(){return N({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return N({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{Z.getAuthToken({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return N(K({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return N({operation:"stopRecordAudio"})},takePhoto:function(){return N(K({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return N(K({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return N(K({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return N(K({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return N(K({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return N(K({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return N(K({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return N(K({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return N(K({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"getGPSInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},geoCode:function(){return N(K({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return N(K({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return N({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return N(K({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){Z.interfaceForThirdParty.apply(Z,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(),Z.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=function(e){var t="";for(var n in e)"function"!=typeof e[n]&&(t+="&"+n+"="+encodeURI(e[n]));return t.substring(1)}(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),$.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),Z.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 C("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?Z.requestDataTransmit(JSON.stringify(e),function(e){t(te(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(),N(K(K({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):N(K(K({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{Z.getTXList({},function(e){r&&o.hideLoading(),t(te(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFile"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},uploadImgFileToMas:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFileToMas"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},setIdleTimerDisabled:function(){return N({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{Z.downLoadDevicePlugin(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{Z.getDeviceOnlineStatus(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{Z.loadingLatestPlugin(e,function(e){t(te(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,r=void 0===o?"POST":o,i=n.headers,a={url:e,method:r,headers:void 0===i?{"Content-Type":"application/json;charset=utf-8"}:i,data:K({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(a,null,4))),Z.sendCentralCloundRequest(a,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return Z.updateAutoList()}});function te(e){try{e=JSON.parse(e)}catch(e){}return e}function ne(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 oe={hideKeyboard:function(){return N({operation:"hideKeyboard",params:{}})},showLoading:function(){return N({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return N({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return N({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return N({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return N({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return N({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return N({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideStatusBar:function(){return N({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getStatusBar:function(){return N({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return N({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideNavigationBar:function(){return N({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showConfirmView:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(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]:W()))},popupGeneralList:function(){return N({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){x&&x[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]:W())},likeAnimation:function(){return N({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},dismissFullPage:function(){return N({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllBarHeight:function(){return N({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function re(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 ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ae={errorCaptured:function(t){return u(s.mark(function e(){return s.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}),r=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(r),new Promise(function(e,t){e(ie(ie({},n),o))})},canIUse:function(){return N({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()}})},getSystemInfo:function(){return N({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return N({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return N({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addEventListener:function(e,t){return J("addEventListener",e,t)},removeEventListener:function(e,t){return J("removeEventListener",e,t)},getPluginInfo:function(){return N({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return N({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return N({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return N({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(o,r,i){var a=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"),r&&"function"!=typeof r?(a=r,r=null):i&&"function"!=typeof i&&(a=i,i=null),o=JSON.stringify(o);var n=weex.requireModule(a);n&&n.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}r&&r(),t(e)},function(e){i&&i(),t(e)})})}};function ue(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 ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ue(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var se=weex.requireModule("navigator"),le={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=weex.config.bundleUrl;return 0<t.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),t=t.split("/").slice(0,-1).join("/"),e?t+"/":t},push:function(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:W("url"),d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a,u,c,s=Object.create(null),l="";if("string"===v(f)?(s.url=f,s.options=d,s.params=g,s.callback=h):m(f)&&(n=f.url,r=void 0===(o=f.options)?{animated:"true",replace:"false"}:o,a=void 0===(i=f.params)?{}:i,c=void 0===(u=f.callback)?function(){}:u,s.url=n,s.options=r,s.params=a,s.callback=c),s.params)for(var p in s.params)l+=p+"="+encodeURIComponent(s.params[p])+"&";l=s.url.indexOf("?")?s.url+"?"+l.slice(0,-1):s.url+l.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(l)||(l=le.getContextPath()+l);try{se.push(ce({url:l},s.options),h),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{se.pop(ce({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){y&&y.hasOwnProperty(n)&&y[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return N(ce({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},goToPage:function(){return N({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},reload:function(){return N({operation:"reload"})},openURL:function(){return N({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},setMiniAppCache:function(){return q("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return q("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return q("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return q("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return q("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return q("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return N({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},pe={getBatteryInfo:function(){return N({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return N({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return N({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return N({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return N({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 N({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return N({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return N({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return N({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return N({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return N({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return N({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return N({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return N({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return N({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},vibrate:function(){return N({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAppInfo:function(){return N({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return N({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return N({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return N({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return N({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return N({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function fe(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 de={scanCode:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fe(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]:{}))}},ge={encrypt:function(){return N({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return N({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return N({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return N({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},encodeAES128:function(){return N({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},he={saveFile:function(){return N({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return N({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return N({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return N({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return N({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return N({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return N({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return N({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return N({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return N({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return N({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return N({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return N({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return N({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return N({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)}},ve={downloadFile:function(){return N({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return N({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return N({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 N({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 N({operation:"resetCookie",params:e})}},me={getLocation:function(){return N({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return N({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return N({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return N({operation:"getTodaySteps"})}},ye={getBluetoothStatus:function(){return N({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return N({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return N({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return N({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return N({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return N({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 N({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return N({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return N({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return B("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return B("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return B("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return B("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return B("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return B("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return B("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return B("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 B("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return B("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return B("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return B("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return F("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return F("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return E("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return E("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return E("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return E("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return B("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return B("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},be={chooseImage:function(){return N({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return N({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return N({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return N({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return N({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return N({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return N({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return N({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return N({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return N({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return N({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 N({operation:"pauseRecord"})},resumeRecord:function(){return N({operation:"resumeRecord"})},stopRecord:function(){return N({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return N({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 N({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return N({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 N({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return N({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return G("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return G("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){return n=e,o=t,void(D&&D.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)}));var n,o},getDuration:function(){return G("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return G("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return G("pause")},stop:function(){return G("stop")},recordVideo:function(){return N({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 N({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return N({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Oe={getWifiList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},we={startSpeechMonitor:function(){return R("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return R("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return R("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return R("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return R("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},Pe=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Se(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 Me={reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(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]:{}))}},je={checkAndRequestPermission:function(){return N({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return N({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},De={getNfcInfo:function(){return U("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 U("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 U("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 U("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 U("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 U("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 U("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 U("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},xe={configDevice:function(){return H("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 H("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};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 Ae(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){o(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 Le={getWeatherInfo:function(){return N(Ae({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAppWeatherInfo:function(){return N(Ae({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}};function Te(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 Ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ke={canUseSiriShortcut:function(){return N({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return N({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllSiriShortcuts:function(){return N({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return N({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addInstructToSiriShortcut:function(){return N(Ne({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAllSiriInstructShortcuts:function(){return N(Ne({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},editSiriInstructShortcut:function(){return N(Ne({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}},Ce={setString:function(){return V("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},getString:function(){return V("getString")}},Ee={prepareSpeech:function(){return R("prepareSpeech")},startSpeechToText:function(){return R("startSpeechToText")},startTextToSpeech:function(){return R("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},stopSpeechToText:function(){return R("stopSpeechToText")},stopTextToSpeech:function(){return R("stopTextToSpeech")}},Be={getLoginInfo:function(){return N({operation:"getLoginInfo"})},getUserInfo:function(){return N({operation:"getUserInfo"})},logout:function(){return N({operation:"logout"})},getUnionId:function(){return N({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAuthToken:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return N({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},qe={getHomeInfo:function(){return N({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllHomeInfoList:function(){return N({operation:"getAllHomeInfoList"})},createHome:function(){return N({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateHomeInfo:function(){return N({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteHome:function(){return N({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getHomeMemberList:function(){return N({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},inviteToHome:function(){return N({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getRoomInfo:function(){return N({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllRoomInfoList:function(){return N({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},createRoom:function(){return N({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteRoom:function(){return N({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateRoomInfo:function(){return N({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},refreshHomeInfo:function(){return N({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}};function Fe(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 Re={pay:function(e){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return N({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return _("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return _("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 _("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 _("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 _("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 _("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 _("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 _("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 _("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 Je(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 Ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var He={luaQuery:function(){return N(Ue({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return N(Ue({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return N(Ue({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return N(Ue({operation:"getDeviceList"},e))},toConfigDevice:function(e){return U("toConfigDevice",e)},getDeviceConnectInfo:function(e){return U("getDeviceConnectInfo",e)},addDevice:function(e){return U("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return N(Ue({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return N({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return N({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return N({operation:"getDeviceUUID"})}};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 Ve={checkInstalledThirdPlatform:function(e){return N({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return N(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){o(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:"inviteFamily"},e))},shareCustomPanel:function(e){return C("shareCustomPanel",e)},sharePeerToPeer:function(e){return N({operation:"sharePeerToPeer",params:e})}},Ge={cameraMatch:function(){return Q("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 Q("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},_e={openMiniProgram:function(){return N({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2PerformAction:function(){return N({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryAllProperties:function(){return N({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryProperty:function(){return N({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2SetupProperty:function(){return N({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},Qe={subscribeMessage:function(){return N({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},ze=weex.requireModule("bridgeModule"),Ke=weex.requireModule("storage"),Xe=(weex.requireModule("modal"),{code:-13,msg:"接口不支持"}),Ye={};function $e(e,t){Ke&&Ke.getItem(e,t)}function Ze(o,r){var i;void 0!==r&&(i={},$e("WEEX_CANIUSE_MAP",function(e){var t,n;"undefined"!==e.data?(i=JSON.parse(e.data))[o]=r:i[o]=r,t=JSON.stringify(i),"object"==a(t)&&(n=JSON.stringify(t)),Ke.setItem("WEEX_CANIUSE_MAP",n||t,function(e){console.log("set success")})}))}function et(r,i){return new Promise((n=u(s.mark(function e(t,n){var o;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o={},void 0===Ye[r]){e.next=5;break}o=Ye[r],e.next=8;break;case 5:return e.next=7,function(e){var n={operation:"canIUse",params:{api:e}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),ze&&ze.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})})}(r);case 7:o=e.sent;case 8:!0===o.enable||!0===o?(Ze(r,o.enable),t(!0)):(i||(i=n),i(Xe));case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}$e("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(Ye=JSON.parse(e.data))});var tt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless"];function nt(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 ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function rt(e){e.prototype.$bridge=at}var it=ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot({},ee),ae),le),ye),pe),de),ge),he),ve),me),be),oe),Oe),we),Pe),Me),je),De),xe),Le),ke),Ce),Ee),Be),qe),Re),He),Ve),Ge),_e),Qe),at=new Proxy(it,{get:function(e,i,t){var a=e[i];return"function"==typeof a?u(s.mark(function e(){var t,n,o,r=arguments;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,tt.includes(i)){e.next=4;break}return e.next=4,et(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject(Xe));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}}),ut={install:rt};e.Bridge=at,e.Utils=i,e.default=ut,e.install=rt,Object.defineProperty(e,"__esModule",{value:!0})});
667
+ ((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(e,t,n,o,r){try{$midea_harmony_native.run(e,t,n,o,r)}catch(e){}}},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(e){r.callNative("bridgeModule.getWeexPath",{options:{}},e)},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:"weex获取全屏高度",enableFullScreenHeight:function(e){r.callNative("deviceInfo.enableFullScreenHeight",null,e)}},_={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)}},U={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 J,G,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)}},H={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)}},V={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)}},Q=new Proxy({},{get:(e,n)=>(e,t)=>{r.callNative("singleBlueToothModule."+n,{options:e},t)}}),z=Object.freeze({__proto__:null,clipboard:E,weexModule:r,deviceInfo:W,navigator:_,globalEvent:U,websocket:c,webview:q,picker:l,stream:s,lottieModule:H,bridgeModule:R,event:d,storage:V,singleBlueToothModule:Q,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)}}}),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()&&(J=["weexModule","globalEvent","clipboard","navigator","deviceInfo","websocket","picker","webview","stream","bridgeModule","lottieModule","singleBlueToothModule","nfcModule","storage","routerModule","router","modal","aiSpeechModule"],G=weex.requireModule.bind(weex),weex.requireModule=function(e){return J.includes(e)?z[e]||{}:G(e)});var K=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}),$=p(g),X=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}),Y=(p(X),f(function(e){var t=g.default;e.exports=function(e){e=X(e,"string");return"symbol"==t(e)?e:e+""},e.exports.__esModule=!0,e.exports.default=e.exports})),h=(p(Y),p(f(function(e){e.exports=function(e,t,n){return(t=Y(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 Z=Object.prototype.toString;function ee(e){return Z.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===Z.call(e)}var te=weex.config.env.appVersion;function ne(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:te;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 oe(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 H={_typeof:ee,isDate:function(e){return"[object Date]"===Z.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:ne,getParamsFromUrl:oe,JSONFormat:b},re=f(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}),ie=(p(re),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})),ae=(p(ie),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})),ue=(p(ae),f(function(e){e.exports=function(e,t){var n;if(e)return"string"==typeof e?ae(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)?ae(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports})),ce=(p(ue),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(ce),p(f(function(e){e.exports=function(e,t){return re(e)||ie(e,t)||ue(e,t)||ce()},e.exports.__esModule=!0,e.exports.default=e.exports})),oe(weex.config.bundleUrl,"isDummy")||!1),V="web"!==weex.config.env.platform.toLowerCase()&&d,y=weex.requireModule("bridgeModule"),le=weex.requireModule("routerModule"),se=weex.requireModule("singleBlueToothModule"),de=weex.requireModule("blueToothMeshModule"),pe=weex.requireModule("globalEvent"),fe=weex.requireModule("aiSpeechModule"),ge=weex.requireModule("nfcModule"),he=weex.requireModule("configCommonModule"),ve=weex.requireModule("clipboard"),w=weex.requireModule("midea-audio"),me=weex.requireModule("picker"),be=weex.requireModule("router"),ye=weex.requireModule("blueToothModule"),we=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),Me=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 Se(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){ye&&ye.hasOwnProperty(n)?ye[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;ne("5.9.0")&&(se&&se.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),se[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){be&&be[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function Oe(n,o){return new Promise(function(t,e){de&&de.hasOwnProperty(n)?de[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){fe[n](JSON.stringify(o),function(e){t(b(e))},function(e){t(e)})})}function Pe(e,t,n){pe&&pe[e]?pe[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;ge&&ge.hasOwnProperty(o)?ge[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 Ne(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="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 xe(e,o){return new Promise(function(t,n){ve&&(o?ve[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):ve[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;ne("5.9.0")&&(we&&we.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),we[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 De(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){Me.hasOwnProperty(n)?Me[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 je(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?je(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Ie=weex.requireModule("modal"),Te=weex.requireModule("navigator"),Ae=weex.requireModule("stream"),k=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),Q=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.5.7",isDummy:V,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){Ie.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===$(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}Ie.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){Ie.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(){Te.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 Se("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(),Ae.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 Se("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 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}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?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:"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){me&&me[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 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}function Ce(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}l={errorCaptured:function(t){return K(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(Ce(Ce({},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 Pe("addEventListener",e,t)},removeEventListener:function(e,t){return Pe("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 Be(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 Ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var qe=weex.requireModule("navigator"),Re={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"===ee(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=Re.getContextPath()+u);try{qe.push(Ee({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{qe.pop(Ee({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){le&&le.hasOwnProperty(n)&&le[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return M(Ee({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 Fe(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?Fe(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(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]:{}))}},V={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()})}},We={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)}},_e={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})}},Ue={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"})}},Je={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]:{})},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]:{})},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 Oe("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return Oe("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]:{})}},Ge={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]:{}})}},He={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]:{}})}},Ve={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]:{})}},Qe=(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 ze(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 Ke={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?ze(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(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]:{}))}},$e={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]:{}})}},Xe={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)}},Ye={configDevice:function(){return Ne("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 Ne("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 Ne("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 Ze(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 et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var tt={getWeatherInfo:function(){return M(et({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAppWeatherInfo:function(){return M(et({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}};function nt(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 ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var rt={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(ot({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},getAllSiriInstructShortcuts:function(){return M(ot({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))},editSiriInstructShortcut:function(){return M(ot({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:j()))}},it={setString:function(){return xe("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:j())},getString:function(){return xe("getString")}},at={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")}},ut={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()})}},ct={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 lt(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 st={pay:function(e){return M(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(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 dt(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?dt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var pt={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 ft(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 gt={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?ft(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return Se("shareCustomPanel",e)},sharePeerToPeer:function(e){return M({operation:"sharePeerToPeer",params:e})}},ht={cameraMatch:function(){return De("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 De("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},vt={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()})}},mt={subscribeMessage:function(){return M({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},bt=weex.requireModule("bridgeModule"),yt=weex.requireModule("storage"),wt=(weex.requireModule("modal"),{});function Mt(e,t){yt&&yt.getItem(e,t)}function St(n,o){var r;void 0!==o&&(r={},Mt("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"==$(e)&&(t=JSON.stringify(e)),yt.setItem("WEEX_CANIUSE_MAP",t||e,function(e){console.log("set success")})}))}function Ot(i,a){return new Promise((n=K(v.mark(function e(t,o){var r;return v.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 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),bt&&bt.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?(St(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}Mt("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"];function Nt(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?Nt(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function xt(e){e.prototype.$bridge=Dt}var Q=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({},Q),l),Re),Je),s),d),V),We),_e),Ue),Ge),c),He),Ve),Qe),Ke),$e),Xe),Ye),tt),rt),it),at),ut),ct),st),pt),gt),ht),vt),mt),Dt=new Proxy(Q,{get:function(e,i,t){var a=e[i];return"function"==typeof a?K(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,Pt.includes(i)){e.next=4;break}return e.next=4,Ot(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:xt};e.Bridge=Dt,e.Utils=H,e.default=l,e.install=xt,Object.defineProperty(e,"__esModule",{value:!0})});
668
668
  //# sourceMappingURL=dolphin-native-bridge.umd.js.map
669
669
 
670
670
 
@@ -50571,7 +50571,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
50571
50571
  }
50572
50572
  }
50573
50573
  }, [_c('div', {
50574
- class: ['tab-text-wrapper', , _vm.isSlot && 'minibar-inner']
50574
+ class: ['tab-text-wrapper', _vm.isSlot && 'minibar-inner']
50575
50575
  }, [_c('div', {
50576
50576
  staticClass: ["flexDirection"],
50577
50577
  class: [v.hasDotNum && 'dot-num-tip-right']