import{az as we,a5 as C,aA as w,at as ee,a4 as R,bc as ze}from"./index-BVYgSbCy.js";var Oe=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,a){return i[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,a=this.__entries__;i0},e.prototype.connect_=function(){!V||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ne?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!V||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=Be.some(function(a){return!!~n.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Ae=function(e,t){for(var r=0,n=Object.keys(t);r"u"||!(Element instanceof Object))){if(!(t instanceof P(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Ze(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof P(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new Qe(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Ee=typeof WeakMap<"u"?new WeakMap:new Oe,xe=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Ue.getInstance(),n=new ke(t,r,this);Ee.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){xe.prototype[e]=function(){var t;return(t=Ee.get(this))[e].apply(t,arguments)}});var In=function(){return typeof L.ResizeObserver<"u"?L.ResizeObserver:xe}();function et(e,t){return function(r){return e(t(r))}}function re(e,t,r,n,i,a,s){try{var o=e[a](s),u=o.value}catch(f){return void r(f)}o.done?t(u):Promise.resolve(u).then(n,i)}function Dn(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function s(u){re(a,n,i,s,o,"next",u)}function o(u){re(a,n,i,s,o,"throw",u)}s(void 0)})}}function tt(){this.__data__=[],this.size=0}function Pe(e,t){return e===t||e!==e&&t!==t}function N(e,t){for(var r=e.length;r--;)if(Pe(e[r][0],t))return r;return-1}var rt=Array.prototype,nt=rt.splice;function it(e){var t=this.__data__,r=N(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():nt.call(t,r,1),--this.size,!0}function at(e){var t=this.__data__,r=N(t,e);return r<0?void 0:t[r][1]}function st(e){return N(this.__data__,e)>-1}function ot(e,t){var r=this.__data__,n=N(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function g(e){var t=-1,r=e==null?0:e.length;for(this.clear();++to))return!1;var f=a.get(e),l=a.get(t);if(f&&l)return f==t&&l==e;var p=-1,h=!0,_=r&kt?new F:void 0;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e-1&&e%1==0&&e<=Ir}var Dr="[object Arguments]",zr="[object Array]",Lr="[object Boolean]",Gr="[object Date]",Fr="[object Error]",Hr="[object Function]",Br="[object Map]",Nr="[object Number]",Ur="[object Object]",qr="[object RegExp]",Wr="[object Set]",Kr="[object String]",Vr="[object WeakMap]",Xr="[object ArrayBuffer]",Yr="[object DataView]",Jr="[object Float32Array]",Zr="[object Float64Array]",Qr="[object Int8Array]",kr="[object Int16Array]",en="[object Int32Array]",tn="[object Uint8Array]",rn="[object Uint8ClampedArray]",nn="[object Uint16Array]",an="[object Uint32Array]",c={};c[Jr]=c[Zr]=c[Qr]=c[kr]=c[en]=c[tn]=c[rn]=c[nn]=c[an]=!0;c[Dr]=c[zr]=c[Xr]=c[Lr]=c[Yr]=c[Gr]=c[Fr]=c[Hr]=c[Br]=c[Nr]=c[Ur]=c[qr]=c[Wr]=c[Kr]=c[Vr]=!1;function sn(e){return R(e)&&Me(e.length)&&!!c[C(e)]}function on(e){return function(t){return e(t)}}var Ce=typeof exports=="object"&&exports&&!exports.nodeType&&exports,S=Ce&&typeof module=="object"&&module&&!module.nodeType&&module,un=S&&S.exports===Ce,K=un&&ze.process,ce=function(){try{var e=S&&S.require&&S.require("util").types;return e||K&&K.binding&&K.binding("util")}catch{}}(),he=ce&&ce.isTypedArray,Ie=he?on(he):sn,fn=Object.prototype,cn=fn.hasOwnProperty;function hn(e,t){var r=H(e),n=!r&&Pr(e),i=!r&&!n&&X(e),a=!r&&!n&&!i&&Ie(e),s=r||n||i||a,o=s?Ar(e.length,String):[],u=o.length;for(var f in e)(t||cn.call(e,f))&&!(s&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Cr(f,u)))&&o.push(f);return o}var ln=Object.prototype;function pn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ln;return e===r}var dn=et(Object.keys,Object),vn=Object.prototype,_n=vn.hasOwnProperty;function gn(e){if(!pn(e))return dn(e);var t=[];for(var r in Object(e))_n.call(e,r)&&r!="constructor"&&t.push(r);return t}function bn(e){return e!=null&&Me(e.length)&&!$e(e)}function yn(e){return bn(e)?hn(e):gn(e)}function le(e){return gr(e,yn,Or)}var mn=1,wn=Object.prototype,On=wn.hasOwnProperty;function An(e,t,r,n,i,a){var s=r&mn,o=le(e),u=o.length,f=le(t),l=f.length;if(u!=l&&!s)return!1;for(var p=u;p--;){var h=o[p];if(!(s?h in t:On.call(t,h)))return!1}var _=a.get(e),d=a.get(t);if(_&&d)return _==t&&d==e;var v=!0;a.set(e,t),a.set(t,e);for(var b=s;++p