import{bWasv}from"./index-DzWO-iI4.js";functionf(o,e){o=o.replace(/=/g,"");vart=[];switch(e.constructor){caseString:caseNumber:caseBoolean:t.push(encodeURIComponent(o)+"="+encodeURIComponent(e));break;caseArray:e.forEach(function(n){t=t.concat(f(o+"[]=",n))});break;caseObject:Object.keys(e).forEach(function(n){varc=e[n];t=t.concat(f(o+"["+n+"]",c))})}returnt}functionp(o){vare=[];returno.forEach(function(t){typeoft=="string"?e.push(t):e=e.concat(p(t))}),e}functiony(o,e,t){if(e===void0&&(e={}),typeofe!="object"||!e)thrownewError("[Vue-jsonp] Invalid params, should be an object.");returnt=typeoft=="number"?t:5e3,newPromise(function(n,c){varb=typeofe.callbackQuery=="string"?e.callbackQuery:"callback",i=typeofe.callbackName=="string"?e.callbackName:"jsonp_"+(Math.floor(1e5*Math.random())*Date.now()).toString(16);e[b]=i,deletee.callbackQuery,deletee.callbackName;varu=[];Object.keys(e).forEach(function(r){u=u.concat(f(r,e[r]))});varh=p(u).join("&"),d=function(){s(),clearTimeout(l),c({status:400,statusText:"Bad Request"})},s=function(){a.removeEventListener("error",d)},m=function(){document.body.removeChild(a),deletewindow[i]},l=null;t>-1&&(l=setTimeout(function(){s(),m(),c({statusText:"Request Timeout",status:408})},t)),window[i]=function(r){clearTimeout(l),s(),m(),n(r)};vara=document.createElement("script");a.addEventListener("error",d),a.src=o+(/\?/.test(o)?"&":"?")+h,document.body.appendChild(a)})}functionw(o){returnv({url:`${window.location.origin}/wx/eicrs/api/GetJSSDK/GetWxConfig`,method:"get",params:o})}functionk(o){vare=o.latitude+","+o.longitude;returny("http://apis.map.qq.com/ws/geocoder/v1",{location:e,key:"IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP",output:"jsonp"}).then(t=>(console.log("🚀🚀🚀,",t),t))}export{wasG,kasr};
import{bWasv}from"./index-xTHAgfty.js";functionf(o,e){o=o.replace(/=/g,"");vart=[];switch(e.constructor){caseString:caseNumber:caseBoolean:t.push(encodeURIComponent(o)+"="+encodeURIComponent(e));break;caseArray:e.forEach(function(n){t=t.concat(f(o+"[]=",n))});break;caseObject:Object.keys(e).forEach(function(n){varc=e[n];t=t.concat(f(o+"["+n+"]",c))})}returnt}functionp(o){vare=[];returno.forEach(function(t){typeoft=="string"?e.push(t):e=e.concat(p(t))}),e}functiony(o,e,t){if(e===void0&&(e={}),typeofe!="object"||!e)thrownewError("[Vue-jsonp] Invalid params, should be an object.");returnt=typeoft=="number"?t:5e3,newPromise(function(n,c){varb=typeofe.callbackQuery=="string"?e.callbackQuery:"callback",i=typeofe.callbackName=="string"?e.callbackName:"jsonp_"+(Math.floor(1e5*Math.random())*Date.now()).toString(16);e[b]=i,deletee.callbackQuery,deletee.callbackName;varu=[];Object.keys(e).forEach(function(r){u=u.concat(f(r,e[r]))});varh=p(u).join("&"),d=function(){s(),clearTimeout(l),c({status:400,statusText:"Bad Request"})},s=function(){a.removeEventListener("error",d)},m=function(){document.body.removeChild(a),deletewindow[i]},l=null;t>-1&&(l=setTimeout(function(){s(),m(),c({statusText:"Request Timeout",status:408})},t)),window[i]=function(r){clearTimeout(l),s(),m(),n(r)};vara=document.createElement("script");a.addEventListener("error",d),a.src=o+(/\?/.test(o)?"&":"?")+h,document.body.appendChild(a)})}functionw(o){returnv({url:`${window.location.origin}/wx/eicrs/api/GetJSSDK/GetWxConfig`,method:"get",params:o})}functionk(o){vare=o.latitude+","+o.longitude;returny("http://apis.map.qq.com/ws/geocoder/v1",{location:e,key:"IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP",output:"jsonp"}).then(t=>(console.log("🚀🚀🚀,",t),t))}export{wasG,kasr};