UNPKG

@rs1/media-player

Version:

A smart media player for React, for audio and video content, by RS1

1 lines 201 kB
import e,{createContext as t,forwardRef as n,createElement as r,Component as i,Fragment as o,useReducer as a,useState as c,useEffect as s,useLayoutEffect as u,useRef as l,useCallback as f,useContext as d}from"react";import{motion as p,AnimatePresence as h}from"framer-motion";var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var v=function(e){return e&&e.Math==Math&&e},y=v("object"==typeof globalThis&&globalThis)||v("object"==typeof window&&window)||v("object"==typeof self&&self)||v("object"==typeof m&&m)||function(){return this}()||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},w=!b((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),x={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,S={f:k&&!x.call({1:2},1)?function(e){var t=k(this,e);return!!t&&t.enumerable}:x},O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,A=function(e){return E.call(e).slice(8,-1)},T="".split,C=b((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==A(e)?T.call(e,""):Object(e)}:Object,j=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},M=function(e){return C(j(e))},P=function(e){return"object"==typeof e?null!==e:"function"==typeof e},z=function(e,t){if(!P(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!P(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!P(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!P(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},_={}.hasOwnProperty,L=function(e,t){return _.call(e,t)},I=y.document,R=P(I)&&P(I.createElement),N=function(e){return R?I.createElement(e):{}},F=!w&&!b((function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a})),D=Object.getOwnPropertyDescriptor,B={f:w?D:function(e,t){if(e=M(e),t=z(t,!0),F)try{return D(e,t)}catch(e){}if(L(e,t))return O(!S.f.call(e,t),e[t])}},V=function(e){if(!P(e))throw TypeError(String(e)+" is not an object");return e},U=Object.defineProperty,W={f:w?U:function(e,t,n){if(V(e),t=z(t,!0),V(n),F)try{return U(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},q=w?function(e,t,n){return W.f(e,t,O(1,n))}:function(e,t,n){return e[t]=n,e},H=function(e,t){try{q(y,e,t)}catch(n){y[e]=t}return t},$=y["__core-js_shared__"]||H("__core-js_shared__",{}),G=Function.toString;"function"!=typeof $.inspectSource&&($.inspectSource=function(e){return G.call(e)});var X,Y,Z,K=$.inspectSource,J=y.WeakMap,Q="function"==typeof J&&/native code/.test(K(J)),ee=g((function(e){(e.exports=function(e,t){return $[e]||($[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),te=0,ne=Math.random(),re=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++te+ne).toString(36)},ie=ee("keys"),oe=function(e){return ie[e]||(ie[e]=re(e))},ae={},ce=y.WeakMap;if(Q){var se=$.state||($.state=new ce),ue=se.get,le=se.has,fe=se.set;X=function(e,t){return t.facade=e,fe.call(se,e,t),t},Y=function(e){return ue.call(se,e)||{}},Z=function(e){return le.call(se,e)}}else{var de=oe("state");ae[de]=!0,X=function(e,t){return t.facade=e,q(e,de,t),t},Y=function(e){return L(e,de)?e[de]:{}},Z=function(e){return L(e,de)}}var pe,he,me={set:X,get:Y,has:Z,enforce:function(e){return Z(e)?Y(e):X(e,{})},getterFor:function(e){return function(t){var n;if(!P(t)||(n=Y(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ge=g((function(e){var t=me.get,n=me.enforce,r=String(String).split("String");(e.exports=function(e,t,i,o){var a,c=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof t||L(i,"name")||q(i,"name",t),(a=n(i)).source||(a.source=r.join("string"==typeof t?t:""))),e!==y?(c?!u&&e[t]&&(s=!0):delete e[t],s?e[t]=i:q(e,t,i)):s?e[t]=i:H(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||K(this)}))})),ve=y,ye=function(e){return"function"==typeof e?e:void 0},be=function(e,t){return arguments.length<2?ye(ve[e])||ye(y[e]):ve[e]&&ve[e][t]||y[e]&&y[e][t]},we=Math.ceil,xe=Math.floor,ke=function(e){return isNaN(e=+e)?0:(e>0?xe:we)(e)},Se=Math.min,Oe=function(e){return e>0?Se(ke(e),9007199254740991):0},Ee=Math.max,Ae=Math.min,Te=function(e,t){var n=ke(e);return n<0?Ee(n+t,0):Ae(n,t)},Ce=function(e){return function(t,n,r){var i,o=M(t),a=Oe(o.length),c=Te(r,a);if(e&&n!=n){for(;a>c;)if((i=o[c++])!=i)return!0}else for(;a>c;c++)if((e||c in o)&&o[c]===n)return e||c||0;return!e&&-1}},je={includes:Ce(!0),indexOf:Ce(!1)},Me=je.indexOf,Pe=function(e,t){var n,r=M(e),i=0,o=[];for(n in r)!L(ae,n)&&L(r,n)&&o.push(n);for(;t.length>i;)L(r,n=t[i++])&&(~Me(o,n)||o.push(n));return o},ze=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_e=ze.concat("length","prototype"),Le={f:Object.getOwnPropertyNames||function(e){return Pe(e,_e)}},Ie={f:Object.getOwnPropertySymbols},Re=be("Reflect","ownKeys")||function(e){var t=Le.f(V(e)),n=Ie.f;return n?t.concat(n(e)):t},Ne=function(e,t){for(var n=Re(t),r=W.f,i=B.f,o=0;o<n.length;o++){var a=n[o];L(e,a)||r(e,a,i(t,a))}},Fe=/#|\.prototype\./,De=function(e,t){var n=Ve[Be(e)];return n==We||n!=Ue&&("function"==typeof t?b(t):!!t)},Be=De.normalize=function(e){return String(e).replace(Fe,".").toLowerCase()},Ve=De.data={},Ue=De.NATIVE="N",We=De.POLYFILL="P",qe=De,He=B.f,$e=function(e,t){var n,r,i,o,a,c=e.target,s=e.global,u=e.stat;if(n=s?y:u?y[c]||H(c,{}):(y[c]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=He(n,r))&&a.value:n[r],!qe(s?r:c+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Ne(o,i)}(e.sham||i&&i.sham)&&q(o,"sham",!0),ge(n,r,o,e)}},Ge=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Xe=function(e){return Object(j(e))},Ye=function(e){return function(t,n,r,i){Ge(n);var o=Xe(t),a=C(o),c=Oe(o.length),s=e?c-1:0,u=e?-1:1;if(r<2)for(;;){if(s in a){i=a[s],s+=u;break}if(s+=u,e?s<0:c<=s)throw TypeError("Reduce of empty array with no initial value")}for(;e?s>=0:c>s;s+=u)s in a&&(i=n(i,a[s],s,o));return i}},Ze={left:Ye(!1),right:Ye(!0)},Ke=function(e,t){var n=[][e];return!!n&&b((function(){n.call(null,t||function(){throw 1},1)}))},Je=Object.defineProperty,Qe={},et=function(e){throw e},tt=function(e,t){if(L(Qe,e))return Qe[e];t||(t={});var n=[][e],r=!!L(t,"ACCESSORS")&&t.ACCESSORS,i=L(t,0)?t[0]:et,o=L(t,1)?t[1]:void 0;return Qe[e]=!!n&&!b((function(){if(r&&!w)return!0;var e={length:-1};r?Je(e,1,{enumerable:!0,get:et}):e[1]=1,n.call(e,i,o)}))},nt=be("navigator","userAgent")||"",rt=y.process,it=rt&&rt.versions,ot=it&&it.v8;ot?he=(pe=ot.split("."))[0]+pe[1]:nt&&(!(pe=nt.match(/Edge\/(\d+)/))||pe[1]>=74)&&(pe=nt.match(/Chrome\/(\d+)/))&&(he=pe[1]);var at=he&&+he,ct="process"==A(y.process),st=Ze.left,ut=Ke("reduce"),lt=tt("reduce",{1:0});$e({target:"Array",proto:!0,forced:!ut||!lt||!ct&&at>79&&at<83},{reduce:function(e){return st(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var ft=function(){var e=V(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function dt(e,t){return RegExp(e,t)}var pt,ht,mt={UNSUPPORTED_Y:b((function(){var e=dt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:b((function(){var e=dt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},gt=RegExp.prototype.exec,vt=String.prototype.replace,yt=gt,bt=(pt=/a/,ht=/b*/g,gt.call(pt,"a"),gt.call(ht,"a"),0!==pt.lastIndex||0!==ht.lastIndex),wt=mt.UNSUPPORTED_Y||mt.BROKEN_CARET,xt=void 0!==/()??/.exec("")[1];(bt||xt||wt)&&(yt=function(e){var t,n,r,i,o=this,a=wt&&o.sticky,c=ft.call(o),s=o.source,u=0,l=e;return a&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(s="(?: "+s+")",l=" "+l,u++),n=new RegExp("^(?:"+s+")",c)),xt&&(n=new RegExp("^"+s+"$(?!\\s)",c)),bt&&(t=o.lastIndex),r=gt.call(a?n:o,l),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:bt&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),xt&&r&&r.length>1&&vt.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var kt=yt;$e({target:"RegExp",proto:!0,forced:/./.exec!==kt},{exec:kt});var St=!!Object.getOwnPropertySymbols&&!b((function(){return!String(Symbol())})),Ot=St&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Et=ee("wks"),At=y.Symbol,Tt=Ot?At:At&&At.withoutSetter||re,Ct=function(e){return L(Et,e)||(St&&L(At,e)?Et[e]=At[e]:Et[e]=Tt("Symbol."+e)),Et[e]},jt=Ct("species"),Mt=!b((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Pt="$0"==="a".replace(/./,"$0"),zt=Ct("replace"),_t=!!/./[zt]&&""===/./[zt]("a","$0"),Lt=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),It=function(e){return function(t,n){var r,i,o=String(j(t)),a=ke(n),c=o.length;return a<0||a>=c?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===c||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},Rt={codeAt:It(!1),charAt:It(!0)}.charAt,Nt=function(e,t,n){return t+(n?Rt(e,t).length:1)},Ft=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==A(e))throw TypeError("RegExp#exec called on incompatible receiver");return kt.call(e,t)};function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(){return(Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(n),!0).forEach((function(t){Vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ht(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||Xt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e){return function(e){if(Array.isArray(e))return Yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Xt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xt(e,t){if(e){if("string"==typeof e)return Yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yt(e,t):void 0}}function Yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zt(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Xt(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}!function(e,t,n,r){var i=Ct(e),o=!b((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!b((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[jt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!Mt||!Pt||_t)||"split"===e&&!Lt){var c=/./[i],s=n(i,""[e],(function(e,t,n,r,i){return t.exec===kt?o&&!i?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Pt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_t}),u=s[0],l=s[1];ge(String.prototype,e,u),ge(RegExp.prototype,i,2==t?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}r&&q(RegExp.prototype[i],"sham",!0)}("match",1,(function(e,t,n){return[function(t){var n=j(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=V(e),o=String(this);if(!i.global)return Ft(i,o);var a=i.unicode;i.lastIndex=0;for(var c,s=[],u=0;null!==(c=Ft(i,o));){var l=String(c[0]);s[u]=l,""===l&&(i.lastIndex=Nt(o,Oe(i.lastIndex),a)),u++}return 0===u?null:s}]}));var Kt=function(e){var t,n,r,i;return null!==(t=null==e||null===(n=e.match)||void 0===n||null===(r=n.call(e,/<path( .*)?\/>/g))||void 0===r||null===(i=r.reduce)||void 0===i?void 0:i.call(r,(function(e,t){var n,r;return e+(null!==(n=(null==t||null===(r=t.match)||void 0===r?void 0:r.call(t,/ d="([^"]*)"/))[1]+" ")&&void 0!==n?n:"")}),""))&&void 0!==t?t:""},Jt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"icon",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[512,512],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"fas",i=$t(n,2),o=i[0],a=void 0===o?512:o,c=i[1],s=void 0===c?a:c;return{prefix:r,iconName:e,icon:[a,s,[],"f0000",Kt(t)]}},Qt=Array.isArray||function(e){return"Array"==A(e)},en=function(e,t,n){var r=z(t);r in e?W.f(e,r,O(0,n)):e[r]=n},tn=Ct("species"),nn=function(e,t){var n;return Qt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Qt(n.prototype)?P(n)&&null===(n=n[tn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},rn=Ct("species"),on=function(e){return at>=51||!b((function(){var t=[];return(t.constructor={})[rn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},an=Ct("isConcatSpreadable"),cn=at>=51||!b((function(){var e=[];return e[an]=!1,e.concat()[0]!==e})),sn=on("concat"),un=function(e){if(!P(e))return!1;var t=e[an];return void 0!==t?!!t:Qt(e)};$e({target:"Array",proto:!0,forced:!cn||!sn},{concat:function(e){var t,n,r,i,o,a=Xe(this),c=nn(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(un(o=-1===t?a:arguments[t])){if(s+(i=Oe(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,s++)n in o&&en(c,s,o[n])}else{if(s>=9007199254740991)throw TypeError("Maximum allowed index exceeded");en(c,s++,o)}return c.length=s,c}});var ln,fn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return V(n),function(e){if(!P(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),dn=function(e,t,n){var r,i;return fn&&"function"==typeof(r=t.constructor)&&r!==n&&P(i=r.prototype)&&i!==n.prototype&&fn(e,i),e},pn=Object.keys||function(e){return Pe(e,ze)},hn=w?Object.defineProperties:function(e,t){V(e);for(var n,r=pn(t),i=r.length,o=0;i>o;)W.f(e,n=r[o++],t[n]);return e},mn=be("document","documentElement"),gn=oe("IE_PROTO"),vn=function(){},yn=function(e){return"<script>"+e+"<\/script>"},bn=function(){try{ln=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;bn=ln?function(e){e.write(yn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(ln):((t=N("iframe")).style.display="none",mn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(yn("document.F=Object")),e.close(),e.F);for(var n=ze.length;n--;)delete bn.prototype[ze[n]];return bn()};ae[gn]=!0;var wn=Object.create||function(e,t){var n;return null!==e?(vn.prototype=V(e),n=new vn,vn.prototype=null,n[gn]=e):n=bn(),void 0===t?n:hn(n,t)},xn="[\t\n\v\f\r                 \u2028\u2029\ufeff]",kn=RegExp("^"+xn+xn+"*"),Sn=RegExp(xn+xn+"*$"),On=function(e){return function(t){var n=String(j(t));return 1&e&&(n=n.replace(kn,"")),2&e&&(n=n.replace(Sn,"")),n}},En={start:On(1),end:On(2),trim:On(3)},An=Le.f,Tn=B.f,Cn=W.f,jn=En.trim,Mn=y.Number,Pn=Mn.prototype,zn="Number"==A(wn(Pn)),_n=function(e){var t,n,r,i,o,a,c,s,u=z(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=jn(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,c=0;c<a;c++)if((s=o.charCodeAt(c))<48||s>i)return NaN;return parseInt(o,r)}return+u};if(qe("Number",!Mn(" 0o1")||!Mn("0b1")||Mn("+0x1"))){for(var Ln,In=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof In&&(zn?b((function(){Pn.valueOf.call(n)})):"Number"!=A(n))?dn(new Mn(_n(t)),n,In):_n(t)},Rn=w?An(Mn):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Nn=0;Rn.length>Nn;Nn++)L(Mn,Ln=Rn[Nn])&&!L(In,Ln)&&Cn(In,Ln,Tn(Mn,Ln));In.prototype=Pn,Pn.constructor=In,ge(y,"Number",In)}$e({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var Fn=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e};function Dn(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Bn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,Vn=Dn((function(e){return Bn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Un=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(e){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();function Wn(e){function t(e,r,s,u,d){for(var p,h,m,g,w,k=0,S=0,O=0,E=0,A=0,z=0,L=m=p=0,R=0,N=0,F=0,D=0,B=s.length,V=B-1,U="",W="",q="",H="";R<B;){if(h=s.charCodeAt(R),R===V&&0!==S+E+O+k&&(0!==S&&(h=47===S?10:47),E=O=k=0,B++,V++),0===S+E+O+k){if(R===V&&(0<N&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=s.charAt(R)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,D=++R;R<B;){switch(h=s.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt(R+1)){case 42:case 47:e:{for(L=R+1;L<V;++L)switch(s.charCodeAt(L)){case 47:if(42===h&&42===s.charCodeAt(L-1)&&R+2!==L){R=L+1;break e}break;case 10:if(47===h){R=L+1;break e}}R=L}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<V&&s.charCodeAt(R)!==h;);}if(0===m)break;R++}switch(m=s.substring(D,R),0===p&&(p=(U=U.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<N&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:N=r;break;default:N=P}if(D=(m=t(r,N,m,h,d+1)).length,0<_&&(w=c(3,m,N=n(P,U,F),r,C,T,D,h,d,u),U=N.join(""),void 0!==w&&0===(D=(m=w.trim()).length)&&(h=0,m="")),0<D)switch(h){case 115:U=U.replace(x,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===M||2===M&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===u&&(W+=m,m="")}else m="";break;default:m=t(r,n(r,U,F),m,u,d+1)}q+=m,m=F=N=L=p=0,U="",h=s.charCodeAt(++R);break;case 125:case 59:if(1<(D=(U=(0<N?U.replace(f,""):U).trim()).length))switch(0===L&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(D=(U=U.replace(" ",":")).length),0<_&&void 0!==(w=c(1,U,r,e,C,T,W.length,u,d,u))&&0===(D=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=U+s.charAt(R);break}default:58!==U.charCodeAt(D-1)&&(W+=i(U,p,h,U.charCodeAt(2)))}F=N=L=p=0,U="",h=s.charCodeAt(++R)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==u&&0<U.length&&(N=1,U+="\0"),0<_*I&&c(0,U,r,e,C,T,W.length,u,d,u),T=1,C++;break;case 59:case 125:if(0===S+E+O+k){T++;break}default:switch(T++,g=s.charAt(R),h){case 9:case 32:if(0===E+k+S)switch(A){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===E+S+k&&(N=F=1,g="\f"+g);break;case 108:if(0===E+S+k+j&&0<L)switch(R-L){case 2:112===A&&58===s.charCodeAt(R-3)&&(j=A);case 8:111===z&&(j=z)}break;case 58:0===E+S+k&&(L=R);break;case 44:0===S+O+E+k&&(N=1,g+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+O&&k++;break;case 93:0===E+S+O&&k--;break;case 41:0===E+S+k&&O--;break;case 40:if(0===E+S+k){if(0===p)switch(2*A+3*z){case 533:break;default:p=1}O++}break;case 64:0===S+O+E+k+L+m&&(m=1);break;case 42:case 47:if(!(0<E+k+O))switch(S){case 0:switch(2*h+3*s.charCodeAt(R+1)){case 235:S=47;break;case 220:D=R,S=42}break;case 42:47===h&&42===A&&D+2!==R&&(33===s.charCodeAt(D+2)&&(W+=s.substring(D,R+1)),g="",S=0)}}0===S&&(U+=g)}z=A,A=h,R++}if(0<(D=W.length)){if(N=r,0<_&&(void 0!==(w=c(2,W,N,e,C,T,D,u,d,u))&&0===(W=w).length))return H+W+q;if(W=N.join(",")+"{"+W+"}",0!=M*j){switch(2!==M||o(W,2)||(j=0),j){case 111:W=W.replace(b,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}j=0}}return H+W+q}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var c=0;for(e=0===a?"":e[0]+" ";c<o;++c)t[c]=r(e,t[c],n).trim();break;default:var s=c=0;for(t=[];c<o;++c)for(var u=0;u<a;++u)t[s++]=r(e[u]+" ",i[c],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",c=2*t+3*n+4*r;if(944===c){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===M||2===M&&o(s,1)?"-webkit-"+s+s:s}if(0===M||2===M&&!o(a,1))return a;switch(c){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(A,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(w,"tb");break;case 232:s=a.replace(w,"tb-rl");break;case 220:s=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,c=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?r:r.replace(O,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function c(e,t,n,r,i,o,a,c,s,l){for(var f,d=0,p=t;d<_;++d)switch(f=z[d].call(u,e,p,n,r,i,o,a,c,s,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?M=1:(M=2,L=e):M=0),s}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<_){var i=c(-1,n,r,r,C,T,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(P,r,n,0,0);return 0<_&&(void 0!==(i=c(-2,o,r,r,C,T,o.length,0,0,0))&&(o=i)),"",j=0,T=C=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,S=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,T=1,C=1,j=0,M=1,P=[],z=[],_=0,L=null,I=0;return u.use=function e(t){switch(t){case void 0:case null:_=z.length=0;break;default:if("function"==typeof t)z[_++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else I=0|!!t}return e},u.set=s,void 0!==e&&s(e),u}var qn=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function Hn(e){e&&$n.current.insert(e+"}")}var $n={current:null},Gn=function(e,t,n,r,i,o,a,c,s,u){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return $n.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+"/*|*/";break;case 3:switch(c){case 102:case 112:return $n.current.insert(n[0]+t),"";default:return t+(0===u?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(Hn)}},Xn=function(e,t){if(1===e&&108===t.charCodeAt(0)&&98===t.charCodeAt(2))return""},Yn="undefined"!=typeof document,Zn={},Kn=Yn?void 0:qn((function(){var e=qn((function(){return{}})),t={},n={};return function(r){return void 0===r||!0===r?t:!1===r?n:e(r)}})),Jn=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new Wn(t);var i,o,a={};if(Yn){i=e.container||document.head;var c=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(c,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==i&&i.appendChild(e)}))}if(Yn)r.use(e.stylisPlugins)(Gn),o=function(e,t,n,i){var o=t.name;$n.current=n,r(e,t.styles),i&&(u.inserted[o]=!0)};else{r.use(Xn);var s=Zn;(e.stylisPlugins||void 0!==e.prefix)&&(r.use(e.stylisPlugins),s=Kn(e.stylisPlugins||Zn)(e.prefix));o=function(e,t,n,i){var o=t.name,a=function(e,t){var n=t.name;return void 0===s[n]&&(s[n]=r(e,t.styles)),s[n]}(e,t);return void 0===u.compat?(i&&(u.inserted[o]=!0),a):i?void(u.inserted[o]=a):a}}var u={key:n,sheet:new Un({key:n,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:o};return u},Qn="undefined"!=typeof document;function er(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var tr=function(e,t,n){var r=e.key+"-"+t.name;if((!1===n||!1===Qn&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert("."+r,o,e.sheet,!0);Qn||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Qn&&0!==i.length)return i}};var nr={animationIterationCount: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},rr=/[A-Z]|^ms/g,ir=/_EMO_([^_]+?)_([^]*?)_EMO_/g,or=function(e){return 45===e.charCodeAt(1)},ar=function(e){return null!=e&&"boolean"!=typeof e},cr=Dn((function(e){return or(e)?e:e.replace(rr,"-$&").toLowerCase()})),sr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ir,(function(e,t,n){return lr={name:t,styles:n,next:lr},t}))}return 1===nr[e]||or(e)||"number"!=typeof t||0===t?t:t+"px"};function ur(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return lr={name:n.name,styles:n.styles,next:lr},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)lr={name:i.name,styles:i.styles,next:lr},i=i.next;var o=n.styles+";";return o}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ur(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":ar(a)&&(r+=cr(o)+":"+sr(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=ur(e,t,a,!1);switch(o){case"animation":case"animationName":r+=cr(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}else for(var s=0;s<a.length;s++)ar(a[s])&&(r+=cr(o)+":"+sr(o,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=lr,c=n(e);return lr=a,ur(e,t,c,r)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var lr,fr=/label:\s*([^\s;\n{]+)\s*;/g;var dr=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";lr=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ur(n,t,o,!1)):i+=o[0];for(var a=1;a<e.length;a++)i+=ur(n,t,e[a],46===i.charCodeAt(i.length-1)),r&&(i+=o[a]);fr.lastIndex=0;for(var c,s="";null!==(c=fr.exec(i));)s+="-"+c[1];var u=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+s;return{name:u,styles:i,next:lr}},pr="undefined"!=typeof document,hr=(Object.prototype.hasOwnProperty,t("undefined"!=typeof HTMLElement?Jn():null)),mr=t({}),gr=(hr.Provider,function(e){return n((function(t,n){return r(hr.Consumer,null,(function(r){return e(t,r,n)}))}))});if(!pr){var vr=function(e){var t,n;function i(t,n,r){var i;return(i=e.call(this,t,n,r)||this).state={value:Jn()},i}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){return r(hr.Provider,this.state,this.props.children(this.state.value))},i}(i);gr=function(e){return function(t){return r(hr.Consumer,null,(function(n){return null===n?r(vr,null,(function(n){return e(t,n)})):e(t,n)}))}}}function yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return dr(t)}var br=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var c in a="",o)o[c]&&c&&(a&&(a+=" "),a+=c);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function wr(e,t,n){var r=[],i=er(e,r,n);return r.length<2?n:i+t(r)}gr((function(e,t){return r(mr.Consumer,null,(function(n){var i,a="",c="",s=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=dr(n,t.registered);if(pr)tr(t,i,!1);else{var o=tr(t,i,!1);void 0!==o&&(a+=o)}return pr||(c+=" "+i.name),t.key+"-"+i.name},u={css:s,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return wr(t.registered,s,br(n))},theme:n},l=e.children(u);return!0,pr||0===a.length?l:r(o,null,r("style",((i={})["data-emotion-"+t.key]=c.substring(1),i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i)),l)}))}));var xr=Vn,kr=function(e){return"theme"!==e&&"innerRef"!==e},Sr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?xr:kr};function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(n,!0).forEach((function(t){Fn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ar="undefined"!=typeof document,Tr=function e(t,n){var i,a,c;void 0!==n&&(i=n.label,c=n.target,a=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var s=t.__emotion_real===t,u=s&&t.__emotion_base||t;"function"!=typeof a&&s&&(a=t.__emotion_forwardProp);var l=a||Sr(u),f=!l("as");return function(){var d=arguments,p=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&p.push("label:"+i+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{0,p.push(d[0][0]);for(var h=d.length,m=1;m<h;m++)p.push(d[m],d[0][m])}var g=gr((function(e,t,n){return r(mr.Consumer,null,(function(i){var s=f&&e.as||u,d="",h=[],m=e;if(null==e.theme){for(var g in m={},e)m[g]=e[g];m.theme=i}"string"==typeof e.className?d=er(t.registered,h,e.className):null!=e.className&&(d=e.className+" ");var v=dr(p.concat(h),t.registered,m),y=tr(t,v,"string"==typeof s);d+=t.key+"-"+v.name,void 0!==c&&(d+=" "+c);var b=f&&void 0===a?Sr(s):l,w={};for(var x in e)f&&"as"===x||b(x)&&(w[x]=e[x]);w.className=d,w.ref=n||e.innerRef;var k=r(s,w);if(!Ar&&void 0!==y){for(var S,O=v.name,E=v.next;void 0!==E;)O+=" "+E.name,E=E.next;return r(o,null,r("style",((S={})["data-emotion-"+t.key]=O,S.dangerouslySetInnerHTML={__html:y},S.nonce=t.sheet.nonce,S)),k)}return k}))}));return g.displayName=void 0!==i?i:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=u,g.__emotion_styles=p,g.__emotion_forwardProp=a,Object.defineProperty(g,"toString",{value:function(){return"."+c}}),g.withComponent=function(t,r){return e(t,void 0!==r?Er({},n||{},{},r):n).apply(void 0,p)},g}};function Cr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){jr(e,t,n[t])}))}return e}function Pr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zr=function(){},_r={},Lr={},Ir={mark:zr,measure:zr};try{"undefined"!=typeof window&&(_r=window),"undefined"!=typeof document&&(Lr=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Ir=performance)}catch(Mi){}var Rr=(_r.navigator||{}).userAgent,Nr=void 0===Rr?"":Rr,Fr=_r,Dr=Lr,Br=Ir,Vr=(Fr.document,!!Dr.documentElement&&!!Dr.head&&"function"==typeof Dr.addEventListener&&"function"==typeof Dr.createElement),Ur=(~Nr.indexOf("MSIE")||Nr.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),"group"),Wr="primary",qr="secondary",Hr=Fr.FontAwesomeConfig||{};if(Dr&&"function"==typeof Dr.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Pr(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Dr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Hr[r]=i)}))}var $r=Mr({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Hr);$r.autoReplaceSvg||($r.observeMutations=!1);var Gr=Mr({},$r);Fr.FontAwesomeConfig=Gr;var Xr=Fr||{};Xr.___FONT_AWESOME___||(Xr.___FONT_AWESOME___={}),Xr.___FONT_AWESOME___.styles||(Xr.___FONT_AWESOME___.styles={}),Xr.___FONT_AWESOME___.hooks||(Xr.___FONT_AWESOME___.hooks={}),Xr.___FONT_AWESOME___.shims||(Xr.___FONT_AWESOME___.shims=[]);var Yr=Xr.___FONT_AWESOME___,Zr=[];Vr&&((Dr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Dr.readyState)||Dr.addEventListener("DOMContentLoaded",(function e(){Dr.removeEventListener("DOMContentLoaded",e),1,Zr.map((function(e){return e()}))})));"undefined"!=typeof global&&void 0!==global.process&&global.process.emit,"undefined"==typeof setImmediate?setTimeout:setImmediate;var Kr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Jr(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Qr(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ei(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function ti(e){return e.size!==Kr.size||e.x!==Kr.x||e.y!==Kr.y||e.rotate!==Kr.rotate||e.flipX||e.flipY}function ni(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var ri={x:0,y:0,width:"100%",height:"100%"};function ii(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function oi(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,c=e.symbol,s=e.title,u=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,p=void 0!==d&&d,h=r.found?r:n,m=h.width,g=h.height,v="fak"===i,y=v?"":"fa-w-".concat(Math.ceil(m/g*16)),b=[Gr.replacementClass,o?"".concat(Gr.familyPrefix,"-").concat(o):"",y].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),w={children:[],attributes:Mr({},f.attributes,{"data-prefix":i,"data-icon":o,class:b,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},x=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(w.attributes["data-fa-i2svg"]=""),s&&w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||Jr())},children:[s]});var k=Mr({},w,{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:a,symbol:c,styles:Mr({},x,f.styles)}),S=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,c=e.transform,s=i.width,u=i.icon,l=o.width,f=o.icon,d=ni({transform:c,containerWidth:l,iconWidth:s}),p={tag:"rect",attributes:Mr({},ri,{fill:"white"})},h=u.children?{children:u.children.map(ii)}:{},m={tag:"g",attributes:Mr({},d.inner),children:[ii(Mr({tag:u.tag,attributes:Mr({},u.attributes,d.path)},h))]},g={tag:"g",attributes:Mr({},d.outer),children:[m]},v="mask-".concat(a||Jr()),y="clip-".concat(a||Jr()),b={tag:"mask",attributes:Mr({},ri,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},b]};return n.push(w,{tag:"rect",attributes:Mr({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(v,")")},ri)}),{children:n,attributes:r}}(k):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=ei(e.styles);if(o.length>0&&(n.style=o),ti(i)){var a=ni({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:Mr({},a.outer),children:[{tag:"g",attributes:Mr({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Mr({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(k),O=S.children,E=S.attributes;return k.children=O,k.attributes=E,c?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Mr({},i,{id:!0===o?"".concat(t,"-").concat(Gr.familyPrefix,"-").concat(n):o}),children:r}]}]}(k):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(ti(a)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};i.style=ei(Mr({},o,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(k)}var ai=function(){},ci=(Gr.measurePerformance&&Br&&Br.mark&&Br.measure,function(e,t,n,r){var i,o,a,c=Object.keys(e),s=c.length,u=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[c[0]]