function miniGetLocation(o,n,e){return new Promise((o=>{let t={errMsg:"chooseLocation:ok",name:"腾讯微信总部",address:"广东省广州市",latitude:23.12463,longitude:113.36199},i={errMsg:"chooseLocation:fail cancel"},c={errMsg:"chooseLocation:fail auth deny"},a={};for(let o in t)void 0!==n[o]&&(t[o]=n[o]);for(let o in e)a[o]=Object.assign({},t,e[o]);wx.authorize({scope:"scope.userLocation",success:()=>function(){let n={"确定":function(){return o(t),t}};n[t.name]=function(){return o(t),t};for(let e in a)n[e]=function(){return o(a[e]),a[e]};n["取消"]=function(){return o(i),i},global.__minium__.mock_map_modal(n)}(),fail:()=>(o(c),c)}),console.warn("[minium] mock wx.chooseLocation, you can use `native.allow_get_location` to handle it")}))}
