1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=/* @__PURE__ */ t({Component:()=>k,Fragment:()=>O,cloneElement:()=>T,createContext:()=>ce,createElement:()=>w,createPortal:()=>ue,createRef:()=>D,h:()=>w,hydrate:()=>se,isValidElement:()=>a,options:()=>r,render:()=>oe,toChildArray:()=>I}),r,i,a,o,s,c,l,u,d,f,p,m,h,g,_={},v=[],y=/^m(i|n|o|s|text|space)$/,b=Array.isArray,x=v.slice,S=Object.assign;function C(e){e&&e.parentNode&&e.remove()}function w(e,t,n){var r,i,a,o={},s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?x.call(arguments,2):n),E(e,o,r,i,null)}function T(e,t,n){var r,i,a,o=S({},e.props),s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e.type!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?x.call(arguments,2):n),E(e.type,o,r===void 0?e.key:r,i===void 0?e.ref:i,null)}function E(e,t,n,a,o){var s={type:e,props:t,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o||++i,__i:-1,__u:0};return!o&&r.vnode&&r.vnode(s),s}function D(){return{current:null}}function O(e){return e.children}function k(e,t){this.props=e,this.context=t,this.__g=0}function A(e,t){if(t==null)return e.__?A(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])&&n.__e)return n.__e;return typeof e.type!=`function`||e.props.__P?null:A(e)}function j(e){if((e=e.__)&&e.__c&&!e.props.__P)return e.__e=null,e.__k.some(function(t){return t&&(e.__e=t.__e)}),j(e)}function M(e){(8&e.__g||!(e.__g|=8)||!o.push(e)||c++)&&s==r.debounceRendering||((s=r.debounceRendering)||queueMicrotask)(N)}function N(){var e,t,n,i,a,s,u,d,f;try{for(t=1;o.length;)o.length>t&&o.sort(l),e=o.shift(),t=o.length,8&e.__g&&(i=void 0,a=void 0,s=(a=(n=e).__v).__e,u=[],d=[],(f=n.__P)&&((i=S({constructor:void 0},a)).__v=a.__v+1,r.vnode&&r.vnode(i),B(f,i,a,n.__n,f.namespaceURI,32&a.__u?[s]:null,u,s||A(a),32&a.__u,d),i.__v=a.__v,i.__.__k[i.__i]=i,re(u,i,d),a.__=a.__e=null,i.__e!=s&&j(i)))}finally{o.length=c=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,g,y=r.__k||v,b=t.length;for(c=P(n,t,y,c,b),d=0;d<b;d++)(p=n.__k[d])!=null&&(f=~p.__i&&y[p.__i]||_,p.__i=d,g=B(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&(f.ref!=p.ref||8&f.__u)&&(f.ref!=p.ref&&f.ref&&V(f.ref,null,p),u.push(p.ref,p.__c||m,p)),h||=m,4&p.__u?(c=F(p,c,e,!f.__v),f.__e&&(f.__e=null)):typeof p.type==`function`&&g!==void 0?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=h,c}function P(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=n.length,g=h,_=0,v=!1,y=e.__k=Array(i);for(a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o!=`object`||o.constructor==String?o=y[a]=E(null,o):b(o)?o=y[a]=E(O,{children:o}):o.constructor===void 0&&o.__b?o=y[a]=E(o.type,o.props,o.key,o.ref,o.__v):y[a]=o,c=a+_,o.__=e,o.__b=e.__b+1,s=null,~(l=o.__i=L(o,n,c,g))&&(g--,(s=n[l])&&(s.__u|=2)),s&&s.__v?(o.__u|=2,l==c-1?_--:l==c+1?_++:l!=c&&(l>c?_--:_++,v=!0)):(~l||(i>h?_--:i<h&&_++),typeof o.type!=`function`&&(o.__u|=4))):y[a]=null;if(v){for(u=[],d=[],a=0;a<i;a++)if((o=y[a])&&2&o.__u){for(f=0,p=u.length;f<p;)u[m=f+p>>1]<o.__i?f=m+1:p=m;u[f]=o.__i,d[a]=f+1}for(_=u.length;a--;)d[a]&&(d[a]==_?_--:y[a].__u|=4)}if(g)for(a=0;a<h;a++)!(s=n[a])||2&s.__u||(s.__e==r&&(r=A(s)),H(s,s));return r}function F(e,t,n,r){var i,a;if(typeof e.type==`function`){if(e.props.__P)return t;if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&(i[a].__=e,t=F(i[a],t,n,!1));return t}for(t&&!t.parentNode&&(t=A(e))&&!t.parentNode&&(t=null),e.__e!=t&&(!r&&n.moveBefore&&e.__e.parentNode?n.moveBefore(e.__e,t):n.insertBefore(e.__e,t||null)),t=e.__e;(t&&=t.nextSibling)&&t.nodeType==8;);return t}function I(e,t){return t||=[],e!=null&&typeof e!=`boolean`&&(b(e)?e.some(function(e){I(e,t)}):t.push(e)),t}function L(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l&&!(2&l.__u);if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function R(e,t,n){n??=``,t[0]==`-`?e.setProperty(t,n):e[t]=n}function z(e,t,n,r,i){var a;n:if(t==`style`){if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||R(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||R(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(f,`$1`)),(t=t.slice(2))[0]<`a`&&(t=t.toLowerCase()),(e.__e||={})[t+a]=n,n?r?n[d]=r[d]:(n[d]=p,e.addEventListener(t,a?h:m,a)):e.removeEventListener(t,a?h:m,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function te(e){return function(t){if(this.__e){var n=this.__e[t.type+e];if(t[u]==null)t[u]=p++;else if(t[u]<n[d])return;return n(r.event?r.event(t):t)}}}function B(e,t,n,i,a,o,s,c,l,u){var d,f,p,m,h,g,_,y,x,w,T,E,D,j,M,N,P,F,I,L,R=t.type;if(t.constructor!==void 0)return null;if(128&n.__u&&(l=32&n.__u,d=n.__c.__z)){if(t.__u|=l,f=o=[],d.nodeType==8)for(p=1,m=d.nextSibling;m;m=m.nextSibling){if(m.nodeType==8){if(m.data.startsWith(`$s`))p++;else if(m.data.startsWith(`/$s`)&&!--p)break}o.push(m)}else o.push(d);c=o[0]}(d=r.__b)&&d(t);n:if(typeof R==`function`){h=s.length;try{if(w=t.props,T=(d=R.prototype)&&d.render,E=(d=R.contextType)&&i[d.__c],D=d?E?E.props.value:d.__:i,n.__c?2&(g=t.__c=n.__c).__g&&(g.__g|=1):(T?t.__c=g=new R(w,D):(t.__c=g=new k(w,D),g.constructor=R,g.render=ae),E&&E.sub(g),g.state||(g.state={}),g.__n=i,g.__g|=8,g.__h=[],g.__k=[]),T&&(g.__s||(g.__s=g.state),R.getDerivedStateFromProps&&(g.__s==g.state&&(g.__s=S({},g.__s)),S(g.__s,R.getDerivedStateFromProps(w,g.__s)))),_=g.props,y=g.state,g.__v=t,n.__c){if(T&&!R.getDerivedStateFromProps&&w!==_&&g.componentWillReceiveProps&&g.componentWillReceiveProps(w,D),t.__v==n.__v&&!(8&g.__g)||!(4&g.__g)&&g.shouldComponentUpdate&&!1===g.shouldComponentUpdate(w,g.__s,D)){t.__v!=n.__v&&(g.props=w,g.state=g.__s,g.__g&=-9),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),v.push.apply(g.__h,g.__k),g.__k=[],g.__h.length&&s.push(g),c=A(n);break n}g.componentWillUpdate&&g.componentWillUpdate(w,g.__s,D),T&&g.componentDidUpdate&&g.__h.push(function(){g.componentDidUpdate(_,y,x)})}else T&&!R.getDerivedStateFromProps&&g.componentWillMount&&g.componentWillMount(),T&&g.componentDidMount&&g.__h.push(g.componentDidMount);if(g.context=D,g.props=w,g.__P=e,g.__g&=-5,j=r.__r,M=0,T)g.state=g.__s,g.__g&=-9,j&&j(t),d=g.render(g.props,g.state,g.context),v.push.apply(g.__h,g.__k),g.__k=[];else do g.__g&=-9,j&&j(t),d=g.render(g.props,g.state,g.context),g.state=g.__s;while(8&g.__g&&++M<25);g.state=g.__s,g.getChildContext&&(i=S({},i,g.getChildContext())),T&&n.__c&&g.getSnapshotBeforeUpdate&&(x=g.getSnapshotBeforeUpdate(_,y)),N=d&&d.type===O&&d.key==null?d.props.children:d,w.__P&&(d=c,a=(e=w.__P).namespaceURI,l=o=null,n.props&&n.props.__P!=e&&(n.__k.some(function(e){e&&H(e,e)}),n.__k=null),c=n.__k?A(n,0):null),c=ee(e,b(N)?N:[N],t,n,i,a,o,s,c,l,u),w.__P&&(t.__e=null,c=d),t.__u&=-161,128&n.__u&&(g.__z=null),f&&f.some(C),g.__h.length&&s.push(g),1&g.__g&&(g.__g&=-4)}catch(e){if(s.length=h,t.__v=null,l||o){if(e.then){if(P=0,t.__u|=l?160:128,o){for(I=0;I<o.length;I++)if(L=o[I]){if(L.nodeType==8){if(o[I]=null,L.data.startsWith(`$s`))P++||(F=L);else if(L.data.startsWith(`/$s`)&&!--P){c=L;break}}else P&&(o[I]=null)}}if(!F){for(;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;o&&(o[o.indexOf(c)]=null),F=c}t.__c.__z||(t.__c.__z=F),t.__e=c}else o&&o.some(C)}else t.__e=n.__e;t.__k||=n.__k||[],e.then||ne(t),r.__e(e,t,n)}}else c=t.__e=ie(n.__e,t,n,i,a,o,s,l,u,e);return(d=r.diffed)&&d(t),128&t.__u?void 0:c}function ne(e){e&&(e.__c&&(e.__c.__g|=4),e.__k&&e.__k.some(ne))}function re(e,t,n){for(var i=0;i<n.length;)V(n[i++],n[i++],n[i++]);r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function ie(e,t,n,i,a,o,s,c,l,u){var d,f,p,m,h,g,v,S,w,T=n.props||_,E=t.props,D=t.type;if(D==`svg`?a=`http://www.w3.org/2000/svg`:D==`math`?a=`http://www.w3.org/1998/Math/MathML`:a||=`http://www.w3.org/1999/xhtml`,o){for(d=0;d<o.length;d++)if((h=o[d])&&(D?h.localName==D:h.nodeType==3)){e=h,o[d]=null;break}}if(!e){if(S=u.ownerDocument||document,!D)return S.createTextNode(E);e=S.createElementNS(a,D,E.is&&E),c&&=(r.__m&&r.__m(t,o),!1),o=null}if(D){if(u=D==`template`?e.content:e,o=D==`textarea`&&E.defaultValue!=null?null:o&&x.call(u.childNodes),!c&&o)for(T={},d=0;d<e.attributes.length;d++)T[(h=e.attributes[d]).name]=h.value;for(d in T)h=T[d],d==`dangerouslySetInnerHTML`?p=h:d==`children`||d in E||d==`value`&&`defaultValue`in E||d==`checked`&&`defaultChecked`in E||z(e,d,null,h,a);for(d in w=1&n.__u,E)h=E[d],d==`children`?m=h:d==`dangerouslySetInnerHTML`?f=h:d==`value`?g=h:d==`checked`?v=h:c&&typeof h!=`function`||!(T[d]!==h||w&&h!=null)||z(e,d,h,T[d],a);f?(c||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[]):(p&&(e.textContent=``),(D==`foreignObject`||a==`http://www.w3.org/1998/Math/MathML`&&y.test(D))&&(a=`http://www.w3.org/1999/xhtml`),ee(u,b(m)?m:[m],t,n,i,a,o,s,o?o[0]:n.__k&&A(n,0),c,l),o&&o.some(C)),c&&D!=`textarea`||(d=`value`,D==`progress`&&g==null?e.removeAttribute(d):g==null||g===e[d]&&(D!=`progress`||g)||z(e,d,g,T[d],a),d=`checked`,v!=null&&v!=e[d]&&z(e,d,v,T[d],a))}else T===E||c&&e.data==E||(e.data=E);return e}function V(e,t,n){try{typeof e==`function`?(typeof e.__u==`function`&&e.__u(),(typeof e.__u!=`function`||t)&&(e.__u=e(t))):e.current=t}catch(e){r.__e(e,n)}}function H(e,t,n){var i,a;if(r.unmount&&r.unmount(e),!(i=e.ref)||i.current&&i.current!=e.__e||V(i,null,t),i=e.__c){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.__P=i.__n=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&H(i[a],t,typeof e.type!=`function`||n&&!e.props.__P);(i=e.__e)&&(n||C(i),i.__e&&(i.__e=null)),e.__e=e.__c=e.__=null}function ae(e,t,n){return this.constructor(e,n)}function oe(e,t){var n,i,a,o;r.__&&r.__(e,t),t.nodeType==9&&(t=t.documentElement),i=(n=e&&32&e.__u)?null:t.__k,t.__k=E(O,{children:[e]}),a=[],o=[],B(t,t.__k,i||_,_,t.namespaceURI,i?null:t.firstChild?x.call(t.childNodes):null,a,i?i.__e:t.firstChild,n,o),re(a,t.__k,o),t.__k.props.children=null}function se(e,t){e&&typeof e==`object`&&(e.__u|=32),oe(e,t)}function ce(e){function t(e){var n,r;return this.getChildContext||(n=/* @__PURE__ */ new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__g|=4,M(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+g++,t.__=e,t.Provider=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}function le(e){return e.children}function ue(e,t){return E(le,{__P:t,children:e})}r={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!(1&i.__g)){i.__g|=4;try{if((a=i.constructor)&&a.getDerivedStateFromError&&(i.setState(a.getDerivedStateFromError(e)),o=8&i.__g),i.componentDidCatch&&(i.componentDidCatch(e,r||{}),o=8&i.__g),o)return void(i.__g|=2)}catch(t){e=t,o=0}}throw c=0,e}},i=0,a=function(e){return e!=null&&e.constructor===void 0},k.prototype.setState=function(e,t){var n=this.__s;n&&n!=this.state||(n=this.__s=S({},this.state)),typeof e==`function`&&(e=e(S({},n),this.props)),e&&(S(n,e),this.__v&&(t&&this.__k.push(t),M(this)))},k.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),M(this))},k.prototype.render=O,o=[],c=0,l=function(e,t){return e.__v.__b-t.__v.__b},u=Symbol(),d=Symbol(),f=/(PointerCapture)$|Capture$/i,p=0,m=te(!1),h=te(!0),g=0;var de=/* @__PURE__ */ t({Fragment:()=>O,jsx:()=>W,jsxAttr:()=>ve,jsxDEV:()=>W,jsxEscape:()=>ye,jsxTemplate:()=>he,jsxs:()=>W}),fe=/["&<]/;function U(e){if(!e.length||!fe.test(e))return e;for(var t=0,n=0,r=``,i=``;n<e.length;n++){switch(e.charCodeAt(n)){case 34:i=`"`;break;case 38:i=`&`;break;case 60:i=`<`;break;default:continue}n!=t&&(r+=e.slice(t,n)),r+=i,t=n+1}return n!=t&&(r+=e.slice(t,n)),r}var pe=0,me=Array.isArray;function W(e,t,n,i,a,o){t||={};var s,c,l=t;if(`ref`in l&&typeof e!=`function`)for(c in l={},t)c==`ref`?s=t[c]:l[c]=t[c];var u={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--pe,__i:-1,__u:0};return(a||o)&&(u.__source=a,u.__self=o),r.vnode&&r.vnode(u),u}function he(e){var t=W(O,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var ge={},_e=/[A-Z]/g;function ve(e,t){if(r.attr){var n=r.attr(e,t);if(typeof n==`string`)return n}if(t=function(e){return typeof e==`object`&&e&&typeof e.valueOf==`function`?e.valueOf():e}(t),e==`ref`||e==`key`)return``;if(e==`style`&&typeof t==`object`){var i=``;for(var a in t){var o=t[a];o!=null&&o!==``&&(i=i+(a[0]==`-`?a:ge[a]||(ge[a]=a.replace(_e,`-$&`).toLowerCase()))+`:`+o+`;`)}return e+`="`+U(i)+`"`}return t==null||!1===t||typeof t==`function`||typeof t==`object`?``:!0===t?e:e+`="`+U(``+t)+`"`}function ye(e){if(e==null||typeof e==`boolean`||typeof e==`function`)return null;if(typeof e==`object`){if(e.constructor===void 0)return e;if(me(e)){for(var t=0;t<e.length;t++)e[t]=ye(e[t]);return e}}return U(``+e)}var be=/* @__PURE__ */ t({useCallback:()=>Ie,useContext:()=>Le,useDebugValue:()=>Re,useEffect:()=>je,useErrorBoundary:()=>ze,useId:()=>Be,useImperativeHandle:()=>Pe,useLayoutEffect:()=>Me,useMemo:()=>Fe,useReducer:()=>Ae,useRef:()=>Ne,useState:()=>ke}),G,K,q,xe,J=Object.is,Y=0,Se=[],X=[],Z=r,Ce=Z.__b,we=Z.__r,Te=Z.diffed,Ee=Z.__c,De=Z.unmount,Oe=Z.__;function Q(e,t){Z.__h&&Z.__h(K,e,Y||t),Y=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ke(e){return Y=1,Ae(qe,e)}function Ae(e,t,n){var r=Q(G++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):qe(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);J(t,n)||(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.__f)){K.__f=!0;var i=K.shouldComponentUpdate;K.shouldComponentUpdate=function(e,t,n){var r=this.__H;if(!r)return!0;var a=!1,o=this.props!=e;if(r.__.some(function(e){e.__N&&(a=!0,J(e.__[0],e.__N[0])||(o=!0))}),i){var s=i.call(this,e,t,n);return a?s||o:s}return!a||o}}return r.__}function je(e,t){var n=Q(G++,3);!Z.__s&&Ke(n.__H,t)&&(n.__P=!0,n.__=e,n.u=t,K.__H.__h.push(n))}function Me(e,t){var n=Q(G++,4);!Z.__s&&Ke(n.__H,t)&&(n.__P=!1,n.__=e,n.u=t,K.__h.push(n))}function Ne(e){return Y=5,Fe(function(){return{current:e}},[])}function Pe(e,t,n){Y=6,Me(function(){if(typeof e==`function`){var n=e(t());return function(){e(null),n&&typeof n==`function`&&n()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function Fe(e,t){var n=Q(G++,7);return Ke(n.__H,t)&&(n.__=e(),n.__H=t),n.__}function Ie(e,t){return Y=8,Fe(function(){return e},t)}function Le(e){var t=K.context[e.__c],n=Q(G++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(K)),t.props.value):e.__}function Re(e,t){Z.useDebugValue&&Z.useDebugValue(t?t(e):e)}function ze(e){var t=Q(G++,10),n=ke();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function Be(){var e=Q(G++,11);if(!e.__){for(var t=K.__v;!t.__m&&t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__=`P`+n[0]+`-`+n[1]++}return e.__}function Ve(){var e;do{for(;e=X.shift();)try{$(e)}catch(t){Z.__e(t,{__:(e=e.__P)&&e.__v})}for(;e=Se.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some($),t.__h.some(Ge),t.__h=[]}catch(n){t.__h=[],Z.__e(n,e.__v)}}}while(X.length)}Z.__b=function(e){K=null,Ce&&Ce(e)},Z.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Oe&&Oe(e,t)},Z.__r=function(e){we&&we(e),G=0;var t=(K=e.__c).__H;t&&(q==K?K.__h=[]:(t.__h.some($),t.__h.some(Ge),G=0),t.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})),q=K},Z.diffed=function(e){Te&&Te(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&We(Se.push(t)),t.__H.__.some(function(e){e.u&&(e.__H=e.u)})),q=K=null},Z.__c=function(e,t){t.some(function(e){try{e.__h.some($),e.__h=e.__h.filter(function(e){return!e.__||Ge(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],Z.__e(n,e.__v)}}),Ee&&Ee(e,t)},Z.unmount=function(e){De&&De(e);var t,n,r=e.__c;r&&r.__H&&(r.__H.__.some(function(r){try{if(r.__P&&r.__c){if(n===void 0){for(n=e.__;n&&(!n.__c||!n.__c.__P);)n=n.__;n&&=n.__c}r.__P=n,We(X.push(r))}else $(r)}catch(e){t=e}}),r.__H=void 0,t&&Z.__e(t,r.__v))};var He=typeof requestAnimationFrame==`function`;function Ue(e){var t,n=function(){clearTimeout(r),He&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);He&&(t=requestAnimationFrame(n))}function We(e){e!=1&&xe==Z.requestAnimationFrame||((xe=Z.requestAnimationFrame)||Ue)(Ve)}function $(e){var t=K,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),K=t}function Ge(e){var t=K;e.__c=e.__(),K=t}function Ke(e,t){return!e||e.length!=t.length||t.some(function(t,n){return!J(t,e[n])})}function qe(e,t){return typeof t==`function`?t(e):t}var Je={...de,...be,...n};export{Je as default}; |