UNPKG

antd-mobile

Version:
5 lines 472 kB
(function(H,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],E):(H=typeof globalThis<"u"?globalThis:H||self,E(H.antdMobile={},H.React,H.ReactDOM))})(this,function(H,E,Va){"use strict";const Tm=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function Pc(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=Tm(E),j=Pc(E),Mm=Pc(Va),f$="",Rn=!!(typeof window<"u"&&typeof document<"u"&&window.document&&window.document.createElement);Rn&&document.addEventListener("touchstart",()=>{},!0);var ja=function(){return ja=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ja.apply(this,arguments)};function Dn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function Ee(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(f){try{u(r.next(f))}catch(d){o(d)}}function c(f){try{u(r.throw(f))}catch(d){o(d)}}function u(f){f.done?i(f.value):a(f.value).then(s,c)}u((r=r.apply(e,t||[])).next())})}function Im(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return c([u,f])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(n=0)),n;)try{if(r=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,a=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(f){u=[6,f],a=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Lm(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ht(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function Io(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Rm(e,t){function n(r,a){if(typeof r!="object"||typeof a!="object"||Array.isArray(r)||Array.isArray(a))return a!==void 0?a:r;const i={};for(const o in r)r.hasOwnProperty(o)&&(i[o]=n(r[o],a[o]));return i}return n(e,t)}const Be="${label} is not a valid ${type}",Dm={locale:"en",common:{confirm:"Confirm",cancel:"Cancel",loading:"Loading",close:"Close"},Calendar:{title:"Date selection",confirm:"Confirm",start:"start",end:"end",today:"today",markItems:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],yearAndMonth:"${year}/${month}"},Cascader:{placeholder:"Selecting"},Dialog:{ok:"OK"},DatePicker:{tillNow:"Till Now"},ErrorBlock:{default:{title:"Oops, something went wrong",description:"Please wait a minute and try again"},busy:{title:"Oops, not loading",description:"Try to refresh the page"},disconnected:{title:"Network is busy",description:"Try to refresh the page"},empty:{title:"Hmm, couldn't find that...",description:"Want to try a new search?"}},Form:{required:"Required",optional:"Optional",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Be,method:Be,array:Be,object:Be,number:Be,date:Be,boolean:Be,integer:Be,float:Be,regexp:Be,email:Be,url:Be,hex:Be},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},ImageUploader:{uploading:"Uploading...",upload:"Upload"},InfiniteScroll:{noMore:"No more",failedToLoad:"Failed to load",retry:"Retry"},Input:{clear:"clear"},Mask:{name:"Mask"},Modal:{ok:"OK"},PasscodeInput:{name:"Passcode Input"},PullToRefresh:{pulling:"Scroll down to refresh",canRelease:"Release to refresh immediately",complete:"Refresh successful"},SearchBar:{name:"Search Bar"},Slider:{name:"Slider"},Stepper:{decrease:"decrease",increase:"increase"},Switch:{name:"Switch"},Selector:{name:"Selector"}},We="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",Nc={current:{locale:Rm(Dm,{locale:"zh-CH",common:{confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",loading:"\u52A0\u8F7D\u4E2D",close:"\u5173\u95ED"},Calendar:{title:"\u65E5\u671F\u9009\u62E9",confirm:"\u786E\u8BA4",start:"\u5F00\u59CB",end:"\u7ED3\u675F",today:"\u4ECA\u65E5",markItems:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u65E5"],yearAndMonth:"${year}\u5E74${month}\u6708"},Cascader:{placeholder:"\u8BF7\u9009\u62E9"},Dialog:{ok:"\u6211\u77E5\u9053\u4E86"},DatePicker:{tillNow:"\u81F3\u4ECA"},ErrorBlock:{default:{title:"\u9875\u9762\u9047\u5230\u4E00\u4E9B\u5C0F\u95EE\u9898",description:"\u5F85\u4F1A\u6765\u8BD5\u8BD5"},busy:{title:"\u524D\u65B9\u62E5\u5835",description:"\u5237\u65B0\u8BD5\u8BD5"},disconnected:{title:"\u7F51\u7EDC\u6709\u70B9\u5FD9",description:"\u52A8\u52A8\u624B\u6307\u5E2E\u5FD9\u4FEE\u590D"},empty:{title:"\u6CA1\u6709\u627E\u5230\u4F60\u9700\u8981\u7684\u4E1C\u897F",description:"\u627E\u627E\u5176\u4ED6\u7684\u5427"}},Form:{required:"\u5FC5\u586B",optional:"\u9009\u586B",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:We,method:We,array:We,object:We,number:We,date:We,boolean:We,integer:We,float:We,regexp:We,email:We,url:We,hex:We},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},ImageUploader:{uploading:"\u4E0A\u4F20\u4E2D...",upload:"\u4E0A\u4F20"},InfiniteScroll:{noMore:"\u6CA1\u6709\u66F4\u591A\u4E86",failedToLoad:"\u52A0\u8F7D\u5931\u8D25",retry:"\u91CD\u65B0\u52A0\u8F7D"},Input:{clear:"\u6E05\u9664"},Mask:{name:"\u80CC\u666F\u8499\u5C42"},Modal:{ok:"\u6211\u77E5\u9053\u4E86"},PasscodeInput:{name:"\u5BC6\u7801\u8F93\u5165\u6846"},PullToRefresh:{pulling:"\u4E0B\u62C9\u5237\u65B0",canRelease:"\u91CA\u653E\u7ACB\u5373\u5237\u65B0",complete:"\u5237\u65B0\u6210\u529F"},SearchBar:{name:"\u641C\u7D22\u6846"},Slider:{name:"\u6ED1\u52A8\u8F93\u5165\u6761"},Stepper:{decrease:"\u51CF\u5C11",increase:"\u589E\u52A0"},Switch:{name:"\u5F00\u5173"},Selector:{name:"\u9009\u62E9\u7EC4"}})}};function Vm(e){Nc.current=e}function Fr(){return Nc.current}const Ac=l.default.createContext(null),jm=e=>{const{children:t}=e,n=Dn(e,["children"]),r=me();return l.default.createElement(Ac.Provider,{value:Object.assign(Object.assign({},r),n)},t)};function me(){var e;return(e=E.useContext(Ac))!==null&&e!==void 0?e:Fr()}const Bm=jm,h$="";function ne(e,t){const n=e;for(const r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}var at=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tc={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],a=0;a<arguments.length;a++){var i=arguments[a];if(!!i){var o=typeof i;if(o==="string"||o==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var s=n.apply(null,i);s&&r.push(s)}}else if(o==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&r.push(c)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Tc);const B=Tc.exports;function Z(e,t){const n=Object.assign({},t.props);e.className&&(n.className=B(t.props.className,e.className)),e.style&&(n.style=Object.assign(Object.assign({},n.style),e.style)),e.tabIndex!==void 0&&(n.tabIndex=e.tabIndex);for(const r in e)!e.hasOwnProperty(r)||(r.startsWith("data-")||r.startsWith("aria-"))&&(n[r]=e[r]);return l.default.cloneElement(t,n)}var Wm=typeof at=="object"&&at&&at.Object===Object&&at,Mc=Wm,Zm=Mc,Hm=typeof self=="object"&&self&&self.Object===Object&&self,zm=Zm||Hm||Function("return this")(),it=zm,Um=it,qm=Um.Symbol,Lo=qm,Ic=Lo,Lc=Object.prototype,Km=Lc.hasOwnProperty,Gm=Lc.toString,Pr=Ic?Ic.toStringTag:void 0;function Ym(e){var t=Km.call(e,Pr),n=e[Pr];try{e[Pr]=void 0;var r=!0}catch{}var a=Gm.call(e);return r&&(t?e[Pr]=n:delete e[Pr]),a}var Xm=Ym,Qm=Object.prototype,Jm=Qm.toString;function eh(e){return Jm.call(e)}var th=eh,Rc=Lo,nh=Xm,rh=th,ah="[object Null]",ih="[object Undefined]",Dc=Rc?Rc.toStringTag:void 0;function oh(e){return e==null?e===void 0?ih:ah:Dc&&Dc in Object(e)?nh(e):rh(e)}var Vn=oh;function sh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var vt=sh,lh=Vn,ch=vt,uh="[object AsyncFunction]",fh="[object Function]",dh="[object GeneratorFunction]",mh="[object Proxy]";function hh(e){if(!ch(e))return!1;var t=lh(e);return t==fh||t==dh||t==uh||t==mh}var Ro=hh,vh=it,ph=vh["__core-js_shared__"],gh=ph,Do=gh,Vc=function(){var e=/[^.]+$/.exec(Do&&Do.keys&&Do.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function yh(e){return!!Vc&&Vc in e}var bh=yh,wh=Function.prototype,Eh=wh.toString;function Ch(e){if(e!=null){try{return Eh.call(e)}catch{}try{return e+""}catch{}}return""}var jc=Ch,xh=Ro,_h=bh,kh=vt,$h=jc,Sh=/[\\^$.*+?()[\]{}|]/g,Oh=/^\[object .+?Constructor\]$/,Fh=Function.prototype,Ph=Object.prototype,Nh=Fh.toString,Ah=Ph.hasOwnProperty,Th=RegExp("^"+Nh.call(Ah).replace(Sh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mh(e){if(!kh(e)||_h(e))return!1;var t=xh(e)?Th:Oh;return t.test($h(e))}var Ih=Mh;function Lh(e,t){return e==null?void 0:e[t]}var Rh=Lh,Dh=Ih,Vh=Rh;function jh(e,t){var n=Vh(e,t);return Dh(n)?n:void 0}var sn=jh,Bh=sn,Wh=function(){try{var e=Bh(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Bc=Wh,Wc=Bc;function Zh(e,t,n){t=="__proto__"&&Wc?Wc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Vo=Zh;function Hh(e,t){return e===t||e!==e&&t!==t}var Nr=Hh,zh=Vo,Uh=Nr,qh=Object.prototype,Kh=qh.hasOwnProperty;function Gh(e,t,n){var r=e[t];(!(Kh.call(e,t)&&Uh(r,n))||n===void 0&&!(t in e))&&zh(e,t,n)}var Yh=Gh,Xh=Yh,Qh=Vo;function Jh(e,t,n,r){var a=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),a?Qh(n,s,c):Xh(n,s,c)}return n}var Zc=Jh;function e2(e){return e}var Hc=e2;function t2(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var n2=t2,r2=n2,zc=Math.max;function a2(e,t,n){return t=zc(t===void 0?e.length-1:t,0),function(){for(var r=arguments,a=-1,i=zc(r.length-t,0),o=Array(i);++a<i;)o[a]=r[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=r[a];return s[t]=n(o),r2(e,this,s)}}var i2=a2;function o2(e){return function(){return e}}var s2=o2,l2=s2,Uc=Bc,c2=Hc,u2=Uc?function(e,t){return Uc(e,"toString",{configurable:!0,enumerable:!1,value:l2(t),writable:!0})}:c2,f2=u2,d2=800,m2=16,h2=Date.now;function v2(e){var t=0,n=0;return function(){var r=h2(),a=m2-(r-n);if(n=r,a>0){if(++t>=d2)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var p2=v2,g2=f2,y2=p2,b2=y2(g2),w2=b2,E2=Hc,C2=i2,x2=w2;function _2(e,t){return x2(C2(e,t,E2),e+"")}var k2=_2,$2=9007199254740991;function S2(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$2}var qc=S2,O2=Ro,F2=qc;function P2(e){return e!=null&&F2(e.length)&&!O2(e)}var Ba=P2,N2=9007199254740991,A2=/^(?:0|[1-9]\d*)$/;function T2(e,t){var n=typeof e;return t=t==null?N2:t,!!t&&(n=="number"||n!="symbol"&&A2.test(e))&&e>-1&&e%1==0&&e<t}var Kc=T2,M2=Nr,I2=Ba,L2=Kc,R2=vt;function D2(e,t,n){if(!R2(n))return!1;var r=typeof t;return(r=="number"?I2(n)&&L2(t,n.length):r=="string"&&t in n)?M2(n[t],e):!1}var V2=D2,j2=k2,B2=V2;function W2(e){return j2(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&B2(n[0],n[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var s=n[r];s&&e(t,s,r,i)}return t})}var Gc=W2;function Z2(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var H2=Z2;function z2(e){return e!=null&&typeof e=="object"}var ln=z2,U2=Vn,q2=ln,K2="[object Arguments]";function G2(e){return q2(e)&&U2(e)==K2}var Y2=G2,Yc=Y2,X2=ln,Xc=Object.prototype,Q2=Xc.hasOwnProperty,J2=Xc.propertyIsEnumerable,ev=Yc(function(){return arguments}())?Yc:function(e){return X2(e)&&Q2.call(e,"callee")&&!J2.call(e,"callee")},Qc=ev,tv=Array.isArray,Wa=tv,Ar={exports:{}};function nv(){return!1}var rv=nv;(function(e,t){var n=it,r=rv,a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o?n.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||r;e.exports=u})(Ar,Ar.exports);var av=Vn,iv=qc,ov=ln,sv="[object Arguments]",lv="[object Array]",cv="[object Boolean]",uv="[object Date]",fv="[object Error]",dv="[object Function]",mv="[object Map]",hv="[object Number]",vv="[object Object]",pv="[object RegExp]",gv="[object Set]",yv="[object String]",bv="[object WeakMap]",wv="[object ArrayBuffer]",Ev="[object DataView]",Cv="[object Float32Array]",xv="[object Float64Array]",_v="[object Int8Array]",kv="[object Int16Array]",$v="[object Int32Array]",Sv="[object Uint8Array]",Ov="[object Uint8ClampedArray]",Fv="[object Uint16Array]",Pv="[object Uint32Array]",he={};he[Cv]=he[xv]=he[_v]=he[kv]=he[$v]=he[Sv]=he[Ov]=he[Fv]=he[Pv]=!0,he[sv]=he[lv]=he[wv]=he[cv]=he[Ev]=he[uv]=he[fv]=he[dv]=he[mv]=he[hv]=he[vv]=he[pv]=he[gv]=he[yv]=he[bv]=!1;function Nv(e){return ov(e)&&iv(e.length)&&!!he[av(e)]}var Av=Nv;function Tv(e){return function(t){return e(t)}}var Mv=Tv,jo={exports:{}};(function(e,t){var n=Mc,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,o=i&&n.process,s=function(){try{var c=a&&a.require&&a.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(jo,jo.exports);var Iv=Av,Lv=Mv,Jc=jo.exports,eu=Jc&&Jc.isTypedArray,Rv=eu?Lv(eu):Iv,Bo=Rv,Dv=H2,Vv=Qc,jv=Wa,Bv=Ar.exports,Wv=Kc,Zv=Bo,Hv=Object.prototype,zv=Hv.hasOwnProperty;function Uv(e,t){var n=jv(e),r=!n&&Vv(e),a=!n&&!r&&Bv(e),i=!n&&!r&&!a&&Zv(e),o=n||r||a||i,s=o?Dv(e.length,String):[],c=s.length;for(var u in e)(t||zv.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Wv(u,c)))&&s.push(u);return s}var tu=Uv,qv=Object.prototype;function Kv(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||qv;return e===n}var Wo=Kv;function Gv(e,t){return function(n){return e(t(n))}}var nu=Gv,Yv=nu,Xv=Yv(Object.keys,Object),Qv=Xv,Jv=Wo,ep=Qv,tp=Object.prototype,np=tp.hasOwnProperty;function rp(e){if(!Jv(e))return ep(e);var t=[];for(var n in Object(e))np.call(e,n)&&n!="constructor"&&t.push(n);return t}var ap=rp,ip=tu,op=ap,sp=Ba;function lp(e){return sp(e)?ip(e):op(e)}var ru=lp,cp=Zc,up=Gc,fp=ru,dp=up(function(e,t,n,r){cp(t,fp(t),e,r)}),mp=dp;function q(...e){function t(r,a){return a===void 0?r:a}let n=Object.assign({},e[0]);for(let r=1;r<e.length;r++)n=mp(n,e[r],t);return n}const v$="";var au=function(e){return function(t,n){var r=E.useRef(!1);e(function(){return function(){r.current=!1}},[]),e(function(){if(!r.current)r.current=!0;else return t()},n)}},jn=function(e){return typeof e=="function"},hp=function(e){return typeof e=="number"},vp=!1;const Tr=vp;function $t(e){Tr&&(jn(e)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof e)));var t=E.useRef(e);t.current=E.useMemo(function(){return e},[e]);var n=E.useRef();return n.current||(n.current=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];return t.current.apply(this,r)}),n.current}const Zo=au(E.useEffect);function iu(e,t){if(e===t)return!0;for(var n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}function Za(e){var t=E.useRef(e);return t.current=e,t}var pp=function(e){Tr&&(jn(e)||console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));var t=Za(e);E.useEffect(function(){return function(){t.current()}},[])};const Mr=pp;var gp=it,yp=function(){return gp.Date.now()},bp=yp,wp=/\s/;function Ep(e){for(var t=e.length;t--&&wp.test(e.charAt(t)););return t}var Cp=Ep,xp=Cp,_p=/^\s+/;function kp(e){return e&&e.slice(0,xp(e)+1).replace(_p,"")}var $p=kp,Sp=Vn,Op=ln,Fp="[object Symbol]";function Pp(e){return typeof e=="symbol"||Op(e)&&Sp(e)==Fp}var Np=Pp,Ap=$p,ou=vt,Tp=Np,su=0/0,Mp=/^[-+]0x[0-9a-f]+$/i,Ip=/^0b[01]+$/i,Lp=/^0o[0-7]+$/i,Rp=parseInt;function Dp(e){if(typeof e=="number")return e;if(Tp(e))return su;if(ou(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ou(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ap(e);var n=Ip.test(e);return n||Lp.test(e)?Rp(e.slice(2),n?2:8):Mp.test(e)?su:+e}var Vp=Dp,jp=vt,Ho=bp,lu=Vp,Bp="Expected a function",Wp=Math.max,Zp=Math.min;function Hp(e,t,n){var r,a,i,o,s,c,u=0,f=!1,d=!1,m=!0;if(typeof e!="function")throw new TypeError(Bp);t=lu(t)||0,jp(n)&&(f=!!n.leading,d="maxWait"in n,i=d?Wp(lu(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m);function y(x){var k=r,T=a;return r=a=void 0,u=x,o=e.apply(T,k),o}function p(x){return u=x,s=setTimeout(b,t),f?y(x):o}function h(x){var k=x-c,T=x-u,F=t-k;return d?Zp(F,i-T):F}function g(x){var k=x-c,T=x-u;return c===void 0||k>=t||k<0||d&&T>=i}function b(){var x=Ho();if(g(x))return _(x);s=setTimeout(b,h(x))}function _(x){return s=void 0,m&&r?y(x):(r=a=void 0,o)}function v(){s!==void 0&&clearTimeout(s),u=0,r=c=a=s=void 0}function w(){return s===void 0?o:_(Ho())}function C(){var x=Ho(),k=g(x);if(r=arguments,a=this,c=x,k){if(s===void 0)return p(c);if(d)return clearTimeout(s),s=setTimeout(b,t),y(c)}return s===void 0&&(s=setTimeout(b,t)),o}return C.cancel=v,C.flush=w,C}var cu=Hp,zp=!!(typeof window<"u"&&window.document&&window.document.createElement);const zo=zp;var Up=cu,qp=vt,Kp="Expected a function";function Gp(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(Kp);return qp(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Up(e,t,{leading:r,maxWait:t,trailing:a})}var Yp=Gp,Xp=function(e){Tr&&(jn(e)||console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e,'".'))),E.useEffect(function(){e==null||e()},[])};const Qp=Xp;var Jp=function(){var e=ht(E.useState({}),2),t=e[1];return E.useCallback(function(){return t({})},[])};const uu=Jp;function jt(e,t){if(!!zo){if(!e)return t;var n;return jn(e)?n=e():"current"in e?n=e.current:n=e,n}}var e3=function(e){return e.every(function(t){var n=jt(t);if(!n)return!1;if(n.getRootNode()instanceof ShadowRoot)return!0})},t3=function(e){return e?e.getRootNode():document},n3=function(e){if(!e||!document.getRootNode)return document;var t=Array.isArray(e)?e:[e];return e3(t)?t3(jt(t[0])):document};const r3=n3;var a3=function(e){var t=function(n,r,a){var i=E.useRef(!1),o=E.useRef([]),s=E.useRef([]),c=E.useRef();e(function(){var u,f=Array.isArray(a)?a:[a],d=f.map(function(m){return jt(m)});if(!i.current){i.current=!0,o.current=d,s.current=r,c.current=n();return}(d.length!==o.current.length||!iu(d,o.current)||!iu(r,s.current))&&((u=c.current)===null||u===void 0||u.call(c),o.current=d,s.current=r,c.current=n())}),Mr(function(){var u;(u=c.current)===null||u===void 0||u.call(c),i.current=!1})};return t};const fu=a3;var i3=fu(E.useEffect);const Uo=i3;function du(e,t,n){n===void 0&&(n="click");var r=Za(e);Uo(function(){var a=function(s){var c=Array.isArray(t)?t:[t];c.some(function(u){var f=jt(u);return!f||f.contains(s.target)})||r.current(s)},i=r3(t),o=Array.isArray(n)?n:[n];return o.forEach(function(s){return i.addEventListener(s,a)}),function(){o.forEach(function(s){return i.removeEventListener(s,a)})}},Array.isArray(n)?n:[n],t)}var mu={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(at,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",s="minute",c="hour",u="day",f="week",d="month",m="quarter",y="year",p="date",h="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var $=["th","st","nd","rd"],I=M%100;return"["+M+($[(I-20)%10]||$[I]||$[0])+"]"}},v=function(M,$,I){var A=String(M);return!A||A.length>=$?M:""+Array($+1-A.length).join(I)+M},w={s:v,z:function(M){var $=-M.utcOffset(),I=Math.abs($),A=Math.floor(I/60),O=I%60;return($<=0?"+":"-")+v(A,2,"0")+":"+v(O,2,"0")},m:function M($,I){if($.date()<I.date())return-M(I,$);var A=12*(I.year()-$.year())+(I.month()-$.month()),O=$.clone().add(A,d),L=I-O<0,N=$.clone().add(A+(L?-1:1),d);return+(-(A+(I-O)/(L?O-N:N-O))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:d,y,w:f,d:u,D:p,h:c,m:s,s:o,ms:i,Q:m}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},C="en",x={};x[C]=_;var k=function(M){return M instanceof V},T=function M($,I,A){var O;if(!$)return C;if(typeof $=="string"){var L=$.toLowerCase();x[L]&&(O=L),I&&(x[L]=I,O=L);var N=$.split("-");if(!O&&N.length>1)return M(N[0])}else{var P=$.name;x[P]=$,O=P}return!A&&O&&(C=O),O||!A&&C},F=function(M,$){if(k(M))return M.clone();var I=typeof $=="object"?$:{};return I.date=M,I.args=arguments,new V(I)},S=w;S.l=T,S.i=k,S.w=function(M,$){return F(M,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var V=function(){function M(I){this.$L=T(I.locale,null,!0),this.parse(I)}var $=M.prototype;return $.parse=function(I){this.$d=function(A){var O=A.date,L=A.utc;if(O===null)return new Date(NaN);if(S.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var N=O.match(g);if(N){var P=N[2]-1||0,D=(N[7]||"0").substring(0,3);return L?new Date(Date.UTC(N[1],P,N[3]||1,N[4]||0,N[5]||0,N[6]||0,D)):new Date(N[1],P,N[3]||1,N[4]||0,N[5]||0,N[6]||0,D)}}return new Date(O)}(I),this.$x=I.x||{},this.init()},$.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},$.$utils=function(){return S},$.isValid=function(){return this.$d.toString()!==h},$.isSame=function(I,A){var O=F(I);return this.startOf(A)<=O&&O<=this.endOf(A)},$.isAfter=function(I,A){return F(I)<this.startOf(A)},$.isBefore=function(I,A){return this.endOf(A)<F(I)},$.$g=function(I,A,O){return S.u(I)?this[A]:this.set(O,I)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(I,A){var O=this,L=!!S.u(A)||A,N=S.p(I),P=function(we,le){var dt=S.w(O.$u?Date.UTC(O.$y,le,we):new Date(O.$y,le,we),O);return L?dt:dt.endOf(u)},D=function(we,le){return S.w(O.toDate()[we].apply(O.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(le)),O)},W=this.$W,U=this.$M,K=this.$D,G="set"+(this.$u?"UTC":"");switch(N){case y:return L?P(1,0):P(31,11);case d:return L?P(1,U):P(0,U+1);case f:var re=this.$locale().weekStart||0,ue=(W<re?W+7:W)-re;return P(L?K-ue:K+(6-ue),U);case u:case p:return D(G+"Hours",0);case c:return D(G+"Minutes",1);case s:return D(G+"Seconds",2);case o:return D(G+"Milliseconds",3);default:return this.clone()}},$.endOf=function(I){return this.startOf(I,!1)},$.$set=function(I,A){var O,L=S.p(I),N="set"+(this.$u?"UTC":""),P=(O={},O[u]=N+"Date",O[p]=N+"Date",O[d]=N+"Month",O[y]=N+"FullYear",O[c]=N+"Hours",O[s]=N+"Minutes",O[o]=N+"Seconds",O[i]=N+"Milliseconds",O)[L],D=L===u?this.$D+(A-this.$W):A;if(L===d||L===y){var W=this.clone().set(p,1);W.$d[P](D),W.init(),this.$d=W.set(p,Math.min(this.$D,W.daysInMonth())).$d}else P&&this.$d[P](D);return this.init(),this},$.set=function(I,A){return this.clone().$set(I,A)},$.get=function(I){return this[S.p(I)]()},$.add=function(I,A){var O,L=this;I=Number(I);var N=S.p(A),P=function(U){var K=F(L);return S.w(K.date(K.date()+Math.round(U*I)),L)};if(N===d)return this.set(d,this.$M+I);if(N===y)return this.set(y,this.$y+I);if(N===u)return P(1);if(N===f)return P(7);var D=(O={},O[s]=r,O[c]=a,O[o]=n,O)[N]||1,W=this.$d.getTime()+I*D;return S.w(W,this)},$.subtract=function(I,A){return this.add(-1*I,A)},$.format=function(I){var A=this,O=this.$locale();if(!this.isValid())return O.invalidDate||h;var L=I||"YYYY-MM-DDTHH:mm:ssZ",N=S.z(this),P=this.$H,D=this.$m,W=this.$M,U=O.weekdays,K=O.months,G=O.meridiem,re=function(le,dt,Ie,pe){return le&&(le[dt]||le(A,L))||Ie[dt].slice(0,pe)},ue=function(le){return S.s(P%12||12,le,"0")},we=G||function(le,dt,Ie){var pe=le<12?"AM":"PM";return Ie?pe.toLowerCase():pe};return L.replace(b,function(le,dt){return dt||function(Ie){switch(Ie){case"YY":return String(A.$y).slice(-2);case"YYYY":return S.s(A.$y,4,"0");case"M":return W+1;case"MM":return S.s(W+1,2,"0");case"MMM":return re(O.monthsShort,W,K,3);case"MMMM":return re(K,W);case"D":return A.$D;case"DD":return S.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return re(O.weekdaysMin,A.$W,U,2);case"ddd":return re(O.weekdaysShort,A.$W,U,3);case"dddd":return U[A.$W];case"H":return String(P);case"HH":return S.s(P,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return we(P,D,!0);case"A":return we(P,D,!1);case"m":return String(D);case"mm":return S.s(D,2,"0");case"s":return String(A.$s);case"ss":return S.s(A.$s,2,"0");case"SSS":return S.s(A.$ms,3,"0");case"Z":return N}return null}(le)||N.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(I,A,O){var L,N=this,P=S.p(A),D=F(I),W=(D.utcOffset()-this.utcOffset())*r,U=this-D,K=function(){return S.m(N,D)};switch(P){case y:L=K()/12;break;case d:L=K();break;case m:L=K()/3;break;case f:L=(U-W)/6048e5;break;case u:L=(U-W)/864e5;break;case c:L=U/a;break;case s:L=U/r;break;case o:L=U/n;break;default:L=U}return O?L:S.a(L)},$.daysInMonth=function(){return this.endOf(d).$D},$.$locale=function(){return x[this.$L]},$.locale=function(I,A){if(!I)return this.$L;var O=this.clone(),L=T(I,A,!0);return L&&(O.$L=L),O},$.clone=function(){return S.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},M}(),R=V.prototype;return F.prototype=R,[["$ms",i],["$s",o],["$m",s],["$H",c],["$W",u],["$M",d],["$y",y],["$D",p]].forEach(function(M){R[M[1]]=function($){return this.$g($,M[0],M[1])}}),F.extend=function(M,$){return M.$i||(M($,V,F),M.$i=!0),F},F.locale=T,F.isDayjs=k,F.unix=function(M){return F(1e3*M)},F.en=x[C],F.Ls=x,F.p={},F})})(mu);const ce=mu.exports;function o3(e,t){var n;Tr&&(jn(e)||console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e)));var r=Za(e),a=(n=t==null?void 0:t.wait)!==null&&n!==void 0?n:1e3,i=E.useMemo(function(){return cu(function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return r.current.apply(r,Io([],ht(o),!1))},a,t)},[]);return Mr(function(){i.cancel()}),{run:i,cancel:i.cancel,flush:i.flush}}function s3(e,t,n){var r=ht(E.useState({}),2),a=r[0],i=r[1],o=o3(function(){i({})},n).run;E.useEffect(function(){return o()},t),Zo(e,[a])}function l3(){this.__data__=[],this.size=0}var c3=l3,u3=Nr;function f3(e,t){for(var n=e.length;n--;)if(u3(e[n][0],t))return n;return-1}var Ha=f3,d3=Ha,m3=Array.prototype,h3=m3.splice;function v3(e){var t=this.__data__,n=d3(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():h3.call(t,n,1),--this.size,!0}var p3=v3,g3=Ha;function y3(e){var t=this.__data__,n=g3(t,e);return n<0?void 0:t[n][1]}var b3=y3,w3=Ha;function E3(e){return w3(this.__data__,e)>-1}var C3=E3,x3=Ha;function _3(e,t){var n=this.__data__,r=x3(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var k3=_3,$3=c3,S3=p3,O3=b3,F3=C3,P3=k3;function Bn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bn.prototype.clear=$3,Bn.prototype.delete=S3,Bn.prototype.get=O3,Bn.prototype.has=F3,Bn.prototype.set=P3;var za=Bn,N3=za;function A3(){this.__data__=new N3,this.size=0}var T3=A3;function M3(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var I3=M3;function L3(e){return this.__data__.get(e)}var R3=L3;function D3(e){return this.__data__.has(e)}var V3=D3,j3=sn,B3=it,W3=j3(B3,"Map"),qo=W3,Z3=sn,H3=Z3(Object,"create"),Ua=H3,hu=Ua;function z3(){this.__data__=hu?hu(null):{},this.size=0}var U3=z3;function q3(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var K3=q3,G3=Ua,Y3="__lodash_hash_undefined__",X3=Object.prototype,Q3=X3.hasOwnProperty;function J3(e){var t=this.__data__;if(G3){var n=t[e];return n===Y3?void 0:n}return Q3.call(t,e)?t[e]:void 0}var eg=J3,tg=Ua,ng=Object.prototype,rg=ng.hasOwnProperty;function ag(e){var t=this.__data__;return tg?t[e]!==void 0:rg.call(t,e)}var ig=ag,og=Ua,sg="__lodash_hash_undefined__";function lg(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=og&&t===void 0?sg:t,this}var cg=lg,ug=U3,fg=K3,dg=eg,mg=ig,hg=cg;function Wn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Wn.prototype.clear=ug,Wn.prototype.delete=fg,Wn.prototype.get=dg,Wn.prototype.has=mg,Wn.prototype.set=hg;var vg=Wn,vu=vg,pg=za,gg=qo;function yg(){this.size=0,this.__data__={hash:new vu,map:new(gg||pg),string:new vu}}var bg=yg;function wg(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Eg=wg,Cg=Eg;function xg(e,t){var n=e.__data__;return Cg(t)?n[typeof t=="string"?"string":"hash"]:n.map}var qa=xg,_g=qa;function kg(e){var t=_g(this,e).delete(e);return this.size-=t?1:0,t}var $g=kg,Sg=qa;function Og(e){return Sg(this,e).get(e)}var Fg=Og,Pg=qa;function Ng(e){return Pg(this,e).has(e)}var Ag=Ng,Tg=qa;function Mg(e,t){var n=Tg(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Ig=Mg,Lg=bg,Rg=$g,Dg=Fg,Vg=Ag,jg=Ig;function Zn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zn.prototype.clear=Lg,Zn.prototype.delete=Rg,Zn.prototype.get=Dg,Zn.prototype.has=Vg,Zn.prototype.set=jg;var Ko=Zn,Bg=za,Wg=qo,Zg=Ko,Hg=200;function zg(e,t){var n=this.__data__;if(n instanceof Bg){var r=n.__data__;if(!Wg||r.length<Hg-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zg(r)}return n.set(e,t),this.size=n.size,this}var Ug=zg,qg=za,Kg=T3,Gg=I3,Yg=R3,Xg=V3,Qg=Ug;function Hn(e){var t=this.__data__=new qg(e);this.size=t.size}Hn.prototype.clear=Kg,Hn.prototype.delete=Gg,Hn.prototype.get=Yg,Hn.prototype.has=Xg,Hn.prototype.set=Qg;var pu=Hn,Jg="__lodash_hash_undefined__";function e4(e){return this.__data__.set(e,Jg),this}var t4=e4;function n4(e){return this.__data__.has(e)}var r4=n4,a4=Ko,i4=t4,o4=r4;function Ka(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new a4;++t<n;)this.add(e[t])}Ka.prototype.add=Ka.prototype.push=i4,Ka.prototype.has=o4;var s4=Ka;function l4(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var c4=l4;function u4(e,t){return e.has(t)}var f4=u4,d4=s4,m4=c4,h4=f4,v4=1,p4=2;function g4(e,t,n,r,a,i){var o=n&v4,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var d=-1,m=!0,y=n&p4?new d4:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],h=t[d];if(r)var g=o?r(h,p,d,t,e,i):r(p,h,d,e,t,i);if(g!==void 0){if(g)continue;m=!1;break}if(y){if(!m4(t,function(b,_){if(!h4(y,_)&&(p===b||a(p,b,n,r,i)))return y.push(_)})){m=!1;break}}else if(!(p===h||a(p,h,n,r,i))){m=!1;break}}return i.delete(e),i.delete(t),m}var gu=g4,y4=it,b4=y4.Uint8Array,yu=b4;function w4(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}var E4=w4;function C4(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var x4=C4,bu=Lo,wu=yu,_4=Nr,k4=gu,$4=E4,S4=x4,O4=1,F4=2,P4="[object Boolean]",N4="[object Date]",A4="[object Error]",T4="[object Map]",M4="[object Number]",I4="[object RegExp]",L4="[object Set]",R4="[object String]",D4="[object Symbol]",V4="[object ArrayBuffer]",j4="[object DataView]",Eu=bu?bu.prototype:void 0,Go=Eu?Eu.valueOf:void 0;function B4(e,t,n,r,a,i,o){switch(n){case j4:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case V4:return!(e.byteLength!=t.byteLength||!i(new wu(e),new wu(t)));case P4:case N4:case M4:return _4(+e,+t);case A4:return e.name==t.name&&e.message==t.message;case I4:case R4:return e==t+"";case T4:var s=$4;case L4:var c=r&O4;if(s||(s=S4),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=F4,o.set(e,t);var f=k4(s(e),s(t),r,a,i,o);return o.delete(e),f;case D4:if(Go)return Go.call(e)==Go.call(t)}return!1}var W4=B4;function Z4(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var H4=Z4,z4=H4,U4=Wa;function q4(e,t,n){var r=t(e);return U4(e)?r:z4(r,n(e))}var K4=q4;function G4(e,t){for(var n=-1,r=e==null?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}var Y4=G4;function X4(){return[]}var Q4=X4,J4=Y4,e5=Q4,t5=Object.prototype,n5=t5.propertyIsEnumerable,Cu=Object.getOwnPropertySymbols,r5=Cu?function(e){return e==null?[]:(e=Object(e),J4(Cu(e),function(t){return n5.call(e,t)}))}:e5,a5=r5,i5=K4,o5=a5,s5=ru;function l5(e){return i5(e,s5,o5)}var c5=l5,xu=c5,u5=1,f5=Object.prototype,d5=f5.hasOwnProperty;function m5(e,t,n,r,a,i){var o=n&u5,s=xu(e),c=s.length,u=xu(t),f=u.length;if(c!=f&&!o)return!1;for(var d=c;d--;){var m=s[d];if(!(o?m in t:d5.call(t,m)))return!1}var y=i.get(e),p=i.get(t);if(y&&p)return y==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);for(var g=o;++d<c;){m=s[d];var b=e[m],_=t[m];if(r)var v=o?r(_,b,m,t,e,i):r(b,_,m,e,t,i);if(!(v===void 0?b===_||a(b,_,n,r,i):v)){h=!1;break}g||(g=m=="constructor")}if(h&&!g){var w=e.constructor,C=t.constructor;w!=C&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(h=!1)}return i.delete(e),i.delete(t),h}var h5=m5,v5=sn,p5=it,g5=v5(p5,"DataView"),y5=g5,b5=sn,w5=it,E5=b5(w5,"Promise"),C5=E5,x5=sn,_5=it,k5=x5(_5,"Set"),$5=k5,S5=sn,O5=it,F5=S5(O5,"WeakMap"),P5=F5,Yo=y5,Xo=qo,Qo=C5,Jo=$5,es=P5,_u=Vn,zn=jc,ku="[object Map]",N5="[object Object]",$u="[object Promise]",Su="[object Set]",Ou="[object WeakMap]",Fu="[object DataView]",A5=zn(Yo),T5=zn(Xo),M5=zn(Qo),I5=zn(Jo),L5=zn(es),cn=_u;(Yo&&cn(new Yo(new ArrayBuffer(1)))!=Fu||Xo&&cn(new Xo)!=ku||Qo&&cn(Qo.resolve())!=$u||Jo&&cn(new Jo)!=Su||es&&cn(new es)!=Ou)&&(cn=function(e){var t=_u(e),n=t==N5?e.constructor:void 0,r=n?zn(n):"";if(r)switch(r){case A5:return Fu;case T5:return ku;case M5:return $u;case I5:return Su;case L5:return Ou}return t});var R5=cn,ts=pu,D5=gu,V5=W4,j5=h5,Pu=R5,Nu=Wa,Au=Ar.exports,B5=Bo,W5=1,Tu="[object Arguments]",Mu="[object Array]",Ga="[object Object]",Z5=Object.prototype,Iu=Z5.hasOwnProperty;function H5(e,t,n,r,a,i){var o=Nu(e),s=Nu(t),c=o?Mu:Pu(e),u=s?Mu:Pu(t);c=c==Tu?Ga:c,u=u==Tu?Ga:u;var f=c==Ga,d=u==Ga,m=c==u;if(m&&Au(e)){if(!Au(t))return!1;o=!0,f=!1}if(m&&!f)return i||(i=new ts),o||B5(e)?D5(e,t,n,r,a,i):V5(e,t,c,n,r,a,i);if(!(n&W5)){var y=f&&Iu.call(e,"__wrapped__"),p=d&&Iu.call(t,"__wrapped__");if(y||p){var h=y?e.value():e,g=p?t.value():t;return i||(i=new ts),a(h,g,n,r,i)}}return m?(i||(i=new ts),j5(e,t,n,r,a,i)):!1}var z5=H5,U5=z5,Lu=ln;function Ru(e,t,n,r,a){return e===t?!0:e==null||t==null||!Lu(e)&&!Lu(t)?e!==e&&t!==t:U5(e,t,n,r,Ru,a)}var q5=Ru,K5=q5;function G5(e,t){return K5(e,t)}var Y5=G5;function X5(e){var t=ht(E.useState(e),2),n=t[0],r=t[1],a=E.useRef(n);a.current=n;var i=E.useCallback(function(){return a.current},[]);return[n,r,i]}(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(v){try{return v.defaultView&&v.defaultView.frameElement||null}catch{return null}}var t=function(v){for(var w=v,C=e(w);C;)w=C.ownerDocument,C=e(w);return w}(window.document),n=[],r=null,a=null;function i(v){this.time=v.time,this.target=v.target,this.rootBounds=p(v.rootBounds),this.boundingClientRect=p(v.boundingClientRect),this.intersectionRect=p(v.intersectionRect||y()),this.isIntersecting=!!v.intersectionRect;var w=this.boundingClientRect,C=w.width*w.height,x=this.intersectionRect,k=x.width*x.height;C?this.intersectionRatio=Number((k/C).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(v,w){var C=w||{};if(typeof v!="function")throw new Error("callback must be a function");if(C.root&&C.root.nodeType!=1&&C.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=c(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=v,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(C.rootMargin),this.thresholds=this._initThresholds(C.threshold),this.root=C.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return r||(r=function(v,w){!v||!w?a=y():a=h(v,w),n.forEach(function(C){C._checkForIntersections()})}),r},o._resetCrossOriginUpdater=function(){r=null,a=null},o.prototype.observe=function(v){var w=this._observationTargets.some(function(C){return C.element==v});if(!w){if(!(v&&v.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:v,entry:null}),this._monitorIntersections(v.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(v){this._observationTargets=this._observationTargets.filter(function(w){return w.element!=v}),this._unmonitorIntersections(v.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var v=this._queuedEntries.slice();return this._queuedEntries=[],v},o.prototype._initThresholds=function(v){var w=v||[0];return Array.isArray(w)||(w=[w]),w.sort().filter(function(C,x,k){if(typeof C!="number"||isNaN(C)||C<0||C>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return C!==k[x-1]})},o.prototype._parseRootMargin=function(v){var w=v||"0px",C=w.split(/\s+/).map(function(x){var k=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!k)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(k[1]),unit:k[2]}});return C[1]=C[1]||C[0],C[2]=C[2]||C[0],C[3]=C[3]||C[1],C},o.prototype._monitorIntersections=function(v){var w=v.defaultView;if(!!w&&this._monitoringDocuments.indexOf(v)==-1){var C=this._checkForIntersections,x=null,k=null;this.POLL_INTERVAL?x=w.setInterval(C,this.POLL_INTERVAL):(u(w,"resize",C,!0),u(v,"scroll",C,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in w&&(k=new w.MutationObserver(C),k.observe(v,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(v),this._monitoringUnsubscribes.push(function(){var S=v.defaultView;S&&(x&&S.clearInterval(x),f(S,"resize",C,!0)),f(v,"scroll",C,!0),k&&k.disconnect()});var T=this.root&&(this.root.ownerDocument||this.root)||t;if(v!=T){var F=e(v);F&&this._monitorIntersections(F.ownerDocument)}}},o.prototype._unmonitorIntersections=function(v){var w=this._monitoringDocuments.indexOf(v);if(w!=-1){var C=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(F){var S=F.element.ownerDocument;if(S==v)return!0;for(;S&&S!=C;){var V=e(S);if(S=V&&V.ownerDocument,S==v)return!0}return!1});if(!x){var k=this._monitoringUnsubscribes[w];if(this._monitoringDocuments.splice(w,1),this._monitoringUnsubscribes.splice(w,1),k(),v!=C){var T=e(v);T&&this._unmonitorIntersections(T.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var v=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var w=0;w<v.length;w++)v[w]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&r&&!a)){var v=this._rootIsInDom(),w=v?this._getRootRect():y();this._observationTargets.forEach(function(C){var x=C.element,k=m(x),T=this._rootContainsTarget(x),F=C.entry,S=v&&T&&this._computeTargetAndRootIntersection(x,k,w),V=null;this._rootContainsTarget(x)?(!r||this.root)&&(V=w):V=y();var R=C.entry=new i({time:s(),target:x,boundingClientRect:k,rootBounds:V,intersectionRect:S});F?v&&T?this._hasCrossedThreshold(F,R)&&this._queuedEntries.push(R):F&&F.isIntersecting&&this._queuedEntries.push(R):this._queuedEntries.push(R)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(v,w,C){if(window.getComputedStyle(v).display!="none"){for(var x=w,k=b(v),T=!1;!T&&k;){var F=null,S=k.nodeType==1?window.getComputedStyle(k):{};if(S.display=="none")return null;if(k==this.root||k.nodeType==9)if(T=!0,k==this.root||k==t)r&&!this.root?!a||a.width==0&&a.height==0?(k=null,F=null,x=null):F=a:F=C;else{var V=b(k),R=V&&m(V),M=V&&this._computeTargetAndRootIntersection(V,R,C);R&&M?(k=V,F=h(R,M)):(k=null,x=null)}else{var $=k.ownerDocument;k!=$.body&&k!=$.documentElement&&S.overflow!="visible"&&(F=m(k))}if(F&&(x=d(F,x)),!x)break;k=k&&b(k)}return x}},o.prototype._getRootRect=function(){var v;if(this.root&&!_(this.root))v=m(this.root);else{var w=_(this.root)?this.root:t,C=w.documentElement,x=w.body;v={top:0,left:0,right:C.clientWidth||x.clientWidth,width:C.clientWidth||x.clientWidth,bottom:C.clientHeight||x.clientHeight,height:C.clientHeight||x.clientHeight}}return this._expandRectByRootMargin(v)},o.prototype._expandRectByRootMargin=function(v){var w=this._rootMarginValues.map(function(x,k){return x.unit=="px"?x.value:x.value*(k%2?v.width:v.height)/100}),C={top:v.top-w[0],right:v.right+w[1],bottom:v.bottom+w[2],left:v.left-w[3]};return C.width=C.right-C.left,C.height=C.bottom-C.top,C},o.prototype._hasCrossedThreshold=function(v,w){var C=v&&v.isIntersecting?v.intersectionRatio||0:-1,x=w.isIntersecting?w.intersectionRatio||0:-1;if(C!==x)for(var k=0;k<this.thresholds.length;k++){var T=this.thresholds[k];if(T==C||T==x||T<C!=T<x)return!0}},o.prototype._rootIsInDom=function(){return!this.root||g(t,this.root)},o.prototype._rootContainsTarget=function(v){var w=this.root&&(this.root.ownerDocument||this.root)||t;return g(w,v)&&(!this.root||w==v.ownerDocument)},o.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},o.prototype._unregisterInstance=function(){var v=n.indexOf(this);v!=-1&&n.splice(v,1)};function s(){return window.performance&&performance.now&&performance.now()}function c(v,w){var C=null;return function(){C||(C=setTimeout(function(){v(),C=null},w))}}function u(v,w,C,x){typeof v.addEventListener=="function"?v.addEventListener(w,C,x||!1):typeof v.attachEvent=="function"&&v.attachEvent("on"+w,C)}function f(v,w,C,x){typeof v.removeEventListener=="function"?v.removeEventListener(w,C,x||!1):typeof v.detachEvent=="function"&&v.detachEvent("on"+w,C)}function d(v,w){var C=Math.max(v.top,w.top),x=Math.min(v.bottom,w.bottom),k=Math.max(v.left,w.left),T=Math.min(v.right,w.right),F=T-k,S=x-C;return F>=0&&S>=0&&{top:C,bottom:x,left:k,right:T,width:F,height:S}||null}function m(v){var w;try{w=v.getBoundingClientRect()}catch{}return w?(w.width&&w.height||(w={top:w.top,right:w.right,bottom:w.bottom,left:w.left,width:w.right-w.left,height:w.bottom-w.top}),w):y()}function y(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(v){return!v||"x"in v?v:{top:v.top,y:v.top,bottom:v.bottom,left:v.left,x:v.left,right:v.right,width:v.width,height:v.height}}function h(v,w){var C=w.top-v.top,x=w.left-v.left;return{top:C,left:x,height:w.height,width:w.width,bottom:C+w.height,right:x+w.width}}function g(v,w){for(var C=w;C;){if(C==v)return!0;C=b(C)}return!1}function b(v){var w=v.parentNode;return v.nodeType==9&&v!=t?e(v):(w&&w.assignedSlot&&(w=w.assignedSlot.parentNode),w&&w.nodeType==11&&w.host?w.host:w)}function _(v){return v&&v.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=i})();function Q5(e,t){var n=ht(E.useState(),2),r=n[0],a=n[1],i=ht(E.useState(),2),o=i[0],s=i[1];return Uo(function(){var c=jt(e);if(!!c){var u=new IntersectionObserver(function(f){var d,m;try{for(var y=Lm(f),p=y.next();!p.done;p=y.next()){var h=p.value;s(h.intersectionRatio),a(h.isIntersecting)}}catch(g){d={error:g}}finally{try{p&&!p.done&&(m=y.return)&&m.call(y)}finally{if(d)throw d.error}}},ja(ja({},t),{root:jt(t==null?void 0:t.root)}));return u.observe(c),function(){u.disconnect()}}},[t==null?void 0:t.rootMargin,t==null?void 0:t.threshold],e),[r,o]}var J5=zo?E.useLayoutEffect:E.useEffect;const Ce=J5;function e6(e){var t=this,n=E.useRef(!1);return E.useCallback(function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];return Ee(t,void 0,void 0,function(){var i,o;return Im(this,function(s){switch(s.label){case 0:if(n.current)return[2];n.current=!0,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,e.apply(void 0,Io([],ht(r),!1))];case 2:return i=s.sent(),n.current=!1,[2,i];case 3:throw o=s.sent(),n.current=!1,o;case 4:return[2]}})})},[e])}function t6(e){var t=E.useRef(0),n=ht(E.useState(e),2),r=n[0],a=n[1],i=E.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){a(o)})},[]);return Mr(function(){cancelAnimationFrame(t.current)}),[r,i]}var n6=nu,r6=n6(Object.getPrototypeOf,Object),Du=r6,a6=Vn,i6=Du,o6=ln,s6="[object Object]",l6=Function.prototype,c6=Object.prototype,Vu=l6.toString,u6=c6.hasOwnProperty,f6=Vu.call(Object);function d6(e){if(!o6(e)||a6(e)!=s6)return!1;var t=i6(e);if(t===null)return!0;var n=u6.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Vu.call(n)==f6}var m6=d6,h6=function(){var e=E.useRef(!1);return E.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e};const ns=h6;var ju=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!0):!1}),r}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(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,i=this.__entries__;a<i.length;a++){var o=i[a];n.call(r,o[1],o[0