@banou/stub 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/anime-index-Dl2tJrXZ.js +1 -0
- package/build/assets/anime-seasons-Egf79hrL.js +1 -0
- package/build/assets/{build-mcPaLDi_.js → build-C4wtZmgD.js} +1 -1
- package/build/assets/dist-D2Wlyi7R.js +1328 -0
- package/build/assets/{preload-helper-BXrbqLIp.js → dist-SwCxXzZD.js} +1 -1
- package/build/assets/embed-C1Cncaqj.js +392 -0
- package/build/assets/embed-title-DY0iSLZj.js +1 -0
- package/build/assets/index-GI3b_BTS.js +2600 -0
- package/build/assets/{lib-build-JdIfVZn7.js → lib-build-B7te3F-u.js} +1 -1
- package/build/assets/{lib-emotion-react-jsx-runtime.browser.esm-BXK3nCt6.js → lib-emotion-react-jsx-runtime.browser.esm-C5mAgoyK.js} +913 -916
- package/build/assets/{lib-remote-Cgazpbxo.js → lib-remote-CszW77_t.js} +1 -1
- package/build/assets/lib-remote-DkrdRpDM.js +2 -0
- package/build/assets/{lib-theme-player-Ca8vejFM.js → lib-theme-player-w0MKAikK.js} +960 -936
- package/build/assets/{lib-worker-Z6aSHw7w.js → lib-worker-DxgAerh1.js} +1 -1
- package/build/assets/lib-worker-anime-index-Dl2tJrXZ.js +1 -0
- package/build/assets/lib-worker-anime-seasons-Egf79hrL.js +1 -0
- package/build/assets/lib-worker-index-uCN9UHKr.js +2600 -0
- package/build/assets/{lib-worker-PtOuAkPf.js → lib-worker-uEoF-jLP.js} +3244 -2320
- package/build/assets/main-BvwWBTz2.js +5228 -0
- package/build/assets/preload-helper-Bx4ePS05.js +1 -0
- package/build/assets/{remote-CAlKhZLk.js → remote-DQ5KVR01.js} +1 -1
- package/build/assets/remote-ZTdKmv4r.js +1 -0
- package/build/assets/site-status-BWHbNndL.js +72 -0
- package/build/assets/theme-player-B-ZX9FYo.js +1 -0
- package/build/assets/{worker-DuBkNi7w.js → worker-Buc1-1GE.js} +1 -1
- package/build/assets/{worker-DxIvGCqk.js → worker-DmLPM08h.js} +1 -1
- package/build/embed.html +8 -10
- package/build/index.html +8 -10
- package/build/index.js +9280 -8799
- package/fkn.json +1 -1
- package/package.json +7 -6
- package/store/home.webp +0 -0
- package/store/movie.webp +0 -0
- package/store/phone.webp +0 -0
- package/store/search.webp +0 -0
- package/store/series.webp +0 -0
- package/store/title.webp +0 -0
- package/build/assets/account-B2ETje0Z.js +0 -1
- package/build/assets/account-QzTt80xa.js +0 -1
- package/build/assets/anime-index-CWT8EUVb.js +0 -1
- package/build/assets/anime-seasons-CoquI0pK.js +0 -1
- package/build/assets/api-CXwRN66S.js +0 -1
- package/build/assets/api-DIgTslNb-Cs0uqWX1.js +0 -3
- package/build/assets/dist-BhdcN4JK.js +0 -1328
- package/build/assets/embed-BXVON2cN.js +0 -293
- package/build/assets/embed-title-BD9cgqvV.js +0 -1
- package/build/assets/emotion-react-jsx-runtime.browser.esm-BQbalngd.js +0 -1
- package/build/assets/index-CKS-vpo7.js +0 -2631
- package/build/assets/lib-account-COp-RaN5.js +0 -51
- package/build/assets/lib-account-CiFA5y4M.js +0 -2
- package/build/assets/lib-api-DIgTslNb-DP1_yG_t.js +0 -374
- package/build/assets/lib-api-Dqph3zoA.js +0 -2
- package/build/assets/lib-remote-C1YHVUVa.js +0 -2
- package/build/assets/lib-worker-anime-index-CWT8EUVb.js +0 -1
- package/build/assets/lib-worker-anime-seasons-CoquI0pK.js +0 -1
- package/build/assets/lib-worker-index-wTApHofM.js +0 -2631
- package/build/assets/main-L3DMTKgc.js +0 -5095
- package/build/assets/remote-BwnfCi4M.js +0 -1
- package/build/assets/site-status-c5cvFL2q.js +0 -71
- package/build/assets/theme-player-kjqP6iMr.js +0 -1
- package/store/season.webp +0 -0
- package/store/sources.webp +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,i as t,r as n}from"./dist-SwCxXzZD.js";function r(e){e&&e.parentNode&&e.remove()}function i(e,t,n){var r,i,o,s={};for(o in t)o==`key`?r=t[o]:o==`ref`&&typeof e!=`function`?i=t[o]:s[o]=t[o];return arguments.length>2&&(s.children=arguments.length>3?fe.call(arguments,2):n),a(e,s,r,i,null)}function a(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++re,__i:-1,__u:0};return i==null&&A.vnode!=null&&A.vnode(a),a}function o(){return{current:null}}function s(e){return e.children}function c(e,t){this.props=e,this.context=t,this.__g=0}function l(e,t){if(t==null)return e.__?l(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?l(e):null}function u(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=n.__e;break}return u(e)}}function d(e){(8&e.__g||!(e.__g|=8)||!j.push(e)||ae++)&&ie==A.debounceRendering||((ie=A.debounceRendering)||queueMicrotask)(f)}function f(){for(var e,t,n,r,i,a,o,s,c=1;j.length;)j.length>c&&j.sort(M),e=j.shift(),c=j.length,8&e.__g&&(n=void 0,i=(r=(t=e).__v).__e,a=[],o=[],(s=t.__P)&&((n=F({},r)).__v=r.__v+1,A.vnode&&A.vnode(n),x(s,n,r,t.__n,s.namespaceURI,32&r.__u?[i]:null,a,i??l(r),!!(32&r.__u),o,s.ownerDocument),n.__v=r.__v,n.__.__k[n.__i]=n,C(a,n,o),n.__e!=i&&u(n)));ae=0}function p(e,t,n,r,i,a,o,s,c,l,u,d){var f,p,g,_,v,y,b,S=r&&r.__k||ue,C=t.length;for(c=m(n,t,S,c,C),f=0;f<C;f++)(g=n.__k[f])!=null&&(p=g.__i==-1?le:S[g.__i]||le,g.__i=f,y=x(e,g,p,i,a,o,s,c,l,u,d),_=g.__e,g.ref&&p.ref!=g.ref&&(p.ref&&E(p.ref,null,g),u.push(g.ref,g.__c||_,g)),v==null&&_!=null&&(v=_),(b=!!(4&g.__u))||p.__k===g.__k?c=h(g,c,e,b):typeof g.type==`function`&&y!==void 0?c=y:_&&(c=_.nextSibling),g.__u&=-7);return n.__e=v,c}function m(e,t,n,r,i){var o,c,u,d,f,p=n.length,m=p,h=0;for(e.__k=Array(i),o=0;o<i;o++)(c=t[o])!=null&&typeof c!=`boolean`&&typeof c!=`function`?(d=o+h,(c=e.__k[o]=typeof c==`string`||typeof c==`number`||typeof c==`bigint`||c.constructor==String?a(null,c,null,null,null):de(c)?a(s,{children:c},null,null,null):c.constructor==null&&c.__b>0?a(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):c).__=e,c.__b=e.__b+1,u=null,(f=c.__i=_(c,n,d,m))!=-1&&(m--,(u=n[f])&&(u.__u|=2)),u==null||u.__v==null?(f==-1&&(i>p?h--:i<p&&h++),typeof c.type!=`function`&&(c.__u|=4)):f!=d&&(f==d-1?h--:f==d+1?h++:(f>d?h--:h++,c.__u|=4))):e.__k[o]=null;if(m)for(o=0;o<p;o++)(u=n[o])!=null&&!(2&u.__u)&&(u.__e==r&&(r=l(u)),ee(u,u));return r}function h(e,t,n,r){var i,a;if(typeof e.type==`function`){for(i=e.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=e,t=h(i[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=l(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function g(e,t){return t||=[],e==null||typeof e==`boolean`||(de(e)?e.some(function(e){g(e,t)}):t.push(e)),t}function _(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&!(2&l.__u);if(l===null&&e.key==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++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function v(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n??``}function y(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||v(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||v(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(N,`$1`)),(t=t.slice(2))[0].toLowerCase()!=t[0]&&(t=t.toLowerCase()),e.__l||={},e.__l[t+a]=n,n?r?n.l=r.l:(n.l=oe,e.addEventListener(t,a?se:P,a)):e.removeEventListener(t,a?se:P,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 b(e){return function(t){if(this.__l){var n=this.__l[t.type+e];if(t.u==null)t.u=oe++;else if(t.u<n.l)return;return n(A.event?A.event(t):t)}}}function x(e,t,n,i,a,o,l,u,d,f,m){var h,g,_,v,y,b,x,C,E,ee,D,O,ne,k,re,j,ie,ae,M,N,oe,P=t.type;if(t.constructor!=null)return null;128&n.__u&&(d=!!(32&n.__u),n.__c.__z&&(u=t.__e=n.__e=(o=n.__c.__z)[0],n.__c.__z=null)),(h=A.__b)&&h(t);n:if(typeof P==`function`)try{if(C=t.props,E=`prototype`in P&&P.prototype.render,ee=(h=P.contextType)&&i[h.__c],D=h?ee?ee.props.value:h.__:i,n.__c?2&(g=t.__c=n.__c).__g&&(g.__g|=1,x=!0):(E?t.__c=g=new P(C,D):(t.__c=g=new c(C,D),g.constructor=P,g.render=te),ee&&ee.sub(g),g.props=C,g.state||(g.state={}),g.context=D,g.__n=i,_=!0,g.__g|=8,g.__h=[],g._sb=[]),E&&g.__s==null&&(g.__s=g.state),E&&P.getDerivedStateFromProps!=null&&(g.__s==g.state&&(g.__s=F({},g.__s)),F(g.__s,P.getDerivedStateFromProps(C,g.__s))),v=g.props,y=g.state,g.__v=t,_)E&&P.getDerivedStateFromProps==null&&g.componentWillMount!=null&&g.componentWillMount(),E&&g.componentDidMount!=null&&g.__h.push(g.componentDidMount);else{if(E&&P.getDerivedStateFromProps==null&&C!==v&&g.componentWillReceiveProps!=null&&g.componentWillReceiveProps(C,D),!(4&g.__g)&&g.shouldComponentUpdate!=null&&!1===g.shouldComponentUpdate(C,g.__s,D)||t.__v==n.__v){for(t.__v!=n.__v&&(g.props=C,g.state=g.__s,g.__g&=-9),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),O=0;O<g._sb.length;O++)g.__h.push(g._sb[O]);g._sb=[],g.__h.length&&l.push(g);break n}g.componentWillUpdate!=null&&g.componentWillUpdate(C,g.__s,D),E&&g.componentDidUpdate!=null&&g.__h.push(function(){g.componentDidUpdate(v,y,b)})}if(g.context=D,g.props=C,g.__P=e,g.__g&=-5,ne=A.__r,k=0,E){for(g.state=g.__s,g.__g&=-9,ne&&ne(t),h=g.render(g.props,g.state,g.context),re=0;re<g._sb.length;re++)g.__h.push(g._sb[re]);g._sb=[]}else do g.__g&=-9,ne&&ne(t),h=g.render(g.props,g.state,g.context),g.state=g.__s;while(8&g.__g&&++k<25);g.state=g.__s,g.getChildContext!=null&&(i=F({},i,g.getChildContext())),E&&!_&&g.getSnapshotBeforeUpdate!=null&&(b=g.getSnapshotBeforeUpdate(v,y)),j=h,h!=null&&h.type===s&&h.key==null&&(j=w(h.props.children)),u=p(e,de(j)?j:[j],t,n,i,a,o,l,u,d,f,m),t.__u&=-161,g.__h.length&&l.push(g),x&&(g.__g&=-4)}catch(e){if(t.__v=null,d||o!=null){if(e.then){for(ie=0,ae=!1,t.__u|=d?160:128,t.__c.__z=[],M=0;M<o.length;M++)(N=o[M])==null||ae||(N.nodeType==8&&N.data==`$s`?(ie>0&&t.__c.__z.push(N),ie++,o[M]=null):N.nodeType==8&&N.data==`/$s`?(--ie>0&&t.__c.__z.push(N),ae=ie===0,u=o[M],o[M]=null):ie>0&&(t.__c.__z.push(N),o[M]=null));if(!ae){for(;u&&u.nodeType==8&&u.nextSibling;)u=u.nextSibling;o[o.indexOf(u)]=null,t.__c.__z=[u]}t.__e=u}else{for(oe=o.length;oe--;)r(o[oe]);S(t)}}else t.__e=n.__e,t.__k=n.__k,e.then||S(t);A.__e(e,t,n)}else u=t.__e=T(n.__e,t,n,i,a,o,l,d,f,m);return(h=A.diffed)&&h(t),128&t.__u?void 0:u}function S(e){e&&e.__c&&(e.__c.__g|=4),e&&e.__k&&e.__k.forEach(S)}function C(e,t,n){for(var r=0;r<n.length;r++)E(n[r],n[++r],n[++r]);A.__c&&A.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){A.__e(e,t.__v)}})}function w(e){return typeof e!=`object`||!e||e.__b&&e.__b>0?e:de(e)?e.map(w):F({},e)}function T(e,t,n,i,a,o,s,c,u,d){var f,m,h,g,_,v,b,x,S=n.props,C=t.props,w=t.type;if(w==`svg`?a=`http://www.w3.org/2000/svg`:w==`math`?a=`http://www.w3.org/1998/Math/MathML`:a||=`http://www.w3.org/1999/xhtml`,o!=null){for(f=0;f<o.length;f++)if((_=o[f])&&`setAttribute`in _==!!w&&(w?_.localName==w:_.nodeType==3)){e=_,o[f]=null;break}}if(e==null){if(w==null)return d.createTextNode(C);e=d.createElementNS(a,w,C.is&&C),c&&=(A.__m&&A.__m(t,o),!1),o=null}if(w==null)S===C||c&&e.data==C||(e.data=C);else{if(o&&=fe.call(e.childNodes),S=n.props||le,!c&&o!=null)for(S={},f=0;f<e.attributes.length;f++)S[(_=e.attributes[f]).name]=_.value;for(f in S)if(_=S[f],f!=`children`){if(f==`dangerouslySetInnerHTML`)h=_;else if(!(f in C)){if(f==`value`&&`defaultValue`in C||f==`checked`&&`defaultChecked`in C)continue;y(e,f,null,_,a)}}for(f in x=1&n.__u,C)_=C[f],f==`children`?g=_:f==`dangerouslySetInnerHTML`?m=_:f==`value`?v=_:f==`checked`?b=_:c&&typeof _!=`function`||S[f]===_&&!x||y(e,f,_,S[f],a);if(m)c||h&&(m.__html==h.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(h&&(e.innerHTML=``),p(w==`template`?e.content:e,de(g)?g:[g],t,n,i,w==`foreignObject`?`http://www.w3.org/1999/xhtml`:a,o,s,o?o[0]:n.__k&&l(n,0),c,u,d),o!=null)for(f=o.length;f--;)r(o[f]);c||(f=`value`,w==`progress`&&v==null?e.removeAttribute(`value`):v==null||v===e[f]&&(w!==`progress`||v)||y(e,f,v,S[f],a),f=`checked`,b!=null&&b!=e[f]&&y(e,f,b,S[f],a))}return e}function E(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){A.__e(e,n)}}function ee(e,t,n){var i,a;if(A.unmount&&A.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||E(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){A.__e(e,t)}i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&ee(i[a],t,n||typeof e.type!=`function`);n||r(e.__e),e.__e&&e.__e.__l&&(e.__e.__l=null),e.__e=e.__c=e.__=null}function te(e,t,n){return this.constructor(e,n)}function D(e,t){var n,r,a,o;t==document&&(t=document.documentElement),A.__&&A.__(e,t),r=(n=!!(e&&32&e.__u))?null:t.__k,e=t.__k=i(s,null,[e]),a=[],o=[],x(t,e,r||le,le,t.namespaceURI,r?null:t.firstChild?fe.call(t.childNodes):null,a,r?r.__e:t.firstChild,n,o,t.ownerDocument),C(a,e,o)}function O(e,t){e.__u|=32,D(e,t)}function ne(e,t,n){var r,i,o,s=F({},e.props);for(o in t)o==`key`?r=t[o]:o==`ref`&&typeof e.type!=`function`?i=t[o]:s[o]=t[o];return arguments.length>2&&(s.children=arguments.length>3?fe.call(arguments,2):n),a(e.type,s,r||e.key,i||e.ref,null)}function k(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__g|=4,d(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+ce++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}var A,re,j,ie,ae,M,N,oe,P,se,ce,le,ue,de,fe,F,pe=t((()=>{le={},ue=[],de=Array.isArray,fe=ue.slice,F=Object.assign,A={__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!=null&&(i.setState(a.getDerivedStateFromError(e)),o=8&i.__g),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=8&i.__g),o)return void(i.__g|=2)}catch(t){e=t}}throw ae=0,e}},re=0,c.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=F({},this.state);typeof e==`function`&&(e=e(F({},n),this.props)),e&&F(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),d(this))},c.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),d(this))},c.prototype.render=s,j=[],ae=0,M=function(e,t){return e.__v.__b-t.__v.__b},N=/(PointerCapture)$|Capture$/i,oe=0,P=b(!1),se=b(!0),ce=0}));function me(e,t){L.__h&&L.__h(I,e,Le||t),Le=0;var n=I.__H||(I.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function he(e){return Le=1,ge(Me,e)}function ge(e,t,n){var r=me(Ne++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Me(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);Ie(t,n)||(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=I,!I.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return!!e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,Ie(t,e.__[0])||(o=!0)}}),a&&a.call(this,e,t,n)||o};I.__f=!0;var a=I.shouldComponentUpdate,o=I.componentWillUpdate;I.componentWillUpdate=function(e,t,n){if(4&this.__g){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},I.shouldComponentUpdate=i}return r.__N||r.__}function _e(e,t){var n=me(Ne++,3);!L.__s&&je(n.__H,t)&&(n.__=e,n.u=t,I.__H.__h.push(n))}function ve(e,t){var n=me(Ne++,4);!L.__s&&je(n.__H,t)&&(n.__=e,n.u=t,I.__h.push(n))}function ye(e){return Le=5,xe(function(){return{current:e}},[])}function be(e,t,n){Le=6,ve(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 xe(e,t){var n=me(Ne++,7);return je(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Se(e,t){return Le=8,xe(function(){return e},t)}function Ce(e){var t=I.context[e.__c],n=me(Ne++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(I)),t.props.value):e.__}function we(e,t){L.useDebugValue&&L.useDebugValue(t?t(e):e)}function Te(e){var t=me(Ne++,10),n=he();return t.__=e,I.componentDidCatch||(I.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function Ee(){var e=me(Ne++,11);if(!e.__){for(var t=I.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__=`P`+n[0]+`-`+n[1]++}return e.__}function De(){for(var e;e=Re.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ke),e.__H.__h.forEach(Ae),e.__H.__h=[]}catch(t){e.__H.__h=[],L.__e(t,e.__v)}}function Oe(e){var t,n=function(){clearTimeout(r),Ge&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Ge&&(t=requestAnimationFrame(n))}function ke(e){var t=I,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),I=t}function Ae(e){var t=I;e.__c=e.__(),I=t}function je(e,t){return!e||e.length!==t.length||t.some(function(t,n){return!Ie(t,e[n])})}function Me(e,t){return typeof t==`function`?t(e):t}var Ne,I,Pe,Fe,Ie,Le,Re,L,ze,Be,Ve,He,Ue,We,Ge,Ke=t((()=>{pe(),Ie=Object.is,Le=0,Re=[],L=A,ze=L.__b,Be=L.__r,Ve=L.diffed,He=L.__c,Ue=L.unmount,We=L.__,L.__b=function(e){I=null,ze&&ze(e)},L.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),We&&We(e,t)},L.__r=function(e){Be&&Be(e),Ne=0;var t=(I=e.__c).__H;t&&(Pe===I?(t.__h=[],I.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(ke),t.__h.forEach(Ae),t.__h=[],Ne=0)),Pe=I},L.diffed=function(e){Ve&&Ve(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Re.push(t)!==1&&Fe===L.requestAnimationFrame||((Fe=L.requestAnimationFrame)||Oe)(De)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Pe=I=null},L.__c=function(e,t){t.some(function(e){try{e.__h.forEach(ke),e.__h=e.__h.filter(function(e){return!e.__||Ae(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],L.__e(n,e.__v)}}),He&&He(e,t)},L.unmount=function(e){Ue&&Ue(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{ke(e)}catch(e){t=e}}),n.__H=void 0,t&&L.__e(t,n.__v))},Ge=typeof requestAnimationFrame==`function`})),qe=e({Children:()=>Ot,Component:()=>c,Fragment:()=>s,PureComponent:()=>et,StrictMode:()=>Gt,Suspense:()=>at,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Ht,cloneElement:()=>yt,createContext:()=>k,createElement:()=>i,createFactory:()=>ht,createPortal:()=>lt,createRef:()=>o,default:()=>qt,findDOMNode:()=>xt,flushSync:()=>Wt,forwardRef:()=>nt,hydrate:()=>dt,isElement:()=>Kt,isFragment:()=>_t,isMemo:()=>vt,isValidElement:()=>gt,lazy:()=>ot,memo:()=>tt,render:()=>ut,startTransition:()=>Xe,unmountComponentAtNode:()=>bt,unstable_batchedUpdates:()=>St,useCallback:()=>Se,useContext:()=>Ce,useDebugValue:()=>we,useDeferredValue:()=>Ze,useEffect:()=>_e,useErrorBoundary:()=>Te,useId:()=>Ee,useImperativeHandle:()=>be,useInsertionEffect:()=>Ct,useLayoutEffect:()=>ve,useMemo:()=>xe,useReducer:()=>ge,useRef:()=>ye,useState:()=>he,useSyncExternalStore:()=>Je,useTransition:()=>Qe,version:()=>Ut});function Je(e,t){var n=t(),r=he({t:{__:n,u:t}}),i=r[0].t,a=r[1];return ve(function(){i.__=n,i.u=t,Ye(i)&&a({t:i})},[e,n,t]),_e(function(){return Ye(i)&&a({t:i}),e(function(){Ye(i)&&a({t:i})})},[e]),n}function Ye(e){var t=e.u,n=e.__;try{var r=t();return!Object.is(n,r)}catch{return!0}}function Xe(e){e()}function Ze(e){return e}function Qe(){return[!1,Xe]}function $e(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function et(e,t){this.props=e,this.context=t}function tt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:$e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,i(e,t)}return r.displayName=`Memo(`+(e.displayName||e.name)+`)`,r.prototype.isReactComponent=!0,r.type=e,r}function nt(e){function t(t){var n=wt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Et,t.render=e,t.prototype.isReactComponent=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}function rt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=wt({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__g|=4,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return rt(e,t,n)})),e}function it(e,t,n){return e&&n&&(typeof e.type==`string`&&(e.__u|=1),e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return it(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__g|=4,e.__c.__P=n)),e}function at(){this.__u=0,this.o=null,this.__b=null}function ot(e){var t,n,r;function a(a){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return i(n,a)}return a.displayName=`Lazy`,a}function st(e){return this.getChildContext=function(){return e.context},e.children}function ct(e){var t=this,n=e.i;if(t.componentWillUnmount=function(){D(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),!t.l){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},ownerDocument:n.ownerDocument,insertBefore:function(e,n){this.childNodes.push(e),t.i.insertBefore(e,n)}}}D(i(st,{context:t.context},e.__v),t.l)}function lt(e,t){var n=i(ct,{__v:e,i:t});return n.containerInfo=t,n}function ut(e,t,n){return t.__k??(t.textContent=``),D(e,t),typeof n==`function`&&n(),e?e.__c:null}function dt(e,t,n){return O(e,t),typeof n==`function`&&n(),e?e.__c:null}function ft(){}function pt(){return this.cancelBubble}function mt(){return this.defaultPrevented}function ht(e){return i.bind(null,e)}function gt(e){return!!e&&e.$$typeof===jt}function _t(e){return gt(e)&&e.type===s}function vt(e){return!!e&&!!e.displayName&&(typeof e.displayName==`string`||e.displayName instanceof String)&&e.displayName.startsWith(`Memo(`)}function yt(e){return gt(e)?ne.apply(null,arguments):e}function bt(e){return!!e.__k&&(D(null,e),!0)}function xt(e){return e&&(e.__v&&e.__v.__e||e.nodeType===1&&e)||null}function St(e,t){return e(t)}var Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It,Lt,Rt,zt,Bt,Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt=t((()=>{pe(),Ke(),Ke(),Ct=ve,wt=Object.assign,Tt=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/,(et.prototype=new c).isPureReactComponent=!0,et.prototype.shouldComponentUpdate=function(e,t){return $e(this.props,e)||$e(this.state,t)},Et=Symbol.for(`react.forward_ref`),Dt=function(e,t,n){return e==null?null:g(g(e).map(t.bind(n)))},Ot={map:Dt,forEach:Dt,count:function(e){return e?g(e).length:0},only:function(e){var t=g(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:g},kt=A.__e,A.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}kt(e,t,n,r)},At=A.unmount,A.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),At&&At(e)},(at.prototype=new c).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=!1,a=function(){i||(i=!0,n.__R=null,o())};n.__R=a;var o=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=it(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},at.prototype.componentWillUnmount=function(){this.o=[]},at.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=rt(this.__b,n,r.__O=r.__P)}this.__b=null}return[i(s,null,t.__a?null:e.children),t.__a&&i(s,null,e.fallback)]},jt=Symbol.for(`react.element`),Mt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Nt=/[A-Z0-9]/g,Pt=typeof document<`u`,Ft=function(e){return/fil|che|rad/.test(e)},c.prototype.isReactComponent={},[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(c.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}),It=A.event,A.event=function(e){return It&&(e=It(e)),e.persist=ft,e.isPropagationStopped=pt,e.isDefaultPrevented=mt,e.nativeEvent=e},Rt={enumerable:!1,configurable:!0,get:function(){return this.class}},zt=A.vnode,A.vnode=function(e){if(typeof e.type==`string`)(function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)===-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||Pt&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){if(a===`style`&&typeof o==`object`)for(var s in o)typeof o[s]!=`number`||Tt.test(s)||(o[s]+=`px`);else if(a===`defaultValue`&&`value`in t&&t.value==null)a=`value`;else if(a===`download`&&!0===o)o=``;else if(a===`translate`&&o===`no`)o=!1;else if(a[0]===`o`&&a[1]===`n`){var c=a.toLowerCase();c===`ondoubleclick`?a=`ondblclick`:c!==`onchange`||n!==`input`&&n!==`textarea`||Ft(t.type)?c===`onfocus`?a=`onfocusin`:c===`onblur`&&(a=`onfocusout`):c=a=`oninput`,c===`oninput`&&r[a=c]&&(a=`oninputCapture`)}else i&&Mt.test(a)?a=a.replace(Nt,`-$&`).toLowerCase():o===null&&(o=void 0);r[a]=o}}n==`select`&&r.multiple&&Array.isArray(r.value)&&(r.value=g(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),n==`select`&&r.defaultValue!=null&&(r.value=g(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Rt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r})(e);else if(typeof e.type==`function`&&(`ref`in e.props&&`prototype`in e.type&&e.type.prototype.render&&(e.ref=e.props.ref,delete e.props.ref),e.type.defaultProps)){var t=wt({},e.props);for(var n in e.type.defaultProps)t[n]===void 0&&(t[n]=e.type.defaultProps[n]);e.props=t}e.$$typeof=jt,zt&&zt(e)},Bt=A.__r,A.__r=function(e){Bt&&Bt(e),Lt=e.__c},Vt=A.diffed,A.diffed=function(e){Vt&&Vt(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),Lt=null},Ht={ReactCurrentDispatcher:{current:{readContext:function(e){return Lt.__n[e.__c].props.value},useCallback:Se,useContext:Ce,useDebugValue:we,useDeferredValue:Ze,useEffect:_e,useId:Ee,useImperativeHandle:be,useInsertionEffect:Ct,useLayoutEffect:ve,useMemo:xe,useReducer:ge,useRef:ye,useState:he,useSyncExternalStore:Je,useTransition:Qe}}},Ut=`18.3.1`,Wt=function(e,t){return e(t)},Gt=s,Kt=gt,qt={useState:he,useId:Ee,useReducer:ge,useEffect:_e,useLayoutEffect:ve,useInsertionEffect:Ct,useTransition:Qe,useDeferredValue:Ze,useSyncExternalStore:Je,startTransition:Xe,useRef:ye,useImperativeHandle:be,useMemo:xe,useCallback:Se,useContext:Ce,useDebugValue:we,version:`18.3.1`,Children:Ot,render:ut,hydrate:dt,unmountComponentAtNode:bt,createPortal:lt,createElement:i,createContext:k,createFactory:ht,cloneElement:yt,createRef:o,Fragment:s,isValidElement:gt,isElement:Kt,isFragment:_t,isMemo:vt,findDOMNode:xt,Component:c,PureComponent:et,memo:tt,forwardRef:nt,flushSync:Wt,unstable_batchedUpdates:St,StrictMode:Gt,Suspense:at,lazy:ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ht}}));Jt();function Yt(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Xt(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Zt=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Xt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Yt(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),R=`-ms-`,Qt=`-moz-`,z=`-webkit-`,$t=`comm`,en=`rule`,tn=`decl`,nn=`@import`,rn=`@keyframes`,an=`@layer`,on=Math.abs,sn=String.fromCharCode,cn=Object.assign;function ln(e,t){return V(e,0)^45?(((t<<2^V(e,0))<<2^V(e,1))<<2^V(e,2))<<2^V(e,3):0}function un(e){return e.trim()}function dn(e,t){return(e=t.exec(e))?e[0]:e}function B(e,t,n){return e.replace(t,n)}function fn(e,t){return e.indexOf(t)}function V(e,t){return e.charCodeAt(t)|0}function pn(e,t,n){return e.slice(t,n)}function H(e){return e.length}function mn(e){return e.length}function hn(e,t){return t.push(e),e}function gn(e,t){return e.map(t).join(``)}var _n=1,vn=1,yn=0,U=0,W=0,bn=``;function xn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:_n,column:vn,length:o,return:``}}function Sn(e,t){return cn(xn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Cn(){return W}function wn(){return W=U>0?V(bn,--U):0,vn--,W===10&&(vn=1,_n--),W}function G(){return W=U<yn?V(bn,U++):0,vn++,W===10&&(vn=1,_n++),W}function K(){return V(bn,U)}function Tn(){return U}function En(e,t){return pn(bn,e,t)}function Dn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function On(e){return _n=vn=1,yn=H(bn=e),U=0,[]}function kn(e){return bn=``,e}function An(e){return un(En(U-1,Nn(e===91?e+2:e===40?e+1:e)))}function jn(e){for(;(W=K())&&W<33;)G();return Dn(e)>2||Dn(W)>3?``:` `}function Mn(e,t){for(;--t&&G()&&!(W<48||W>102||W>57&&W<65||W>70&&W<97););return En(e,Tn()+(t<6&&K()==32&&G()==32))}function Nn(e){for(;G();)switch(W){case e:return U;case 34:case 39:e!==34&&e!==39&&Nn(W);break;case 40:e===41&&Nn(e);break;case 92:G()}return U}function Pn(e,t){for(;G()&&e+W!==57&&(e+W!==84||K()!==47););return`/*`+En(t,U-1)+`*`+sn(e===47?e:G())}function Fn(e){for(;!Dn(K());)G();return En(e,U)}function In(e){return kn(Ln(``,null,null,null,[``],e=On(e),0,[0],e))}function Ln(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=G()){case 40:if(m!=108&&V(C,d-1)==58){fn(C+=B(An(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=An(v);break;case 9:case 10:case 13:case 32:C+=jn(m);break;case 92:C+=Mn(Tn()-1,7);continue;case 47:switch(K()){case 42:case 47:hn(zn(Pn(G(),Tn()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=H(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=B(C,/\f/g,``)),p>0&&H(C)-d&&hn(p>32?Bn(C+`;`,r,n,d-1):Bn(B(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(hn(S=Rn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Ln(C,t,S,S,b,a,d,s,x);else switch(f===99&&V(C,3)===110?100:f){case 100:case 108:case 109:case 115:Ln(e,S,S,r&&hn(Rn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Ln(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+H(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&wn()==125)continue}switch(C+=sn(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(H(C)-1)*_,_=1;break;case 64:K()===45&&(C+=An(G())),f=K(),u=d=H(y=C+=Fn(Tn())),v++;break;case 45:m===45&&H(C)==2&&(h=0)}}return a}function Rn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=mn(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=pn(e,d+1,d=on(h=o[m])),y=e;_<p;++_)(y=un(h>0?f[_]+` `+v:B(v,/&\f/g,f[_])))&&(c[g++]=y);return xn(e,t,n,i===0?en:s,c,l,u)}function zn(e,t,n){return xn(e,t,n,$t,sn(Cn()),pn(e,2,-2),0)}function Bn(e,t,n,r){return xn(e,t,n,tn,pn(e,0,r),pn(e,r+1,-1),r)}function Vn(e,t){for(var n=``,r=mn(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Hn(e,t,n,r){switch(e.type){case an:if(e.children.length)break;case nn:case tn:return e.return=e.return||e.value;case $t:return``;case rn:return e.return=e.value+`{`+Vn(e.children,r)+`}`;case en:e.value=e.props.join(`,`)}return H(n=Vn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Un(e){var t=mn(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Wn(e){return function(t){t.root||(t=t.return)&&e(t)}}function Gn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Kn=function(e,t,n){for(var r=0,i=0;r=i,i=K(),r===38&&i===12&&(t[n]=1),!Dn(i);)G();return En(e,U)},qn=function(e,t){var n=-1,r=44;do switch(Dn(r)){case 0:r===38&&K()===12&&(t[n]=1),e[n]+=Kn(U-1,t,n);break;case 2:e[n]+=An(r);break;case 4:if(r===44){e[++n]=K()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=sn(r)}while(r=G());return e},Jn=function(e,t){return kn(qn(On(e),t))},Yn=new WeakMap,Xn=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||Yn.get(n))&&!r){Yn.set(e,!0);for(var i=[],a=Jn(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Zn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Qn(e,t){switch(ln(e,t)){case 5103:return z+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+Qt+e+R+e+e;case 6828:case 4268:return z+e+R+e+e;case 6165:return z+e+R+`flex-`+e+e;case 5187:return z+e+B(e,/(\w+).+(:[^]+)/,z+`box-$1$2`+R+`flex-$1$2`)+e;case 5443:return z+e+R+`flex-item-`+B(e,/flex-|-self/,``)+e;case 4675:return z+e+R+`flex-line-pack`+B(e,/align-content|flex-|-self/,``)+e;case 5548:return z+e+R+B(e,`shrink`,`negative`)+e;case 5292:return z+e+R+B(e,`basis`,`preferred-size`)+e;case 6060:return z+`box-`+B(e,`-grow`,``)+z+e+R+B(e,`grow`,`positive`)+e;case 4554:return z+B(e,/([^-])(transform)/g,`$1`+z+`$2`)+e;case 6187:return B(B(B(e,/(zoom-|grab)/,z+`$1`),/(image-set)/,z+`$1`),e,``)+e;case 5495:case 3959:return B(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return B(B(e,/(.+:)(flex-)?(.*)/,z+`box-pack:$3`+R+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+z+e+e;case 4095:case 3583:case 4068:case 2532:return B(e,/(.+)-inline(.+)/,z+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(H(e)-1-t>6)switch(V(e,t+1)){case 109:if(V(e,t+4)!==45)break;case 102:return B(e,/(.+:)(.+)-([^]+)/,`$1`+z+`$2-$3$1`+Qt+(V(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~fn(e,`stretch`)?Qn(B(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(V(e,t+1)!==115)break;case 6444:switch(V(e,H(e)-3-(~fn(e,`!important`)&&10))){case 107:return B(e,`:`,`:`+z)+e;case 101:return B(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+z+(V(e,14)===45?`inline-`:``)+`box$3$1`+z+`$2$3$1`+R+`$2box$3`)+e}break;case 5936:switch(V(e,t+11)){case 114:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return z+e+R+e+e}return e}var $n=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case tn:e.return=Qn(e.value,e.length);break;case rn:return Vn([Sn(e,{value:B(e.value,`@`,`@`+z)})],r);case en:if(e.length)return gn(e.props,function(t){switch(dn(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Vn([Sn(e,{props:[B(t,/:(read-\w+)/,`:`+Qt+`$1`)]})],r);case`::placeholder`:return Vn([Sn(e,{props:[B(t,/:(plac\w+)/,`:`+z+`input-$1`)]}),Sn(e,{props:[B(t,/:(plac\w+)/,`:`+Qt+`$1`)]}),Sn(e,{props:[B(t,/:(plac\w+)/,R+`input-$1`)]})],r)}return``})}}],er=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||$n,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Xn,Zn],l,u=[Hn,Wn(function(e){l.insert(e)})],d=Un(c.concat(r,u)),f=function(e){return Vn(In(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Zt({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},tr=n((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),nr=n(((e,t)=>{t.exports=tr()})),rr=n(((e,t)=>{var n=nr(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function ir(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var ar=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},or=function(e,t,n){ar(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function sr(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},lr=/[A-Z]|^ms/g,ur=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dr=function(e){return e.charCodeAt(1)===45},fr=function(e){return e!=null&&typeof e!=`boolean`},pr=Gn(function(e){return dr(e)?e:e.replace(lr,`-$&`).toLowerCase()}),mr=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(ur,function(e,t,n){return q={name:t,styles:n,next:q},t})}return cr[e]!==1&&!dr(e)&&typeof t==`number`&&t!==0?t+`px`:t};function hr(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return q={name:i.name,styles:i.styles,next:q},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)q={name:o.name,styles:o.styles,next:q},o=o.next;return a.styles+`;`}return gr(e,t,n);case`function`:if(e!==void 0){var s=q,c=n(e);return q=s,hr(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function gr(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=hr(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:fr(s)&&(r+=pr(a)+`:`+mr(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)fr(o[c])&&(r+=pr(a)+`:`+mr(a,o[c])+`;`);else{var l=hr(e,t,o);switch(a){case`animation`:case`animationName`:r+=pr(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var _r=/label:\s*([^\s;{]+)\s*(;|$)/g,q;function vr(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;q=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=hr(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=hr(n,t,e[o]),r&&(i+=a[o]);_r.lastIndex=0;for(var s=``,c;(c=_r.exec(i))!==null;)s+=`-`+c[1];return{name:sr(i)+s,styles:i,next:q}}var yr=function(e){return e()},br=Ct||!1,xr=br||yr,Sr=br||ve;Jt();var Cr=k(typeof HTMLElement<`u`?er({key:`css`}):null);Cr.Provider;var wr=function(e){return nt(function(t,n){return e(t,Ce(Cr),n)})},Tr=k({}),Er={}.hasOwnProperty,Dr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Or=function(e,t){var n={};for(var r in t)Er.call(t,r)&&(n[r]=t[r]);return n[Dr]=e,n},kr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ar(t,n,r),xr(function(){return or(t,n,r)}),null},Ar=wr(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[Dr],o=[r],c=``;typeof e.className==`string`?c=ir(t.registered,o,e.className):e.className!=null&&(c=e.className+` `);var l=vr(o,void 0,Ce(Tr));c+=t.key+`-`+l.name;var u={};for(var d in e)Er.call(e,d)&&d!==`css`&&d!==Dr&&(u[d]=e[d]);return u.className=c,n&&(u.ref=n),i(s,null,i(kr,{cache:t,serialized:l,isStringTag:typeof a==`string`}),i(a,u))});Jt(),rr();var jr=function(e,t){var n=arguments;if(t==null||!Er.call(t,`css`))return i.apply(void 0,n);var r=n.length,a=Array(r);a[0]=Ar,a[1]=Or(e,t);for(var o=2;o<r;o++)a[o]=n[o];return i.apply(null,a)};(function(e){var t;t||=e.JSX||={}})(jr||={});var Mr=wr(function(e,t){var n=e.styles,r=vr([n],void 0,Ce(Tr)),i=ye();return Sr(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Sr(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&or(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Nr(){return vr([...arguments])}function Pr(){var e=Nr.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}function Fr(){return typeof window<`u`}function Ir(e){return Rr(e)?(e.nodeName||``).toLowerCase():`#document`}function J(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lr(e){return((Rr(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Rr(e){return Fr()?e instanceof Node||e instanceof J(e).Node:!1}function Y(e){return Fr()?e instanceof Element||e instanceof J(e).Element:!1}function X(e){return Fr()?e instanceof HTMLElement||e instanceof J(e).HTMLElement:!1}function zr(e){return!Fr()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}var Br=new Set([`inline`,`contents`]);function Vr(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Br.has(i)}var Hr=new Set([`table`,`td`,`th`]);function Ur(e){return Hr.has(Ir(e))}var Wr=[`:popover-open`,`:modal`];function Gr(e){return Wr.some(t=>{try{return e.matches(t)}catch{return!1}})}var Kr=[`transform`,`translate`,`scale`,`rotate`,`perspective`],qr=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],Jr=[`paint`,`layout`,`strict`,`content`];function Yr(e){let t=Zr(),n=Y(e)?Z(e):e;return Kr.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||qr.some(e=>(n.willChange||``).includes(e))||Jr.some(e=>(n.contain||``).includes(e))}function Xr(e){let t=ti(e);for(;X(t)&&!$r(t);){if(Yr(t))return t;if(Gr(t))return null;t=ti(t)}return null}function Zr(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var Qr=new Set([`html`,`body`,`#document`]);function $r(e){return Qr.has(Ir(e))}function Z(e){return J(e).getComputedStyle(e)}function ei(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ti(e){if(Ir(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||zr(e)&&e.host||Lr(e);return zr(t)?t.host:t}function ni(e){let t=ti(e);return $r(t)?e.ownerDocument?e.ownerDocument.body:e.body:X(t)&&Vr(t)?t:ni(t)}function ri(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ni(e),i=r===e.ownerDocument?.body,a=J(r);if(i){let e=ii(a);return t.concat(a,a.visualViewport||[],Vr(r)?r:[],e&&n?ri(e):[])}return t.concat(r,ri(r,[],n))}function ii(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var ai=Math.min,Q=Math.max,oi=Math.round,si=Math.floor,ci=e=>({x:e,y:e}),li={left:`right`,right:`left`,bottom:`top`,top:`bottom`},ui={start:`end`,end:`start`};function di(e,t,n){return Q(e,ai(t,n))}function fi(e,t){return typeof e==`function`?e(t):e}function pi(e){return e.split(`-`)[0]}function mi(e){return e.split(`-`)[1]}function hi(e){return e===`x`?`y`:`x`}function gi(e){return e===`y`?`height`:`width`}var _i=new Set([`top`,`bottom`]);function vi(e){return _i.has(pi(e))?`y`:`x`}function yi(e){return hi(vi(e))}function bi(e,t,n){n===void 0&&(n=!1);let r=mi(e),i=yi(e),a=gi(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=ki(o)),[o,ki(o)]}function xi(e){let t=ki(e);return[Si(e),t,Si(t)]}function Si(e){return e.replace(/start|end/g,e=>ui[e])}var Ci=[`left`,`right`],wi=[`right`,`left`],Ti=[`top`,`bottom`],Ei=[`bottom`,`top`];function Di(e,t,n){switch(e){case`top`:case`bottom`:return n?t?wi:Ci:t?Ci:wi;case`left`:case`right`:return t?Ti:Ei;default:return[]}}function Oi(e,t,n,r){let i=mi(e),a=Di(pi(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Si)))),a}function ki(e){return e.replace(/left|right|bottom|top/g,e=>li[e])}function Ai(e){return{top:0,right:0,bottom:0,left:0,...e}}function ji(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ai(e)}function Mi(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}pe();var Ni=0;Array.isArray;function Pi(e,t,n,r,i,a){t||={};var o,s,c=t;if(`ref`in c&&typeof e!=`function`)for(s in c={},t)s==`ref`?o=t[s]:c[s]=t[s];var l={type:e,props:c,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Ni,__i:-1,__u:0,__source:i,__self:a};return A.vnode&&A.vnode(l),l}Jt();function Fi(e,t,n){let{reference:r,floating:i}=e,a=vi(t),o=yi(t),s=gi(o),c=pi(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(mi(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}var Ii=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Fi(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Fi(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Li(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=fi(t,e),p=ji(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Mi(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Mi(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Ri=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=fi(e,t)||{};if(l==null)return{};let d=ji(u),f={x:n,y:r},p=yi(i),m=gi(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=ai(d[_],T),ee=ai(d[v],T),te=E,D=C-h[m]-ee,O=C/2-h[m]/2+w,ne=di(te,O,D),k=!c.arrow&&mi(i)!=null&&O!==ne&&a.reference[m]/2-(O<te?E:ee)-h[m]/2<0,A=k?O<te?O-te:O-D:0;return{[p]:f[p]+A,data:{[p]:ne,centerOffset:O-ne-A,...k&&{alignmentOffset:A}},reset:k}}}),zi=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=fi(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=pi(r),_=vi(o),v=pi(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[ki(o)]:xi(o)),x=p!==`none`;!d&&x&&b.push(...Oi(o,m,p,y));let S=[o,...b],C=await Li(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=bi(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===vi(t)||T.every(e=>vi(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=vi(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Bi=new Set([`left`,`top`]);async function Vi(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=pi(n),s=mi(n),c=vi(n)===`y`,l=Bi.has(o)?-1:1,u=a&&c?-1:1,d=fi(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Hi=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Vi(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ui=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=fi(e,t),l={x:n,y:r},u=await Li(t,c),d=vi(pi(i)),f=hi(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=di(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=di(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},Wi=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=fi(e,t),u=await Li(t,l),d=pi(i),f=mi(i),p=vi(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ai(h-u[g],v),x=ai(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=Q(u.left,0),t=Q(u.right,0),n=Q(u.top,0),r=Q(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:Q(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:Q(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Gi(e){let t=Z(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=X(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=oi(n)!==a||oi(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ki(e){return Y(e)?e:e.contextElement}function qi(e){let t=Ki(e);if(!X(t))return ci(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Gi(t),o=(a?oi(n.width):n.width)/r,s=(a?oi(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Ji=ci(0);function Yi(e){let t=J(e);return!Zr()||!t.visualViewport?Ji:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==J(e)?!1:t}function Zi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ki(e),o=ci(1);t&&(r?Y(r)&&(o=qi(r)):o=qi(e));let s=Xi(a,n,r)?Yi(a):ci(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=J(a),t=r&&Y(r)?J(r):r,n=e,i=ii(n);for(;i&&r&&t!==n;){let e=qi(i),t=i.getBoundingClientRect(),r=Z(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=J(i),i=ii(n)}}return Mi({width:u,height:d,x:c,y:l})}function Qi(e,t){let n=ei(e).scrollLeft;return t?t.left+n:Zi(Lr(e)).left+n}function $i(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Qi(e,n),y:n.top+t.scrollTop}}function ea(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Lr(r),s=t?Gr(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ci(1),u=ci(0),d=X(r);if((d||!d&&!a)&&((Ir(r)!==`body`||Vr(o))&&(c=ei(r)),X(r))){let e=Zi(r);l=qi(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?$i(o,c):ci(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ta(e){return Array.from(e.getClientRects())}function na(e){let t=Lr(e),n=ei(e),r=e.ownerDocument.body,i=Q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Qi(e),s=-n.scrollTop;return Z(r).direction===`rtl`&&(o+=Q(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var ra=25;function ia(e,t){let n=J(e),r=Lr(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Zr();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Qi(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=ra&&(a-=o)}else l<=ra&&(a+=l);return{width:a,height:o,x:s,y:c}}var aa=new Set([`absolute`,`fixed`]);function oa(e,t){let n=Zi(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=X(e)?qi(e):ci(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function sa(e,t,n){let r;if(t===`viewport`)r=ia(e,n);else if(t===`document`)r=na(Lr(e));else if(Y(t))r=oa(t,n);else{let n=Yi(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Mi(r)}function ca(e,t){let n=ti(e);return n===t||!Y(n)||$r(n)?!1:Z(n).position===`fixed`||ca(n,t)}function la(e,t){let n=t.get(e);if(n)return n;let r=ri(e,[],!1).filter(e=>Y(e)&&Ir(e)!==`body`),i=null,a=Z(e).position===`fixed`,o=a?ti(e):e;for(;Y(o)&&!$r(o);){let t=Z(o),n=Yr(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&aa.has(i.position)||Vr(o)&&!n&&ca(e,o))?r=r.filter(e=>e!==o):i=t,o=ti(o)}return t.set(e,r),r}function ua(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Gr(t)?[]:la(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=sa(t,n,i);return e.top=Q(r.top,e.top),e.right=ai(r.right,e.right),e.bottom=ai(r.bottom,e.bottom),e.left=Q(r.left,e.left),e},sa(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function da(e){let{width:t,height:n}=Gi(e);return{width:t,height:n}}function fa(e,t,n){let r=X(t),i=Lr(t),a=n===`fixed`,o=Zi(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ci(0);function l(){c.x=Qi(i)}if(r||!r&&!a){if((Ir(t)!==`body`||Vr(i))&&(s=ei(t)),r){let e=Zi(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l()}a&&!r&&i&&l();let u=i&&!r&&!a?$i(i,s):ci(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function pa(e){return Z(e).position===`static`}function ma(e,t){if(!X(e)||Z(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Lr(e)===n&&(n=n.ownerDocument.body),n}function ha(e,t){let n=J(e);if(Gr(e))return n;if(!X(e)){let t=ti(e);for(;t&&!$r(t);){if(Y(t)&&!pa(t))return t;t=ti(t)}return n}let r=ma(e,t);for(;r&&Ur(r)&&pa(r);)r=ma(r,t);return r&&$r(r)&&pa(r)&&!Yr(r)?n:r||Xr(e)||n}var ga=async function(e){let t=this.getOffsetParent||ha,n=this.getDimensions,r=await n(e.floating);return{reference:fa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _a(e){return Z(e).direction===`rtl`}var va={convertOffsetParentRelativeRectToViewportRelativeRect:ea,getDocumentElement:Lr,getClippingRect:ua,getOffsetParent:ha,getElementRects:ga,getClientRects:ta,getDimensions:da,getScale:qi,isElement:Y,isRTL:_a};function ya(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ba(e,t){let n=null,r,i=Lr(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=si(d),h=si(i.clientWidth-(u+f)),g=si(i.clientHeight-(d+p)),_=si(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Q(0,ai(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!ya(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function xa(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ki(e),u=i||a?[...l?ri(l):[],...ri(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?ba(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?Zi(e):null;c&&g();function g(){let t=Zi(e);h&&!ya(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Sa=Hi,Ca=Ui,wa=zi,Ta=Wi,Ea=Ri,Da=(e,t,n)=>{let r=new Map,i={platform:va,...n},a={...i.platform,_c:r};return Ii(e,t,{...i,platform:a})},Oa=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ka=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Aa=e=>{let t=ka(e);return t.charAt(0).toUpperCase()+t.slice(1)},ja=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Ma=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0},Na={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`};Jt();var Pa=nt(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a=``,children:o,iconNode:s,...c},l)=>i(`svg`,{ref:l,...Na,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ja(`lucide`,a),...!o&&!Ma(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>i(e,t)),...Array.isArray(o)?o:[o]]));Jt();var $=(e,t)=>{let n=nt(({className:n,...r},a)=>i(Pa,{ref:a,iconNode:t,className:ja(`lucide-${Oa(Aa(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Aa(e),n},Fa=$(`captions`,[[`rect`,{width:`18`,height:`14`,x:`3`,y:`5`,rx:`2`,ry:`2`,key:`12ruh7`}],[`path`,{d:`M7 15h4M15 15h2M7 11h2M13 11h4`,key:`1ueiar`}]]),Ia=$(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),La=$(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Ra=$(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),za=$(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),Ba=$(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Va=$(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Ha=$(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Ua=$(`volume-1`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}]]),Wa=$(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),Ga=$(`volume-x`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`,key:`1ewh16`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`,key:`5ykzw1`}]]);Jt();var Ka=s,qa=function(e,t,n){return Er.call(t,`css`)?Pi(Ar,Or(e,t),n):Pi(e,t,n)},Ja=function(e,t,n){return Er.call(t,`css`)?Pi(Ar,Or(e,t),n):Pi(e,t,n)},Ya=`modulepreload`,Xa=function(e,t){return new URL(e,t).href},Za={},Qa=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Xa(t,n),t=s(t),t in Za)return;Za[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Ya,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};export{Ee as $,Y as A,Je as B,Ta as C,ri as D,Ir as E,Zr as F,Wt as G,Ot as H,Mr as I,Jt as J,qe as K,Nr as L,$r as M,Rr as N,ti as O,zr as P,ye as Q,Pr as R,Ca as S,Z as T,lt as U,qt as V,nt as W,Ct as X,gt as Y,ve as Z,Ea as _,Ga as a,Ce as at,wa as b,Ha as c,D as ct,za as d,pe as dt,be as et,Ra as f,s as ft,$ as g,Fa as h,Ja as i,Ke as it,X as j,J as k,Va as l,k as lt,Ia as m,Ka as n,Se as nt,Wa as o,xe as ot,La as p,c as pt,yt as q,qa as r,he as rt,Ua as s,ge as st,Qa as t,_e as tt,Ba as u,i as ut,xa as v,Pi as w,Sa as x,Da as y,tt as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./build-
|
|
1
|
+
import{a as e}from"./build-C4wtZmgD.js";var t=[`loadstart`,`loadedmetadata`,`loadeddata`,`durationchange`,`timeupdate`,`play`,`playing`,`pause`,`seeking`,`seeked`,`progress`,`ratechange`,`volumechange`,`ended`,`waiting`,`stalled`,`suspend`,`canplay`,`canplaythrough`,`emptied`,`resize`,`error`],n=[`currentTime`,`volume`,`muted`,`playbackRate`],r=[`play`,`pause`,`load`],i=e=>[`loadstart`,...e.readyState>=1?[`loadedmetadata`,`durationchange`]:[],...e.readyState>=2?[`loadeddata`]:[],...e.readyState>=3?[`canplay`]:[],`volumechange`,`ratechange`,`progress`,`resize`,e.paused?`pause`:`playing`,...e.ended?[`ended`]:[],...e.error?[`error`]:[]],a=e=>{if(!e)return[];let t=[];for(let n=0;n<e.length;n++)t.push([e.start(n),e.end(n)]);return t},o=e=>({currentTime:s(e.currentTime),duration:s(e.duration),paused:e.paused,ended:e.ended??!1,seeking:e.seeking,readyState:e.readyState,volume:e.volume??1,muted:e.muted??!1,playbackRate:e.playbackRate??1,src:e.src??``,currentSrc:e.currentSrc??``,buffered:a(e.buffered),seekable:a(e.seekable),error:e.error?{code:e.error.code,message:e.error.message}:null,videoWidth:e.videoWidth??0,videoHeight:e.videoHeight??0}),s=e=>Number.isNaN(e)?0:e,c={currentTime:0,duration:0,paused:!0,ended:!1,seeking:!1,readyState:0,volume:1,muted:!1,playbackRate:1,src:``,currentSrc:``,buffered:[],seekable:[],error:null,videoWidth:0,videoHeight:0},l=e=>({length:e.length,start:t=>e[t]?.[0]??0,end:t=>e[t]?.[1]??0}),u=1e4,d=1500,f=()=>new DOMException(`the far player did not start playing`,`NotAllowedError`),p=8,m=32,h=(e,t={})=>{C(t.origin);let n=typeof window<`u`&&window.parent!==window;return!t.transport&&!n?()=>{}:v(t).serve(e,t)},g=new WeakMap,_=new Map,v=a=>{let s=a.channel??`banou-media-player`,l=a.transport,u=`${s}|${a.origin??`*`}`,d=l?g.get(l)??(g.set(l,new Map),g.get(l)):_,f=d.get(u);if(f)return f;let h=new Map,v=new Map,y=e=>v.get(e)??v.set(e,new Set).get(e),b=(e,t)=>{v.get(e)?.delete(t);try{t.onmessage=null,t.close()}catch{}},x=(e,t,n)=>{for(let r of n?[n]:[...y(e)])try{r.postMessage(t)}catch{b(e,r)}},S=e=>{let t=h.get(e);return t?o(t):void 0},C=(e,t)=>{if(!v.get(e)?.size)return;let n=S(e);n&&x(e,{event:t,snapshot:n})},w={subscribe:(e,t)=>{if(typeof e!=`string`)throw TypeError(`a player id must be a string`);if(typeof MessagePort<`u`&&!(t instanceof MessagePort))throw TypeError(`subscribe takes a MessagePort`);if(!v.has(e)&&v.size>=m)throw RangeError(`too many players on this channel`);let n=y(e);if(n.size>=p)throw RangeError(`too many embedders for this player`);n.add(t),t.onmessage=()=>b(e,t),t.start?.();let r=S(e);r&&x(e,{event:`loadstart`,snapshot:r},t)},set:(e,t,r)=>{let i=h.get(e);if(i&&n.includes(t))try{i[t]=r}catch{}},call:async(e,t)=>{let n=h.get(e);if(n&&r.includes(t))try{t===`play`?await n.play():t===`pause`?n.pause():n.load?.()}finally{C(e,`timeupdate`)}}},T=new AbortController;T.signal.addEventListener(`abort`,()=>{d.delete(u);for(let[e,t]of v)for(let n of[...t])b(e,n);v.clear(),h.clear()},{once:!0}),e(w,{transport:a.transport??{emit:window.parent,receive:O(()=>window.parent,a.origin)},origin:a.origin,key:s,unregisterSignal:T.signal});let E={serve:(e,n)=>{let r=n.id??`default`,a=t.map(t=>[t,()=>{h.get(r)===e&&C(r,t)}]);for(let[t,n]of a)e.addEventListener(t,n);let s=h.has(r);h.set(r,e),s&&x(r,{event:`emptied`,snapshot:{...c}});for(let t of i(o(e)))C(r,t);let l=()=>{for(let[t,n]of a)e.removeEventListener(t,n);h.get(r)===e&&(h.delete(r),x(r,{event:`emptied`,snapshot:{...c}}))},u=()=>{l(),T.abort()};return n.signal&&(n.signal.aborted?u():n.signal.addEventListener(`abort`,u,{once:!0})),l}};return d.set(u,E),E},y=new WeakMap,b=(t,n)=>{let r=n.channel??`banou-media-player`,i=`${r}|${n.origin??`*`}`,a=y.get(t)??(y.set(t,new Map),y.get(t)),o=a.get(i);if(o)return o;let s=E(t,n.origin),c=new Set,l=new AbortController,u,d=e=>{try{e.port?.postMessage(`close`)}catch{}try{e.port?.close()}catch{}e.port=void 0},f=async e=>{d(e);let{port1:t,port2:n}=new MessageChannel;e.port=t,t.onmessage=({data:t})=>{l.signal.aborted||e.update(t)},await S(()=>u.subscribe(e.id,n)).catch(t=>{throw d(e),t})},p=()=>{l.abort();for(let e of c)d(e);c.clear(),a.delete(i)};(async()=>{for await(let t of e({},{transport:s,origin:n.origin,key:r,unregisterSignal:l.signal})){if(l.signal.aborted)return;u=t;for(let e of c)e.reset();await Promise.allSettled([...c].map(e=>f(e)))}u=void 0;for(let e of c)e.reset()})().catch(()=>{u=void 0;for(let e of c)e.reset()});let m={attach:e=>(c.add(e),u&&f(e).catch(()=>{}),()=>{d(e),c.delete(e),c.size||p()}),set:(e,t,n)=>u?.set(e,t,n),call:async(e,t)=>{if(!u)throw new DOMException(`the remote player was closed`,`AbortError`);await u.call(e,t)}};return a.set(i,m),m},x=(e,t={})=>{C(t.origin);let r=new AbortController,a=t.signal?AbortSignal.any([t.signal,r.signal]):r.signal,o=t.id??`default`,s={...c},u=new EventTarget,p=e=>u.dispatchEvent(new Event(e)),m,h,g=new Promise((e,t)=>{m=e,h=t});g.catch(()=>{});let _=()=>new DOMException(`the remote player was closed`,`AbortError`),v=new Set,y=()=>{for(let e of[...v])e(_());v.clear()},x=new Map,S=!1,w=b(e,t).attach({id:o,reset:()=>{S=!1,y()},update:({event:e,snapshot:t})=>{let n=!S;S=!0,Object.assign(s,t);for(let[e,t]of x)s[e]=t;if(!n){p(e);return}for(let e of i(s))p(e);m()}}),T=()=>{w(),y(),h(_())};a.aborted?queueMicrotask(T):a.addEventListener(`abort`,T,{once:!0});let E=(e,t)=>Object.defineProperty(u,e,{get:()=>t?t(s[e]):s[e],enumerable:!0});for(let e of[`duration`,`paused`,`ended`,`seeking`,`readyState`,`src`,`currentSrc`,`error`,`videoWidth`,`videoHeight`])E(e);E(`buffered`,l),E(`seekable`,l);let D=e=>g.then(()=>a.aborted?void 0:e()).catch(()=>{}),O=b(e,t);for(let e of n)Object.defineProperty(u,e,{get:()=>s[e],set:t=>{s[e]=t,x.set(e,t),D(async()=>{await O.set(o,e,t),x.get(e)===t&&x.delete(e)})},enumerable:!0});let k=e=>g.then(()=>{if(a.aborted)throw _();let t=O.call(o,e);return new Promise((e,n)=>{v.add(n),t.then(()=>{v.delete(n),e()},e=>{v.delete(n),n(a.aborted?_():e)})})});u.play=()=>(s.paused=!1,k(`play`).catch(e=>{throw s.paused=!0,e}));let A=()=>new Promise(e=>{let t=t=>{clearTimeout(r),u.removeEventListener(`playing`,n),u.removeEventListener(`play`,n),e(t)},n=()=>t(!0);u.addEventListener(`playing`,n),u.addEventListener(`play`,n);let r=setTimeout(()=>t(!s.paused),d)}),j=async()=>{let e=!s.paused,t;try{await u.play()}catch(e){t=e}return e?{started:!0,refusal:t}:{started:await A(),refusal:t}};return u.autoplay=async()=>{let e=await j();if(e.started)return{muted:u.muted};if(u.muted||a.aborted)throw e.refusal??f();u.muted=!0;let t=await j();if(t.started)return{muted:!0};throw u.muted=!1,e.refusal??t.refusal??f()},u.pause=()=>{s.paused=!0,k(`pause`).catch(()=>{})},u.load=()=>{k(`load`).catch(()=>{})},Object.defineProperty(u,"ready",{value:g,enumerable:!1}),u.destroy=()=>r.abort(),u},S=async e=>{let t;try{return await Promise.race([e(),new Promise((e,n)=>{t=setTimeout(()=>n(Error(`the player did not answer`)),u)})])}finally{t&&clearTimeout(t)}},C=e=>{if(e===void 0||e===`*`)return;if(e===`null`)throw TypeError('an opaque origin ("null") cannot be spoken to; leave `origin` unset and the sender check stands alone');let t;try{t=new URL(e)}catch{throw TypeError(`\`origin\` must be an origin like https://example.com, not ${e}`)}if(t.origin!==e)throw TypeError(`\`origin\` must be an origin like ${t.origin}, not ${e}`)},w=e=>{try{return!!e&&typeof e==`object`&&e.window===e}catch{return!1}},T=e=>{if(w(e))return!1;try{return!!e&&typeof e==`object`&&`contentWindow`in e}catch{return!1}},E=(e,t)=>{if(w(e)){let n=D(t);return{emit:(t,r)=>{e.postMessage(t,n.target(),r??[])},receive:O(()=>e,t,n)}}if(T(e)){if(!e.contentWindow)throw TypeError(`mediaPlayer: the iframe has no window yet; append it to a document first`);let n=()=>e.contentWindow,r=D(t);return{emit:(e,t)=>{n()?.postMessage(e,r.target(),t??[])},receive:O(n,t,r)}}return e},D=e=>{let t=e&&e!==`*`?e:void 0;return{target:()=>t&&t!==`null`?t:`*`,admits:e=>t?e===t:(e&&(t=e),!0)}},O=(e,t,n=D(t))=>t=>{let r=r=>{r.source===e()&&n.admits(r.origin)&&t(r.data,{source:r.source,origin:r.origin,receiveTransport:window})};return window.addEventListener(`message`,r),()=>window.removeEventListener(`message`,r)};export{h as n,t as r,x as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./remote-DQ5KVR01.js";export{e as exposePlayer};
|