!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=50)}({0:function(t,e,n){"use strict";function i(t,e,n,i,o,r,a,u,s,l){var c,f="function"==typeof t?t.options:t;if(s){f.components||(f.components={});var d=Object.prototype.hasOwnProperty;for(var p in s)d.call(s,p)&&!d.call(f.components,p)&&(f.components[p]=s[p])}if(l&&("function"==typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(f.mixins||(f.mixins=[])).push(l)),e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),i&&(f.functional=!0),r&&(f._scopeId="data-v-"+r),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},f._ssrRegister=c):o&&(c=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(f.functional){f._injectStyles=c;var y=f.render;f.render=function(t,e){return c.call(e),y(t,e)}}else{var g=f.beforeCreate;f.beforeCreate=g?[].concat(g,c):[c]}return{exports:t,options:f}}n.d(e,"a",(function(){return i}))},1:function(t,e){t.exports={".content":{"":{display:["flex",0,0,16],flexDirection:["column",0,0,16],width:[94,0,0,16],marginLeft:[3,0,0,16],backgroundColor:["#FFFFFF",0,0,16],borderRadius:["16rpx",0,0,16],boxShadow:["0rpx 0rpx 10rpx 0rpx lightgray",0,0,16]}},".contentInRowL":{"":{display:["flex",0,0,17],flexDirection:["row",0,0,17],justifyContent:["flex-start",0,0,17]}},".contentInRowR":{"":{display:["flex",0,0,18],flexDirection:["row",0,0,18],justifyContent:["flex-end",0,0,18]}},".contentInRowC":{"":{display:["flex",0,0,19],flexDirection:["row",0,0,19],justifyContent:["center",0,0,19],alignItems:["center",0,0,19]}},".contentInRowS":{"":{display:["flex",0,0,20],flexDirection:["row",0,0,20],alignItems:["center",0,0,20],justifyContent:["space-between",0,0,20]}},".contentColumn":{"":{display:["flex",0,0,21],flexDirection:["column",0,0,21]}},".contentColumnC":{"":{display:["flex",0,0,22],flexDirection:["column",0,0,22],alignItems:["center",0,0,22],justifyContent:["center",0,0,22]}},".text1row":{"":{overflow:["hidden",0,0,23],textOverflow:["ellipsis",0,0,23]}},".text2row":{"":{overflow:["hidden",0,0,24],textOverflow:["ellipsis",0,0,24]}},"@VERSION":2}},11:function(t,e,n){"use strict";var i=n(34),o=n(14),r=n(0);var a=Object(r.a)(o.default,i.b,i.c,!1,null,null,"4ee20044",!1,i.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(a),e.default=a.exports},14:function(t,e,n){"use strict";var i=n(15),o=n.n(i);e.default=o.a},15:function(t,e,n){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t("MapBox-Plugin"),o=null,r={data:function(){return{latitude:0,longitude:0,navdata:"",firstopen:!0,isAndroid:!1,mapHeight:0}},onLoad:function(t){var e=uni.getSystemInfoSync();if(this.isAndroid="android"===e.platform.toLowerCase(),t.navdata&&(this.navdata=JSON.parse(t.navdata)),this.isAndroid?this.mapHeight=e.windowHeight*(750/e.windowWidth):this.mapHeight=e.windowHeight*(750/e.windowWidth)-e.statusBarHeight*(750/e.windowWidth),i.checkLocationPermission((function(t){n("log",t," at pages/map/mapboxView.nvue:37"),t.result})),!this.isAndroid){uni.onPushMessage((function(t){n("log","\u6536\u5230\u63a8\u9001\u6d88\u606fmap\uff1a",t," at pages/map/mapboxView.nvue:50");t.data.payload;if("receive"==t.type){plus.runtime.setBadgeNumber(0);var e=t.data.content;if(-1!=e.indexOf("Call"))return;if(-1!=e.indexOf("Message"))return}}))}},mounted:function(){o=this.$refs.RnaviView,this.isAndroid||this.getLocation()},onUnload:function(){this.isAndroid},methods:{i18n:function(t){return getApp().globalData.$t(t)},onViewCreated:function(){var t=this;o.setNaviCallback((function(e){"onLocationChanged"==e.type&&t.isAndroid?(t.latitude=e.data.latitude,t.longitude=e.data.longitude,t.firstopen&&(t.firstopen=!1,setTimeout((function(){t.guihualuji()}),2e3))):"onActiveNavigation"==e.type||"onInfoPanelHidden"==e.type&&(n("log","\u70b9\u51fb\u7ed3\u675f\u6309\u94ae"," at pages/map/mapboxView.nvue:105"),uni.navigateBack({}))}))},getLocation:function(){var t=this;uni.getLocation({type:"wgs84",geocode:"true",isHighAccuracy:"true",accuracy:"best",success:function(e){e.longitude>-180&&e.longitude<180&&e.latitude>-90&&e.latitude<90&&(t.latitude=e.latitude,t.longitude=e.longitude,t.firstopen&&(t.firstopen=!1,setTimeout((function(){t.guihualuji()}),1e3)))},fail:function(t){n("log","getLocation err"," at pages/map/mapboxView.nvue:135")}})},guihualuji:function(){var t=this;if(0!=this.latitude&&0!=this.longitude){n("log","guihualuji"," at pages/map/mapboxView.nvue:155");var e=uni.getStorageSync("navType");""!=e&&null!=e&&null!=e||(e="cycling",uni.setStorageSync("navType","cycling")),o.requestRoutes({coordinatesList:[{latitude:this.latitude,longitude:this.longitude},{latitude:this.navdata.latitude,longitude:this.navdata.longitude}],steps:!0,bannerInstructions:!0,voiceInstructions:!0,profile:e},(function(e){n("log",e," at pages/map/mapboxView.nvue:177"),"onRoutesReady"==e.type&&(o.startRoutePreview(),t.isAndroid||setTimeout((function(){t.startTripSession()}),3500))}))}else uni.showToast({title:t.i18n("api.dingweishibai"),icon:"none",duration:2500})},startTripSession:function(){n("log","startTripSession"," at pages/map/mapboxView.nvue:193"),o.startTripSession()}}};e.default=r}).call(this,n(8).default,n(2).default)},2:function(t,e,n){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function o(){return"string"==typeof __channelId__&&__channelId__}function r(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=arguments.length,e=new Array(t),n=0;n1){var l=u.pop();s=u.join("---COMMA---"),0===l.indexOf(" at ")?s+=l:s+="---COMMA---"+l}else s=u[0];console[a](s)},e.log=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i