import{U as x,l as C,h as D,a as H,S as P,b as K}from"./_Uint8Array.4350f927.js";import{b5 as J,aj as I,U as Q,a0 as M,V as B,R as X,a8 as Y}from"./base.b65bdcd1.js";var Z="__lodash_hash_undefined__";function b(n){return this.__data__.set(n,Z),this}function W(n){return this.__data__.has(n)}function L(n){var e=-1,r=n==null?0:n.length;for(this.__data__=new J;++e<r;)this.add(n[e])}L.prototype.add=L.prototype.push=b;L.prototype.has=W;function z(n,e){for(var r=-1,s=n==null?0:n.length;++r<s;)if(e(n[r],r,n))return!0;return!1}function j(n,e){return n.has(e)}var V=1,k=2;function h(n,e,r,s,t,a){var f=r&V,i=n.length,l=e.length;if(i!=l&&!(f&&l>i))return!1;var d=a.get(n),v=a.get(e);if(d&&v)return d==e&&v==n;var p=-1,u=!0,_=r&k?new L:void 0;for(a.set(n,e),a.set(e,n);++p<i;){var g=n[p],o=e[p];if(s)var A=f?s(o,g,p,e,n,a):s(g,o,p,n,e,a);if(A!==void 0){if(A)continue;u=!1;break}if(_){if(!z(e,function(T,y){if(!j(_,y)&&(g===T||t(g,T,r,s,a)))return _.push(y)})){u=!1;break}}else if(!(g===o||t(g,o,r,s,a))){u=!1;break}}return a.delete(n),a.delete(e),u}function nn(n){var e=-1,r=Array(n.size);return n.forEach(function(s,t){r[++e]=[t,s]}),r}function en(n){var e=-1,r=Array(n.size);return n.forEach(function(s){r[++e]=s}),r}var rn=1,an=2,sn="[object Boolean]",tn="[object Date]",fn="[object Error]",un="[object Map]",ln="[object Number]",dn="[object RegExp]",gn="[object Set]",pn="[object String]",vn="[object Symbol]",_n="[object ArrayBuffer]",on="[object DataView]",U=I?I.prototype:void 0,R=U?U.valueOf:void 0;function An(n,e,r,s,t,a,f){switch(r){case on:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case _n:return!(n.byteLength!=e.byteLength||!a(new x(n),new x(e)));case sn:case tn:case ln:return Q(+n,+e);case fn:return n.name==e.name&&n.message==e.message;case dn:case pn:return n==e+"";case un:var i=nn;case gn:var l=s&rn;if(i||(i=en),n.size!=e.size&&!l)return!1;var d=f.get(n);if(d)return d==e;s|=an,f.set(n,e);var v=h(i(n),i(e),s,t,a,f);return f.delete(n),v;case vn:if(R)return R.call(n)==R.call(e)}return!1}var cn=1,Tn=Object.prototype,yn=Tn.hasOwnProperty;function En(n,e,r,s,t,a){var f=r&cn,i=C(n),l=i.length,d=C(e),v=d.length;if(l!=v&&!f)return!1;for(var p=l;p--;){var u=i[p];if(!(f?u in e:yn.call(e,u)))return!1}var _=a.get(n),g=a.get(e);if(_&&g)return _==e&&g==n;var o=!0;a.set(n,e),a.set(e,n);for(var A=f;++p<l;){u=i[p];var T=n[u],y=e[u];if(s)var S=f?s(y,T,u,e,n,a):s(T,y,u,n,e,a);if(!(S===void 0?T===y||t(T,y,r,s,a):S)){o=!1;break}A||(A=u=="constructor")}if(o&&!A){var E=n.constructor,O=e.constructor;E!=O&&"constructor"in n&&"constructor"in e&&!(typeof E=="function"&&E instanceof E&&typeof O=="function"&&O instanceof O)&&(o=!1)}return a.delete(n),a.delete(e),o}var On=1,$="[object Arguments]",m="[object Array]",w="[object Object]",wn=Object.prototype,G=wn.hasOwnProperty;function Ln(n,e,r,s,t,a){var f=M(n),i=M(e),l=f?m:D(n),d=i?m:D(e);l=l==$?w:l,d=d==$?w:d;var v=l==w,p=d==w,u=l==d;if(u&&H(n)){if(!H(e))return!1;f=!0,v=!1}if(u&&!v)return a||(a=new P),f||K(n)?h(n,e,r,s,t,a):An(n,e,l,r,s,t,a);if(!(r&On)){var _=v&&G.call(n,"__wrapped__"),g=p&&G.call(e,"__wrapped__");if(_||g){var o=_?n.value():n,A=g?e.value():e;return a||(a=new P),t(o,A,r,s,a)}}return u?(a||(a=new P),En(n,e,r,s,t,a)):!1}function q(n,e,r,s,t){return n===e?!0:n==null||e==null||!B(n)&&!B(e)?n!==n&&e!==e:Ln(n,e,r,s,q,t)}function Sn(n,e){return q(n,e)}const c=new Map;let F;X&&(document.addEventListener("mousedown",n=>F=n),document.addEventListener("mouseup",n=>{for(const e of c.values())for(const{documentHandler:r}of e)r(n,F)}));function N(n,e){let r=[];return Array.isArray(e.arg)?r=e.arg:Y(e.arg)&&r.push(e.arg),function(s,t){const a=e.instance.popperRef,f=s.target,i=t==null?void 0:t.target,l=!e||!e.instance,d=!f||!i,v=n.contains(f)||n.contains(i),p=n===f,u=r.length&&r.some(g=>g==null?void 0:g.contains(f))||r.length&&r.includes(i),_=a&&(a.contains(f)||a.contains(i));l||d||v||p||u||_||e.value(s,t)}}const xn={beforeMount(n,e){c.has(n)||c.set(n,[]),c.get(n).push({documentHandler:N(n,e),bindingFn:e.value})},updated(n,e){c.has(n)||c.set(n,[]);const r=c.get(n),s=r.findIndex(a=>a.bindingFn===e.oldValue),t={documentHandler:N(n,e),bindingFn:e.value};s>=0?r.splice(s,1,t):r.push(t)},unmounted(n){c.delete(n)}};export{xn as C,q as b,Sn as i};
