'use strict';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};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};var env=document.documentElement.dataset.vanEnv||'dev';var SITE_HOSTS={new:{dev:'http://localhost:8102/#/home',stg:'https://bfe-epc-web-v-stg.huolala.cn/#/home',pre:'https://bfe-epc-web-v-pre.huolala.cn/#/home',prod:'https://bfe-epc-web-v.huolala.cn/#/home'},old:{dev:'http://localhost:8202/order/#/order/index',stg:'/order/#/order/index',pre:'/order/#/order/index',prod:'/order/#/order/index'}};var stgSecMap={stable:'https://bfe-epc-web-v-stg.huolala.cn/#/home','stable-1':'https://bfe-epc-web--stable-1-v-stg.huolala.cn/#/home','stable-2':'https://bfe-epc-web--stable-2-v-stg.huolala.cn/#/home','stable-3':'https://bfe-epc-web--stable-3-v-stg.huolala.cn/#/home','stable-4':'https://bfe-epc-web--stable-4-v-stg.huolala.cn/#/home'};var preSecMap={stable:'https://bfe-epc-web-v-pre.huolala.cn/#/home','stable-1':'https://bfe-epc-web--stable-1-v-pre.huolala.cn/#/home','stable-2':'https://bfe-epc-web--stable-2-v-pre.huolala.cn/#/home','stable-3':'https://bfe-epc-web--stable-3-v-pre.huolala.cn/#/home','stable-4':'https://bfe-epc-web--stable-4-v-pre.huolala.cn/#/home'};var getSiteHost=function getSiteHost(hasNewSystemAcess){if(['prod','dev'].includes(env)){return SITE_HOSTS[hasNewSystemAcess?'new':'old'][env]}if(!hasNewSystemAcess){return SITE_HOSTS.old[env]}var sec=document.documentElement.dataset.vanSec||'stable';if(env==='stg'){return stgSecMap[sec]}return preSecMap[sec]};if(typeof Object.assign!='function'){Object.assign=function(target){'use strict';if(target==null){throw new TypeError('Cannot convert undefined or null to object')}target=Object(target);for(var index=1;index<arguments.length;index++){var source=arguments[index];if(source!=null){for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}}return target}}var getEnv=function getEnv(name){var diffHost=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var hostname=window.location.hostname;var protocol='https:';if(/-local/.test(hostname)){return protocol+'//'+name+'-local.huolala.cn'}else if(/localhost|127.0.0.1|172.20.54.16/.test(hostname)){if(diffHost){return protocol+'//'+name+'-'+(env==='dev'?'stg':env)+'.huolala.cn'}else{return''}}else if(/-dev/.test(hostname)){return protocol+'//'+name+'-dev.huolala.cn'}else if(/-stg/.test(hostname)){return protocol+'//'+name+'-stg.huolala.cn'}else if(/-pre/.test(hostname)){return protocol+'//'+name+'-pre.huolala.cn'}else if(/-gra/.test(hostname)){return protocol+'//'+name+'-gra.huolala.cn'}else{return protocol+'//'+name+'.huolala.cn'}};var getEpEnv=function getEpEnv(name){var hostname=window.location.hostname;var protocol=window.location.protocol;if(/-local/.test(hostname)){return protocol+'//'+name+'-local.hllep.com'}else if(/localhost|127.0.0.1|172.20.54.16/.test(hostname)){return''}else if(/-dev/.test(hostname)){return protocol+'//'+name+'-dev.hllep.com'}else if(/-stg/.test(hostname)){return protocol+'//'+name+'-stg.hllep.com'}else if(/-pre/.test(hostname)){return protocol+'//'+name+'-pre.hllep.com'}else if(/-gra/.test(hostname)){return protocol+'//'+name+'-gra.hllep.com'}else{return protocol+'//'+name+'.hllep.com'}};var GetQueryString=function GetQueryString(name){var reg=new RegExp('(^|&)'+name+'=([^&]*)(&|$)');var r=window.location.search.substr(1).match(reg);if(r!=null)return r[2];return null};var sources=GetQueryString('sources')||'SZ-Q-H-G-huolala_pc';try{var token=localStorage.getItem('token');axios.defaults.withCredentials=true;if(token){axios.defaults.headers.common['token']=token}}catch(e){console.log(e)}var envEapi=getEnv('eapi');if(['prod'].includes(env)&&(location.host.indexOf('.huolala.cn')!==-1||location.host.indexOf('127.0.0.1')!==-1)){$('.domain-tips-panel').removeClass('hide');saTrack('currency_popup',{page_view:'\u65B0\u7F51\u5740\u5F39\u6846'})}$('.domain-change-btn').click(function(){saTrack('currency_popup',{button_type:'\u8DF3\u8F6C\u65B0\u7F51\u5740\u5F39\u6846-\u540C\u610F\u524D\u5F80'});setTimeout(function(){location.replace(location.href.replace(location.origin,getEpEnv('www')))},100)});if(location.pathname.indexOf('/index/')!==-1){$('#eNav').attr('href',getEpEnv('www')+'/'+location.search)}$('#complaintPublicity').attr('href',getEpEnv('www')+'/order/#/complaint-publicity');$('.link-has-child').on({mouseenter:function mouseenter(e){var target=$(e.target);if(!target.hasClass('link-has-child')){target=target.parents('.link-has-child')}target.find('.child-nav-box').fadeIn()},mouseleave:function mouseleave(e){var target=$(e.target);if(!target.hasClass('link-has-child')){target=target.parents('.link-has-child')}target.find('.child-nav-box').fadeOut()}});var utf16to8=function utf16to8(str){var out=void 0,i=void 0,len=void 0,c=void 0;out='';len=str.length;for(i=0;i<len;i++){c=str.charCodeAt(i);if(c>=1&&c<=127){out+=str.charAt(i)}else if(c>2047){out+=String.fromCharCode(224|c>>12&15);out+=String.fromCharCode(128|c>>6&63);out+=String.fromCharCode(128|c>>0&63)}else{out+=String.fromCharCode(192|c>>6&31);out+=String.fromCharCode(128|c>>0&63)}}return out};var funDownQrcode=function funDownQrcode(){var sources=GetQueryString('sources');if(!sources){return}var target=$('#qrcodeDownload');target.empty();var pureSources=sources&&sources.indexOf('|')!==-1?sources.split('|')[0]:sources;var url='https://mdap-app.huolala.cn/website/download?appId=com.lalamove.huolala.eclient'+(pureSources?'&ref='+pureSources:'huolala');target.qrcode({render:'canvas',text:utf16to8(url),width:96,height:96,typeNumber:-1,background:'#ffffff',foreground:'#000000'})};funDownQrcode();function showDynamicCount(){function formattedNumber(num){var num=(num||0).toString();var result='';while(num.length>3){result=','+num.slice(-3)+result;num=num.slice(0,num.length-3)}if(num){result=num+result}return result}function getCount(){var d=new Date;var hour=d.getHours();var minute=d.getMinutes();var milliseconds=d.getTime();var day=parseInt(milliseconds/(1000*60*60*24));return day*2+(hour*60+minute)*2}var showCount=getCount();var count=showCount;var countTimer=setInterval(function(){if(count>=299){count-=299;$('.dynamic-data').html(formattedNumber(showCount-count))}else{$('.dynamic-data').html(formattedNumber(showCount));clearTimeout(countTimer);setInterval(function(){showCount=getCount();$('.dynamic-data').html(formattedNumber(showCount))},1000*60)}},10)}window.$loading={loadingBox:document.getElementById('loadingBox'),show:function show(timeout){var _this=this;this.loadingBox=document.getElementById('loadingBox');if(this.loadingBox){this.loadingBox.style.display='block'}else{var loadingDiv=document.createElement('div');loadingDiv.id='loadingBox';var iconDiv=document.createElement('div');iconDiv.className='loading-icon';loadingDiv.appendChild(iconDiv);document.body.appendChild(loadingDiv)}setTimeout(function(){_this.loadingBox.style.display='none'},timeout||10000)},hide:function hide(){this.loadingBox=document.getElementById('loadingBox');if(this.loadingBox){this.loadingBox.style.display='none'}}};function getCommonParams(){var parmas=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var method=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'GET';try{var secretId='qynSVgkAD5XmF0wTkzuwgtt8RzTlHfxxhOS2';var secretKey='XZR2R000CFybcninYDWnI3kJLmdk7IsP';var timestamp=new Date().getTime();var randomStr=getRandom(8);var paramObj=_extends({secret_id:secretId,timestamp:timestamp,nonce:randomStr},parmas);var data=jsonSort(paramObj);var spliceStr=spliceString(data);spliceStr=''+method+getHostname()+'/index.php?'+spliceStr;console.log('parmas',spliceStr);console.log('spliceStr',spliceStr);spliceStr=CryptoJS.enc.Base64.stringify(CryptoJS.HmacSHA256(spliceStr,secretKey));return{secret_id:secretId,timestamp:timestamp,nonce:randomStr,signature:spliceStr}}catch(e){console.error(e)}}function getHostname(){var host=location.hostname;var eapiStgUrl='eapi-stg.huolala.cn';var eapiPreUrl='eapi-pre.huolala.cn';var eapiGraUrl='eapi-gra.huolala.cn';var eapiProUrl='eapi.huolala.cn';if(/-dev|localhost|^192/.test(location.href)){return eapiStgUrl}else{if(/-stg/.test(host)){return eapiStgUrl}else if(/-pre/.test(host)){return eapiPreUrl}else if(/-gra/.test(host)){return eapiGraUrl}else{return eapiProUrl}}}function spliceString(jsonData){var char=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'&';if(jsonData!=null&&jsonData instanceof Object){var keys=Object.keys(jsonData);var str='';keys.forEach(function(key,i){str+=key+'='+jsonData[key];if(i!=keys.length-1){str+='&'}});return str}else{console.error('jsonData == null');return''}}function getRandom(){var len=arguments.length>0&&arguments[0]!==undefined?arguments[0]:8;var chars=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];var str='';for(var i=0;i<len;i++){var id=Math.ceil(Math.random()*chars.length-1);str+=chars[id]}return str}function jsonSort(jsonData){try{var tempJsonObj={};var sdic=Object.keys(jsonData).sort();sdic.map(function(item,index){tempJsonObj[item]=jsonData[sdic[index]]});return tempJsonObj}catch(e){return jsonData}}function numberToString(data){if((typeof data==='undefined'?'undefined':_typeof(data))==='object'&&data!==null){for(var key in data){if(typeof data[key]==='number'){data[key]=data[key].toString()}if(_typeof(data[key])==='object'){numberToString(data[key])}}}}var t_toast=null;function errorToast(){var msg=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'';if(!msg||t_toast){return}if(!$('.error-warning-content').length){$('body').append('<div class="error-warning-content"><div class="warning-box"><span class="error-icon"></span><span class="error-text">'+msg+'</span></div></div>')}else{$('.error-warning-content').find('.error-text').text(msg)}$('.error-warning-content').addClass('show-toast');t_toast=setTimeout(function(){$('.error-warning-content').removeClass('show-toast');t_toast=null},2000)}var userRightsConfig={userRightTitle:[{title:'id',key:'id'},{title:'\u6743\u9650',key:'right'},{title:'\u540D\u79F0',key:'name'},{title:'\u8BF4\u660E',key:'desc'}],userRightData:[{id:'1',right:['android.permission.INTERNET'],name:'\u4F7F\u7528\u7F51\u7EDC',desc:'\u901A\u8FC7\u7F51\u7EDC\u5B9E\u73B0APP\u7AEF\u4E0E\u670D\u52A1\u5668\u8FDB\u4FE1\u901A\u4FE1'},{id:'2',right:['android.permission.ACCESS_NETWORK_STATE'],name:'\u8BBF\u95EE\u7F51\u7EDC\u72B6\u6001',desc:'\u76D1\u542C\u5F53\u524D\u7528\u6237\u7684\u7F51\u7EDC\u73AF\u5883\u662F\u5904\u4E8E\u6570\u636E\u6D41\u91CF\u8FD8\u662Fwifi\u72B6\u6001'},{id:'3',right:['android.permission.ACCESS_WIFI_STATE'],name:'\u8BBF\u95EEWIFI\u72B6\u6001',desc:'\u83B7\u53D6wifi\u7684\u72B6\u6001\u4FE1\u606F\uFF0C\u540D\u79F0\u7B49'},{id:'4',right:['android.permission.GET_TASKS'],name:'\u68C0\u7D22\u5F53\u524D\u8FD0\u884C\u7684\u5E94\u7528\u7A0B\u5E8F',desc:'\u641C\u7D22\u5F53\u524D\u624B\u673A\u4E0A\u7684APP\uFF0C\u5B9E\u73B0\u8FD0\u8425\u5E7F\u544A\u63A8\u9001'},{id:'5',right:['android.permission.BLUETOOTH'],name:'\u521B\u5EFA\u84DD\u7259\u8FDE\u63A5',desc:'\u7B2C\u4E09\u4ED8sdk,\u652F\u4ED8\u65F6\u9700\u8981\u7528\u5230\u84DD\u7259\u8FDE\u63A5'},{id:'6',right:['android.permission.BLUETOOTH_ADMIN'],name:'\u5141\u8BB8\u7A0B\u5E8F\u53D1\u73B0\u548C\u914D\u5BF9\u84DD\u7259\u8BBE\u5907',desc:'\u901A\u8FC7\u7F51\u7EDC\u5B9E\u73B0APP\u7AEF\u4E0E\u670D\u52A1\u5668\u8FDB\u4FE1\u901A\u4FE1'},{id:'7',right:['android.permission.READ_PHONE_STATE'],name:'\u8BFB\u53D6\u624B\u673A\u72B6\u6001\u548C\u8EAB\u4EFD',desc:'\u83B7\u53D6\u624B\u673A\u8BBE\u5907\u4FE1\u606F\uFF0C\u83B7\u53D6\u8BBE\u5907id\u4FE1\u606F\uFF0C\u6807\u8BC6\u5F53\u524D\u8BBE\u5907\u7B49'},{id:'8',right:['android.permission.READ_PRIVILEGED_PHONE_STATE'],name:'\u8BFB\u53D6\u624B\u673A\u72B6\u6001\u548C\u8EAB\u4EFD',desc:'\u83B7\u53D6\u624B\u673A\u8BBE\u5907\u4FE1\u606F\uFF0C\u83B7\u53D6\u8BBE\u5907id\u4FE1\u606F\uFF0C\u6807\u8BC6\u5F53\u524D\u8BBE\u5907\u7B49'},{id:'9',right:['android.permission.ACCESS_FINE_LOCATION'],name:'\u7CBE\u51C6\u7684(GPS)\u4F4D\u7F6E',desc:'\u83B7\u53D6\u5F53\u524D\u7528\u6237\u7684\u5730\u5740\uFF0C\u7528\u6765\u4E0B\u5355'},{id:'10',right:['android.permission.ACCESS_COARSE_LOCATION'],name:'\u5927\u6982\u4F4D\u7F6E',desc:'\u901A\u8FC7\u7F51\u7EDC\u5B9A\u4F4D\u5F53\u524D\u5927\u6982\u4F4D\u7F6E'},{id:'11',right:['android.permission.WRITE_EXTERNAL_STORAGE'],name:'\u4FEE\u6539/\u5220\u9664SD\u5361\u4E2D\u7684\u5185\u5BB9',desc:'\u5C06\u65E5\u5FD7\u7B49\u73AF\u5883\u4FE1\u606F\u5199\u5165sd\u5361\u4E2D\uFF0C\u4E3A\u7528\u6237\u63D0\u4F9B\u4E00\u4E2A\u5B89\u5168\u7684\u4F7F\u7528\u73AF\u5883'},{id:'12',right:['android.permission.CHANGE_WIFI_STATE'],name:'\u6539\u53D8WIFI\u72B6\u6001',desc:'\u901A\u8FC7\u8C03\u7528\u7CFB\u7EDF\u914D\u7F6E\uFF0C\u4FEE\u6539wifi\u72B6\u6001'},{id:'13',right:['android.permission.READ_EXTERNAL_STORAGE'],name:'\u8BFB\u53D6\u5916\u5B58',desc:'\u83B7\u53D6\u5F53\u524D\u624B\u673A\u7684\u5B58\u50A8\u8BBE\u5907'},{id:'14',right:['android.permission.CAMERA'],name:'\u62CD\u7167',desc:'\u8C03\u7528\u624B\u673A\u7684\u62CD\u7167\u80FD\u529B\uFF0C\u6BD4\u5982\u8D27\u7269\u4FE1\u606F \u5927\u5C0F\u7B49'},{id:'15',right:['android.permission.VIBRATE'],name:'\u9707\u52A8',desc:'\u53D1\u9001\u901A\u77E5\uFF0C\u9707\u52A8\u63D0\u793A'},{id:'16',right:['android.permission.READ_CONTACTS'],name:'\u8BFB\u53D6\u8054\u7CFB\u4EBA',desc:'\u83B7\u53D6\u624B\u673A\u8054\u7CFB\u4EBA\uFF0C\u65B9\u4FBF\u7528\u6237\u9009\u62E9\u6536\u8D27\u4EBA\u7B49\u4FE1\u606F'},{id:'17',right:['android.permission.CALL_PHONE'],name:'\u62E8\u6253\u7535\u8BDD',desc:'\u8054\u7CFB\u53F8\u673A\u6216\u8005\u5BA2\u670D'},{id:'18',right:['android.permission.WRITE_SETTINGS'],name:'\u4FEE\u6539\u7CFB\u7EDF\u8BBE\u7F6E',desc:'\u8C03\u7528\u7CFB\u7EDF\u8BBE\u7F6E\uFF0C\u66F4\u6539\u7528\u6237\u914D\u7F6E\u6587\u4EF6'},{id:'19',right:['android.permission.SEND_SMS'],name:'\u53D1\u9001\u77ED\u4FE1',desc:'\u7ED9\u53F8\u673A\u53D1\u9001\u77ED\u4FE1'},{id:'20',right:['android.permission.MODIFY_AUDIO_SETTINGS'],name:'\u66F4\u6539\u60A8\u7684\u97F3\u9891\u8BBE\u7F6E',desc:'\u901A\u8FC7\u8C03\u7528\u7CFB\u7EDF\u8BBE\u7F6E\uFF0C\u66F4\u6539\u97F3\u9891\u8BBE\u7F6E\u4FE1\u606F'},{id:'21',right:['android.permission.FOREGROUND_SERVICE'],name:'\u8FD0\u884C\u524D\u53F0\u670D\u52A1',desc:'android8.0\u53CA\u4EE5\u540E\u5F00\u542F\u670D\u52A1\u9700\u8981\u7528\u5230'},{id:'22',right:['android.permission.CHANGE_NETWORK_STATE'],name:'\u4FEE\u6539\u7F51\u7EDC\u72B6\u6001',desc:'\u8C03\u7528\u7CFB\u7EDF\u8BBE\u7F6E\uFF0C\u66F4\u6539\u7F51\u7EDC\u72B6\u6001\u6BD4\u5982\u6253\u5F00\u79FB\u52A8\u6570\u636E\u7B49'},{id:'23',right:['android.permission.SYSTEM_ALERT_WINDOW'],name:'\u5168\u5C40\u5F39\u51FA\u5BF9\u8BDD\u6846',desc:'\u5728im\u6536\u5230\u6D88\u606F\u65F6\uFF0C\u9700\u8981app\u5168\u5C40\u5F39\u6846'},{id:'24',right:['com.android.launcher.permission.READ_SETTINGS'],name:'\u8BFB\u53D6\u5FEB\u6377\u65B9\u5F0F',desc:'\u8BFB\u53D6\u662F\u5426\u5B58\u5728\u684C\u9762\u5FEB\u6377\u65B9\u5F0F\u5165\u53E3'},{id:'25',right:['android.permission.READ_LOGS'],name:'\u8BFB\u53D6\u7CFB\u7EDF\u65E5\u5FD7',desc:'\u83B7\u53D6\u7CFB\u7EDF\u65E5\u5FD7\uFF0C\u65B9\u4FBF\u6392\u67E5\u95EE\u9898'},{id:'26',right:['android.permission.MOUNT_UNMOUNT_FILESYSTEMS'],name:'\u6302\u8F7D\u6587\u4EF6\u7CFB\u7EDF',desc:'\u7528\u6237\u5199\u5165\u79BB\u7EBF\u5B9A\u4F4D\u6570\u636E'},{id:'27',right:['android.permission.REQUEST_INSTALL_PACKAGES'],name:'\u8BF7\u6C42\u5B89\u88C5APP',desc:'app\u5347\u7EA7\u65F6\u9700\u8981\u8BF7\u6C42\u5B89\u88C5'},{id:'28',right:['android.permission.ACCESS_DOWNLOAD_MANAGER'],name:'\u4E0B\u8F7Dapp\u5347\u7EA7\u5305',desc:'\u5E94\u7528\u5185\u90E8\u5347\u7EA7app\u4E0B\u8F7D\uFF0C\u5B9E\u73B0\u7248\u672C\u66F4\u65B0'},{id:'29',right:['android.permission.DOWNLOAD_WITHOUT_NOTIFICATION'],name:'\u4E0B\u8F7Dapp\u5347\u7EA7\u5305',desc:'\u5E94\u7528\u5185\u90E8\u5347\u7EA7app\u4E0B\u8F7D\uFF0C\u5B9E\u73B0\u7248\u672C\u66F4\u65B0'},{id:'30',right:['android.permission.ACCESS_LOCATION_EXTRA_COMMANDS'],name:'\u8BBF\u95EE\u5B9A\u4F4D\u989D\u5916\u547D\u4EE4',desc:'\u5141\u8BB8\u7A0B\u5E8F\u8BBF\u95EE\u989D\u5916\u7684\u5B9A\u4F4D\u63D0\u4F9B\u8005\u6307\u4EE4'},{id:'31',right:['Privacy - Media Library Usage Description'],name:'\u5A92\u4F53\u5E93',desc:'\u5B9E\u9645\u6CA1\u7528\u5230\u8BE5\u529F\u80FD \u53EF\u80FD\u662F\u5176\u4ED6\u5E93\u9700\u8981\u5F15\u7528\u8BE5\u6743\u9650'},{id:'32',right:['Privacy - Calendars Usage Description'],name:'\u65E5\u5386',desc:'\u5B9E\u9645\u6CA1\u7528\u5230\u8BE5\u529F\u80FD \u53EF\u80FD\u662F\u5176\u4ED6\u5E93\u9700\u8981\u5F15\u7528\u8BE5\u6743\u9650'},{id:'33',right:['Privacy - Motion Usage Description'],name:'\u8FD0\u52A8\u5065\u8EAB',desc:'\u5B9E\u9645\u6CA1\u7528\u5230\u8BE5\u529F\u80FD \u53EF\u80FD\u662F\u5176\u4ED6\u5E93\u9700\u8981\u5F15\u7528\u8BE5\u6743\u9650'},{id:'34',right:['Privacy - Bluetooth Always Usage Description','Privacy - Bluetooth Peripheral Usage Description'],name:'\u84DD\u7259',desc:'\u7B2C\u4E09\u4ED8sdk,\u652F\u4ED8\u65F6\u9700\u8981\u7528\u5230\u84DD\u7259\u8FDE\u63A5'},{id:'35',right:['Privacy - Camera Usage Description'],name:'\u76F8\u673A',desc:'\u8C03\u7528\u624B\u673A\u7684\u62CD\u7167\u80FD\u529B\uFF0C\u6BD4\u5982\u8D27\u7269\u4FE1\u606F \u5927\u5C0F\u7B49'},{id:'36',right:['Privacy - Photo Library Additions Usage Description'],name:'\u76F8\u518C',desc:'\u9009\u53D6\u76F8\u7247\u8BBE\u7F6E\u7528\u6237\u5934\u50CF\u548C\u4FDD\u5B58\u60A8\u62CD\u6444\u7684\u7167\u7247\u6216\u5934\u50CF\u7167\u7247'},{id:'37',right:['Privacy - Contacts Usage Description'],name:'\u901A\u8BAF\u5F55',desc:'\u83B7\u53D6\u624B\u673A\u8054\u7CFB\u4EBA\uFF0C\u65B9\u4FBF\u7528\u6237\u9009\u62E9\u6536\u8D27\u4EBA\u7B49\u4FE1\u606F'},{id:'38',right:['Privacy - Location Always and When In Use Usage Description','Privacy - Location Always Usage Description','Privacy - Location When In Use Usage Description'],name:'\u7CBE\u51C6\u7684(GPS)\u4F4D\u7F6E/\u5927\u6982\u4F4D\u7F6E',desc:'\u83B7\u53D6\u5F53\u524D\u7528\u6237\u7684\u5730\u5740\uFF0C\u7528\u6765\u4E0B\u5355'},{id:'39',right:['Privacy - Microphone Usage Description'],name:'\u9EA6\u514B\u98CE',desc:'\u83B7\u53D6\u624B\u673A\u7684\u9EA6\u514B\u98CE\uFF0C\u8BED\u97F3\u8F93\u5165\u5730\u5740\u4FE1\u606F\u7B49'},{id:'40',right:['Privacy - Speech Recognition Usage Description'],name:'\u8BED\u97F3\u8BC6\u522B',desc:'\u8BED\u97F3\u8BC6\u522B\u8F6C\u6362'},{id:'41',right:['Privacy - Tracking Usage Description'],name:'\u5E7F\u544A\u6807\u793A\u7B26',desc:'\u83B7\u53D6\u6807\u8BB0\u6743\u9650\u5411\u60A8\u63D0\u4F9B\u66F4\u4F18\u8D28\u3001\u5B89\u5168\u7684\u4E2A\u6027\u5316\u670D\u52A1\u53CA\u5185\u5BB9\uFF0C\u672A\u7ECF\u540C\u610F\u6211\u4EEC\u4E0D\u4F1A\u7528\u4E8E\u5176\u4ED6\u76EE\u7684'}]};var pageFooterWrap=new Vue({el:'#pageFooterWrap',data:function data(){return{version:'',updateTime:'',sdp_version:'',sdp_updateTime:'',showUserRights:false,userRightData:userRightsConfig.userRightData,currentTab:'ep',showLicencePic:false,showBusinessLicencePic:false,app:[{appId:'com.lalamove.huolala.eclient',ref:'SZ-Q-A-Y-huawei',prefix:''},{appId:'com.lalamove.huolala.cdriver',ref:'TJ-Z-S-huawei',prefix:'sdp'}]}},filters:{versionName:function versionName(versionStr){if(versionStr&&typeof versionStr==='string'){return'V'+versionStr}return''}},created:function created(){var _this2=this;this.app.forEach(function(i){_this2.getAppVersion(i.appId,i.ref,i.prefix)})},methods:{clickLicenceMask:function clickLicenceMask(evt){if(evt.target.className.includes('mask-layer-box')){this.showLicencePic=false;this.showBusinessLicencePic=false}},clickBusinessLicenceMask:function clickBusinessLicenceMask(evt){if(evt.target.className.includes('mask-layer-box')){this.showBusinessLicencePic=false}},toViewPermissions:function toViewPermissions(){this.showUserRights=true},toViewAgreement:function toViewAgreement(){window.location.href=(''+getSiteHost(true)).replace(/home/,'static/privacy')},getAppVersion:function getAppVersion(appId,ref,prefix){var _this3=this;axios.get('https://mdap-app.huolala.cn/website/latestApp',{params:{appId:appId,platform:'Android',ref:ref}}).then(function(res){var _res$data=res.data,code=_res$data.code,data=_res$data.data;if(code===200){_this3[(prefix?prefix+'_':'')+'version']=data.appVersion;var d=new Date(data.updateTime*1000);_this3[(prefix?prefix+'_':'')+'updateTime']=d.getFullYear()+'-'+(d.getMonth()+1)+'-'+d.getDate()}else{throw res.data}}).catch(function(error){console.log('error',error)})}}});var callApiPreCheck=function callApiPreCheck(apiName){var retryTime=arguments.length>1&&arguments[1]!==undefined?arguments[1]:20;var checkTime=0;var timer=void 0;return new Promise(function(resolve,reject){if(window.apiName){return resolve()}timer=setInterval(function(){checkTime++;if(checkTime>=retryTime){clearInterval(timer);return reject('\u83B7\u53D6api\u5931\u8D25'+apiName)}if(window[apiName]){clearInterval(timer);return resolve()}},500)})};