UNPKG

jr-util

Version:

这是MJR的JS工具库。定期更新

2 lines (1 loc) 15.9 kB
(function(s,d){typeof exports=="object"&&typeof module<"u"?d(exports):typeof define=="function"&&define.amd?define(["exports"],d):(s=typeof globalThis<"u"?globalThis:s||self,d(s.jrUtil={}))})(this,function(s){"use strict";const d=t=>{if(t==="")return!1;var e={11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"},n,r,a,o,i=new Array;if(i=t.split(""),e[parseInt(t.substr(0,2))]==null)return!1;var u="";switch(t.length){case 15:return(parseInt(t.substr(6,2))+1900)%4==0||(parseInt(t.substr(6,2))+1900)%100==0&&(parseInt(t.substr(6,2))+1900)%4==0?u=/^[1-9][0-9]{5}[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:u=/^[1-9][0-9]{5}[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,!!u.test(t);case 18:return parseInt(t.substr(6,4))%4==0||parseInt(t.substr(6,4))%100==0&&parseInt(t.substr(6,4))%4==0?u=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:u=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,u.test(t)?(a=(parseInt(i[0])+parseInt(i[10]))*7+(parseInt(i[1])+parseInt(i[11]))*9+(parseInt(i[2])+parseInt(i[12]))*10+(parseInt(i[3])+parseInt(i[13]))*5+(parseInt(i[4])+parseInt(i[14]))*8+(parseInt(i[5])+parseInt(i[15]))*4+(parseInt(i[6])+parseInt(i[16]))*2+parseInt(i[7])*1+parseInt(i[8])*6+parseInt(i[9])*3,n=a%11,o="F",r="10x98765432",o=r.substr(n,1),o==i[17].toLocaleLowerCase()):!1;default:return!1}},q=t=>/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t);function J(t){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(t)}function G(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)}function Z(t){return Array.from(new Set(t))}function W(t){return t==null?t:JSON.parse(JSON.stringify(t))}function S(t){if(!t&&typeof t!="object")throw new Error("error arguments deepClone");const e=t.constructor===Array?[]:{};return Object.keys(t).forEach(n=>{t[n]&&typeof t[n]=="object"?e[n]=S(t[n]):e[n]=t[n]}),e}function Q(t,e,n){let r,a,o,i,u;const c=function(){const l=+new Date-i;l<e&&l>0?r=setTimeout(c,e-l):(r=null,n||(u=t.apply(o,a),r||(o=a=null)))};return function(...l){o=this,i=+new Date;const g=n&&!r;return r||(r=setTimeout(c,e)),g&&(u=t.apply(o,l),o=l=null),u}}function Y(t){return t?K(Object.keys(t).map(e=>t[e]===void 0?"":encodeURIComponent(e)+"="+encodeURIComponent(t[e]))).join("&"):""}function H(t){const e=t.split("?")[1];return e?JSON.parse('{"'+decodeURIComponent(e).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"').replace(/\+/g," ")+'"}'):{}}function X(t){t=t==null?window.location.href:t;const e=t.substring(t.lastIndexOf("?")+1),n={},r=/([^?&=]+)=([^?&=]*)/g;return e.replace(r,(a,o,i)=>{const u=decodeURIComponent(o);let c=decodeURIComponent(i);return c=String(c),n[u]=c,a}),n}function K(t){const e=[];for(let n=0;n<t.length;n++)t[n]&&e.push(t[n]);return e}const V=(t,e=3,n=3)=>{if(!t)return"";if(t.length<3)return t;let r=4;t.length<e+n+r&&(e=Math.floor(t.length/3),n=Math.floor(t.length/3)),r=t.length-e-n;const a=`^(\\S{${e}})\\S{${r}}(\\S{${n}})$`,o=new RegExp(a);return t.replace(o,"$1****$2")},k=(t,e="")=>{let n=t,r=100;try{let a=`${t}`;n=Number(t)*r}catch{return{num:t,unit:e,full:t+e}}if(n<1e4*r)return{num:t,unit:e,full:t+e};if(n>=1e4*r&&n<1e7*r){const a=Number((Math.round(n)/1e4/r).toFixed(2));return{num:a,unit:"\u4E07"+e,full:a+"\u4E07"+e}}else if(n>=1e7*r){const a=Number((Math.round(n)/1e7/r).toFixed(2));return{num:a,unit:"\u4EBF"+e,full:a+"\u4EBF"+e}}else return{num:t,unit:e,full:t+e}},tt=(t,e)=>{let n=0,r=0;try{n=Number(`${t}`),r=Number(`${e}`)}catch{return 0}if(isNaN(n)||isNaN(r))return 0;let a=(Math.round((n-r)/r*1e3)/1e3).toFixed(2);return Number(a)},et=(...t)=>(console.log("jr",t),0),nt=(t,e)=>new URL(`/src/assets/${t.substring(t.indexOf("/assets")+8)}`,e),rt=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t=="x"?e:e&3|8;return n.toString(16)});function at(t,e){const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(e=e||n.length,t)for(let a=0;a<t;a++)r[a]=n[0|Math.random()*e];else{let a;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let o=0;o<36;o++)r[o]||(a=0|Math.random()*16,r[o]=n[o===19?a&3|8:a])}return r.join("")+new Date().getTime()}function ot(){const t=+new Date+"";return(+(parseInt((1+Math.random())*65536+"")+""+t)).toString(32).toUpperCase()}function it(t,e){return Math.floor(Math.random()*(e+1-t)+t)}function L(t=10){return(t<=11?Math.random().toString(36).slice(2,2+t).padEnd(t,"0"):L(11)+L(t-11)).toLocaleUpperCase()}function ut(t){(""+t).length===10?t=parseInt(t)*1e3:t=+t;const e=new Date(t),r=(Date.now()-e)/1e3;return r<30?"\u521A\u521A":r<3600?Math.ceil(r/60)+"\u5206\u949F\u524D":r<3600*24?Math.ceil(r/3600)+"\u5C0F\u65F6\u524D":"1\u5929\u524D"}function M(t){let e;t||(t=new Date().getTime()),`${t}`.length===10?e=new Date(t*1e3):e=new Date(t);let n=e.getFullYear().toString().padStart(4,"0"),r=(e.getMonth()+1).toString().padStart(2,"0"),a=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),u=e.getSeconds().toString().padStart(2,"0");return{year:n,month:r,day:a,hour:o,minute:i,second:u}}function p(t){if(!(t.length===10||t.length===19))throw new Error("Function:dateToTimestamp \u8F93\u5165\u65F6\u95F4\u683C\u5F0F\u6709\u8BEF");let e;return t.length===10?e=new Date(t+" 00:00:00"):e=new Date(t),e.getTime()/1e3}function st(t,e,n="tb"){if(t.length!==e.length)throw new Error("Function:dateTb \u5F00\u59CB\u65F6\u95F4\u548C\u7ED3\u675F\u65F6\u95F4\u683C\u5F0F\u4E0D\u540C");if(!(t.length===10||t.length===19))throw new Error("Function:dateToTimestamp \u8F93\u5165\u65F6\u95F4\u683C\u5F0F\u6709\u8BEF");let r=p(t),a=p(e);if(r>a)throw new Error("Function:dateToTimestamp \u5F00\u59CB\u65F6\u95F4\u5927\u4E8E\u7ED3\u675F\u65F6\u95F4");let o=Math.floor((a-r)/3600/24),i,u;n==="tb"?(i=M(a),u=`${parseInt(i.year)-1}-${i.month}-${i.day} ${i.hour}:${i.minute}:${i.second}`):(i=M(r),u=`${i.year}-${i.month}-${i.day} ${i.hour}:${i.minute}:${i.second}`);const c=p(u),l=M(c-o*24*3600),g=`${l.year}-${l.month}-${l.day} ${l.hour}:${l.minute}:${l.second}`;return t.length===19?{start:g,end:u}:{start:g.substring(0,10),end:u.substring(0,10)}}function ct(t,e){localStorage.setItem(t,JSON.stringify(e))}function lt(t,e){try{let n=localStorage.getItem(t);return n?JSON.parse(n):e}catch{return e}}function gt(t){localStorage.removeItem(t)}function ht(){localStorage.clear()}const m=(t,e="horizontal",n=1024)=>{const r=document.createElement("canvas"),a=r.getContext("2d");return r.width=n,r.height=n,a.translate(e==="horizontal"?n:0,e==="vertical"?n:0),a.scale(e==="horizontal"?-1:1,e==="vertical"?-1:1),a.drawImage(t,0,0,n,n),a.scale(1,1),a.translate(0,0),r},mt=(t,e)=>new Promise((n,r)=>{new e.CubeTextureLoader().load(t,a=>{const o=a.source.data;return o[0]=m(o[0],"vertical"),o[1]=m(o[1],"vertical"),o[2]=m(o[2]),o[3]=m(o[3]),o[4]=m(o[4],"vertical"),o[5]=m(o[5],"vertical"),a.needsUpdate=!0,a.generateMipmaps=!1,a.wrapS=e.ClampToEdgeWrapping,a.wrapT=e.ClampToEdgeWrapping,n(a)})}),ft=(t,e)=>new Promise((n,r)=>{new e.CubeTextureLoader().load(t,a=>{const o=a.source.data,i=[{i:0,img:m(o[0],"vertical")},{i:1,img:m(o[1],"vertical")},{i:2,img:m(o[2])},{i:3,img:m(o[3])},{i:4,img:m(o[4],"vertical")},{i:5,img:m(o[5],"vertical")}];return n(i)})}),C=t=>{const e=Math.floor(2*Math.PI*t),n=Math.floor(2*t);return{width:e,height:n}},dt=(t,e,n,r)=>{t.children.length!==0&&t.children.forEach(a=>{try{const o=a.userData.id||"00001";if(!e)return;const i=e.querySelector(`#${o}`);if(i&&i.children.length>0){const u=new r.Vector3;u.copy(a.position),u.project(n);const c=(u.x*.5+.5)*window.innerWidth,l=(-u.y*.5+.5)*window.innerHeight;u.z<1&&u.z>-1?(i.children[0].style.left=`${c}px`,i.children[0].style.top=`${l}px`,i.children[0].style.display="block"):i.children[0].style.display="none"}}catch{}})},y=(t,e,n,r,a)=>{(Math.abs(e)>=a||Math.abs(e)===0)&&(e=1),e>0?e=a-e:e<0&&(e=Math.abs(e)+a);const o=Math.PI-t/n*2*Math.PI,i=Math.PI/2-e/r*Math.PI,u=a*Math.cos(i)*Math.sin(o),c=a*Math.sin(i),l=a*Math.cos(i)*Math.cos(o);return{x:u,y:c,z:l}},Mt=(t,e,n,r,a)=>{const o=C(r),i=y(e,n,o.width,o.height,r),u=new a.MeshBasicMaterial({color:16711680,transparent:!0,opacity:0,wireframe:!1}),c=new a.Mesh(new a.BoxGeometry(.1,.1,.1),u);return c.position.set(i.x,i.y,i.z),c.userData.id=t,c},E=(t,e)=>{if(!t||e.length===0)return;const n=e.shift();if(t&&t.source&&t.source.data){const{i:r,img:a}=n;t.source.data[r]=a,t.needsUpdate=!0}E(t,e)};var h=3.141592653589793,b=h*3e3/180,F=6378245,w=.006693421622965943;function $(t,e){if(N(t,e))return{lat:t,lon:e};var n=U(e-105,t-35),r=P(e-105,t-35),a=t/180*h,o=Math.sin(a);o=1-w*o*o;var i=Math.sqrt(o);n=n*180/(F*(1-w)/(o*i)*h),r=r*180/(F/i*Math.cos(a)*h);var u=t+n,c=e+r;return{lat:u,lon:c}}function A(t,e){var n=e,r=t,a=Math.sqrt(n*n+r*r)+2e-5*Math.sin(r*b),o=Math.atan2(r,n)+3e-6*Math.cos(n*b),i=a*Math.cos(o)+.0065,u=a*Math.sin(o)+.006;return{lat:u,lon:i}}function pt(t,e){var n=$(t,e),r=A(n.lat,n.lon);return r}function B(t,e){if(N(t,e))return{lat:t,lon:e};var n=U(e-105,t-35),r=P(e-105,t-35),a=t/180*h,o=Math.sin(a);o=1-w*o*o;var i=Math.sqrt(o);n=n*180/(F*(1-w)/(o*i)*h),r=r*180/(F/i*Math.cos(a)*h);var u=t+n,c=e+r;return{lat:t*2-u,lon:e*2-c}}function j(t,e){var n=e-.0065,r=t-.006,a=Math.sqrt(n*n+r*r)-2e-5*Math.sin(r*b),o=Math.atan2(r,n)-3e-6*Math.cos(n*b),i=a*Math.cos(o),u=a*Math.sin(o);return{lat:u,lon:i}}function bt(t,e){var n=j(t,e),r=B(n.lat,n.lon);return r}function U(t,e){var n=-100+2*t+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=(20*Math.sin(6*t*h)+20*Math.sin(2*t*h))*2/3,n+=(20*Math.sin(e*h)+40*Math.sin(e/3*h))*2/3,n+=(160*Math.sin(e/12*h)+320*Math.sin(e*h/30))*2/3,n}function P(t,e){var n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=(20*Math.sin(6*t*h)+20*Math.sin(2*t*h))*2/3,n+=(20*Math.sin(t*h)+40*Math.sin(t/3*h))*2/3,n+=(150*Math.sin(t/12*h)+300*Math.sin(t/30*h))*2/3,n}function N(t,e){return e<72.004||e>137.8347||t<.8293||t>55.8271}const Ft=(t,e,n)=>{let r=[];for(let a=0;a<t;a++){let o=Math.random()*(e.lat-n.lat)+n.lat,i=Math.random()*(n.lon-e.lon)+e.lon;r.push({lon:i,lat:o})}return r},v=t=>t*Math.PI/180,wt=(t,e,n,r)=>{const o=v(n-t),i=v(r-e),u=Math.sin(o/2)*Math.sin(o/2)+Math.cos(v(t))*Math.cos(v(n))*Math.sin(i/2)*Math.sin(i/2),c=2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u));return 6371e3*c},I=t=>{let e=t[0].lat,n=t[0].lat,r=t[0].lng,a=t[0].lng;return t.forEach(o=>{e=Math.min(e,o.lat),n=Math.max(n,o.lat),r=Math.min(r,o.lng),a=Math.max(a,o.lng)}),{minLat:e,maxLat:n,minLng:r,maxLng:a}},D=(t,e)=>{const n=t.lat,r=t.lng;let a=!1;for(let o=0,i=e.length-1;o<e.length;i=o++){const u=e[o].lat,c=e[o].lng,l=e[i].lat,g=e[i].lng;c>r!=g>r&&n<(l-u)*(r-c)/(g-c)+u&&(a=!a)}return a},z=(t,e)=>{let n;do n={lat:e.minLat+Math.random()*(e.maxLat-e.minLat),lng:e.minLng+Math.random()*(e.maxLng-e.minLng)};while(!D(n,t));return n},vt=(t,e)=>{const n=I(t.map(a=>({lat:a[1],lng:a[0]}))),r=I(e.map(a=>({lat:a[1],lng:a[0]})));if(n.maxLng<r.minLng||n.minLng>r.maxLng||n.maxLat<r.minLat||n.minLat>r.maxLat)return!1;for(let a=0;a<t.length;a++){const o={lat:t[a][1],lng:t[a][0]};if(D(o,e.map(i=>({lat:i[1],lng:i[0]}))))return!0}for(let a=0;a<e.length;a++){const o={lat:e[a][1],lng:e[a][0]};if(D(o,t.map(i=>({lat:i[1],lng:i[0]}))))return!0}return!1},It=(t,e,n={},r=.025)=>{const a=[],o=I(t);for(let i=0;i<e;i++){let u;do{const g=Math.floor(Math.random()*4)+4,f=[],O=z(t,o);for(let T=0;T<g;T++){const x=T*2*Math.PI/g,R=Math.random()*r+.001,_={lat:O.lat+R*Math.sin(x),lng:O.lng+R*Math.cos(x)};f.push([_.lng,_.lat])}f.push(f[0]),u=f}while(a.some(g=>vt(g.geometry.coordinates[0],u)));const c={type:"Feature",id:i+1,properties:{_draw_type:"fill",...n},geometry:{type:"Polygon",coordinates:[u]}},l=u.reduce((g,f)=>({minLng:Math.min(g.minLng,f[0]),maxLng:Math.max(g.maxLng,f[0]),minLat:Math.min(g.minLat,f[1]),maxLat:Math.max(g.maxLat,f[1])}),{minLng:u[0][0],maxLng:u[0][0],minLat:u[0][1],maxLat:u[0][1]});c.bbox=[l.minLng,l.minLat,l.maxLng,l.maxLat],a.push(c)}return{type:"FeatureCollection",features:a}},Lt=(t,e,n={})=>{const r=[],a=I(t);for(let o=0;o<e;o++){const i=z(t,a),u={type:"Feature",id:o+1,properties:{title:"\u6F14\u793A\u6570\u636E",...n},geometry:{type:"Point",coordinates:[i.lng,i.lat]}};u.bbox=[i.lng,i.lat,i.lng,i.lat],r.push(u)}return{type:"FeatureCollection",features:r}};function Dt(t,e=1){try{t=t.replace("#","");let n=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),a=parseInt(t.substring(4,6),16);return`rgba(${n}, ${r}, ${a}, ${e})`}catch{return"rgba(0,0,0,1)"}}function Tt(){return"#"+Math.random().toString(16).slice(2,8).padEnd(6,"0")}const St=t=>{if(typeof t!="string")return t;try{let e=t.replace(/<img[^>]*>/gi,function(n,r){return n=n.replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,""),n=n.replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,""),n});return e=e.replace(/<p([\s\w"=\/\.:;]+)((?:(style="[^"]+")))/gi,'<p style="margin-bottom:12px"'),e=e.replace(/<br[^>]*\/>/gi,""),e=e.replace(/\<img/gi,'<img style="max-width:100%;width:auto;height:auto;display:block;margin-top:10px;margin-bottom:10px;"'),e}catch{return t}},Ct=(t,e,n,r)=>{let a=t;const o=Date.now(),i=(e-t)/n;let u=null;function c(){if(u===null)return;const g=Date.now()-o;if(g>=n){a=e,r&&r({value:a,percent:1}),u=null;return}a=t+i*g,r&&r({value:a,percent:Number((g/n).toFixed(2))}),u=requestAnimationFrame(c)}const l=()=>{u!==null&&(cancelAnimationFrame(u),u=null)};return u=requestAnimationFrame(c),l};class yt{constructor(){this.listeners={}}on(e,n){this.listeners[e]=this.listeners[e]||new Set,this.listeners[e].add(n)}emit(e,...n){const r=this.listeners[e];r&&r.forEach(a=>a(...n))}}const Et=new yt;s.Emitter=Et,s.animation=Ct,s.bd09ToGcj02=j,s.bd09ToWgs84=bt,s.calcAdd=et,s.calcDistance=wt,s.clearDb=ht,s.clone=W,s.colorHexToRgba=Dt,s.colorRandom=Tt,s.dateTHb=st,s.dateToTimestamp=p,s.debounce=Q,s.deepClone=S,s.desensitization=V,s.formatBigNum=k,s.formatPercent=tt,s.formatRichText=St,s.formatTimeByNear=ut,s.gcj02ToBd09=A,s.gcj02ToWgs84=B,s.generatePolygonGeoJSON=It,s.generatePolygonPointGeoJSON=Lt,s.generateRandomPoints=Ft,s.getAssetUrl=nt,s.getDb=lt,s.getIntervalNum=it,s.getQueryObject=H,s.getQueryObject2=X,s.getRandomSting=L,s.getUUid=rt,s.getUUidByChar=at,s.getUUidByDate=ot,s.param=Y,s.removeDb=gt,s.saveDb=ct,s.threeAddMovingCube=Mt,s.threeCalculateRectangleSize=C,s.threeFlipImage=m,s.threeLoadTextureFunc=mt,s.threeLoadTextureFuncImages=ft,s.threePlaneToSphereSize=y,s.threeUpdateCubeTextureFace=E,s.threeUpdateLabelPosition=dt,s.timestampToTime=M,s.uniqueArr=Z,s.validEmail=G,s.validIdCard=d,s.validMobile=q,s.validURL=J,s.wgs84ToBd09=pt,s.wgs84ToGcj02=$,Object.defineProperties(s,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});