useFlexGapSupport-2ff65cc2.js 14 KB

1
  1. import{aa as xe,bq as L,bh as m,be as ee,bj as j,br as Re,bs as Ge,b as te,_ as Fe,a as J,f as $e,bt as Be,p as He,T as Ue,r as Ne,o as qe,bu as Ke}from"./index-4c57e493.js";function re(e,t,r,n,a,s,i){try{var o=e[s](i),u=o.value}catch(c){r(c);return}o.done?t(u):Promise.resolve(u).then(n,a)}function Wn(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var s=e.apply(t,r);function i(u){re(s,n,a,i,o,"next",u)}function o(u){re(s,n,a,i,o,"throw",u)}i(void 0)})}}function We(){this.__data__=[],this.size=0}function Oe(e,t){return e===t||e!==e&&t!==t}function H(e,t){for(var r=e.length;r--;)if(Oe(e[r][0],t))return r;return-1}var Je=Array.prototype,Qe=Je.splice;function Xe(e){var t=this.__data__,r=H(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Qe.call(t,r,1),--this.size,!0}function Ye(e){var t=this.__data__,r=H(t,e);return r<0?void 0:t[r][1]}function Ze(e){return H(this.__data__,e)>-1}function Ve(e,t){var r=this.__data__,n=H(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function _(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_.prototype.clear=We;_.prototype.delete=Xe;_.prototype.get=Ye;_.prototype.has=Ze;_.prototype.set=Ve;function ke(){this.__data__=new _,this.size=0}function et(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function tt(e){return this.__data__.get(e)}function rt(e){return this.__data__.has(e)}var nt="[object AsyncFunction]",at="[object Function]",st="[object GeneratorFunction]",it="[object Proxy]";function Pe(e){if(!xe(e))return!1;var t=L(e);return t==at||t==st||t==nt||t==it}var ot=m["__core-js_shared__"];const N=ot;var ne=function(){var e=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ut(e){return!!ne&&ne in e}var ct=Function.prototype,ft=ct.toString;function O(e){if(e!=null){try{return ft.call(e)}catch{}try{return e+""}catch{}}return""}var lt=/[\\^$.*+?()[\]{}|]/g,pt=/^\[object .+?Constructor\]$/,gt=Function.prototype,ht=Object.prototype,dt=gt.toString,vt=ht.hasOwnProperty,_t=RegExp("^"+dt.call(vt).replace(lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yt(e){if(!xe(e)||ut(e))return!1;var t=Pe(e)?_t:pt;return t.test(O(e))}function bt(e,t){return e==null?void 0:e[t]}function S(e,t){var r=bt(e,t);return yt(r)?r:void 0}var mt=S(m,"Map");const I=mt;var At=S(Object,"create");const C=At;function Tt(){this.__data__=C?C(null):{},this.size=0}function wt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var xt="__lodash_hash_undefined__",$t=Object.prototype,Ot=$t.hasOwnProperty;function Pt(e){var t=this.__data__;if(C){var r=t[e];return r===xt?void 0:r}return Ot.call(t,e)?t[e]:void 0}var St=Object.prototype,Et=St.hasOwnProperty;function jt(e){var t=this.__data__;return C?t[e]!==void 0:Et.call(t,e)}var It="__lodash_hash_undefined__";function Ct(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=C&&t===void 0?It:t,this}function $(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}$.prototype.clear=Tt;$.prototype.delete=wt;$.prototype.get=Pt;$.prototype.has=jt;$.prototype.set=Ct;function Lt(){this.size=0,this.__data__={hash:new $,map:new(I||_),string:new $}}function Mt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function U(e,t){var r=e.__data__;return Mt(t)?r[typeof t=="string"?"string":"hash"]:r.map}function zt(e){var t=U(this,e).delete(e);return this.size-=t?1:0,t}function Dt(e){return U(this,e).get(e)}function Rt(e){return U(this,e).has(e)}function Gt(e,t){var r=U(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function P(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}P.prototype.clear=Lt;P.prototype.delete=zt;P.prototype.get=Dt;P.prototype.has=Rt;P.prototype.set=Gt;var Ft=200;function Bt(e,t){var r=this.__data__;if(r instanceof _){var n=r.__data__;if(!I||n.length<Ft-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new P(n)}return r.set(e,t),this.size=r.size,this}function b(e){var t=this.__data__=new _(e);this.size=t.size}b.prototype.clear=ke;b.prototype.delete=et;b.prototype.get=tt;b.prototype.has=rt;b.prototype.set=Bt;var Ht="__lodash_hash_undefined__";function Ut(e){return this.__data__.set(e,Ht),this}function Nt(e){return this.__data__.has(e)}function F(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new P;++t<r;)this.add(e[t])}F.prototype.add=F.prototype.push=Ut;F.prototype.has=Nt;function qt(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Kt(e,t){return e.has(t)}var Wt=1,Jt=2;function Se(e,t,r,n,a,s){var i=r&Wt,o=e.length,u=t.length;if(o!=u&&!(i&&u>o))return!1;var c=s.get(e),d=s.get(t);if(c&&d)return c==t&&d==e;var p=-1,l=!0,v=r&Jt?new F:void 0;for(s.set(e,t),s.set(t,e);++p<o;){var g=e[p],h=t[p];if(n)var y=i?n(h,g,p,t,e,s):n(g,h,p,e,t,s);if(y!==void 0){if(y)continue;l=!1;break}if(v){if(!qt(t,function(A,T){if(!Kt(v,T)&&(g===A||a(g,A,r,n,s)))return v.push(T)})){l=!1;break}}else if(!(g===h||a(g,h,r,n,s))){l=!1;break}}return s.delete(e),s.delete(t),l}var Qt=m.Uint8Array;const ae=Qt;function Xt(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function Yt(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Zt=1,Vt=2,kt="[object Boolean]",er="[object Date]",tr="[object Error]",rr="[object Map]",nr="[object Number]",ar="[object RegExp]",sr="[object Set]",ir="[object String]",or="[object Symbol]",ur="[object ArrayBuffer]",cr="[object DataView]",se=ee?ee.prototype:void 0,q=se?se.valueOf:void 0;function fr(e,t,r,n,a,s,i){switch(r){case cr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ur:return!(e.byteLength!=t.byteLength||!s(new ae(e),new ae(t)));case kt:case er:case nr:return Oe(+e,+t);case tr:return e.name==t.name&&e.message==t.message;case ar:case ir:return e==t+"";case rr:var o=Xt;case sr:var u=n&Zt;if(o||(o=Yt),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;n|=Vt,i.set(e,t);var d=Se(o(e),o(t),n,a,s,i);return i.delete(e),d;case or:if(q)return q.call(e)==q.call(t)}return!1}function lr(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var pr=Array.isArray;const B=pr;function gr(e,t,r){var n=t(e);return B(e)?n:lr(n,r(e))}function hr(e,t){for(var r=-1,n=e==null?0:e.length,a=0,s=[];++r<n;){var i=e[r];t(i,r,e)&&(s[a++]=i)}return s}function dr(){return[]}var vr=Object.prototype,_r=vr.propertyIsEnumerable,ie=Object.getOwnPropertySymbols,yr=ie?function(e){return e==null?[]:(e=Object(e),hr(ie(e),function(t){return _r.call(e,t)}))}:dr;const br=yr;function mr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Ar="[object Arguments]";function oe(e){return j(e)&&L(e)==Ar}var Ee=Object.prototype,Tr=Ee.hasOwnProperty,wr=Ee.propertyIsEnumerable,xr=oe(function(){return arguments}())?oe:function(e){return j(e)&&Tr.call(e,"callee")&&!wr.call(e,"callee")};const $r=xr;function Or(){return!1}var je=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ue=je&&typeof module=="object"&&module&&!module.nodeType&&module,Pr=ue&&ue.exports===je,ce=Pr?m.Buffer:void 0,Sr=ce?ce.isBuffer:void 0,Er=Sr||Or;const Q=Er;var jr=9007199254740991,Ir=/^(?:0|[1-9]\d*)$/;function Cr(e,t){var r=typeof e;return t=t??jr,!!t&&(r=="number"||r!="symbol"&&Ir.test(e))&&e>-1&&e%1==0&&e<t}var Lr=9007199254740991;function Ie(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Lr}var Mr="[object Arguments]",zr="[object Array]",Dr="[object Boolean]",Rr="[object Date]",Gr="[object Error]",Fr="[object Function]",Br="[object Map]",Hr="[object Number]",Ur="[object Object]",Nr="[object RegExp]",qr="[object Set]",Kr="[object String]",Wr="[object WeakMap]",Jr="[object ArrayBuffer]",Qr="[object DataView]",Xr="[object Float32Array]",Yr="[object Float64Array]",Zr="[object Int8Array]",Vr="[object Int16Array]",kr="[object Int32Array]",en="[object Uint8Array]",tn="[object Uint8ClampedArray]",rn="[object Uint16Array]",nn="[object Uint32Array]",f={};f[Xr]=f[Yr]=f[Zr]=f[Vr]=f[kr]=f[en]=f[tn]=f[rn]=f[nn]=!0;f[Mr]=f[zr]=f[Jr]=f[Dr]=f[Qr]=f[Rr]=f[Gr]=f[Fr]=f[Br]=f[Hr]=f[Ur]=f[Nr]=f[qr]=f[Kr]=f[Wr]=!1;function an(e){return j(e)&&Ie(e.length)&&!!f[L(e)]}function sn(e){return function(t){return e(t)}}var Ce=typeof exports=="object"&&exports&&!exports.nodeType&&exports,E=Ce&&typeof module=="object"&&module&&!module.nodeType&&module,on=E&&E.exports===Ce,K=on&&Re.process,un=function(){try{var e=E&&E.require&&E.require("util").types;return e||K&&K.binding&&K.binding("util")}catch{}}();const fe=un;var le=fe&&fe.isTypedArray,cn=le?sn(le):an;const Le=cn;var fn=Object.prototype,ln=fn.hasOwnProperty;function pn(e,t){var r=B(e),n=!r&&$r(e),a=!r&&!n&&Q(e),s=!r&&!n&&!a&&Le(e),i=r||n||a||s,o=i?mr(e.length,String):[],u=o.length;for(var c in e)(t||ln.call(e,c))&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Cr(c,u)))&&o.push(c);return o}var gn=Object.prototype;function hn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||gn;return e===r}var dn=Ge(Object.keys,Object);const vn=dn;var _n=Object.prototype,yn=_n.hasOwnProperty;function bn(e){if(!hn(e))return vn(e);var t=[];for(var r in Object(e))yn.call(e,r)&&r!="constructor"&&t.push(r);return t}function mn(e){return e!=null&&Ie(e.length)&&!Pe(e)}function An(e){return mn(e)?pn(e):bn(e)}function pe(e){return gr(e,An,br)}var Tn=1,wn=Object.prototype,xn=wn.hasOwnProperty;function $n(e,t,r,n,a,s){var i=r&Tn,o=pe(e),u=o.length,c=pe(t),d=c.length;if(u!=d&&!i)return!1;for(var p=u;p--;){var l=o[p];if(!(i?l in t:xn.call(t,l)))return!1}var v=s.get(e),g=s.get(t);if(v&&g)return v==t&&g==e;var h=!0;s.set(e,t),s.set(t,e);for(var y=i;++p<u;){l=o[p];var A=e[l],T=t[l];if(n)var k=i?n(T,A,l,t,e,s):n(A,T,l,e,t,s);if(!(k===void 0?A===T||a(A,T,r,n,s):k)){h=!1;break}y||(y=l=="constructor")}if(h&&!y){var M=e.constructor,z=t.constructor;M!=z&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof z=="function"&&z instanceof z)&&(h=!1)}return s.delete(e),s.delete(t),h}var On=S(m,"DataView");const X=On;var Pn=S(m,"Promise");const Y=Pn;var Sn=S(m,"Set");const Z=Sn;var En=S(m,"WeakMap");const V=En;var ge="[object Map]",jn="[object Object]",he="[object Promise]",de="[object Set]",ve="[object WeakMap]",_e="[object DataView]",In=O(X),Cn=O(I),Ln=O(Y),Mn=O(Z),zn=O(V),x=L;(X&&x(new X(new ArrayBuffer(1)))!=_e||I&&x(new I)!=ge||Y&&x(Y.resolve())!=he||Z&&x(new Z)!=de||V&&x(new V)!=ve)&&(x=function(e){var t=L(e),r=t==jn?e.constructor:void 0,n=r?O(r):"";if(n)switch(n){case In:return _e;case Cn:return ge;case Ln:return he;case Mn:return de;case zn:return ve}return t});const ye=x;var Dn=1,be="[object Arguments]",me="[object Array]",D="[object Object]",Rn=Object.prototype,Ae=Rn.hasOwnProperty;function Gn(e,t,r,n,a,s){var i=B(e),o=B(t),u=i?me:ye(e),c=o?me:ye(t);u=u==be?D:u,c=c==be?D:c;var d=u==D,p=c==D,l=u==c;if(l&&Q(e)){if(!Q(t))return!1;i=!0,d=!1}if(l&&!d)return s||(s=new b),i||Le(e)?Se(e,t,r,n,a,s):fr(e,t,u,r,n,a,s);if(!(r&Dn)){var v=d&&Ae.call(e,"__wrapped__"),g=p&&Ae.call(t,"__wrapped__");if(v||g){var h=v?e.value():e,y=g?t.value():t;return s||(s=new b),a(h,y,r,n,s)}}return l?(s||(s=new b),$n(e,t,r,n,a,s)):!1}function Me(e,t,r,n,a){return e===t?!0:e==null||t==null||!j(e)&&!j(t)?e!==e&&t!==t:Gn(e,t,r,n,Me,a)}function Jn(e,t){return Me(e,t)}var Qn=["xxxl","xxl","xl","lg","md","sm","xs"],R={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)",xxxl:"(min-width: 2000px)"},w=new Map,W=-1,G={},Fn={matchHandlers:{},dispatch:function(t){return G=t,w.forEach(function(r){return r(G)}),w.size>=1},subscribe:function(t){return w.size||this.register(),W+=1,w.set(W,t),t(G),W},unsubscribe:function(t){w.delete(t),w.size||this.unregister()},unregister:function(){var t=this;Object.keys(R).forEach(function(r){var n=R[r],a=t.matchHandlers[n];a==null||a.mql.removeListener(a==null?void 0:a.listener)}),w.clear()},register:function(){var t=this;Object.keys(R).forEach(function(r){var n=R[r],a=function(o){var u=o.matches;t.dispatch(te(te({},G),{},Fe({},r,u)))},s=window.matchMedia(n);s.addListener(a),t.matchHandlers[n]={mql:s,listener:a},a(s)})}};const Xn=Fn;var ze=Symbol("SizeProvider"),Yn=function(t){var r=$e("configProvider",Be),n=J(function(){return t.size||r.componentSize});return He(ze,n),n},Zn=function(t){var r=t?J(function(){return t.size}):$e(ze,J(function(){return"default"}));return r};function Bn(e,t,r,n){for(var a=e.length,s=r+(n?1:-1);n?s--:++s<a;)if(t(e[s],s,e))return s;return-1}function Hn(e){return e!==e}function Un(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function Nn(e,t,r){return t===t?Un(e,t,r):Bn(e,Hn,r)}function Vn(e,t){var r=e==null?0:e.length;return!!r&&Nn(e,t,0)>-1}function kn(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}function De(e,t){if(e.classList)return e.classList.contains(t);var r=e.className;return" ".concat(r," ").indexOf(" ".concat(t," "))>-1}function Te(e,t){e.classList?e.classList.add(t):De(e,t)||(e.className="".concat(e.className," ").concat(t))}function we(e,t){if(e.classList)e.classList.remove(t);else if(De(e,t)){var r=e.className;e.className=" ".concat(r," ").replace(" ".concat(t," ")," ")}}var qn=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:t,appear:r,css:!0,onBeforeEnter:function(a){a.style.height="0px",a.style.opacity="0",Te(a,t)},onEnter:function(a){Ue(function(){a.style.height="".concat(a.scrollHeight,"px"),a.style.opacity="1"})},onAfterEnter:function(a){a&&(we(a,t),a.style.height=null,a.style.opacity=null)},onBeforeLeave:function(a){Te(a,t),a.style.height="".concat(a.offsetHeight,"px"),a.style.opacity=null},onLeave:function(a){setTimeout(function(){a.style.height="0px",a.style.opacity="0"})},onAfterLeave:function(a){a&&(we(a,t),a.style&&(a.style.height=null,a.style.opacity=null))}}};const ea=qn,ta=function(){var e=Ne(!1);return qe(function(){e.value=Ke()}),e};export{fe as A,sn as B,Q as C,b as D,pe as E,Me as F,Bn as G,P as M,Xn as R,Z as S,ae as U,Wn as _,Jn as a,Yn as b,ea as c,F as d,Vn as e,kn as f,Kt as g,ta as h,Cr as i,B as j,S as k,Oe as l,Ie as m,$r as n,lr as o,An as p,hn as q,Qn as r,Yt as s,mn as t,Zn as u,pn as v,br as w,dr as x,gr as y,ye as z};