dolphin-weex-ui 2.2.7 → 2.2.8
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 +10 -0
- package/dist/index.native.js +60 -34
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +63 -37
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-status/colmo.css +1 -1
- package/packages/utils/touch.js +29 -3
package/dist/index.native.js
CHANGED
|
@@ -664,6 +664,14 @@ 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})});
|
|
668
|
+
//# sourceMappingURL=dolphin-native-bridge.umd.js.map
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
/***/ }),
|
|
672
|
+
/* 5 */
|
|
673
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
674
|
+
|
|
667
675
|
|
|
668
676
|
;(function(fn) {
|
|
669
677
|
if (true) {
|
|
@@ -1457,7 +1465,7 @@ module.exports = {
|
|
|
1457
1465
|
/******/ ])});;
|
|
1458
1466
|
|
|
1459
1467
|
/***/ }),
|
|
1460
|
-
/*
|
|
1468
|
+
/* 6 */
|
|
1461
1469
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1462
1470
|
|
|
1463
1471
|
"use strict";
|
|
@@ -1478,14 +1486,6 @@ Object.defineProperty(exports, 'default', {
|
|
|
1478
1486
|
|
|
1479
1487
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1480
1488
|
|
|
1481
|
-
/***/ }),
|
|
1482
|
-
/* 6 */
|
|
1483
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1484
|
-
|
|
1485
|
-
!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})});
|
|
1486
|
-
//# sourceMappingURL=dolphin-native-bridge.umd.js.map
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
1489
|
/***/ }),
|
|
1490
1490
|
/* 7 */
|
|
1491
1491
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1497,7 +1497,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1497
1497
|
value: true
|
|
1498
1498
|
});
|
|
1499
1499
|
|
|
1500
|
-
var _indexWeex = __webpack_require__(
|
|
1500
|
+
var _indexWeex = __webpack_require__(5);
|
|
1501
1501
|
|
|
1502
1502
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
1503
1503
|
|
|
@@ -1784,7 +1784,7 @@ var _dofOperationModal = __webpack_require__(81);
|
|
|
1784
1784
|
|
|
1785
1785
|
var _dofOperationModal2 = _interopRequireDefault(_dofOperationModal);
|
|
1786
1786
|
|
|
1787
|
-
var _dofOverlay = __webpack_require__(
|
|
1787
|
+
var _dofOverlay = __webpack_require__(6);
|
|
1788
1788
|
|
|
1789
1789
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
1790
1790
|
|
|
@@ -11091,6 +11091,8 @@ var _createClass = function () { function defineProperties(target, props) { for
|
|
|
11091
11091
|
|
|
11092
11092
|
var _direction = __webpack_require__(172);
|
|
11093
11093
|
|
|
11094
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
11095
|
+
|
|
11094
11096
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11095
11097
|
|
|
11096
11098
|
var Touch = exports.Touch = function () {
|
|
@@ -11102,12 +11104,25 @@ var Touch = exports.Touch = function () {
|
|
|
11102
11104
|
}]);
|
|
11103
11105
|
|
|
11104
11106
|
function Touch() {
|
|
11107
|
+
var _this = this;
|
|
11108
|
+
|
|
11105
11109
|
_classCallCheck(this, Touch);
|
|
11106
11110
|
|
|
11107
11111
|
this.startX = 0;
|
|
11108
11112
|
this.startY = 0;
|
|
11113
|
+
this.startX = 0;
|
|
11114
|
+
this.moveStartX = 0;
|
|
11115
|
+
this.moveStartY = 0;
|
|
11109
11116
|
this.deltaX = 0;
|
|
11110
11117
|
this.deltaY = 0;
|
|
11118
|
+
this.isIos = weex.config.env.platform == 'iOS' ? true : false;
|
|
11119
|
+
this.envConfig = weex.config.env;
|
|
11120
|
+
this.systemInfo = null;
|
|
11121
|
+
_dolphinNativeBridge.Bridge.getSystemInfo().then(function (res) {
|
|
11122
|
+
_this.systemInfo = res;
|
|
11123
|
+
}).catch(function (err) {
|
|
11124
|
+
// this.$toast(err)
|
|
11125
|
+
});
|
|
11111
11126
|
|
|
11112
11127
|
this.direction = _direction.Direction.NONE;
|
|
11113
11128
|
}
|
|
@@ -11128,6 +11143,8 @@ var Touch = exports.Touch = function () {
|
|
|
11128
11143
|
value: function reset() {
|
|
11129
11144
|
this.startX = 0;
|
|
11130
11145
|
this.startY = 0;
|
|
11146
|
+
this.moveStartX = 0;
|
|
11147
|
+
this.moveStartY = 0;
|
|
11131
11148
|
this.deltaX = 0;
|
|
11132
11149
|
this.deltaY = 0;
|
|
11133
11150
|
this.direction = _direction.Direction.NONE;
|
|
@@ -11142,15 +11159,24 @@ var Touch = exports.Touch = function () {
|
|
|
11142
11159
|
value: function start(evt) {
|
|
11143
11160
|
var e = this.getTouchByEvent(evt);
|
|
11144
11161
|
this.reset();
|
|
11145
|
-
|
|
11162
|
+
// screenX 触摸点相对于屏幕左侧边缘的 X 轴坐标
|
|
11163
|
+
// pageX 触摸点相对于文档左侧边缘的 X 轴坐标
|
|
11164
|
+
this.moveStartX = e.screenX;
|
|
11165
|
+
this.moveStartY = e.screenY;
|
|
11166
|
+
// 判断为折叠机
|
|
11167
|
+
var isFoldAble = this.systemInfo.screenWidth > this.envConfig.deviceWidth ? true : false;
|
|
11168
|
+
|
|
11169
|
+
// ios或正常屏机型,保持位移X用screenX
|
|
11170
|
+
// 折叠机展开则用计算出实际x坐标大小
|
|
11171
|
+
this.startX = this.isIos || !isFoldAble ? e.screenX : e.screenX - (this.systemInfo.screenWidth - this.envConfig.deviceWidth) / this.envConfig.scale;
|
|
11146
11172
|
this.startY = e.screenY;
|
|
11147
11173
|
}
|
|
11148
11174
|
}, {
|
|
11149
11175
|
key: 'move',
|
|
11150
11176
|
value: function move(evt) {
|
|
11151
11177
|
var e = this.getTouchByEvent(evt);
|
|
11152
|
-
this.deltaX = e.screenX - this.
|
|
11153
|
-
this.deltaY = e.screenY - this.
|
|
11178
|
+
this.deltaX = e.screenX - this.moveStartX;
|
|
11179
|
+
this.deltaY = e.screenY - this.moveStartY;
|
|
11154
11180
|
if (this.isUndetermined) {
|
|
11155
11181
|
this.direction = this.resolveDirection(this.offsetX, this.offsetY);
|
|
11156
11182
|
}
|
|
@@ -17084,9 +17110,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
17084
17110
|
|
|
17085
17111
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
17086
17112
|
|
|
17087
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
17113
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
17088
17114
|
|
|
17089
|
-
var _dofOverlay = __webpack_require__(
|
|
17115
|
+
var _dofOverlay = __webpack_require__(6);
|
|
17090
17116
|
|
|
17091
17117
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
17092
17118
|
|
|
@@ -21730,7 +21756,7 @@ var _dofImage = __webpack_require__(11);
|
|
|
21730
21756
|
|
|
21731
21757
|
var _dofImage2 = _interopRequireDefault(_dofImage);
|
|
21732
21758
|
|
|
21733
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
21759
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
21734
21760
|
|
|
21735
21761
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21736
21762
|
|
|
@@ -21885,11 +21911,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
21885
21911
|
|
|
21886
21912
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
21887
21913
|
|
|
21888
|
-
var _dofOverlay = __webpack_require__(
|
|
21914
|
+
var _dofOverlay = __webpack_require__(6);
|
|
21889
21915
|
|
|
21890
21916
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
21891
21917
|
|
|
21892
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
21918
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
21893
21919
|
|
|
21894
21920
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21895
21921
|
|
|
@@ -23197,7 +23223,7 @@ var _bindEnv = __webpack_require__(7);
|
|
|
23197
23223
|
|
|
23198
23224
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
23199
23225
|
|
|
23200
|
-
var _indexWeex = __webpack_require__(
|
|
23226
|
+
var _indexWeex = __webpack_require__(5);
|
|
23201
23227
|
|
|
23202
23228
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
23203
23229
|
|
|
@@ -24298,7 +24324,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
24298
24324
|
value: true
|
|
24299
24325
|
});
|
|
24300
24326
|
|
|
24301
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
24327
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
24302
24328
|
|
|
24303
24329
|
var _dofIconfont = __webpack_require__(2);
|
|
24304
24330
|
|
|
@@ -25458,7 +25484,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
25458
25484
|
value: true
|
|
25459
25485
|
});
|
|
25460
25486
|
|
|
25461
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
25487
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
25462
25488
|
|
|
25463
25489
|
exports.default = {
|
|
25464
25490
|
props: {
|
|
@@ -26593,7 +26619,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
26593
26619
|
|
|
26594
26620
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
26595
26621
|
|
|
26596
|
-
var _dofOverlay = __webpack_require__(
|
|
26622
|
+
var _dofOverlay = __webpack_require__(6);
|
|
26597
26623
|
|
|
26598
26624
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
26599
26625
|
|
|
@@ -27470,7 +27496,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
27470
27496
|
//
|
|
27471
27497
|
//
|
|
27472
27498
|
|
|
27473
|
-
var _dofOverlay = __webpack_require__(
|
|
27499
|
+
var _dofOverlay = __webpack_require__(6);
|
|
27474
27500
|
|
|
27475
27501
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
27476
27502
|
|
|
@@ -29079,7 +29105,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
29079
29105
|
value: true
|
|
29080
29106
|
});
|
|
29081
29107
|
|
|
29082
|
-
var _indexWeex = __webpack_require__(
|
|
29108
|
+
var _indexWeex = __webpack_require__(5);
|
|
29083
29109
|
|
|
29084
29110
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
29085
29111
|
|
|
@@ -30847,7 +30873,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
30847
30873
|
|
|
30848
30874
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
30849
30875
|
|
|
30850
|
-
var _dofOverlay = __webpack_require__(
|
|
30876
|
+
var _dofOverlay = __webpack_require__(6);
|
|
30851
30877
|
|
|
30852
30878
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
30853
30879
|
|
|
@@ -30855,7 +30881,7 @@ var _utils = __webpack_require__(1);
|
|
|
30855
30881
|
|
|
30856
30882
|
var _utils2 = _interopRequireDefault(_utils);
|
|
30857
30883
|
|
|
30858
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
30884
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
30859
30885
|
|
|
30860
30886
|
var _colmo = __webpack_require__(0);
|
|
30861
30887
|
|
|
@@ -32171,7 +32197,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
32171
32197
|
value: true
|
|
32172
32198
|
});
|
|
32173
32199
|
|
|
32174
|
-
var _index = __webpack_require__(
|
|
32200
|
+
var _index = __webpack_require__(5);
|
|
32175
32201
|
|
|
32176
32202
|
var _index2 = _interopRequireDefault(_index);
|
|
32177
32203
|
|
|
@@ -33929,11 +33955,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
33929
33955
|
|
|
33930
33956
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
33931
33957
|
|
|
33932
|
-
var _dofOverlay = __webpack_require__(
|
|
33958
|
+
var _dofOverlay = __webpack_require__(6);
|
|
33933
33959
|
|
|
33934
33960
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
33935
33961
|
|
|
33936
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
33962
|
+
var _dolphinNativeBridge = __webpack_require__(4);
|
|
33937
33963
|
|
|
33938
33964
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33939
33965
|
|
|
@@ -35400,7 +35426,7 @@ var _bindEnv = __webpack_require__(7);
|
|
|
35400
35426
|
|
|
35401
35427
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
35402
35428
|
|
|
35403
|
-
var _indexWeex = __webpack_require__(
|
|
35429
|
+
var _indexWeex = __webpack_require__(5);
|
|
35404
35430
|
|
|
35405
35431
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
35406
35432
|
|
|
@@ -37733,7 +37759,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
37733
37759
|
value: true
|
|
37734
37760
|
});
|
|
37735
37761
|
|
|
37736
|
-
var _indexWeex = __webpack_require__(
|
|
37762
|
+
var _indexWeex = __webpack_require__(5);
|
|
37737
37763
|
|
|
37738
37764
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
37739
37765
|
|
|
@@ -38413,7 +38439,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
38413
38439
|
value: true
|
|
38414
38440
|
});
|
|
38415
38441
|
|
|
38416
|
-
var _indexWeex = __webpack_require__(
|
|
38442
|
+
var _indexWeex = __webpack_require__(5);
|
|
38417
38443
|
|
|
38418
38444
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
38419
38445
|
|
|
@@ -39690,7 +39716,7 @@ var _bindEnv = __webpack_require__(7);
|
|
|
39690
39716
|
|
|
39691
39717
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
39692
39718
|
|
|
39693
|
-
var _indexWeex = __webpack_require__(
|
|
39719
|
+
var _indexWeex = __webpack_require__(5);
|
|
39694
39720
|
|
|
39695
39721
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
39696
39722
|
|