@halibegic/react-video-player 0.0.12 → 0.0.13

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.
@@ -1,4 +1,4 @@
1
- (function(Q,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("zustand"),require("@radix-ui/react-slider"),require("hls.js"),require("@radix-ui/react-dropdown-menu")):typeof define=="function"&&define.amd?define(["exports","react","zustand","@radix-ui/react-slider","hls.js","@radix-ui/react-dropdown-menu"],p):(Q=typeof globalThis<"u"?globalThis:Q||self,p(Q.ReactVideoPlayer={},Q.React,Q.zustand,Q.RadixUISlider,Q.Hls,Q.RadixUIDropdownMenu))})(this,(function(Q,p,Je,$r,we,Hr){"use strict";function Xt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Ke=Xt($r),Be=Xt(Hr);var Qe={exports:{}},Ue={};/**
1
+ (function(Q,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("zustand"),require("@radix-ui/react-slider"),require("hls.js"),require("@radix-ui/react-dropdown-menu")):typeof define=="function"&&define.amd?define(["exports","react","zustand","@radix-ui/react-slider","hls.js","@radix-ui/react-dropdown-menu"],p):(Q=typeof globalThis<"u"?globalThis:Q||self,p(Q.ReactVideoPlayer={},Q.React,Q.zustand,Q.RadixUISlider,Q.Hls,Q.RadixUIDropdownMenu))})(this,(function(Q,p,Je,Hr,ue,$r){"use strict";function Xt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Ke=Xt(Hr),Be=Xt($r);var Qe={exports:{}},Ue={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Jt;function zr(){if(Jt)return Ue;Jt=1;var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(u,i,d){var h,y={},b=null,w=null;d!==void 0&&(b=""+d),i.key!==void 0&&(b=""+i.key),i.ref!==void 0&&(w=i.ref);for(h in i)r.call(i,h)&&!c.hasOwnProperty(h)&&(y[h]=i[h]);if(u&&u.defaultProps)for(h in i=u.defaultProps,i)y[h]===void 0&&(y[h]=i[h]);return{$$typeof:t,type:u,key:b,ref:w,props:y,_owner:s.current}}return Ue.Fragment=n,Ue.jsx=l,Ue.jsxs=l,Ue}var We={};/**
9
+ */var Jt;function zr(){if(Jt)return Ue;Jt=1;var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(c,u,d){var h,m={},x=null,S=null;d!==void 0&&(x=""+d),u.key!==void 0&&(x=""+u.key),u.ref!==void 0&&(S=u.ref);for(h in u)r.call(u,h)&&!a.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:x,ref:S,props:m,_owner:s.current}}return Ue.Fragment=n,Ue.jsx=l,Ue.jsxs=l,Ue}var We={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,25 +14,25 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Kt;function Br(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),P=Symbol.iterator,T="@@iterator";function N(o){if(o===null||typeof o!="object")return null;var f=P&&o[P]||o[T];return typeof f=="function"?f:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(o){{for(var f=arguments.length,v=new Array(f>1?f-1:0),C=1;C<f;C++)v[C-1]=arguments[C];g("error",o,v)}}function g(o,f,v){{var C=R.ReactDebugCurrentFrame,M=C.getStackAddendum();M!==""&&(f+="%s",v=v.concat([M]));var F=v.map(function(L){return String(L)});F.unshift("Warning: "+f),Function.prototype.apply.call(console[o],console,F)}}var I=!1,O=!1,k=!1,S=!1,W=!1,X;X=Symbol.for("react.module.reference");function D(o){return!!(typeof o=="string"||typeof o=="function"||o===r||o===c||W||o===s||o===d||o===h||S||o===w||I||O||k||typeof o=="object"&&o!==null&&(o.$$typeof===b||o.$$typeof===y||o.$$typeof===l||o.$$typeof===u||o.$$typeof===i||o.$$typeof===X||o.getModuleId!==void 0))}function Fe(o,f,v){var C=o.displayName;if(C)return C;var M=f.displayName||f.name||"";return M!==""?v+"("+M+")":v}function de(o){return o.displayName||"Context"}function q(o){if(o==null)return null;if(typeof o.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case r:return"Fragment";case n:return"Portal";case c:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case u:var f=o;return de(f)+".Consumer";case l:var v=o;return de(v._context)+".Provider";case i:return Fe(o,o.render,"ForwardRef");case y:var C=o.displayName||null;return C!==null?C:q(o.type)||"Memo";case b:{var M=o,F=M._payload,L=M._init;try{return q(L(F))}catch{return null}}}return null}var te=Object.assign,le=0,Te,J,Ze,ne,me,ge,Y;function Ve(){}Ve.__reactDisabledLog=!0;function Ge(){{if(le===0){Te=console.log,J=console.info,Ze=console.warn,ne=console.error,me=console.group,ge=console.groupCollapsed,Y=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ve,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}le++}}function Ne(){{if(le--,le===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},o,{value:Te}),info:te({},o,{value:J}),warn:te({},o,{value:Ze}),error:te({},o,{value:ne}),group:te({},o,{value:me}),groupCollapsed:te({},o,{value:ge}),groupEnd:te({},o,{value:Y})})}le<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=R.ReactCurrentDispatcher,ye;function se(o,f,v){{if(ye===void 0)try{throw Error()}catch(M){var C=M.stack.trim().match(/\n( *(at )?)/);ye=C&&C[1]||""}return`
18
- `+ye+o}}var ie=!1,ve;{var $e=typeof WeakMap=="function"?WeakMap:Map;ve=new $e}function ae(o,f){if(!o||ie)return"";{var v=ve.get(o);if(v!==void 0)return v}var C;ie=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=fe.current,fe.current=null,Ge();try{if(f){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(K){C=K}Reflect.construct(o,[],L)}else{try{L.call()}catch(K){C=K}o.call(L.prototype)}}else{try{throw Error()}catch(K){C=K}o()}}catch(K){if(K&&C&&typeof K.stack=="string"){for(var j=K.stack.split(`
19
- `),Z=C.stack.split(`
20
- `),$=j.length-1,z=Z.length-1;$>=1&&z>=0&&j[$]!==Z[z];)z--;for(;$>=1&&z>=0;$--,z--)if(j[$]!==Z[z]){if($!==1||z!==1)do if($--,z--,z<0||j[$]!==Z[z]){var re=`
21
- `+j[$].replace(" at new "," at ");return o.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",o.displayName)),typeof o=="function"&&ve.set(o,re),re}while($>=1&&z>=0);break}}}finally{ie=!1,fe.current=F,Ne(),Error.prepareStackTrace=M}var ze=o?o.displayName||o.name:"",Pe=ze?se(ze):"";return typeof o=="function"&&ve.set(o,Pe),Pe}function yi(o,f,v){return ae(o,!1)}function vi(o){var f=o.prototype;return!!(f&&f.isReactComponent)}function St(o,f,v){if(o==null)return"";if(typeof o=="function")return ae(o,vi(o));if(typeof o=="string")return se(o);switch(o){case d:return se("Suspense");case h:return se("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case i:return yi(o.render);case y:return St(o.type,f,v);case b:{var C=o,M=C._payload,F=C._init;try{return St(F(M),f,v)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Tr={},Pr=R.ReactDebugCurrentFrame;function Ct(o){if(o){var f=o._owner,v=St(o.type,o._source,f?f.type:null);Pr.setExtraStackFrame(v)}else Pr.setExtraStackFrame(null)}function wi(o,f,v,C,M){{var F=Function.call.bind(Xe);for(var L in o)if(F(o,L)){var j=void 0;try{if(typeof o[L]!="function"){var Z=Error((C||"React class")+": "+v+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}j=o[L](f,L,C,v,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($){j=$}j&&!(j instanceof Error)&&(Ct(M),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",v,L,typeof j),Ct(null)),j instanceof Error&&!(j.message in Tr)&&(Tr[j.message]=!0,Ct(M),x("Failed %s type: %s",v,j.message),Ct(null))}}}var bi=Array.isArray;function Wt(o){return bi(o)}function xi(o){{var f=typeof Symbol=="function"&&Symbol.toStringTag,v=f&&o[Symbol.toStringTag]||o.constructor.name||"Object";return v}}function Si(o){try{return Rr(o),!1}catch{return!0}}function Rr(o){return""+o}function jr(o){if(Si(o))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xi(o)),Rr(o)}var Lr=R.ReactCurrentOwner,Ci={key:!0,ref:!0,__self:!0,__source:!0},_r,Ir;function ki(o){if(Xe.call(o,"ref")){var f=Object.getOwnPropertyDescriptor(o,"ref").get;if(f&&f.isReactWarning)return!1}return o.ref!==void 0}function Ei(o){if(Xe.call(o,"key")){var f=Object.getOwnPropertyDescriptor(o,"key").get;if(f&&f.isReactWarning)return!1}return o.key!==void 0}function Ti(o,f){typeof o.ref=="string"&&Lr.current}function Pi(o,f){{var v=function(){_r||(_r=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};v.isReactWarning=!0,Object.defineProperty(o,"key",{get:v,configurable:!0})}}function Ri(o,f){{var v=function(){Ir||(Ir=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};v.isReactWarning=!0,Object.defineProperty(o,"ref",{get:v,configurable:!0})}}var ji=function(o,f,v,C,M,F,L){var j={$$typeof:t,type:o,key:f,ref:v,props:L,_owner:F};return j._store={},Object.defineProperty(j._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(j,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(j,"_source",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j};function Li(o,f,v,C,M){{var F,L={},j=null,Z=null;v!==void 0&&(jr(v),j=""+v),Ei(f)&&(jr(f.key),j=""+f.key),ki(f)&&(Z=f.ref,Ti(f,M));for(F in f)Xe.call(f,F)&&!Ci.hasOwnProperty(F)&&(L[F]=f[F]);if(o&&o.defaultProps){var $=o.defaultProps;for(F in $)L[F]===void 0&&(L[F]=$[F])}if(j||Z){var z=typeof o=="function"?o.displayName||o.name||"Unknown":o;j&&Pi(L,z),Z&&Ri(L,z)}return ji(o,j,Z,M,C,Lr.current,L)}}var qt=R.ReactCurrentOwner,Dr=R.ReactDebugCurrentFrame;function He(o){if(o){var f=o._owner,v=St(o.type,o._source,f?f.type:null);Dr.setExtraStackFrame(v)}else Dr.setExtraStackFrame(null)}var Yt;Yt=!1;function Zt(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function Or(){{if(qt.current){var o=q(qt.current.type);if(o)return`
17
+ */var Kt;function Br(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){var e=p,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),j=Symbol.iterator,_="@@iterator";function T(o){if(o===null||typeof o!="object")return null;var f=j&&o[j]||o[_];return typeof f=="function"?f:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(o){{for(var f=arguments.length,y=new Array(f>1?f-1:0),k=1;k<f;k++)y[k-1]=arguments[k];b("error",o,y)}}function b(o,f,y){{var k=R.ReactDebugCurrentFrame,M=k.getStackAddendum();M!==""&&(f+="%s",y=y.concat([M]));var V=y.map(function(I){return String(I)});V.unshift("Warning: "+f),Function.prototype.apply.call(console[o],console,V)}}var v=!1,O=!1,E=!1,C=!1,W=!1,X;X=Symbol.for("react.module.reference");function A(o){return!!(typeof o=="string"||typeof o=="function"||o===r||o===a||W||o===s||o===d||o===h||C||o===S||v||O||E||typeof o=="object"&&o!==null&&(o.$$typeof===x||o.$$typeof===m||o.$$typeof===l||o.$$typeof===c||o.$$typeof===u||o.$$typeof===X||o.getModuleId!==void 0))}function Me(o,f,y){var k=o.displayName;if(k)return k;var M=f.displayName||f.name||"";return M!==""?y+"("+M+")":y}function fe(o){return o.displayName||"Context"}function q(o){if(o==null)return null;if(typeof o.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case c:var f=o;return fe(f)+".Consumer";case l:var y=o;return fe(y._context)+".Provider";case u:return Me(o,o.render,"ForwardRef");case m:var k=o.displayName||null;return k!==null?k:q(o.type)||"Memo";case x:{var M=o,V=M._payload,I=M._init;try{return q(I(V))}catch{return null}}}return null}var te=Object.assign,le=0,Re,J,Ze,ne,ge,ye,Y;function Ve(){}Ve.__reactDisabledLog=!0;function Ge(){{if(le===0){Re=console.log,J=console.info,Ze=console.warn,ne=console.error,ge=console.group,ye=console.groupCollapsed,Y=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ve,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}le++}}function Ne(){{if(le--,le===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},o,{value:Re}),info:te({},o,{value:J}),warn:te({},o,{value:Ze}),error:te({},o,{value:ne}),group:te({},o,{value:ge}),groupCollapsed:te({},o,{value:ye}),groupEnd:te({},o,{value:Y})})}le<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var pe=R.ReactCurrentDispatcher,ve;function se(o,f,y){{if(ve===void 0)try{throw Error()}catch(M){var k=M.stack.trim().match(/\n( *(at )?)/);ve=k&&k[1]||""}return`
18
+ `+ve+o}}var ie=!1,we;{var He=typeof WeakMap=="function"?WeakMap:Map;we=new He}function ae(o,f){if(!o||ie)return"";{var y=we.get(o);if(y!==void 0)return y}var k;ie=!0;var M=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var V;V=pe.current,pe.current=null,Ge();try{if(f){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(K){k=K}Reflect.construct(o,[],I)}else{try{I.call()}catch(K){k=K}o.call(I.prototype)}}else{try{throw Error()}catch(K){k=K}o()}}catch(K){if(K&&k&&typeof K.stack=="string"){for(var L=K.stack.split(`
19
+ `),Z=k.stack.split(`
20
+ `),H=L.length-1,z=Z.length-1;H>=1&&z>=0&&L[H]!==Z[z];)z--;for(;H>=1&&z>=0;H--,z--)if(L[H]!==Z[z]){if(H!==1||z!==1)do if(H--,z--,z<0||L[H]!==Z[z]){var re=`
21
+ `+L[H].replace(" at new "," at ");return o.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",o.displayName)),typeof o=="function"&&we.set(o,re),re}while(H>=1&&z>=0);break}}}finally{ie=!1,pe.current=V,Ne(),Error.prepareStackTrace=M}var ze=o?o.displayName||o.name:"",Pe=ze?se(ze):"";return typeof o=="function"&&we.set(o,Pe),Pe}function yi(o,f,y){return ae(o,!1)}function vi(o){var f=o.prototype;return!!(f&&f.isReactComponent)}function St(o,f,y){if(o==null)return"";if(typeof o=="function")return ae(o,vi(o));if(typeof o=="string")return se(o);switch(o){case d:return se("Suspense");case h:return se("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case u:return yi(o.render);case m:return St(o.type,f,y);case x:{var k=o,M=k._payload,V=k._init;try{return St(V(M),f,y)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Rr={},Pr=R.ReactDebugCurrentFrame;function Ct(o){if(o){var f=o._owner,y=St(o.type,o._source,f?f.type:null);Pr.setExtraStackFrame(y)}else Pr.setExtraStackFrame(null)}function wi(o,f,y,k,M){{var V=Function.call.bind(Xe);for(var I in o)if(V(o,I)){var L=void 0;try{if(typeof o[I]!="function"){var Z=Error((k||"React class")+": "+y+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}L=o[I](f,I,k,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(H){L=H}L&&!(L instanceof Error)&&(Ct(M),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",k||"React class",y,I,typeof L),Ct(null)),L instanceof Error&&!(L.message in Rr)&&(Rr[L.message]=!0,Ct(M),w("Failed %s type: %s",y,L.message),Ct(null))}}}var bi=Array.isArray;function Wt(o){return bi(o)}function xi(o){{var f=typeof Symbol=="function"&&Symbol.toStringTag,y=f&&o[Symbol.toStringTag]||o.constructor.name||"Object";return y}}function Si(o){try{return Tr(o),!1}catch{return!0}}function Tr(o){return""+o}function jr(o){if(Si(o))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xi(o)),Tr(o)}var Lr=R.ReactCurrentOwner,Ci={key:!0,ref:!0,__self:!0,__source:!0},_r,Ir;function ki(o){if(Xe.call(o,"ref")){var f=Object.getOwnPropertyDescriptor(o,"ref").get;if(f&&f.isReactWarning)return!1}return o.ref!==void 0}function Ei(o){if(Xe.call(o,"key")){var f=Object.getOwnPropertyDescriptor(o,"key").get;if(f&&f.isReactWarning)return!1}return o.key!==void 0}function Ri(o,f){typeof o.ref=="string"&&Lr.current}function Pi(o,f){{var y=function(){_r||(_r=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};y.isReactWarning=!0,Object.defineProperty(o,"key",{get:y,configurable:!0})}}function Ti(o,f){{var y=function(){Ir||(Ir=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))};y.isReactWarning=!0,Object.defineProperty(o,"ref",{get:y,configurable:!0})}}var ji=function(o,f,y,k,M,V,I){var L={$$typeof:t,type:o,key:f,ref:y,props:I,_owner:V};return L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(L,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(L,"_source",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L};function Li(o,f,y,k,M){{var V,I={},L=null,Z=null;y!==void 0&&(jr(y),L=""+y),Ei(f)&&(jr(f.key),L=""+f.key),ki(f)&&(Z=f.ref,Ri(f,M));for(V in f)Xe.call(f,V)&&!Ci.hasOwnProperty(V)&&(I[V]=f[V]);if(o&&o.defaultProps){var H=o.defaultProps;for(V in H)I[V]===void 0&&(I[V]=H[V])}if(L||Z){var z=typeof o=="function"?o.displayName||o.name||"Unknown":o;L&&Pi(I,z),Z&&Ti(I,z)}return ji(o,L,Z,M,k,Lr.current,I)}}var qt=R.ReactCurrentOwner,Dr=R.ReactDebugCurrentFrame;function $e(o){if(o){var f=o._owner,y=St(o.type,o._source,f?f.type:null);Dr.setExtraStackFrame(y)}else Dr.setExtraStackFrame(null)}var Yt;Yt=!1;function Zt(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function Or(){{if(qt.current){var o=q(qt.current.type);if(o)return`
22
22
 
23
- Check the render method of \``+o+"`."}return""}}function _i(o){return""}var Ar={};function Ii(o){{var f=Or();if(!f){var v=typeof o=="string"?o:o.displayName||o.name;v&&(f=`
23
+ Check the render method of \``+o+"`."}return""}}function _i(o){return""}var Ar={};function Ii(o){{var f=Or();if(!f){var y=typeof o=="string"?o:o.displayName||o.name;y&&(f=`
24
24
 
25
- Check the top-level render call using <`+v+">.")}return f}}function Mr(o,f){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var v=Ii(f);if(Ar[v])return;Ar[v]=!0;var C="";o&&o._owner&&o._owner!==qt.current&&(C=" It was passed a child from "+q(o._owner.type)+"."),He(o),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',v,C),He(null)}}function Fr(o,f){{if(typeof o!="object")return;if(Wt(o))for(var v=0;v<o.length;v++){var C=o[v];Zt(C)&&Mr(C,f)}else if(Zt(o))o._store&&(o._store.validated=!0);else if(o){var M=N(o);if(typeof M=="function"&&M!==o.entries)for(var F=M.call(o),L;!(L=F.next()).done;)Zt(L.value)&&Mr(L.value,f)}}}function Di(o){{var f=o.type;if(f==null||typeof f=="string")return;var v;if(typeof f=="function")v=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===i||f.$$typeof===y))v=f.propTypes;else return;if(v){var C=q(f);wi(v,o.props,"prop",C,o)}else if(f.PropTypes!==void 0&&!Yt){Yt=!0;var M=q(f);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",M||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Oi(o){{for(var f=Object.keys(o.props),v=0;v<f.length;v++){var C=f[v];if(C!=="children"&&C!=="key"){He(o),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),He(null);break}}o.ref!==null&&(He(o),x("Invalid attribute `ref` supplied to `React.Fragment`."),He(null))}}var Vr={};function Nr(o,f,v,C,M,F){{var L=D(o);if(!L){var j="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Z=_i();Z?j+=Z:j+=Or();var $;o===null?$="null":Wt(o)?$="array":o!==void 0&&o.$$typeof===t?($="<"+(q(o.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):$=typeof o,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$,j)}var z=Li(o,f,v,M,F);if(z==null)return z;if(L){var re=f.children;if(re!==void 0)if(C)if(Wt(re)){for(var ze=0;ze<re.length;ze++)Fr(re[ze],o);Object.freeze&&Object.freeze(re)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Fr(re,o)}if(Xe.call(f,"key")){var Pe=q(o),K=Object.keys(f).filter(function($i){return $i!=="key"}),Gt=K.length>0?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}";if(!Vr[Pe+Gt]){var Ni=K.length>0?"{"+K.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+y+">.")}return f}}function Fr(o,f){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var y=Ii(f);if(Ar[y])return;Ar[y]=!0;var k="";o&&o._owner&&o._owner!==qt.current&&(k=" It was passed a child from "+q(o._owner.type)+"."),$e(o),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',y,k),$e(null)}}function Mr(o,f){{if(typeof o!="object")return;if(Wt(o))for(var y=0;y<o.length;y++){var k=o[y];Zt(k)&&Fr(k,f)}else if(Zt(o))o._store&&(o._store.validated=!0);else if(o){var M=T(o);if(typeof M=="function"&&M!==o.entries)for(var V=M.call(o),I;!(I=V.next()).done;)Zt(I.value)&&Fr(I.value,f)}}}function Di(o){{var f=o.type;if(f==null||typeof f=="string")return;var y;if(typeof f=="function")y=f.propTypes;else if(typeof f=="object"&&(f.$$typeof===u||f.$$typeof===m))y=f.propTypes;else return;if(y){var k=q(f);wi(y,o.props,"prop",k,o)}else if(f.PropTypes!==void 0&&!Yt){Yt=!0;var M=q(f);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",M||"Unknown")}typeof f.getDefaultProps=="function"&&!f.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Oi(o){{for(var f=Object.keys(o.props),y=0;y<f.length;y++){var k=f[y];if(k!=="children"&&k!=="key"){$e(o),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),$e(null);break}}o.ref!==null&&($e(o),w("Invalid attribute `ref` supplied to `React.Fragment`."),$e(null))}}var Vr={};function Nr(o,f,y,k,M,V){{var I=A(o);if(!I){var L="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Z=_i();Z?L+=Z:L+=Or();var H;o===null?H="null":Wt(o)?H="array":o!==void 0&&o.$$typeof===t?(H="<"+(q(o.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):H=typeof o,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",H,L)}var z=Li(o,f,y,M,V);if(z==null)return z;if(I){var re=f.children;if(re!==void 0)if(k)if(Wt(re)){for(var ze=0;ze<re.length;ze++)Mr(re[ze],o);Object.freeze&&Object.freeze(re)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Mr(re,o)}if(Xe.call(f,"key")){var Pe=q(o),K=Object.keys(f).filter(function(Hi){return Hi!=="key"}),Gt=K.length>0?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}";if(!Vr[Pe+Gt]){var Ni=K.length>0?"{"+K.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,Gt,Pe,Ni,Pe),Vr[Pe+Gt]=!0}}return o===r?Oi(z):Di(z),z}}function Ai(o,f,v){return Nr(o,f,v,!0)}function Mi(o,f,v){return Nr(o,f,v,!1)}var Fi=Mi,Vi=Ai;We.Fragment=r,We.jsx=Fi,We.jsxs=Vi})()),We}var Qt;function Ur(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?Qe.exports=zr():Qe.exports=Br()),Qe.exports}var a=Ur();const Wr=typeof window<"u"?p.useLayoutEffect:p.useEffect;function et(e,t){const n=p.useRef(e);Wr(()=>{n.current=e},[e]),p.useEffect(()=>{if(t===null)return;const r=setInterval(()=>{n.current()},t);return()=>{clearInterval(r)}},[t])}function qr(e){const[,t]=p.useState(0);et(()=>t(n=>n+1),e)}const Yr=(e,t)=>Je.create(n=>({delay:0,startDate:e,endDate:t,startTime:e.getTime(),endTime:t.getTime(),setDelay:r=>n({delay:r}),setStartDate:r=>n({startDate:r}),setEndDate:r=>n({endDate:r})})),en=p.createContext(null),Zr=({children:e,startDate:t,endDate:n})=>{const r=p.useRef(null);return r.current||(r.current=Yr(t,n)),a.jsx(en.Provider,{value:r.current,children:e})},B=e=>{const t=p.useContext(en);if(!t)throw new Error("usePlayerStore must be used within PlayerStoreProvider");return Je.useStore(t,e)};var G=function(){return G=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(t[c]=n[c])}return t},G.apply(this,arguments)};function be(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,c;r<s;r++)(c||!(r in t))&&(c||(c=Array.prototype.slice.call(t,0,r)),c[r]=t[r]);return e.concat(c||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Gr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Xr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Jr=Gr(function(e){return Xr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),V="-ms-",qe="-moz-",A="-webkit-",tn="comm",tt="rule",kt="decl",Kr="@import",nn="@keyframes",Qr="@layer",rn=Math.abs,Et=String.fromCharCode,Tt=Object.assign;function eo(e,t){return U(e,0)^45?(((t<<2^U(e,0))<<2^U(e,1))<<2^U(e,2))<<2^U(e,3):0}function on(e){return e.trim()}function ue(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,n){return e.replace(t,n)}function nt(e,t,n){return e.indexOf(t,n)}function U(e,t){return e.charCodeAt(t)|0}function Re(e,t,n){return e.slice(t,n)}function ce(e){return e.length}function sn(e){return e.length}function Ye(e,t){return t.push(e),e}function to(e,t){return e.map(t).join("")}function an(e,t){return e.filter(function(n){return!ue(n,t)})}var rt=1,je=1,cn=0,ee=0,H=0,Le="";function ot(e,t,n,r,s,c,l,u){return{value:e,root:t,parent:n,type:r,props:s,children:c,line:rt,column:je,length:l,return:"",siblings:u}}function pe(e,t){return Tt(ot("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _e(e){for(;e.root;)e=pe(e.root,{children:[e]});Ye(e,e.siblings)}function no(){return H}function ro(){return H=ee>0?U(Le,--ee):0,je--,H===10&&(je=1,rt--),H}function oe(){return H=ee<cn?U(Le,ee++):0,je++,H===10&&(je=1,rt++),H}function xe(){return U(Le,ee)}function st(){return ee}function it(e,t){return Re(Le,e,t)}function Pt(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 oo(e){return rt=je=1,cn=ce(Le=e),ee=0,[]}function so(e){return Le="",e}function Rt(e){return on(it(ee-1,jt(e===91?e+2:e===40?e+1:e)))}function io(e){for(;(H=xe())&&H<33;)oe();return Pt(e)>2||Pt(H)>3?"":" "}function ao(e,t){for(;--t&&oe()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return it(e,st()+(t<6&&xe()==32&&oe()==32))}function jt(e){for(;oe();)switch(H){case e:return ee;case 34:case 39:e!==34&&e!==39&&jt(H);break;case 40:e===41&&jt(e);break;case 92:oe();break}return ee}function co(e,t){for(;oe()&&e+H!==57;)if(e+H===84&&xe()===47)break;return"/*"+it(t,ee-1)+"*"+Et(e===47?e:oe())}function lo(e){for(;!Pt(xe());)oe();return it(e,ee)}function uo(e){return so(at("",null,null,null,[""],e=oo(e),0,[0],e))}function at(e,t,n,r,s,c,l,u,i){for(var d=0,h=0,y=l,b=0,w=0,P=0,T=1,N=1,R=1,x=0,g="",I=s,O=c,k=r,S=g;N;)switch(P=x,x=oe()){case 40:if(P!=108&&U(S,y-1)==58){nt(S+=E(Rt(x),"&","&\f"),"&\f",rn(d?u[d-1]:0))!=-1&&(R=-1);break}case 34:case 39:case 91:S+=Rt(x);break;case 9:case 10:case 13:case 32:S+=io(P);break;case 92:S+=ao(st()-1,7);continue;case 47:switch(xe()){case 42:case 47:Ye(fo(co(oe(),st()),t,n,i),i);break;default:S+="/"}break;case 123*T:u[d++]=ce(S)*R;case 125*T:case 59:case 0:switch(x){case 0:case 125:N=0;case 59+h:R==-1&&(S=E(S,/\f/g,"")),w>0&&ce(S)-y&&Ye(w>32?un(S+";",r,n,y-1,i):un(E(S," ","")+";",r,n,y-2,i),i);break;case 59:S+=";";default:if(Ye(k=ln(S,t,n,d,h,s,u,g,I=[],O=[],y,c),c),x===123)if(h===0)at(S,t,k,k,I,c,y,u,O);else switch(b===99&&U(S,3)===110?100:b){case 100:case 108:case 109:case 115:at(e,k,k,r&&Ye(ln(e,k,k,0,0,s,u,g,s,I=[],y,O),O),s,O,y,u,r?I:O);break;default:at(S,k,k,k,[""],O,0,u,O)}}d=h=w=0,T=R=1,g=S="",y=l;break;case 58:y=1+ce(S),w=P;default:if(T<1){if(x==123)--T;else if(x==125&&T++==0&&ro()==125)continue}switch(S+=Et(x),x*T){case 38:R=h>0?1:(S+="\f",-1);break;case 44:u[d++]=(ce(S)-1)*R,R=1;break;case 64:xe()===45&&(S+=Rt(oe())),b=xe(),h=y=ce(g=S+=lo(st())),x++;break;case 45:P===45&&ce(S)==2&&(T=0)}}return c}function ln(e,t,n,r,s,c,l,u,i,d,h,y){for(var b=s-1,w=s===0?c:[""],P=sn(w),T=0,N=0,R=0;T<r;++T)for(var x=0,g=Re(e,b+1,b=rn(N=l[T])),I=e;x<P;++x)(I=on(N>0?w[x]+" "+g:E(g,/&\f/g,w[x])))&&(i[R++]=I);return ot(e,t,n,s===0?tt:u,i,d,h,y)}function fo(e,t,n,r){return ot(e,t,n,tn,Et(no()),Re(e,2,-2),0,r)}function un(e,t,n,r,s){return ot(e,t,n,kt,Re(e,0,r),Re(e,r+1,-1),r,s)}function dn(e,t,n){switch(eo(e,t)){case 5103:return A+"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 A+e+e;case 4789:return qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+qe+e+V+e+e;case 5936:switch(U(e,t+11)){case 114:return A+e+V+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+V+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+V+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return A+e+V+e+e;case 6165:return A+e+V+"flex-"+e+e;case 5187:return A+e+E(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return A+e+V+"flex-item-"+E(e,/flex-|-self/g,"")+(ue(e,/flex-|baseline/)?"":V+"grid-row-"+E(e,/flex-|-self/g,""))+e;case 4675:return A+e+V+"flex-line-pack"+E(e,/align-content|flex-|-self/g,"")+e;case 5548:return A+e+V+E(e,"shrink","negative")+e;case 5292:return A+e+V+E(e,"basis","preferred-size")+e;case 6060:return A+"box-"+E(e,"-grow","")+A+e+V+E(e,"grow","positive")+e;case 4554:return A+E(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4200:if(!ue(e,/flex-|baseline/))return V+"grid-column-align"+Re(e,t)+e;break;case 2592:case 3360:return V+E(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,s){return t=s,ue(r.props,/grid-\w+-end/)})?~nt(e+(n=n[t].value),"span",0)?e:V+E(e,"-start","")+e+V+"grid-row-span:"+(~nt(n,"span",0)?ue(n,/\d+/):+ue(n,/\d+/)-+ue(e,/\d+/))+";":V+E(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ue(r.props,/grid-\w+-start/)})?e:V+E(E(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,A+"$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(ce(e)-1-t>6)switch(U(e,t+1)){case 109:if(U(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+qe+(U(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nt(e,"stretch",0)?dn(E(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,s,c,l,u,i,d){return V+s+":"+c+d+(l?V+s+"-span:"+(u?i:+i-+c)+d:"")+e});case 4949:if(U(e,t+6)===121)return E(e,":",":"+A)+e;break;case 6444:switch(U(e,U(e,14)===45?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+A+(U(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+V+"$2box$3")+e;case 100:return E(e,":",":"+V)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function ct(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function po(e,t,n,r){switch(e.type){case Qr:if(e.children.length)break;case Kr:case kt:return e.return=e.return||e.value;case tn:return"";case nn:return e.return=e.value+"{"+ct(e.children,r)+"}";case tt:if(!ce(e.value=e.props.join(",")))return""}return ce(n=ct(e.children,r))?e.return=e.value+"{"+n+"}":""}function ho(e){var t=sn(e);return function(n,r,s,c){for(var l="",u=0;u<t;u++)l+=e[u](n,r,s,c)||"";return l}}function mo(e){return function(t){t.root||(t=t.return)&&e(t)}}function go(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case kt:e.return=dn(e.value,e.length,n);return;case nn:return ct([pe(e,{value:E(e.value,"@","@"+A)})],r);case tt:if(e.length)return to(n=e.props,function(s){switch(ue(s,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_e(pe(e,{props:[E(s,/:(read-\w+)/,":"+qe+"$1")]})),_e(pe(e,{props:[s]})),Tt(e,{props:an(n,r)});break;case"::placeholder":_e(pe(e,{props:[E(s,/:(plac\w+)/,":"+A+"input-$1")]})),_e(pe(e,{props:[E(s,/:(plac\w+)/,":"+qe+"$1")]})),_e(pe(e,{props:[E(s,/:(plac\w+)/,V+"input-$1")]})),_e(pe(e,{props:[s]})),Tt(e,{props:an(n,r)});break}return""})}}var yo={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,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},Se=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",fn="active",pn="data-styled-version",lt="6.1.19",Lt=`/*!sc*/
30
+ <%s key={someKey} {...props} />`,Gt,Pe,Ni,Pe),Vr[Pe+Gt]=!0}}return o===r?Oi(z):Di(z),z}}function Ai(o,f,y){return Nr(o,f,y,!0)}function Fi(o,f,y){return Nr(o,f,y,!1)}var Mi=Fi,Vi=Ai;We.Fragment=r,We.jsx=Mi,We.jsxs=Vi})()),We}var Qt;function Ur(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?Qe.exports=zr():Qe.exports=Br()),Qe.exports}var i=Ur();const Wr=typeof window<"u"?p.useLayoutEffect:p.useEffect;function et(e,t){const n=p.useRef(e);Wr(()=>{n.current=e},[e]),p.useEffect(()=>{if(t===null)return;const r=setInterval(()=>{n.current()},t);return()=>{clearInterval(r)}},[t])}function qr(e){const[,t]=p.useState(0);et(()=>t(n=>n+1),e)}const Yr=(e,t)=>Je.create(n=>({delay:0,startDate:e,endDate:t,startTime:e.getTime(),endTime:t.getTime(),setDelay:r=>n({delay:r}),setStartDate:r=>n({startDate:r}),setEndDate:r=>n({endDate:r})})),en=p.createContext(null),Zr=({children:e,startDate:t,endDate:n})=>{const r=p.useRef(null);return r.current||(r.current=Yr(t,n)),i.jsx(en.Provider,{value:r.current,children:e})},B=e=>{const t=p.useContext(en);if(!t)throw new Error("usePlayerStore must be used within PlayerStoreProvider");return Je.useStore(t,e)};var G=function(){return G=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},G.apply(this,arguments)};function be(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,a;r<s;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Gr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Xr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Jr=Gr(function(e){return Xr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),N="-ms-",qe="-moz-",F="-webkit-",tn="comm",tt="rule",kt="decl",Kr="@import",nn="@keyframes",Qr="@layer",rn=Math.abs,Et=String.fromCharCode,Rt=Object.assign;function eo(e,t){return U(e,0)^45?(((t<<2^U(e,0))<<2^U(e,1))<<2^U(e,2))<<2^U(e,3):0}function on(e){return e.trim()}function de(e,t){return(e=t.exec(e))?e[0]:e}function P(e,t,n){return e.replace(t,n)}function nt(e,t,n){return e.indexOf(t,n)}function U(e,t){return e.charCodeAt(t)|0}function Te(e,t,n){return e.slice(t,n)}function ce(e){return e.length}function sn(e){return e.length}function Ye(e,t){return t.push(e),e}function to(e,t){return e.map(t).join("")}function an(e,t){return e.filter(function(n){return!de(n,t)})}var rt=1,je=1,cn=0,ee=0,$=0,Le="";function ot(e,t,n,r,s,a,l,c){return{value:e,root:t,parent:n,type:r,props:s,children:a,line:rt,column:je,length:l,return:"",siblings:c}}function he(e,t){return Rt(ot("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _e(e){for(;e.root;)e=he(e.root,{children:[e]});Ye(e,e.siblings)}function no(){return $}function ro(){return $=ee>0?U(Le,--ee):0,je--,$===10&&(je=1,rt--),$}function oe(){return $=ee<cn?U(Le,ee++):0,je++,$===10&&(je=1,rt++),$}function xe(){return U(Le,ee)}function st(){return ee}function it(e,t){return Te(Le,e,t)}function Pt(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 oo(e){return rt=je=1,cn=ce(Le=e),ee=0,[]}function so(e){return Le="",e}function Tt(e){return on(it(ee-1,jt(e===91?e+2:e===40?e+1:e)))}function io(e){for(;($=xe())&&$<33;)oe();return Pt(e)>2||Pt($)>3?"":" "}function ao(e,t){for(;--t&&oe()&&!($<48||$>102||$>57&&$<65||$>70&&$<97););return it(e,st()+(t<6&&xe()==32&&oe()==32))}function jt(e){for(;oe();)switch($){case e:return ee;case 34:case 39:e!==34&&e!==39&&jt($);break;case 40:e===41&&jt(e);break;case 92:oe();break}return ee}function co(e,t){for(;oe()&&e+$!==57;)if(e+$===84&&xe()===47)break;return"/*"+it(t,ee-1)+"*"+Et(e===47?e:oe())}function lo(e){for(;!Pt(xe());)oe();return it(e,ee)}function uo(e){return so(at("",null,null,null,[""],e=oo(e),0,[0],e))}function at(e,t,n,r,s,a,l,c,u){for(var d=0,h=0,m=l,x=0,S=0,j=0,_=1,T=1,R=1,w=0,b="",v=s,O=a,E=r,C=b;T;)switch(j=w,w=oe()){case 40:if(j!=108&&U(C,m-1)==58){nt(C+=P(Tt(w),"&","&\f"),"&\f",rn(d?c[d-1]:0))!=-1&&(R=-1);break}case 34:case 39:case 91:C+=Tt(w);break;case 9:case 10:case 13:case 32:C+=io(j);break;case 92:C+=ao(st()-1,7);continue;case 47:switch(xe()){case 42:case 47:Ye(fo(co(oe(),st()),t,n,u),u);break;default:C+="/"}break;case 123*_:c[d++]=ce(C)*R;case 125*_:case 59:case 0:switch(w){case 0:case 125:T=0;case 59+h:R==-1&&(C=P(C,/\f/g,"")),S>0&&ce(C)-m&&Ye(S>32?un(C+";",r,n,m-1,u):un(P(C," ","")+";",r,n,m-2,u),u);break;case 59:C+=";";default:if(Ye(E=ln(C,t,n,d,h,s,c,b,v=[],O=[],m,a),a),w===123)if(h===0)at(C,t,E,E,v,a,m,c,O);else switch(x===99&&U(C,3)===110?100:x){case 100:case 108:case 109:case 115:at(e,E,E,r&&Ye(ln(e,E,E,0,0,s,c,b,s,v=[],m,O),O),s,O,m,c,r?v:O);break;default:at(C,E,E,E,[""],O,0,c,O)}}d=h=S=0,_=R=1,b=C="",m=l;break;case 58:m=1+ce(C),S=j;default:if(_<1){if(w==123)--_;else if(w==125&&_++==0&&ro()==125)continue}switch(C+=Et(w),w*_){case 38:R=h>0?1:(C+="\f",-1);break;case 44:c[d++]=(ce(C)-1)*R,R=1;break;case 64:xe()===45&&(C+=Tt(oe())),x=xe(),h=m=ce(b=C+=lo(st())),w++;break;case 45:j===45&&ce(C)==2&&(_=0)}}return a}function ln(e,t,n,r,s,a,l,c,u,d,h,m){for(var x=s-1,S=s===0?a:[""],j=sn(S),_=0,T=0,R=0;_<r;++_)for(var w=0,b=Te(e,x+1,x=rn(T=l[_])),v=e;w<j;++w)(v=on(T>0?S[w]+" "+b:P(b,/&\f/g,S[w])))&&(u[R++]=v);return ot(e,t,n,s===0?tt:c,u,d,h,m)}function fo(e,t,n,r){return ot(e,t,n,tn,Et(no()),Te(e,2,-2),0,r)}function un(e,t,n,r,s){return ot(e,t,n,kt,Te(e,0,r),Te(e,r+1,-1),r,s)}function dn(e,t,n){switch(eo(e,t)){case 5103:return F+"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 F+e+e;case 4789:return qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+qe+e+N+e+e;case 5936:switch(U(e,t+11)){case 114:return F+e+N+P(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+N+P(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+N+P(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return F+e+N+e+e;case 6165:return F+e+N+"flex-"+e+e;case 5187:return F+e+P(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return F+e+N+"flex-item-"+P(e,/flex-|-self/g,"")+(de(e,/flex-|baseline/)?"":N+"grid-row-"+P(e,/flex-|-self/g,""))+e;case 4675:return F+e+N+"flex-line-pack"+P(e,/align-content|flex-|-self/g,"")+e;case 5548:return F+e+N+P(e,"shrink","negative")+e;case 5292:return F+e+N+P(e,"basis","preferred-size")+e;case 6060:return F+"box-"+P(e,"-grow","")+F+e+N+P(e,"grow","positive")+e;case 4554:return F+P(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return P(P(P(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return P(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return P(P(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4200:if(!de(e,/flex-|baseline/))return N+"grid-column-align"+Te(e,t)+e;break;case 2592:case 3360:return N+P(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,s){return t=s,de(r.props,/grid-\w+-end/)})?~nt(e+(n=n[t].value),"span",0)?e:N+P(e,"-start","")+e+N+"grid-row-span:"+(~nt(n,"span",0)?de(n,/\d+/):+de(n,/\d+/)-+de(e,/\d+/))+";":N+P(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return de(r.props,/grid-\w+-start/)})?e:N+P(P(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return P(e,/(.+)-inline(.+)/,F+"$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(ce(e)-1-t>6)switch(U(e,t+1)){case 109:if(U(e,t+4)!==45)break;case 102:return P(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+qe+(U(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nt(e,"stretch",0)?dn(P(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return P(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,s,a,l,c,u,d){return N+s+":"+a+d+(l?N+s+"-span:"+(c?u:+u-+a)+d:"")+e});case 4949:if(U(e,t+6)===121)return P(e,":",":"+F)+e;break;case 6444:switch(U(e,U(e,14)===45?18:11)){case 120:return P(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+F+(U(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+N+"$2box$3")+e;case 100:return P(e,":",":"+N)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return P(e,"scroll-","scroll-snap-")+e}return e}function ct(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function po(e,t,n,r){switch(e.type){case Qr:if(e.children.length)break;case Kr:case kt:return e.return=e.return||e.value;case tn:return"";case nn:return e.return=e.value+"{"+ct(e.children,r)+"}";case tt:if(!ce(e.value=e.props.join(",")))return""}return ce(n=ct(e.children,r))?e.return=e.value+"{"+n+"}":""}function ho(e){var t=sn(e);return function(n,r,s,a){for(var l="",c=0;c<t;c++)l+=e[c](n,r,s,a)||"";return l}}function mo(e){return function(t){t.root||(t=t.return)&&e(t)}}function go(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case kt:e.return=dn(e.value,e.length,n);return;case nn:return ct([he(e,{value:P(e.value,"@","@"+F)})],r);case tt:if(e.length)return to(n=e.props,function(s){switch(de(s,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_e(he(e,{props:[P(s,/:(read-\w+)/,":"+qe+"$1")]})),_e(he(e,{props:[s]})),Rt(e,{props:an(n,r)});break;case"::placeholder":_e(he(e,{props:[P(s,/:(plac\w+)/,":"+F+"input-$1")]})),_e(he(e,{props:[P(s,/:(plac\w+)/,":"+qe+"$1")]})),_e(he(e,{props:[P(s,/:(plac\w+)/,N+"input-$1")]})),_e(he(e,{props:[s]})),Rt(e,{props:an(n,r)});break}return""})}}var yo={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,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},Se=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",fn="active",pn="data-styled-version",lt="6.1.19",Lt=`/*!sc*/
31
31
  `,ut=typeof window<"u"&&typeof document<"u",vo=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),hn=/invalid hook call/i,dt=new Set,wo=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
32
32
  `)+`You may see this warning because you've called styled inside another component.
33
33
  To resolve this only create new StyledComponents outside of any render method and function component.
34
34
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
35
- `,s=console.error;try{var c=!0;console.error=function(l){for(var u=[],i=1;i<arguments.length;i++)u[i-1]=arguments[i];hn.test(l)?(c=!1,dt.delete(r)):s.apply(void 0,be([l],u,!1))},p.useRef(),c&&!dt.has(r)&&(console.warn(r),dt.add(r))}catch(l){hn.test(l.message)&&dt.delete(r)}finally{console.error=s}}},ft=Object.freeze([]),Ie=Object.freeze({});function bo(e,t,n){return n===void 0&&(n=Ie),e.theme!==n.theme&&e.theme||t||n.theme}var _t=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xo=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,So=/(^-|-$)/g;function mn(e){return e.replace(xo,"-").replace(So,"")}var Co=/(a)(d)/gi,pt=52,gn=function(e){return String.fromCharCode(e+(e>25?39:97))};function It(e){var t,n="";for(t=Math.abs(e);t>pt;t=t/pt|0)n=gn(t%pt)+n;return(gn(t%pt)+n).replace(Co,"$1-$2")}var Dt,yn=5381,Ce=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},vn=function(e){return Ce(yn,e)};function wn(e){return It(vn(e)>>>0)}function bn(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ot(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var xn=typeof Symbol=="function"&&Symbol.for,Sn=xn?Symbol.for("react.memo"):60115,ko=xn?Symbol.for("react.forward_ref"):60112,Eo={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},To={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Po=((Dt={})[ko]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dt[Sn]=Cn,Dt);function kn(e){return("type"in(t=e)&&t.type.$$typeof)===Sn?Cn:"$$typeof"in e?Po[e.$$typeof]:Eo;var t}var Ro=Object.defineProperty,jo=Object.getOwnPropertyNames,En=Object.getOwnPropertySymbols,Lo=Object.getOwnPropertyDescriptor,_o=Object.getPrototypeOf,Tn=Object.prototype;function Pn(e,t,n){if(typeof t!="string"){if(Tn){var r=_o(t);r&&r!==Tn&&Pn(e,r,n)}var s=jo(t);En&&(s=s.concat(En(t)));for(var c=kn(e),l=kn(t),u=0;u<s.length;++u){var i=s[u];if(!(i in To||n&&n[i]||l&&i in l||c&&i in c)){var d=Lo(t,i);try{Ro(e,i,d)}catch{}}}}return e}function De(e){return typeof e=="function"}function At(e){return typeof e=="object"&&"styledComponentId"in e}function ke(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Mt(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Oe(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ft(e,t,n){if(n===void 0&&(n=!1),!n&&!Oe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Ft(e[r],t[r]);else if(Oe(t))for(var r in t)e[r]=Ft(e[r],t[r]);return e}function Vt(e,t){Object.defineProperty(e,"toString",{value:t})}var Io=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
35
+ `,s=console.error;try{var a=!0;console.error=function(l){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];hn.test(l)?(a=!1,dt.delete(r)):s.apply(void 0,be([l],c,!1))},p.useRef(),a&&!dt.has(r)&&(console.warn(r),dt.add(r))}catch(l){hn.test(l.message)&&dt.delete(r)}finally{console.error=s}}},ft=Object.freeze([]),Ie=Object.freeze({});function bo(e,t,n){return n===void 0&&(n=Ie),e.theme!==n.theme&&e.theme||t||n.theme}var _t=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xo=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,So=/(^-|-$)/g;function mn(e){return e.replace(xo,"-").replace(So,"")}var Co=/(a)(d)/gi,pt=52,gn=function(e){return String.fromCharCode(e+(e>25?39:97))};function It(e){var t,n="";for(t=Math.abs(e);t>pt;t=t/pt|0)n=gn(t%pt)+n;return(gn(t%pt)+n).replace(Co,"$1-$2")}var Dt,yn=5381,Ce=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},vn=function(e){return Ce(yn,e)};function wn(e){return It(vn(e)>>>0)}function bn(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function Ot(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var xn=typeof Symbol=="function"&&Symbol.for,Sn=xn?Symbol.for("react.memo"):60115,ko=xn?Symbol.for("react.forward_ref"):60112,Eo={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ro={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Po=((Dt={})[ko]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dt[Sn]=Cn,Dt);function kn(e){return("type"in(t=e)&&t.type.$$typeof)===Sn?Cn:"$$typeof"in e?Po[e.$$typeof]:Eo;var t}var To=Object.defineProperty,jo=Object.getOwnPropertyNames,En=Object.getOwnPropertySymbols,Lo=Object.getOwnPropertyDescriptor,_o=Object.getPrototypeOf,Rn=Object.prototype;function Pn(e,t,n){if(typeof t!="string"){if(Rn){var r=_o(t);r&&r!==Rn&&Pn(e,r,n)}var s=jo(t);En&&(s=s.concat(En(t)));for(var a=kn(e),l=kn(t),c=0;c<s.length;++c){var u=s[c];if(!(u in Ro||n&&n[u]||l&&u in l||a&&u in a)){var d=Lo(t,u);try{To(e,u,d)}catch{}}}}return e}function De(e){return typeof e=="function"}function At(e){return typeof e=="object"&&"styledComponentId"in e}function ke(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ft(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Oe(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Mt(e,t,n){if(n===void 0&&(n=!1),!n&&!Oe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Mt(e[r],t[r]);else if(Oe(t))for(var r in t)e[r]=Mt(e[r],t[r]);return e}function Vt(e,t){Object.defineProperty(e,"toString",{value:t})}var Io=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
36
36
 
37
37
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
38
38
 
@@ -73,7 +73,7 @@ as for instance in your render method then you may be running into this limitati
73
73
 
74
74
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
75
75
  Has styled-components' style tag been unmounted or altered by another script?
76
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Do(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],s=1,c=e.length;s<c;s+=1)r.push(e[s]);return r.forEach(function(l){n=n.replace(/%[a-z]/,l)}),n}function Ae(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Do.apply(void 0,be([Io[e]],t,!1)).trim())}var Oo=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,s=r.length,c=s;t>=c;)if((c<<=1)<0)throw Ae(16,"".concat(t));this.groupSizes=new Uint32Array(c),this.groupSizes.set(r),this.length=c;for(var l=s;l<c;l++)this.groupSizes[l]=0}for(var u=this.indexOfGroup(t+1),i=(l=0,n.length);l<i;l++)this.tag.insertRule(u,n[l])&&(this.groupSizes[t]++,u++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),s=r+n;this.groupSizes[t]=0;for(var c=r;c<s;c++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],s=this.indexOfGroup(t),c=s+r,l=s;l<c;l++)n+="".concat(this.tag.getRule(l)).concat(Lt);return n},e})(),Ao=1<<30,ht=new Map,mt=new Map,gt=1,yt=function(e){if(ht.has(e))return ht.get(e);for(;mt.has(gt);)gt++;var t=gt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Ao))throw Ae(16,"".concat(t));return ht.set(e,t),mt.set(t,e),t},Mo=function(e,t){gt=t+1,ht.set(e,t),mt.set(t,e)},Fo="style[".concat(Se,"][").concat(pn,'="').concat(lt,'"]'),Vo=new RegExp("^".concat(Se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),No=function(e,t,n){for(var r,s=n.split(","),c=0,l=s.length;c<l;c++)(r=s[c])&&e.registerName(t,r)},$o=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(Lt),s=[],c=0,l=r.length;c<l;c++){var u=r[c].trim();if(u){var i=u.match(Vo);if(i){var d=0|parseInt(i[1],10),h=i[2];d!==0&&(Mo(h,d),No(e,h,i[3]),e.getTag().insertRules(d,s)),s.length=0}else s.push(u)}}},Rn=function(e){for(var t=document.querySelectorAll(Fo),n=0,r=t.length;n<r;n++){var s=t[n];s&&s.getAttribute(Se)!==fn&&($o(e,s),s.parentNode&&s.parentNode.removeChild(s))}};function Ho(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var jn=function(e){var t=document.head,n=e||t,r=document.createElement("style"),s=(function(u){var i=Array.from(u.querySelectorAll("style[".concat(Se,"]")));return i[i.length-1]})(n),c=s!==void 0?s.nextSibling:null;r.setAttribute(Se,fn),r.setAttribute(pn,lt);var l=Ho();return l&&r.setAttribute("nonce",l),n.insertBefore(r,c),r},zo=(function(){function e(t){this.element=jn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,s=0,c=r.length;s<c;s++){var l=r[s];if(l.ownerNode===n)return l}throw Ae(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e})(),Bo=(function(){function e(t){this.element=jn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Uo=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Ln=ut,Wo={isServer:!ut,useCSSOMInjection:!vo},_n=(function(){function e(t,n,r){t===void 0&&(t=Ie),n===void 0&&(n={});var s=this;this.options=G(G({},Wo),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&ut&&Ln&&(Ln=!1,Rn(this)),Vt(this,function(){return(function(c){for(var l=c.getTag(),u=l.length,i="",d=function(y){var b=(function(R){return mt.get(R)})(y);if(b===void 0)return"continue";var w=c.names.get(b),P=l.getGroup(y);if(w===void 0||!w.size||P.length===0)return"continue";var T="".concat(Se,".g").concat(y,'[id="').concat(b,'"]'),N="";w!==void 0&&w.forEach(function(R){R.length>0&&(N+="".concat(R,","))}),i+="".concat(P).concat(T,'{content:"').concat(N,'"}').concat(Lt)},h=0;h<u;h++)d(h);return i})(s)})}return e.registerId=function(t){return yt(t)},e.prototype.rehydrate=function(){!this.server&&ut&&Rn(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(G(G({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(n){var r=n.useCSSOMInjection,s=n.target;return n.isServer?new Uo(s):r?new zo(s):new Bo(s)})(this.options),new Oo(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(yt(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(yt(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(yt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),qo=/&/g,Yo=/^\s*\/\/.*$/gm;function In(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=In(n.children,t)),n})}function Zo(e){var t,n,r,s=Ie,c=s.options,l=c===void 0?Ie:c,u=s.plugins,i=u===void 0?ft:u,d=function(b,w,P){return P.startsWith(n)&&P.endsWith(n)&&P.replaceAll(n,"").length>0?".".concat(t):b},h=i.slice();h.push(function(b){b.type===tt&&b.value.includes("&")&&(b.props[0]=b.props[0].replace(qo,n).replace(r,d))}),l.prefix&&h.push(go),h.push(po);var y=function(b,w,P,T){w===void 0&&(w=""),P===void 0&&(P=""),T===void 0&&(T="&"),t=T,n=w,r=new RegExp("\\".concat(n,"\\b"),"g");var N=b.replace(Yo,""),R=uo(P||w?"".concat(P," ").concat(w," { ").concat(N," }"):N);l.namespace&&(R=In(R,l.namespace));var x=[];return ct(R,ho(h.concat(mo(function(g){return x.push(g)})))),x};return y.hash=i.length?i.reduce(function(b,w){return w.name||Ae(15),Ce(b,w.name)},yn).toString():"",y}var Go=new _n,Nt=Zo(),Dn=p.createContext({shouldForwardProp:void 0,styleSheet:Go,stylis:Nt});Dn.Consumer,p.createContext(void 0);function On(){return p.useContext(Dn)}var $t=(function(){function e(t,n){var r=this;this.inject=function(s,c){c===void 0&&(c=Nt);var l=r.name+c.hash;s.hasNameForId(r.id,l)||s.insertRules(r.id,l,c(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Vt(this,function(){throw Ae(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Nt),this.name+t.hash},e})(),Xo=function(e){return e>="A"&&e<="Z"};function An(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;Xo(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Mn=function(e){return e==null||e===!1||e===""},Fn=function(e){var t,n,r=[];for(var s in e){var c=e[s];e.hasOwnProperty(s)&&!Mn(c)&&(Array.isArray(c)&&c.isCss||De(c)?r.push("".concat(An(s),":"),c,";"):Oe(c)?r.push.apply(r,be(be(["".concat(s," {")],Fn(c),!1),["}"],!1)):r.push("".concat(An(s),": ").concat((t=s,(n=c)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in yo||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ee(e,t,n,r){if(Mn(e))return[];if(At(e))return[".".concat(e.styledComponentId)];if(De(e)){if(!De(c=e)||c.prototype&&c.prototype.isReactComponent||!t)return[e];var s=e(t);return process.env.NODE_ENV==="production"||typeof s!="object"||Array.isArray(s)||s instanceof $t||Oe(s)||s===null||console.error("".concat(bn(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ee(s,t,n,r)}var c;return e instanceof $t?n?(e.inject(n,r),[e.getName(r)]):[e]:Oe(e)?Fn(e):Array.isArray(e)?Array.prototype.concat.apply(ft,e.map(function(l){return Ee(l,t,n,r)})):[e.toString()]}function Jo(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(De(n)&&!At(n))return!1}return!0}var Ko=vn(lt),Qo=(function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&Jo(t),this.componentId=n,this.baseHash=Ce(Ko,n),this.baseStyle=r,_n.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var s=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))s=ke(s,this.staticRulesId);else{var c=Mt(Ee(this.rules,t,n,r)),l=It(Ce(this.baseHash,c)>>>0);if(!n.hasNameForId(this.componentId,l)){var u=r(c,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,u)}s=ke(s,l),this.staticRulesId=l}else{for(var i=Ce(this.baseHash,r.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(i=Ce(i,y));else if(y){var b=Mt(Ee(y,t,n,r));i=Ce(i,b+h),d+=b}}if(d){var w=It(i>>>0);n.hasNameForId(this.componentId,w)||n.insertRules(this.componentId,w,r(d,".".concat(w),void 0,this.componentId)),s=ke(s,w)}}return s},e})(),Vn=p.createContext(void 0);Vn.Consumer;var Ht={},Nn=new Set;function es(e,t,n){var r=At(e),s=e,c=!Ot(e),l=t.attrs,u=l===void 0?ft:l,i=t.componentId,d=i===void 0?(function(I,O){var k=typeof I!="string"?"sc":mn(I);Ht[k]=(Ht[k]||0)+1;var S="".concat(k,"-").concat(wn(lt+k+Ht[k]));return O?"".concat(O,"-").concat(S):S})(t.displayName,t.parentComponentId):i,h=t.displayName,y=h===void 0?(function(I){return Ot(I)?"styled.".concat(I):"Styled(".concat(bn(I),")")})(e):h,b=t.displayName&&t.componentId?"".concat(mn(t.displayName),"-").concat(t.componentId):t.componentId||d,w=r&&s.attrs?s.attrs.concat(u).filter(Boolean):u,P=t.shouldForwardProp;if(r&&s.shouldForwardProp){var T=s.shouldForwardProp;if(t.shouldForwardProp){var N=t.shouldForwardProp;P=function(I,O){return T(I,O)&&N(I,O)}}else P=T}var R=new Qo(n,b,r?s.componentStyle:void 0);function x(I,O){return(function(k,S,W){var X=k.attrs,D=k.componentStyle,Fe=k.defaultProps,de=k.foldedComponentIds,q=k.styledComponentId,te=k.target,le=p.useContext(Vn),Te=On(),J=k.shouldForwardProp||Te.shouldForwardProp;process.env.NODE_ENV!=="production"&&p.useDebugValue(q);var Ze=bo(S,le,Fe)||Ie,ne=(function(Ne,fe,ye){for(var se,ie=G(G({},fe),{className:void 0,theme:ye}),ve=0;ve<Ne.length;ve+=1){var $e=De(se=Ne[ve])?se(ie):se;for(var ae in $e)ie[ae]=ae==="className"?ke(ie[ae],$e[ae]):ae==="style"?G(G({},ie[ae]),$e[ae]):$e[ae]}return fe.className&&(ie.className=ke(ie.className,fe.className)),ie})(X,S,Ze),me=ne.as||te,ge={};for(var Y in ne)ne[Y]===void 0||Y[0]==="$"||Y==="as"||Y==="theme"&&ne.theme===Ze||(Y==="forwardedAs"?ge.as=ne.forwardedAs:J&&!J(Y,me)||(ge[Y]=ne[Y],J||process.env.NODE_ENV!=="development"||Jr(Y)||Nn.has(Y)||!_t.has(me)||(Nn.add(Y),console.warn('styled-components: it looks like an unknown prop "'.concat(Y,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ve=(function(Ne,fe){var ye=On(),se=Ne.generateAndInjectStyles(fe,ye.styleSheet,ye.stylis);return process.env.NODE_ENV!=="production"&&p.useDebugValue(se),se})(D,ne);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(Ve);var Ge=ke(de,q);return Ve&&(Ge+=" "+Ve),ne.className&&(Ge+=" "+ne.className),ge[Ot(me)&&!_t.has(me)?"class":"className"]=Ge,W&&(ge.ref=W),p.createElement(me,ge)})(g,I,O)}x.displayName=y;var g=p.forwardRef(x);return g.attrs=w,g.componentStyle=R,g.displayName=y,g.shouldForwardProp=P,g.foldedComponentIds=r?ke(s.foldedComponentIds,s.styledComponentId):"",g.styledComponentId=b,g.target=r?s.target:e,Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=r?(function(O){for(var k=[],S=1;S<arguments.length;S++)k[S-1]=arguments[S];for(var W=0,X=k;W<X.length;W++)Ft(O,X[W],!0);return O})({},s.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(wo(y,b),g.warnTooManyClasses=(function(I,O){var k={},S=!1;return function(W){if(!S&&(k[W]=!0,Object.keys(k).length>=200)){var X=O?' with the id of "'.concat(O,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(X,`.
76
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Do(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],s=1,a=e.length;s<a;s+=1)r.push(e[s]);return r.forEach(function(l){n=n.replace(/%[a-z]/,l)}),n}function Ae(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Do.apply(void 0,be([Io[e]],t,!1)).trim())}var Oo=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,s=r.length,a=s;t>=a;)if((a<<=1)<0)throw Ae(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var l=s;l<a;l++)this.groupSizes[l]=0}for(var c=this.indexOfGroup(t+1),u=(l=0,n.length);l<u;l++)this.tag.insertRule(c,n[l])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),s=r+n;this.groupSizes[t]=0;for(var a=r;a<s;a++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],s=this.indexOfGroup(t),a=s+r,l=s;l<a;l++)n+="".concat(this.tag.getRule(l)).concat(Lt);return n},e})(),Ao=1<<30,ht=new Map,mt=new Map,gt=1,yt=function(e){if(ht.has(e))return ht.get(e);for(;mt.has(gt);)gt++;var t=gt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Ao))throw Ae(16,"".concat(t));return ht.set(e,t),mt.set(t,e),t},Fo=function(e,t){gt=t+1,ht.set(e,t),mt.set(t,e)},Mo="style[".concat(Se,"][").concat(pn,'="').concat(lt,'"]'),Vo=new RegExp("^".concat(Se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),No=function(e,t,n){for(var r,s=n.split(","),a=0,l=s.length;a<l;a++)(r=s[a])&&e.registerName(t,r)},Ho=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(Lt),s=[],a=0,l=r.length;a<l;a++){var c=r[a].trim();if(c){var u=c.match(Vo);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Fo(h,d),No(e,h,u[3]),e.getTag().insertRules(d,s)),s.length=0}else s.push(c)}}},Tn=function(e){for(var t=document.querySelectorAll(Mo),n=0,r=t.length;n<r;n++){var s=t[n];s&&s.getAttribute(Se)!==fn&&(Ho(e,s),s.parentNode&&s.parentNode.removeChild(s))}};function $o(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var jn=function(e){var t=document.head,n=e||t,r=document.createElement("style"),s=(function(c){var u=Array.from(c.querySelectorAll("style[".concat(Se,"]")));return u[u.length-1]})(n),a=s!==void 0?s.nextSibling:null;r.setAttribute(Se,fn),r.setAttribute(pn,lt);var l=$o();return l&&r.setAttribute("nonce",l),n.insertBefore(r,a),r},zo=(function(){function e(t){this.element=jn(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,s=0,a=r.length;s<a;s++){var l=r[s];if(l.ownerNode===n)return l}throw Ae(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e})(),Bo=(function(){function e(t){this.element=jn(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Uo=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Ln=ut,Wo={isServer:!ut,useCSSOMInjection:!vo},_n=(function(){function e(t,n,r){t===void 0&&(t=Ie),n===void 0&&(n={});var s=this;this.options=G(G({},Wo),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&ut&&Ln&&(Ln=!1,Tn(this)),Vt(this,function(){return(function(a){for(var l=a.getTag(),c=l.length,u="",d=function(m){var x=(function(R){return mt.get(R)})(m);if(x===void 0)return"continue";var S=a.names.get(x),j=l.getGroup(m);if(S===void 0||!S.size||j.length===0)return"continue";var _="".concat(Se,".g").concat(m,'[id="').concat(x,'"]'),T="";S!==void 0&&S.forEach(function(R){R.length>0&&(T+="".concat(R,","))}),u+="".concat(j).concat(_,'{content:"').concat(T,'"}').concat(Lt)},h=0;h<c;h++)d(h);return u})(s)})}return e.registerId=function(t){return yt(t)},e.prototype.rehydrate=function(){!this.server&&ut&&Tn(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(G(G({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(n){var r=n.useCSSOMInjection,s=n.target;return n.isServer?new Uo(s):r?new zo(s):new Bo(s)})(this.options),new Oo(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(yt(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(yt(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(yt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),qo=/&/g,Yo=/^\s*\/\/.*$/gm;function In(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=In(n.children,t)),n})}function Zo(e){var t,n,r,s=Ie,a=s.options,l=a===void 0?Ie:a,c=s.plugins,u=c===void 0?ft:c,d=function(x,S,j){return j.startsWith(n)&&j.endsWith(n)&&j.replaceAll(n,"").length>0?".".concat(t):x},h=u.slice();h.push(function(x){x.type===tt&&x.value.includes("&")&&(x.props[0]=x.props[0].replace(qo,n).replace(r,d))}),l.prefix&&h.push(go),h.push(po);var m=function(x,S,j,_){S===void 0&&(S=""),j===void 0&&(j=""),_===void 0&&(_="&"),t=_,n=S,r=new RegExp("\\".concat(n,"\\b"),"g");var T=x.replace(Yo,""),R=uo(j||S?"".concat(j," ").concat(S," { ").concat(T," }"):T);l.namespace&&(R=In(R,l.namespace));var w=[];return ct(R,ho(h.concat(mo(function(b){return w.push(b)})))),w};return m.hash=u.length?u.reduce(function(x,S){return S.name||Ae(15),Ce(x,S.name)},yn).toString():"",m}var Go=new _n,Nt=Zo(),Dn=p.createContext({shouldForwardProp:void 0,styleSheet:Go,stylis:Nt});Dn.Consumer,p.createContext(void 0);function On(){return p.useContext(Dn)}var Ht=(function(){function e(t,n){var r=this;this.inject=function(s,a){a===void 0&&(a=Nt);var l=r.name+a.hash;s.hasNameForId(r.id,l)||s.insertRules(r.id,l,a(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Vt(this,function(){throw Ae(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Nt),this.name+t.hash},e})(),Xo=function(e){return e>="A"&&e<="Z"};function An(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;Xo(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Fn=function(e){return e==null||e===!1||e===""},Mn=function(e){var t,n,r=[];for(var s in e){var a=e[s];e.hasOwnProperty(s)&&!Fn(a)&&(Array.isArray(a)&&a.isCss||De(a)?r.push("".concat(An(s),":"),a,";"):Oe(a)?r.push.apply(r,be(be(["".concat(s," {")],Mn(a),!1),["}"],!1)):r.push("".concat(An(s),": ").concat((t=s,(n=a)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in yo||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ee(e,t,n,r){if(Fn(e))return[];if(At(e))return[".".concat(e.styledComponentId)];if(De(e)){if(!De(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var s=e(t);return process.env.NODE_ENV==="production"||typeof s!="object"||Array.isArray(s)||s instanceof Ht||Oe(s)||s===null||console.error("".concat(bn(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ee(s,t,n,r)}var a;return e instanceof Ht?n?(e.inject(n,r),[e.getName(r)]):[e]:Oe(e)?Mn(e):Array.isArray(e)?Array.prototype.concat.apply(ft,e.map(function(l){return Ee(l,t,n,r)})):[e.toString()]}function Jo(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(De(n)&&!At(n))return!1}return!0}var Ko=vn(lt),Qo=(function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&Jo(t),this.componentId=n,this.baseHash=Ce(Ko,n),this.baseStyle=r,_n.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var s=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))s=ke(s,this.staticRulesId);else{var a=Ft(Ee(this.rules,t,n,r)),l=It(Ce(this.baseHash,a)>>>0);if(!n.hasNameForId(this.componentId,l)){var c=r(a,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,c)}s=ke(s,l),this.staticRulesId=l}else{for(var u=Ce(this.baseHash,r.hash),d="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")d+=m,process.env.NODE_ENV!=="production"&&(u=Ce(u,m));else if(m){var x=Ft(Ee(m,t,n,r));u=Ce(u,x+h),d+=x}}if(d){var S=It(u>>>0);n.hasNameForId(this.componentId,S)||n.insertRules(this.componentId,S,r(d,".".concat(S),void 0,this.componentId)),s=ke(s,S)}}return s},e})(),Vn=p.createContext(void 0);Vn.Consumer;var $t={},Nn=new Set;function es(e,t,n){var r=At(e),s=e,a=!Ot(e),l=t.attrs,c=l===void 0?ft:l,u=t.componentId,d=u===void 0?(function(v,O){var E=typeof v!="string"?"sc":mn(v);$t[E]=($t[E]||0)+1;var C="".concat(E,"-").concat(wn(lt+E+$t[E]));return O?"".concat(O,"-").concat(C):C})(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?(function(v){return Ot(v)?"styled.".concat(v):"Styled(".concat(bn(v),")")})(e):h,x=t.displayName&&t.componentId?"".concat(mn(t.displayName),"-").concat(t.componentId):t.componentId||d,S=r&&s.attrs?s.attrs.concat(c).filter(Boolean):c,j=t.shouldForwardProp;if(r&&s.shouldForwardProp){var _=s.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;j=function(v,O){return _(v,O)&&T(v,O)}}else j=_}var R=new Qo(n,x,r?s.componentStyle:void 0);function w(v,O){return(function(E,C,W){var X=E.attrs,A=E.componentStyle,Me=E.defaultProps,fe=E.foldedComponentIds,q=E.styledComponentId,te=E.target,le=p.useContext(Vn),Re=On(),J=E.shouldForwardProp||Re.shouldForwardProp;process.env.NODE_ENV!=="production"&&p.useDebugValue(q);var Ze=bo(C,le,Me)||Ie,ne=(function(Ne,pe,ve){for(var se,ie=G(G({},pe),{className:void 0,theme:ve}),we=0;we<Ne.length;we+=1){var He=De(se=Ne[we])?se(ie):se;for(var ae in He)ie[ae]=ae==="className"?ke(ie[ae],He[ae]):ae==="style"?G(G({},ie[ae]),He[ae]):He[ae]}return pe.className&&(ie.className=ke(ie.className,pe.className)),ie})(X,C,Ze),ge=ne.as||te,ye={};for(var Y in ne)ne[Y]===void 0||Y[0]==="$"||Y==="as"||Y==="theme"&&ne.theme===Ze||(Y==="forwardedAs"?ye.as=ne.forwardedAs:J&&!J(Y,ge)||(ye[Y]=ne[Y],J||process.env.NODE_ENV!=="development"||Jr(Y)||Nn.has(Y)||!_t.has(ge)||(Nn.add(Y),console.warn('styled-components: it looks like an unknown prop "'.concat(Y,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ve=(function(Ne,pe){var ve=On(),se=Ne.generateAndInjectStyles(pe,ve.styleSheet,ve.stylis);return process.env.NODE_ENV!=="production"&&p.useDebugValue(se),se})(A,ne);process.env.NODE_ENV!=="production"&&E.warnTooManyClasses&&E.warnTooManyClasses(Ve);var Ge=ke(fe,q);return Ve&&(Ge+=" "+Ve),ne.className&&(Ge+=" "+ne.className),ye[Ot(ge)&&!_t.has(ge)?"class":"className"]=Ge,W&&(ye.ref=W),p.createElement(ge,ye)})(b,v,O)}w.displayName=m;var b=p.forwardRef(w);return b.attrs=S,b.componentStyle=R,b.displayName=m,b.shouldForwardProp=j,b.foldedComponentIds=r?ke(s.foldedComponentIds,s.styledComponentId):"",b.styledComponentId=x,b.target=r?s.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(v){this._foldedDefaultProps=r?(function(O){for(var E=[],C=1;C<arguments.length;C++)E[C-1]=arguments[C];for(var W=0,X=E;W<X.length;W++)Mt(O,X[W],!0);return O})({},s.defaultProps,v):v}}),process.env.NODE_ENV!=="production"&&(wo(m,x),b.warnTooManyClasses=(function(v,O){var E={},C=!1;return function(W){if(!C&&(E[W]=!0,Object.keys(E).length>=200)){var X=O?' with the id of "'.concat(O,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(v).concat(X,`.
77
77
  `)+`Consider using the attrs method, together with a style object for frequently changed styles.
78
78
  Example:
79
79
  const Component = styled.div.attrs(props => ({
@@ -82,11 +82,11 @@ Example:
82
82
  },
83
83
  }))\`width: 100%;\`
84
84
 
85
- <Component />`),S=!0,k={}}}})(y,b)),Vt(g,function(){return".".concat(g.styledComponentId)}),c&&Pn(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),g}function $n(e,t){for(var n=[e[0]],r=0,s=t.length;r<s;r+=1)n.push(t[r],e[r+1]);return n}var Hn=function(e){return Object.assign(e,{isCss:!0})};function vt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(De(e)||Oe(e))return Hn(Ee($n(ft,be([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?Ee(r):Hn(Ee($n(r,t)))}function zt(e,t,n){if(n===void 0&&(n=Ie),!t)throw Ae(1,t);var r=function(s){for(var c=[],l=1;l<arguments.length;l++)c[l-1]=arguments[l];return e(t,n,vt.apply(void 0,be([s],c,!1)))};return r.attrs=function(s){return zt(e,t,G(G({},n),{attrs:Array.prototype.concat(n.attrs,s).filter(Boolean)}))},r.withConfig=function(s){return zt(e,t,G(G({},n),s))},r}var zn=function(e){return zt(es,e)},_=zn;_t.forEach(function(e){_[e]=zn(e)});function ts(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=Mt(vt.apply(void 0,be([e],t,!1))),s=wn(r);return new $t(s,r)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
85
+ <Component />`),C=!0,E={}}}})(m,x)),Vt(b,function(){return".".concat(b.styledComponentId)}),a&&Pn(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function Hn(e,t){for(var n=[e[0]],r=0,s=t.length;r<s;r+=1)n.push(t[r],e[r+1]);return n}var $n=function(e){return Object.assign(e,{isCss:!0})};function vt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(De(e)||Oe(e))return $n(Ee(Hn(ft,be([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?Ee(r):$n(Ee(Hn(r,t)))}function zt(e,t,n){if(n===void 0&&(n=Ie),!t)throw Ae(1,t);var r=function(s){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];return e(t,n,vt.apply(void 0,be([s],a,!1)))};return r.attrs=function(s){return zt(e,t,G(G({},n),{attrs:Array.prototype.concat(n.attrs,s).filter(Boolean)}))},r.withConfig=function(s){return zt(e,t,G(G({},n),s))},r}var zn=function(e){return zt(es,e)},D=zn;_t.forEach(function(e){D[e]=zn(e)});function ts(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=Ft(vt.apply(void 0,be([e],t,!1))),s=wn(r);return new Ht(s,r)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
86
86
  Perhaps you're looking to import 'styled-components/native'?
87
87
  Read more about this at https://www.styled-components.com/docs/basics#react-native`);var wt="__sc-".concat(Se,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[wt]||(window[wt]=0),window[wt]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
88
88
 
89
- See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children:e,eventFinishedMessage:t,eventNotStartedMessage:n,eventStartingSoonMessage:r}){const s=B(d=>d.startDate),c=B(d=>d.endDate),l=Date.now(),u=l<s.getTime(),i=l>c.getTime();return qr(5e3),u?a.jsx(rs,{startDate:s,title:n||"Event has not started yet.",message:r||"Starting in few seconds..."}):i?a.jsx(os,{title:t||"Event has finished."}):a.jsx(a.Fragment,{children:e})}function rs({startDate:e,title:t,message:n}){const r=e.getTime()-Date.now(),s=Math.floor(r/(1e3*60*60)),c=Math.floor(r%(1e3*60*60)/(1e3*60));return s||c?a.jsxs(Bt,{children:[a.jsx(Ut,{children:t}),a.jsxs(ss,{children:["(",s>0?`${s}h ${c}m`:`${c}m`,")"]})]}):a.jsx(Bt,{children:a.jsx(Ut,{children:n})})}function os({title:e}){return a.jsx(Bt,{children:a.jsx(Ut,{children:e})})}const Bt=_.div`
89
+ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children:e,eventFinishedMessage:t,eventNotStartedMessage:n,eventStartingSoonMessage:r}){const s=B(d=>d.startDate),a=B(d=>d.endDate),l=Date.now(),c=l<s.getTime(),u=l>a.getTime();return qr(5e3),c?i.jsx(rs,{startDate:s,title:n||"Event has not started yet.",message:r||"Starting in few seconds..."}):u?i.jsx(os,{title:t||"Event has finished."}):i.jsx(i.Fragment,{children:e})}function rs({startDate:e,title:t,message:n}){const r=e.getTime()-Date.now(),s=Math.floor(r/(1e3*60*60)),a=Math.floor(r%(1e3*60*60)/(1e3*60));return s||a?i.jsxs(Bt,{children:[i.jsx(Ut,{children:t}),i.jsxs(ss,{children:["(",s>0?`${s}h ${a}m`:`${a}m`,")"]})]}):i.jsx(Bt,{children:i.jsx(Ut,{children:n})})}function os({title:e}){return i.jsx(Bt,{children:i.jsx(Ut,{children:e})})}const Bt=D.div`
90
90
  position: absolute;
91
91
  top: 0;
92
92
  left: 0;
@@ -99,21 +99,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
99
99
  justify-content: center;
100
100
  color: black;
101
101
  background: #f7e406;
102
- `,Ut=_.h3`
102
+ `,Ut=D.h3`
103
103
  margin: 0;
104
104
  padding: 0.5rem 0;
105
105
  font-size: 1.5rem;
106
106
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
107
107
  "Helvetica Neue", Arial, sans-serif;
108
108
  font-weight: 500;
109
- `,ss=_.p`
109
+ `,ss=D.p`
110
110
  margin: 0;
111
111
  height: 1.25rem;
112
112
  font-size: 1rem;
113
113
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
114
114
  "Helvetica Neue", Arial, sans-serif;
115
115
  font-weight: 500;
116
- `;function is(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"})})}const he=p.forwardRef(({shape:e="circle",...t},n)=>a.jsx(as,{ref:n,$shape:e,...t}));he.displayName="PlayerButton";const as=_.button`
116
+ `;function is(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"})})}const me=p.forwardRef(({shape:e="circle",...t},n)=>i.jsx(as,{ref:n,$shape:e,...t}));me.displayName="PlayerButton";const as=D.button`
117
117
  margin: 0;
118
118
  display: flex;
119
119
  align-items: center;
@@ -160,7 +160,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
160
160
  ${({$shape:e})=>e==="square"&&vt`
161
161
  padding: 0.25rem 0.5rem;
162
162
  `}
163
- `;function cs({message:e,...t}){const n=B(c=>c.delay),r=B(c=>c.setDelay),s=()=>r(0);return n?a.jsxs(he,{onClick:s,shape:"square",...t,children:[a.jsx("span",{children:e||"Live"}),a.jsx(is,{})]}):null}function Bn(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M6 5H8V19H6V5ZM16 5H18V19H16V5Z"})})}function Un(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z"})})}function ls(e,t,n){const r={days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001};return e*(r[t]/r[n])}function us(e){return ls(e,"milliseconds","seconds")}const Me=e=>{const t=Math.floor(e/60),n=Math.floor(e%60);return`${t.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`};function ds(e){const t=typeof window<"u"&&window.navigator?.userAgent||"";return e.test(t)}const Wn=ds(/iPhone|iPad|iPod/i);function fs(){const e=document;return!!(e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement)}function ps(e){e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.webkitEnterFullScreen?e.webkitEnterFullScreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()}function hs(e){e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen&&e.mozCancelFullScreen()}function ms(e,t){return e.addEventListener("fullscreenchange",t),e.addEventListener("webkitfullscreenchange",t),e.addEventListener("mozfullscreenchange",t),e.addEventListener("MSFullscreenChange",t),()=>{e.removeEventListener("fullscreenchange",t),e.removeEventListener("webkitfullscreenchange",t),e.removeEventListener("mozfullscreenchange",t),e.removeEventListener("MSFullscreenChange",t)}}const gs=(e,t)=>({currentTime:0,duration:0,isEnded:!1,isLoading:!1,isLoop:!1,isMetaLoaded:!1,isPlaying:!1,isReady:!1,isStarted:!1,pauseTime:0,seekTime:-1,startTime:-1,volume:100,destroy:()=>{},handleDurationChange:()=>{const n=t().techRef.current;n&&e({duration:n.duration})},handleEnd:()=>{t().techRef.current&&e({isEnded:!0,isLoading:!1,isMetaLoaded:!1,isPlaying:!1})},handleLoadedMetadata:()=>{const n=t().techRef.current;n&&(n.loop=t().isLoop,n.volume=n.muted?0:1,t().startTime!==-1&&(n.currentTime=t().startTime),e({currentTime:t().startTime!==-1?t().startTime:n.currentTime,duration:n.duration,startTime:-1,isMetaLoaded:!0,volume:n.muted?0:100}))},handleLoadStart:()=>{const n=t().techRef.current;n&&(e({isReady:!0}),n.play().then(()=>{e({isEnded:!1,isLoading:!1,isPlaying:!0,isStarted:!0,pauseTime:0})}).catch(r=>e(()=>(console.info("Player failed to autoplay",r),{isStarted:!1,isEnded:!1,isLoading:!1,isPlaying:!1}))))},handlePause:()=>e({isPlaying:!1,pauseTime:Date.now()}),handlePlay:()=>e({isPlaying:!0,pauseTime:0}),handlePlaying:()=>e({isLoading:!1}),handleSeeked:()=>e({isLoading:!1}),handleSeeking:()=>e({isLoading:!0}),handleTimeUpdate:()=>{const n=t().techRef.current;n&&e({currentTime:n.currentTime})},handleWaiting:()=>e({isLoading:!0}),pause:()=>{const n=t().techRef.current;n&&(n.pause(),e({isEnded:!1,isPlaying:!1,pauseTime:Date.now()}))},pauseTimeDiff:()=>parseInt(us(Date.now()-t().pauseTime).toFixed(0)),play:()=>{const n=t().techRef.current;n&&(n.play(),e({isEnded:!1,isPlaying:!0,isStarted:!0,pauseTime:0}))},seek:n=>{const r=t().techRef.current;r&&(r.currentTime=n,(r.paused||r.ended)&&r.play(),e({seekTime:-1,currentTime:n,isStarted:!0,isEnded:!1,isPlaying:!0}))},setIsLoading:n=>e({isLoading:n}),setIsLoop:n=>{const r=t().techRef.current;r&&(r.loop=n,e({isLoop:n}))},setStartTime:n=>e({startTime:n}),setVolume:n=>{const r=t().techRef.current;r&&(r.muted=n===0,r.volume=n/100,e({volume:n}))},stop:()=>{t().techRef.current&&e({isPlaying:!1,isLoading:!1})}}),ys=e=>({idleLocks:new Set,addIdleLock:t=>e(n=>({idleLocks:new Set(n.idleLocks).add(t)})),removeIdleLock:t=>e(n=>{const r=new Set(n.idleLocks);return r.delete(t),{idleLocks:r}})}),vs=e=>({level:null,levels:null,setLevels:t=>e({levels:t}),setLevel:t=>e({level:t})}),ws=(e,t)=>({isFullscreen:!1,isFullscreenReady:!1,exitFullscreen:()=>{hs(document),e({isFullscreen:!1})},requestFullscreen:()=>{const n=t().techRef.current,r=t().containerRef.current;if(!n||!r)return;const s=Wn?n:r;s&&ps(s),e({isFullscreen:!0})},setIsFullscreen:n=>e({isFullscreen:n}),setIsFullscreenReady:n=>e({isFullscreenReady:n})}),bs=e=>()=>({...e}),xs=(e,t)=>Je.create()((...n)=>({...gs(...n),...ys(...n),...ws(...n),...vs(...n),...bs({techRef:e,containerRef:t})(...n)})),qn=p.createContext(null);function Ss({children:e}){const t=p.useRef(null),n=p.useRef(null),r=p.useRef(null);return t.current||(t.current=xs(n,r)),a.jsx(qn.Provider,{value:t.current,children:e})}const m=e=>{const t=p.useContext(qn);if(!t)throw new Error("usePlayerStore must be used within PlayerStoreProvider");return Je.useStore(t,e)};function Cs(){const e=m(i=>i.isPlaying),t=m(i=>i.pause),n=m(i=>i.pauseTime),r=m(i=>i.pauseTimeDiff),s=m(i=>i.play),c=B(i=>i.delay),l=B(i=>i.setDelay),u=()=>{e?t():(n&&l(c+r()),s())};return a.jsx(he,{onClick:u,children:e?a.jsx(Bn,{}):a.jsx(Un,{})})}function Yn({className:e,onClick:t,...n}){const r=p.useRef(null),s=m(y=>y.exitFullscreen),c=m(y=>y.isFullscreen),l=m(y=>y.requestFullscreen),u=y=>{h()?(d(),c?s():l()):i(y)},i=y=>{r.current=window.setTimeout(()=>{t?.(y),d()},200)},d=()=>{r.current!==null&&(window.clearTimeout(r.current),r.current=null)},h=()=>r.current!==null;return p.useEffect(()=>()=>{d()},[]),a.jsx(ks,{onClick:u,className:e,"aria-label":"Player playback indicator",...n})}const ks=_.button`
163
+ `;function cs({message:e,...t}){const n=B(a=>a.delay),r=B(a=>a.setDelay),s=()=>r(0);return n?i.jsxs(me,{onClick:s,shape:"square",...t,children:[i.jsx("span",{children:e||"Live"}),i.jsx(is,{})]}):null}function Bn(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M6 5H8V19H6V5ZM16 5H18V19H16V5Z"})})}function Un(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z"})})}function ls(e,t,n){const r={days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001};return e*(r[t]/r[n])}function us(e){return ls(e,"milliseconds","seconds")}const Fe=e=>{const t=Math.floor(e/60),n=Math.floor(e%60);return`${t.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`};function ds(e){const t=typeof window<"u"&&window.navigator?.userAgent||"";return e.test(t)}const Wn=ds(/iPhone|iPad|iPod/i);function fs(){const e=document;return!!(e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement)}function ps(e){e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.webkitEnterFullScreen?e.webkitEnterFullScreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()}function hs(e){e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen&&e.mozCancelFullScreen()}function ms(e,t){return e.addEventListener("fullscreenchange",t),e.addEventListener("webkitfullscreenchange",t),e.addEventListener("mozfullscreenchange",t),e.addEventListener("MSFullscreenChange",t),()=>{e.removeEventListener("fullscreenchange",t),e.removeEventListener("webkitfullscreenchange",t),e.removeEventListener("mozfullscreenchange",t),e.removeEventListener("MSFullscreenChange",t)}}const gs=(e,t)=>({currentTime:0,duration:0,isEnded:!1,isLoading:!1,isLoop:!1,isMetaLoaded:!1,isPlaying:!1,isReady:!1,isStarted:!1,pauseTime:0,seekTime:-1,startTime:-1,volume:100,destroy:()=>{},handleDurationChange:()=>{const n=t().techRef.current;n&&e({duration:n.duration})},handleEnd:()=>{t().techRef.current&&e({isEnded:!0,isLoading:!1,isMetaLoaded:!1,isPlaying:!1})},handleLoadedMetadata:()=>{const n=t().techRef.current;n&&(n.loop=t().isLoop,n.volume=n.muted?0:1,t().startTime!==-1&&(n.currentTime=t().startTime),e({currentTime:t().startTime!==-1?t().startTime:n.currentTime,duration:n.duration,startTime:-1,isMetaLoaded:!0,volume:n.muted?0:100}))},handleLoadStart:()=>{const n=t().techRef.current;n&&(e({isReady:!0}),n.play().then(()=>{e({isEnded:!1,isLoading:!1,isPlaying:!0,isStarted:!0,pauseTime:0})}).catch(r=>e(()=>(console.info("Player failed to autoplay",r),{isStarted:!1,isEnded:!1,isLoading:!1,isPlaying:!1}))))},handlePause:()=>e({isPlaying:!1,pauseTime:Date.now()}),handlePlay:()=>e({isPlaying:!0,pauseTime:0}),handlePlaying:()=>e({isLoading:!1}),handleSeeked:()=>e({isLoading:!1}),handleSeeking:()=>e({isLoading:!0}),handleTimeUpdate:()=>{const n=t().techRef.current;n&&e({currentTime:n.currentTime})},handleWaiting:()=>e({isLoading:!0}),pause:()=>{const n=t().techRef.current;n&&(n.pause(),e({isEnded:!1,isPlaying:!1,pauseTime:Date.now()}))},getPauseTimeDiff:()=>!t().isStarted||!t().pauseTime?0:parseInt(us(Date.now()-t().pauseTime).toFixed(0)),play:()=>{const n=t().techRef.current;n&&(n.play(),e({isEnded:!1,isPlaying:!0,isStarted:!0,pauseTime:0}))},seek:n=>{const r=t().techRef.current;r&&(r.currentTime=n,(r.paused||r.ended)&&r.play(),e({seekTime:-1,currentTime:n,isStarted:!0,isEnded:!1,isPlaying:!0}))},setIsLoading:n=>e({isLoading:n}),setIsLoop:n=>{const r=t().techRef.current;r&&(r.loop=n,e({isLoop:n}))},setStartTime:n=>e({startTime:n}),setVolume:n=>{const r=t().techRef.current;r&&(r.muted=n===0,r.volume=n/100,e({volume:n}))},stop:()=>{t().techRef.current&&e({isPlaying:!1,isLoading:!1})}}),ys=e=>({idleLocks:new Set,addIdleLock:t=>e(n=>({idleLocks:new Set(n.idleLocks).add(t)})),removeIdleLock:t=>e(n=>{const r=new Set(n.idleLocks);return r.delete(t),{idleLocks:r}})}),vs=e=>({level:null,levels:null,setLevels:t=>e({levels:t}),setLevel:t=>e({level:t})}),ws=(e,t)=>({isFullscreen:!1,isFullscreenReady:!1,exitFullscreen:()=>{hs(document),e({isFullscreen:!1})},requestFullscreen:()=>{const n=t().techRef.current,r=t().containerRef.current;if(!n||!r)return;const s=Wn?n:r;s&&ps(s),e({isFullscreen:!0})},setIsFullscreen:n=>e({isFullscreen:n}),setIsFullscreenReady:n=>e({isFullscreenReady:n})}),bs=e=>()=>({...e}),xs=(e,t)=>Je.create()((...n)=>({...gs(...n),...ys(...n),...ws(...n),...vs(...n),...bs({techRef:e,containerRef:t})(...n)})),qn=p.createContext(null);function Ss({children:e}){const t=p.useRef(null),n=p.useRef(null),r=p.useRef(null);return t.current||(t.current=xs(n,r)),i.jsx(qn.Provider,{value:t.current,children:e})}const g=e=>{const t=p.useContext(qn);if(!t)throw new Error("usePlayerStore must be used within PlayerStoreProvider");return Je.useStore(t,e)};function Cs(){const e=g(c=>c.isPlaying),t=g(c=>c.pause),n=g(c=>c.getPauseTimeDiff),r=g(c=>c.play),s=B(c=>c.delay),a=B(c=>c.setDelay),l=()=>{if(e)t();else{const c=n();c&&a(s+c),r()}};return i.jsx(me,{onClick:l,children:e?i.jsx(Bn,{}):i.jsx(Un,{})})}function Yn({className:e,onClick:t,...n}){const r=p.useRef(null),s=g(m=>m.exitFullscreen),a=g(m=>m.isFullscreen),l=g(m=>m.requestFullscreen),c=m=>{h()?(d(),a?s():l()):u(m)},u=m=>{r.current=window.setTimeout(()=>{t?.(m),d()},200)},d=()=>{r.current!==null&&(window.clearTimeout(r.current),r.current=null)},h=()=>r.current!==null;return p.useEffect(()=>()=>{d()},[]),i.jsx(ks,{onClick:c,className:e,"aria-label":"Player playback indicator",...n})}const ks=D.button`
164
164
  position: absolute;
165
165
  top: 0;
166
166
  left: 0;
@@ -178,11 +178,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
178
178
  &:focus {
179
179
  outline: none;
180
180
  }
181
- `;function Es(){const e=m(i=>i.isPlaying),t=m(i=>i.pause),n=m(i=>i.pauseTime),r=m(i=>i.pauseTimeDiff),s=m(i=>i.play),c=B(i=>i.delay),l=B(i=>i.setDelay),u=()=>{e?t():(n&&l(c+r()),s())};return a.jsx(Yn,{onClick:u})}const Zn=_.div`
181
+ `;function Es(){const e=g(c=>c.isPlaying),t=g(c=>c.pause),n=g(c=>c.getPauseTimeDiff),r=g(c=>c.play),s=B(c=>c.delay),a=B(c=>c.setDelay),l=()=>{if(e)t();else{const c=n();c&&a(s+c),r()}};return i.jsx(Yn,{onClick:l})}const Zn=D.div`
182
182
  position: relative;
183
183
  width: 100%;
184
184
  margin-bottom: -0.25rem;
185
- `,Gn=_.div`
185
+ `,Gn=D.div`
186
186
  position: absolute;
187
187
  bottom: 1.75rem;
188
188
  left: 0;
@@ -193,7 +193,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
193
193
  opacity: ${({$isVisible:e})=>e?1:0};
194
194
  transform: ${({$isVisible:e})=>e?"translateY(0)":"translateY(-0.5rem)"};
195
195
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
196
- `,Xn=_.p`
196
+ `,Xn=D.p`
197
197
  margin: 0;
198
198
  padding: 0.25rem;
199
199
  font-variant-numeric: tabular-nums;
@@ -205,7 +205,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
205
205
  color: white;
206
206
  background: rgba(0, 0, 0, 0.8);
207
207
  border-radius: 1rem;
208
- `,bt=p.forwardRef(({max:e=100,min:t=0,...n},r)=>a.jsxs(Ts,{ref:r,min:t,max:e,"aria-label":"Player progress",onKeyDown:s=>s.preventDefault(),...n,children:[a.jsx(Ps,{children:a.jsx(Rs,{})}),a.jsx(js,{})]}));bt.displayName="PlayerSlider";const Ts=_(Ke.Root)`
208
+ `,bt=p.forwardRef(({max:e=100,min:t=0,...n},r)=>i.jsxs(Rs,{ref:r,min:t,max:e,"aria-label":"Player progress",onKeyDown:s=>s.preventDefault(),...n,children:[i.jsx(Ps,{children:i.jsx(Ts,{})}),i.jsx(js,{})]}));bt.displayName="PlayerSlider";const Rs=D(Ke.Root)`
209
209
  position: relative;
210
210
  display: flex;
211
211
  align-items: center;
@@ -219,20 +219,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
219
219
  cursor: not-allowed;
220
220
  opacity: 0.5;
221
221
  }
222
- `,Ps=_(Ke.Track)`
222
+ `,Ps=D(Ke.Track)`
223
223
  position: relative;
224
224
  height: 0.25rem;
225
225
  flex-grow: 1;
226
226
  background: rgba(255, 255, 255, 0.2);
227
227
  border-radius: 1rem;
228
228
  overflow: hidden;
229
- `,Rs=_(Ke.Range)`
229
+ `,Ts=D(Ke.Range)`
230
230
  position: absolute;
231
231
  height: 100%;
232
232
  background: #f7e406;
233
233
  transition: width 0.2s ease-in-out;
234
234
  border-radius: 1rem;
235
- `,js=_(Ke.Thumb)`
235
+ `,js=D(Ke.Thumb)`
236
236
  display: block;
237
237
  width: 0.875rem;
238
238
  height: 0.875rem;
@@ -255,10 +255,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
255
255
  cursor: not-allowed;
256
256
  opacity: 0.5;
257
257
  }
258
- `;function xt(e){const t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight?{left:t.left*100,right:t.right*100,top:t.top*100,bottom:t.bottom*100,width:t.width*100,height:t.height*100}:t}const Jn=(e,t=0)=>parseInt(Math.max(0,(Date.now()-(e+t*1e3))/1e3).toFixed(0)),Kn=(e,t)=>Math.max(0,(Date.now()-e-t*1e3)/1e3),Qn=(e,t)=>Math.max(0,(t-e)/1e3),Ls=(e,t=0)=>{const r=t<0?0:t,s=["bytes","kb","mb","gb","tb","pb","eb","zb","yb"],c=Math.floor(Math.log(e)/Math.log(1024));return`${parseFloat((e/Math.pow(1024,c)).toFixed(r))}${s[c]}`};function _s({isAuto:e,level:t,levels:n}){const r=n.length,s=[];return r>1&&s.push({sid:"quality-level-auto",label:"Auto",value:-1,selected:e||t===-1}),n.sort(function(c,l){const u=c.height||c.bitrate||0,i=l.height||l.bitrate||0;return u===i?0:u>i?1:-1}),n.map(c=>{const{bitrate:l,height:u,index:i}=c;s.push({sid:`quality-level-${i}`,label:u?`${u}p`:Ls(l),value:i,selected:r===1||!e&&i===t})}),s}const er="vod-player-progress-bar";function Is(){const e=p.useRef(null),t=p.useRef(null),[n,r]=p.useState(0),[s,c]=p.useState(0),[l,u]=p.useState(!1),[i,d]=p.useState(-1),[h,y]=p.useState(-1),b=B(D=>D.delay),w=B(D=>D.startTime),P=B(D=>D.endTime),T=B(D=>D.setDelay),N=m(D=>D.isPlaying),R=m(D=>D.addIdleLock),x=m(D=>D.removeIdleLock),g=p.useCallback(()=>{r(Kn(w,b)),c(Qn(w,P))},[b,P,w]),I=parseFloat((s?(h!==-1?h:n)/s*100:0).toFixed(1)),O=D=>{y(s*(D[0]/100)),R(er)},k=()=>{if(h!==-1){const D=Jn(w,h);T(D),y(-1),x(er)}},S=()=>u(!0),W=()=>u(!1),X=p.useCallback(D=>{const Fe=e.current,de=t.current;if(Fe&&de){const q=xt(Fe),te=xt(de),le=(D.pageX||D.clientX)-q.left,Te=le/q.width;if(Te<0)return;let J=le-te.width/2;J<0&&(J=0),J>q.width-te.width&&(J=-1),de.style.left=J>-1?`${J}px`:"auto",de.style.right=J>-1?"auto":"0px",d(Te*s)}S()},[s]);return et(()=>g(),N?1e3:null),p.useEffect(()=>{g()},[g]),a.jsxs(Zn,{children:[a.jsx(bt,{ref:e,value:[I],onPointerLeave:W,onPointerDown:W,onPointerMove:X,onValueChange:O,onValueCommit:k,step:.1}),a.jsx(Gn,{ref:t,$isVisible:l,children:a.jsx(Xn,{children:Me(i)})})]})}function tr({children:e}){return a.jsx(Ss,{children:e})}function Ds({children:e,startDate:t,endDate:n}){return a.jsx(Zr,{startDate:t,endDate:n,children:a.jsx(tr,{children:e})})}const nr=_.div`
258
+ `;function xt(e){const t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight?{left:t.left*100,right:t.right*100,top:t.top*100,bottom:t.bottom*100,width:t.width*100,height:t.height*100}:t}const Jn=(e,t=0)=>parseInt(Math.max(0,(Date.now()-(e+t*1e3))/1e3).toFixed(0)),Kn=(e,t)=>Math.max(0,(Date.now()-e-t*1e3)/1e3),Qn=(e,t)=>Math.max(0,(t-e)/1e3),Ls=(e,t=0)=>{const r=t<0?0:t,s=["bytes","kb","mb","gb","tb","pb","eb","zb","yb"],a=Math.floor(Math.log(e)/Math.log(1024));return`${parseFloat((e/Math.pow(1024,a)).toFixed(r))}${s[a]}`};function _s({isAuto:e,level:t,levels:n}){const r=n.length,s=[];return r>1&&s.push({sid:"quality-level-auto",label:"Auto",value:-1,selected:e||t===-1}),n.sort(function(a,l){const c=a.height||a.bitrate||0,u=l.height||l.bitrate||0;return c===u?0:c>u?1:-1}),n.map(a=>{const{bitrate:l,height:c,index:u}=a;s.push({sid:`quality-level-${u}`,label:c?`${c}p`:Ls(l),value:u,selected:r===1||!e&&u===t})}),s}const er="vod-player-progress-bar";function Is(){const e=p.useRef(null),t=p.useRef(null),[n,r]=p.useState(0),[s,a]=p.useState(0),[l,c]=p.useState(!1),[u,d]=p.useState(-1),[h,m]=p.useState(-1),x=B(A=>A.delay),S=B(A=>A.startTime),j=B(A=>A.endTime),_=B(A=>A.setDelay),T=g(A=>A.isPlaying),R=g(A=>A.addIdleLock),w=g(A=>A.removeIdleLock),b=p.useCallback(()=>{r(Kn(S,x)),a(Qn(S,j))},[x,j,S]),v=parseFloat((s?(h!==-1?h:n)/s*100:0).toFixed(1)),O=A=>{m(s*(A[0]/100)),R(er)},E=()=>{if(h!==-1){const A=Jn(S,h);_(A),m(-1),w(er)}},C=()=>c(!0),W=()=>c(!1),X=p.useCallback(A=>{const Me=e.current,fe=t.current;if(Me&&fe){const q=xt(Me),te=xt(fe),le=(A.pageX||A.clientX)-q.left,Re=le/q.width;if(Re<0)return;let J=le-te.width/2;J<0&&(J=0),J>q.width-te.width&&(J=-1),fe.style.left=J>-1?`${J}px`:"auto",fe.style.right=J>-1?"auto":"0px",d(Re*s)}C()},[s]);return et(()=>b(),T?1e3:null),p.useEffect(()=>{b()},[b]),i.jsxs(Zn,{children:[i.jsx(bt,{ref:e,value:[v],onPointerLeave:W,onPointerDown:W,onPointerMove:X,onValueChange:O,onValueCommit:E,step:.1}),i.jsx(Gn,{ref:t,$isVisible:l,children:i.jsx(Xn,{children:Fe(u)})})]})}function tr({children:e}){return i.jsx(Ss,{children:e})}function Ds({children:e,startDate:t,endDate:n}){return i.jsx(Zr,{startDate:t,endDate:n,children:i.jsx(tr,{children:e})})}const nr=D.div`
259
259
  display: flex;
260
260
  align-items: center;
261
- `,rr=_.p`
261
+ `,rr=D.p`
262
262
  margin: 0;
263
263
  padding: 0;
264
264
  font-variant-numeric: tabular-nums;
@@ -266,11 +266,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
266
266
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
267
267
  "Helvetica Neue", Arial, sans-serif;
268
268
  font-weight: 500;
269
- `,or=_(rr)`
269
+ `,or=D(rr)`
270
270
  margin-right: 0.5rem;
271
- `,sr=_(rr)`
271
+ `,sr=D(rr)`
272
272
  margin-left: 0.5rem;
273
- `,ir=_.p`
273
+ `,ir=D.p`
274
274
  margin: 0;
275
275
  padding: 0;
276
276
  font-size: 0.8125rem;
@@ -281,7 +281,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
281
281
  &::before {
282
282
  content: "/";
283
283
  }
284
- `;function Os(){const[e,t]=p.useState(0),[n,r]=p.useState(0),s=m(d=>d.isPlaying),c=B(d=>d.delay),l=B(d=>d.startTime),u=B(d=>d.endTime),i=p.useCallback(()=>{t(Kn(l,c)),r(Qn(l,u))},[c,u,l]);return et(()=>i(),s?1e3:null),p.useEffect(()=>{i()},[i]),c?a.jsxs(nr,{children:[a.jsx(or,{children:Me(e)}),a.jsx(ir,{}),a.jsx(sr,{children:Me(n)})]}):null}function As(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z"})})}function Ms(){const e=B(r=>r.startTime),t=B(r=>r.setDelay),n=()=>t(Jn(e));return a.jsx(he,{onClick:n,children:a.jsx(As,{})})}function Fs({url:e,isLive:t}){const n=p.useRef(null),r=m(w=>w.level),s=m(w=>w.levels),c=m(w=>w.setLevel),l=m(w=>w.setLevels),u=m(w=>w.techRef),i=p.useCallback(w=>{if(n.current&&(n.current.nextLevel=w,c(null),s)){const P=s.map(T=>({...T,selected:T.value===w}));l(P)}},[s,c,l,n]),d=p.useCallback(()=>{n.current&&(console.log("[Player][Event]","MEDIA_ATTACHED"),n.current.loadSource(e))},[e]),h=p.useCallback(()=>{if(!n.current)return;console.log("[Player][Event]","MANIFEST_LOADED");const w=n.current.levels,P=n.current.currentLevel,T=n.current.autoLevelEnabled;l(_s({levels:w.map((N,R)=>{const{bitrate:x,height:g,width:I}=N;return{bitrate:x,height:g,index:R,width:I}}),level:P,isAuto:T}))},[l]),y=p.useCallback(()=>{if(!u.current)return;const T=t?{backBufferLength:10,startLevel:-1}:{backBufferLength:60,startLevel:-1};try{console.log("[Player] URL",e),console.log("[Player] Config",JSON.stringify(T)),console.log("[Player] Version",we.version),n.current=new we(T),n.current.attachMedia(u.current),n.current.on(we.Events.MEDIA_ATTACHED,d),n.current.on(we.Events.MANIFEST_LOADED,h)}catch(N){throw new Error(`Error initializing Hls: ${N}`)}},[h,d,t,u,e]),b=p.useCallback(()=>{n.current&&(n.current.off(we.Events.MEDIA_ATTACHED,d),n.current.off(we.Events.MANIFEST_LOADED,h),n.current.destroy(),n.current=null)},[h,d]);return p.useEffect(()=>{r!==null&&i(r)},[r,i]),p.useEffect(()=>(we.isSupported()&&y(),b),[b,y]),null}function ar({url:e,isLive:t,isMuted:n=!1}){const r=m(g=>g.handleDurationChange),s=m(g=>g.handleEnd),c=m(g=>g.handleLoadedMetadata),l=m(g=>g.handleLoadStart),u=m(g=>g.handlePause),i=m(g=>g.handlePlay),d=m(g=>g.handlePlaying),h=m(g=>g.handleSeeked),y=m(g=>g.handleSeeking),b=m(g=>g.handleTimeUpdate),w=m(g=>g.handleWaiting),P=m(g=>g.techRef),T=p.useRef(null),N=()=>t?{}:{onDurationChange:r,onSeeked:h,onSeeking:y,onTimeUpdate:R},R=()=>{(!T.current||Date.now()-T.current>=1e3)&&(b(),T.current=Date.now())},x=N();return a.jsxs(a.Fragment,{children:[a.jsx(Fs,{isLive:t,url:e}),a.jsx(Vs,{ref:P,playsInline:!0,autoPlay:!0,controls:!1,muted:n,preload:"auto",crossOrigin:"anonymous",onEnded:s,onLoadedMetadata:c,onLoadStart:l,onPause:u,onPlay:i,onPlaying:d,onWaiting:w,tabIndex:-1,...x})]})}const Vs=_.video`
284
+ `;function Os(){const[e,t]=p.useState(0),[n,r]=p.useState(0),s=g(d=>d.isPlaying),a=B(d=>d.delay),l=B(d=>d.startTime),c=B(d=>d.endTime),u=p.useCallback(()=>{t(Kn(l,a)),r(Qn(l,c))},[a,c,l]);return et(()=>u(),s?1e3:null),p.useEffect(()=>{u()},[u]),a?i.jsxs(nr,{children:[i.jsx(or,{children:Fe(e)}),i.jsx(ir,{}),i.jsx(sr,{children:Fe(n)})]}):null}function As(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z"})})}function Fs(){const e=B(r=>r.startTime),t=B(r=>r.setDelay),n=()=>t(Jn(e));return i.jsx(me,{onClick:n,children:i.jsx(As,{})})}function Ms({url:e,isLive:t}){const n=p.useRef(null),r=g(T=>T.level),s=g(T=>T.levels),a=g(T=>T.setLevel),l=g(T=>T.setLevels),c=g(T=>T.techRef),[u,d]=p.useState(!1),h=p.useCallback(T=>{if(n.current&&(n.current.nextLevel=T,a(null),s)){const R=s.map(w=>({...w,selected:w.value===T}));l(R)}},[s,a,l,n]),m=p.useCallback(()=>{n.current&&(console.log("[Player][HLS] MEDIA_ATTACHED"),n.current.loadSource(e))},[e]),x=p.useCallback(()=>{if(!n.current)return;console.log("[Player][HLS] MANIFEST_LOADED"),d(!1);const T=n.current.levels,R=n.current.currentLevel,w=n.current.autoLevelEnabled;l(_s({levels:T.map((b,v)=>{const{bitrate:O,height:E,width:C}=b;return{bitrate:O,height:E,index:v,width:C}}),level:R,isAuto:w}))},[l]),S=p.useCallback((T,R)=>{console.error("[Player][HLS] ERROR",T,R),u?console.error("[Player][HLS] Stream failed and retry limit reached"):(console.log("[Player][HLS] Stream failed, attempting failover retry..."),d(!0),setTimeout(()=>{if(n.current&&c.current)try{console.log("[Player][HLS] Retrying stream..."),n.current.loadSource(e)}catch(w){console.error("[Player][HLS] Failover retry failed:",w)}},1e3))},[u,e,c]),j=p.useCallback(()=>{if(!c.current)return;const w=t?{backBufferLength:10,startLevel:-1}:{backBufferLength:60,startLevel:-1};try{console.log("[Player][HLS] URL",e),console.log("[Player][HLS] Config",JSON.stringify(w)),console.log("[Player][HLS] Version",ue.version),n.current=new ue(w),n.current.attachMedia(c.current),n.current.on(ue.Events.MEDIA_ATTACHED,m),n.current.on(ue.Events.MANIFEST_LOADED,x),n.current.on(ue.Events.ERROR,S)}catch(b){throw new Error(`Error initializing Hls: ${b}`)}},[x,m,S,t,c,e]),_=p.useCallback(()=>{n.current&&(n.current.off(ue.Events.MEDIA_ATTACHED,m),n.current.off(ue.Events.MANIFEST_LOADED,x),n.current.off(ue.Events.ERROR,S),n.current.destroy(),n.current=null),d(!1)},[x,m,S]);return p.useEffect(()=>{r!==null&&h(r)},[r,h]),p.useEffect(()=>(ue.isSupported()&&j(),_),[_,j]),null}function ar({url:e,isLive:t,isMuted:n=!1}){const r=g(v=>v.handleDurationChange),s=g(v=>v.handleEnd),a=g(v=>v.handleLoadedMetadata),l=g(v=>v.handleLoadStart),c=g(v=>v.handlePause),u=g(v=>v.handlePlay),d=g(v=>v.handlePlaying),h=g(v=>v.handleSeeked),m=g(v=>v.handleSeeking),x=g(v=>v.handleTimeUpdate),S=g(v=>v.handleWaiting),j=g(v=>v.techRef),_=p.useRef(null),T=v=>{console.error("[Player][Native] ERROR",v)},R=()=>t?{}:{onDurationChange:r,onSeeked:h,onSeeking:m,onTimeUpdate:w},w=()=>{(!_.current||Date.now()-_.current>=1e3)&&(x(),_.current=Date.now())},b=R();return i.jsxs(i.Fragment,{children:[i.jsx(Ms,{isLive:t,url:e}),i.jsx(Vs,{ref:j,playsInline:!0,autoPlay:!0,controls:!1,muted:n,preload:"auto",crossOrigin:"anonymous",onEnded:s,onError:T,onLoadedMetadata:a,onLoadStart:l,onPause:c,onPlay:u,onPlaying:d,onWaiting:S,tabIndex:-1,...b})]})}const Vs=D.video`
285
285
  position: relative;
286
286
  width: 100%;
287
287
  height: 100%;
@@ -289,7 +289,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
289
289
  @media (min-width: 768px) {
290
290
  pointer-events: none;
291
291
  }
292
- `;function Ns({url:e}){const[t,n]=p.useState(null),r=B(c=>c.delay),s=p.useCallback(async()=>{n(r?e.replace("playlist.m3u8",`playlist_fmp4_dvr_timeshift-${r}.m3u8`):e)},[r,e]);return p.useEffect(()=>{s()},[s]),t?a.jsx(ar,{url:t,isLive:!0}):null}const cr=_.div`
292
+ `;function Ns({url:e}){const[t,n]=p.useState(null),r=B(a=>a.delay),s=p.useCallback(async()=>{n(r?e.replace("playlist.m3u8",`playlist_fmp4_dvr_timeshift-${r}.m3u8`):e)},[r,e]);return p.useEffect(()=>{s()},[s]),t?i.jsx(ar,{url:t,isLive:!0}):null}const cr=D.div`
293
293
  position: absolute;
294
294
  top: 0;
295
295
  left: 0;
@@ -298,7 +298,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
298
298
  color: white;
299
299
  background: black;
300
300
  overflow: hidden;
301
- `,lr=_.div`
301
+ `,lr=D.div`
302
302
  position: absolute;
303
303
  left: 0;
304
304
  width: 100%;
@@ -310,7 +310,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
310
310
  @media (min-width: 768px) {
311
311
  padding-top: 2rem;
312
312
  }
313
- `,ur=_.div`
313
+ `,ur=D.div`
314
314
  display: flex;
315
315
  flex-direction: column;
316
316
  padding-left: 0.5rem;
@@ -322,21 +322,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
322
322
  padding-left: 1rem;
323
323
  padding-right: 1rem;
324
324
  }
325
- `,dr=_.div`
325
+ `,dr=D.div`
326
326
  display: flex;
327
327
  padding: 0.5rem 0;
328
328
  width: 100%;
329
329
  align-items: center;
330
- `,fr=_.div`
330
+ `,fr=D.div`
331
331
  display: flex;
332
332
  flex: 1;
333
333
  align-items: center;
334
334
  gap: 0.5rem;
335
- `,pr=_(fr)`
335
+ `,pr=D(fr)`
336
336
  justify-content: flex-start;
337
- `,hr=_(fr)`
337
+ `,hr=D(fr)`
338
338
  justify-content: flex-end;
339
- `;function $s(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z"})})}function Hs(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z"})})}function mr(){const e=m(d=>d.containerRef),t=m(d=>d.exitFullscreen),n=m(d=>d.isFullscreen),r=m(d=>d.requestFullscreen),s=m(d=>d.setIsFullscreen),c=m(d=>d.setIsFullscreenReady),l=m(d=>d.techRef),u=p.useCallback(d=>{d.stopPropagation(),s(fs())},[s]),i=()=>{n?t():r()};return p.useEffect(()=>{const d=Wn?l.current:e.current;if(d)return ms(d,u)},[e,u,l]),p.useEffect(()=>{c(!0)},[c]),a.jsx(he,{onClick:i,children:n?a.jsx(Hs,{}):a.jsx($s,{})})}const zs=5*1e3;function gr({children:e}){const t=p.useRef(null),[n,r]=p.useState(!1),s=p.useRef(null),l=m(d=>d.idleLocks).size,u=p.useCallback(()=>{s.current!==null&&(window.clearTimeout(s.current),s.current=null)},[]),i=p.useCallback(()=>{u(),s.current=window.setTimeout(()=>r(!0),zs)},[u]);return p.useEffect(()=>(r(!1),i(),()=>{u()}),[u,i]),p.useEffect(()=>{const d=t.current;if(!d)return;const h=b=>{n&&(b.stopPropagation(),r(!1),i())},y=()=>{n&&r(!1),i()};return d.addEventListener("click",h),d.addEventListener("mousemove",y),()=>{d.removeEventListener("click",h),d.removeEventListener("mousemove",y)}},[t,n,r,i]),a.jsx(Bs,{ref:t,$isIdle:n&&!l,children:e})}const Bs=_.div`
339
+ `;function Hs(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z"})})}function $s(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z"})})}function mr(){const e=g(d=>d.containerRef),t=g(d=>d.exitFullscreen),n=g(d=>d.isFullscreen),r=g(d=>d.requestFullscreen),s=g(d=>d.setIsFullscreen),a=g(d=>d.setIsFullscreenReady),l=g(d=>d.techRef),c=p.useCallback(d=>{d.stopPropagation(),s(fs())},[s]),u=()=>{n?t():r()};return p.useEffect(()=>{const d=Wn?l.current:e.current;if(d)return ms(d,c)},[e,c,l]),p.useEffect(()=>{a(!0)},[a]),i.jsx(me,{onClick:u,children:n?i.jsx($s,{}):i.jsx(Hs,{})})}const zs=5*1e3;function gr({children:e}){const t=p.useRef(null),[n,r]=p.useState(!1),s=p.useRef(null),l=g(d=>d.idleLocks).size,c=p.useCallback(()=>{s.current!==null&&(window.clearTimeout(s.current),s.current=null)},[]),u=p.useCallback(()=>{c(),s.current=window.setTimeout(()=>r(!0),zs)},[c]);return p.useEffect(()=>(r(!1),u(),()=>{c()}),[c,u]),p.useEffect(()=>{const d=t.current;if(!d)return;const h=x=>{n&&(x.stopPropagation(),r(!1),u())},m=()=>{n&&r(!1),u()};return d.addEventListener("click",h),d.addEventListener("mousemove",m),()=>{d.removeEventListener("click",h),d.removeEventListener("mousemove",m)}},[t,n,r,u]),i.jsx(Bs,{ref:t,$isIdle:n&&!l,children:e})}const Bs=D.div`
340
340
  position: absolute;
341
341
  top: 0;
342
342
  left: 0;
@@ -345,21 +345,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
345
345
  transition: opacity 0.2s ease-in-out;
346
346
  cursor: ${({$isIdle:e})=>e?"none":"auto"};
347
347
  opacity: ${({$isIdle:e})=>e?0:1};
348
- `;function Us(e){return a.jsx(qs,{...e})}const Ws=ts`
348
+ `;function Us(e){return i.jsx(qs,{...e})}const Ws=ts`
349
349
  from {
350
350
  transform: rotate(0deg);
351
351
  }
352
352
  to {
353
353
  transform: rotate(360deg);
354
354
  }
355
- `,qs=_.div`
355
+ `,qs=D.div`
356
356
  width: 1.5rem;
357
357
  height: 1.5rem;
358
358
  border: 2px solid white;
359
359
  border-bottom-color: transparent;
360
360
  border-radius: 50%;
361
361
  animation: ${Ws} 1s linear infinite;
362
- `;function Ys(e,t=500){const[n,r]=p.useState(e);return p.useEffect(()=>{const s=window.setTimeout(()=>r(e),t);return()=>{window.clearTimeout(s)}},[e,t]),n}function yr({style:e,...t}){const n=m(s=>s.isLoading);return Ys(n,100)?a.jsx(Zs,{style:e,...t,children:a.jsx(Us,{})}):null}const Zs=_.div`
362
+ `;function Ys(e,t=500){const[n,r]=p.useState(e);return p.useEffect(()=>{const s=window.setTimeout(()=>r(e),t);return()=>{window.clearTimeout(s)}},[e,t]),n}function yr({style:e,...t}){const n=g(s=>s.isLoading);return Ys(n,100)?i.jsx(Zs,{style:e,...t,children:i.jsx(Us,{})}):null}const Zs=D.div`
363
363
  pointer-events: none;
364
364
  position: absolute;
365
365
  top: 0;
@@ -371,7 +371,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
371
371
  height: 100%;
372
372
  align-items: center;
373
373
  justify-content: center;
374
- `;function Gs(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"})})}function Xs(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z"})})}const Js=Be.Root,Ks=Be.Trigger,Qs=Be.Portal,vr=p.forwardRef(({sideOffset:e=4,...t},n)=>a.jsx(ei,{ref:n,sideOffset:e,onCloseAutoFocus:r=>{r.preventDefault()},...t}));vr.displayName="PlayerDropdownMenuContent";const wr=p.forwardRef((e,t)=>a.jsx(ti,{ref:t,...e}));wr.displayName="PlayerDropdownMenuItem";const ei=_(Be.Content).withConfig({shouldForwardProp:e=>e!=="ref"})`
374
+ `;function Gs(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"})})}function Xs(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z"})})}const Js=Be.Root,Ks=Be.Trigger,Qs=Be.Portal,vr=p.forwardRef(({sideOffset:e=4,...t},n)=>i.jsx(ei,{ref:n,sideOffset:e,onCloseAutoFocus:r=>{r.preventDefault()},...t}));vr.displayName="PlayerDropdownMenuContent";const wr=p.forwardRef((e,t)=>i.jsx(ti,{ref:t,...e}));wr.displayName="PlayerDropdownMenuItem";const ei=D(Be.Content).withConfig({shouldForwardProp:e=>e!=="ref"})`
375
375
  padding: 0.25rem;
376
376
  min-width: 8rem;
377
377
  max-height: 8rem;
@@ -446,7 +446,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
446
446
  transform: translateX(0);
447
447
  }
448
448
  }
449
- `,ti=_(Be.Item)`
449
+ `,ti=D(Be.Item)`
450
450
  position: relative;
451
451
  display: flex;
452
452
  align-items: center;
@@ -483,11 +483,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
483
483
  color: rgba(255, 255, 255, 0.5);
484
484
  pointer-events: none;
485
485
  }
486
- `,br="settings";function xr(){const[e,t]=p.useState(!1),n=m(i=>i.containerRef),r=m(i=>i.addIdleLock),s=m(i=>i.removeIdleLock),c=m(i=>i.levels),l=m(i=>i.setLevel),u=p.useCallback(i=>{t(i),i?r(br):s(br)},[r,s]);return a.jsxs(Js,{open:e,onOpenChange:u,children:[a.jsx(Ks,{asChild:!0,children:a.jsx(he,{children:a.jsx(Xs,{})})}),a.jsx(Qs,{container:n.current,children:a.jsx(vr,{side:"top",align:"end",children:c?.map(i=>a.jsxs(wr,{onClick:()=>l(i.value),children:[i.label,i.selected&&a.jsx(Gs,{})]},i.sid))})})]})}function ni(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z"})})}function ri(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z"})})}function oi(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z"})})}const Sr="volume";function Cr(){m(u=>u.containerRef);const e=m(u=>u.setVolume),t=m(u=>u.volume),n=m(u=>u.addIdleLock),r=m(u=>u.removeIdleLock),s=u=>{e(u[0]),n(Sr)},c=()=>{r(Sr)},l=()=>e(t?0:100);return a.jsxs(si,{children:[a.jsx(he,{onClick:l,className:"shrink-0",children:t?t>50?a.jsx(ni,{}):a.jsx(ri,{}):a.jsx(oi,{})}),a.jsx(kr,{children:a.jsx(bt,{value:[t],onValueChange:s,onValueCommit:c})})]})}const kr=_.div`
486
+ `,br="settings";function xr(){const[e,t]=p.useState(!1),n=g(u=>u.containerRef),r=g(u=>u.addIdleLock),s=g(u=>u.removeIdleLock),a=g(u=>u.levels),l=g(u=>u.setLevel),c=p.useCallback(u=>{t(u),u?r(br):s(br)},[r,s]);return i.jsxs(Js,{open:e,onOpenChange:c,children:[i.jsx(Ks,{asChild:!0,children:i.jsx(me,{children:i.jsx(Xs,{})})}),i.jsx(Qs,{container:n.current,children:i.jsx(vr,{side:"top",align:"end",children:a?.map(u=>i.jsxs(wr,{onClick:()=>l(u.value),children:[u.label,u.selected&&i.jsx(Gs,{})]},u.sid))})})]})}function ni(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z"})})}function ri(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z"})})}function oi(){return i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z"})})}const Sr="volume";function Cr(){g(c=>c.containerRef);const e=g(c=>c.setVolume),t=g(c=>c.volume),n=g(c=>c.addIdleLock),r=g(c=>c.removeIdleLock),s=c=>{e(c[0]),n(Sr)},a=()=>{r(Sr)},l=()=>e(t?0:100);return i.jsxs(si,{children:[i.jsx(me,{onClick:l,className:"shrink-0",children:t?t>50?i.jsx(ni,{}):i.jsx(ri,{}):i.jsx(oi,{})}),i.jsx(kr,{children:i.jsx(bt,{value:[t],onValueChange:s,onValueCommit:a})})]})}const kr=D.div`
487
487
  width: 0;
488
488
  opacity: 0;
489
489
  transition: all 0.2s ease-in-out;
490
- `,si=_.div`
490
+ `,si=D.div`
491
491
  display: flex;
492
492
  align-items: center;
493
493
  gap: 0.25rem;
@@ -504,5 +504,5 @@ See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);function ns({children
504
504
  }
505
505
  }
506
506
  }
507
- `;function ii({url:e,startDate:t,endDate:n,messages:r}){return a.jsx(Ds,{startDate:new Date(t),endDate:new Date(n),children:a.jsx(ai,{url:e,messages:r})})}function ai({url:e,messages:t}){const n=m(r=>r.containerRef);return a.jsx(cr,{ref:n,children:a.jsxs(ns,{eventFinishedMessage:t?.eventFinished,eventNotStartedMessage:t?.eventNotStarted,eventStartingSoonMessage:t?.eventStartingSoon,children:[a.jsx(Ns,{url:e}),a.jsx(yr,{}),a.jsxs(gr,{children:[a.jsx(Es,{}),a.jsx(lr,{children:a.jsxs(ur,{children:[a.jsx(Is,{}),a.jsxs(dr,{children:[a.jsxs(pr,{children:[a.jsx(Cs,{}),a.jsx(Ms,{}),a.jsx(Cr,{}),a.jsx(Os,{})]}),a.jsxs(hr,{children:[a.jsx(cs,{message:t?.live}),a.jsx(xr,{}),a.jsx(mr,{})]})]})]})})]})]})})}function ci(){const e=m(s=>s.isPlaying),t=m(s=>s.pause),n=m(s=>s.play),r=()=>{e?t():n()};return a.jsx(he,{onClick:r,children:e?a.jsx(Bn,{}):a.jsx(Un,{})})}function li(){const e=m(s=>s.isPlaying),t=m(s=>s.pause),n=m(s=>s.play),r=()=>{e?t():n()};return a.jsx(Yn,{onClick:r})}const Er="vod-player-progress-bar";function ui(){const e=p.useRef(null),t=p.useRef(null),[n,r]=p.useState(!1),[s,c]=p.useState(-1),[l,u]=p.useState(-1),i=m(g=>g.currentTime),d=m(g=>g.duration),h=m(g=>g.seek),y=m(g=>g.addIdleLock),b=m(g=>g.removeIdleLock),w=parseFloat((d?(l!==-1?l:i)/d*100:0).toFixed(1)),P=g=>{u(d*(g[0]/100)),y(Er)},T=()=>{l!==-1&&(h(l),u(-1),b(Er))},N=()=>r(!0),R=()=>r(!1),x=p.useCallback(g=>{const I=e.current,O=t.current;if(I&&O){const k=xt(I),S=xt(O),W=(g.pageX||g.clientX)-k.left,X=W/k.width;if(X<0)return;let D=W-S.width/2;D<0&&(D=0),D>k.width-S.width&&(D=-1),O.style.left=D>-1?`${D}px`:"auto",O.style.right=D>-1?"auto":"0px",c(X*d)}N()},[d]);return a.jsxs(Zn,{children:[a.jsx(bt,{ref:e,value:[w],onPointerLeave:R,onPointerDown:R,onPointerMove:x,onValueChange:P,onValueCommit:T,step:.1}),a.jsx(Gn,{ref:t,$isVisible:n,children:a.jsx(Xn,{children:Me(s)})})]})}function di(){const e=m(n=>n.currentTime),t=m(n=>n.duration);return a.jsxs(nr,{children:[a.jsx(or,{children:Me(e)}),a.jsx(ir,{}),a.jsx(sr,{children:Me(t)})]})}const fi=60,pi=95;function hi({storageKey:e}){const t=m(h=>h.currentTime),n=m(h=>h.duration),r=m(h=>h.isPlaying),s=m(h=>h.setStartTime),c=p.useRef(!1),l=p.useCallback(()=>{window.localStorage.setItem(e,JSON.stringify({currentTime:t,duration:n}))},[t,n,e]),u=p.useCallback(()=>{const h=window.localStorage.getItem(e);if(h){const y=JSON.parse(h);return{startTime:y.currentTime,progress:y.currentTime/y.duration*100}}return{startTime:null,progress:null}},[e]),i=p.useCallback(()=>{t<fi||l()},[t,l]),d=p.useCallback(()=>{if(c.current)return;const{progress:h,startTime:y}=u();y&&h&&h<pi&&(s(y),c.current=!0)},[u,s]);return et(()=>i(),r?1e3:null),p.useEffect(()=>{d()},[d]),null}function mi({url:e,watchHistory:t}){return a.jsxs(tr,{children:[a.jsx(gi,{url:e}),t?.enabled&&a.jsx(hi,{storageKey:t.storageKey})]})}function gi({url:e}){const t=m(n=>n.containerRef);return a.jsxs(cr,{ref:t,children:[a.jsx(ar,{url:e,isLive:!1}),a.jsx(yr,{}),a.jsxs(gr,{children:[a.jsx(li,{}),a.jsx(lr,{children:a.jsxs(ur,{children:[a.jsx(ui,{}),a.jsxs(dr,{children:[a.jsxs(pr,{children:[a.jsx(ci,{}),a.jsx(Cr,{}),a.jsx(di,{})]}),a.jsxs(hr,{children:[a.jsx(xr,{}),a.jsx(mr,{})]})]})]})})]})]})}Q.LivePlayer=ii,Q.VodPlayer=mi,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
507
+ `;function ii({url:e,startDate:t,endDate:n,messages:r}){return i.jsx(Ds,{startDate:new Date(t),endDate:new Date(n),children:i.jsx(ai,{url:e,messages:r})})}function ai({url:e,messages:t}){const n=g(r=>r.containerRef);return i.jsx(cr,{ref:n,children:i.jsxs(ns,{eventFinishedMessage:t?.eventFinished,eventNotStartedMessage:t?.eventNotStarted,eventStartingSoonMessage:t?.eventStartingSoon,children:[i.jsx(Ns,{url:e}),i.jsx(yr,{}),i.jsxs(gr,{children:[i.jsx(Es,{}),i.jsx(lr,{children:i.jsxs(ur,{children:[i.jsx(Is,{}),i.jsxs(dr,{children:[i.jsxs(pr,{children:[i.jsx(Cs,{}),i.jsx(Fs,{}),i.jsx(Cr,{}),i.jsx(Os,{})]}),i.jsxs(hr,{children:[i.jsx(cs,{message:t?.live}),i.jsx(xr,{}),i.jsx(mr,{})]})]})]})})]})]})})}function ci(){const e=g(s=>s.isPlaying),t=g(s=>s.pause),n=g(s=>s.play),r=()=>{e?t():n()};return i.jsx(me,{onClick:r,children:e?i.jsx(Bn,{}):i.jsx(Un,{})})}function li(){const e=g(s=>s.isPlaying),t=g(s=>s.pause),n=g(s=>s.play),r=()=>{e?t():n()};return i.jsx(Yn,{onClick:r})}const Er="vod-player-progress-bar";function ui(){const e=p.useRef(null),t=p.useRef(null),[n,r]=p.useState(!1),[s,a]=p.useState(-1),[l,c]=p.useState(-1),u=g(b=>b.currentTime),d=g(b=>b.duration),h=g(b=>b.seek),m=g(b=>b.addIdleLock),x=g(b=>b.removeIdleLock),S=parseFloat((d?(l!==-1?l:u)/d*100:0).toFixed(1)),j=b=>{c(d*(b[0]/100)),m(Er)},_=()=>{l!==-1&&(h(l),c(-1),x(Er))},T=()=>r(!0),R=()=>r(!1),w=p.useCallback(b=>{const v=e.current,O=t.current;if(v&&O){const E=xt(v),C=xt(O),W=(b.pageX||b.clientX)-E.left,X=W/E.width;if(X<0)return;let A=W-C.width/2;A<0&&(A=0),A>E.width-C.width&&(A=-1),O.style.left=A>-1?`${A}px`:"auto",O.style.right=A>-1?"auto":"0px",a(X*d)}T()},[d]);return i.jsxs(Zn,{children:[i.jsx(bt,{ref:e,value:[S],onPointerLeave:R,onPointerDown:R,onPointerMove:w,onValueChange:j,onValueCommit:_,step:.1}),i.jsx(Gn,{ref:t,$isVisible:n,children:i.jsx(Xn,{children:Fe(s)})})]})}function di(){const e=g(n=>n.currentTime),t=g(n=>n.duration);return i.jsxs(nr,{children:[i.jsx(or,{children:Fe(e)}),i.jsx(ir,{}),i.jsx(sr,{children:Fe(t)})]})}const fi=60,pi=95;function hi({storageKey:e}){const t=g(h=>h.currentTime),n=g(h=>h.duration),r=g(h=>h.isPlaying),s=g(h=>h.setStartTime),a=p.useRef(!1),l=p.useCallback(()=>{window.localStorage.setItem(e,JSON.stringify({currentTime:t,duration:n}))},[t,n,e]),c=p.useCallback(()=>{const h=window.localStorage.getItem(e);if(h){const m=JSON.parse(h);return{startTime:m.currentTime,progress:m.currentTime/m.duration*100}}return{startTime:null,progress:null}},[e]),u=p.useCallback(()=>{t<fi||l()},[t,l]),d=p.useCallback(()=>{if(a.current)return;const{progress:h,startTime:m}=c();m&&h&&h<pi&&(s(m),a.current=!0)},[c,s]);return et(()=>u(),r?1e3:null),p.useEffect(()=>{d()},[d]),null}function mi({url:e,watchHistory:t}){return i.jsxs(tr,{children:[i.jsx(gi,{url:e}),t?.enabled&&i.jsx(hi,{storageKey:t.storageKey})]})}function gi({url:e}){const t=g(n=>n.containerRef);return i.jsxs(cr,{ref:t,children:[i.jsx(ar,{url:e,isLive:!1}),i.jsx(yr,{}),i.jsxs(gr,{children:[i.jsx(li,{}),i.jsx(lr,{children:i.jsxs(ur,{children:[i.jsx(ui,{}),i.jsxs(dr,{children:[i.jsxs(pr,{children:[i.jsx(ci,{}),i.jsx(Cr,{}),i.jsx(di,{})]}),i.jsxs(hr,{children:[i.jsx(xr,{}),i.jsx(mr,{})]})]})]})})]})]})}Q.LivePlayer=ii,Q.VodPlayer=mi,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
508
508
  //# sourceMappingURL=react-video-player.umd.js.map