var m=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function y(d){return d&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d}function P(d){if(d.__esModule)return d;var v=d.default;if(typeof v=="function"){var f=function c(){return this instanceof c?Reflect.construct(v,arguments,this.constructor):v.apply(this,arguments)};f.prototype=v.prototype}else f={};return Object.defineProperty(f,"__esModule",{value:!0}),Object.keys(d).forEach(function(c){var w=Object.getOwnPropertyDescriptor(d,c);Object.defineProperty(f,c,w.get?w:{enumerable:!0,get:function(){return d[c]}})}),f}var b={exports:{}};(function(d,v){(function(f,c){d.exports=c()})(m,function(){function f(e){var r=[];return e.AMapUI&&r.push(c(e.AMapUI)),e.Loca&&r.push(w(e.Loca)),Promise.all(r)}function c(e){return new Promise(function(r,o){var a=[];if(e.plugins)for(var i=0;i