(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{99972:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h10v-2H4v-6h18V6c0-1.11-.89-2-2-2zm0 4H4V6h16v2zm4 9v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3z"}),"AddCardOutlined");a.Z=m},63819:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownwardOutlined");a.Z=m},49484:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpwardOutlined");a.Z=m},69150:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"}),"CardGiftcard");a.Z=m},69673:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");a.Z=m},47711:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");a.Z=m},33069:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z"}),"CheckCircleRounded");a.Z=m},66460:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"}),"CloseRounded");a.Z=m},3904:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"}),"DashboardOutlined");a.Z=m},27484:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zm-2 5h-5v5h5v-5z"}),"InsertInvitationOutlined");a.Z=m},90078:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");a.Z=m},39189:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M15.55 13c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.66-.11-1.48-.87-1.48H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7l1.1-2h7.45zM6.16 6h12.15l-2.76 5H8.53L6.16 6zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"}),"ShoppingCartOutlined");a.Z=m},14261:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v15.59c0 .89 1.08 1.34 1.71.71L6 18h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6.43 9.57-1.12 2.44c-.18.39-.73.39-.91 0l-1.12-2.44-2.44-1.12c-.39-.18-.39-.73 0-.91l2.44-1.12 1.12-2.44c.18-.39.73-.39.91 0l1.12 2.44 2.44 1.12c.39.18.39.73 0 .91l-2.44 1.12z"}),"TryRounded");a.Z=m},75942:function(i,a,s){"use strict";var c=s(62882);a.Z=void 0;var d=c(s(93462)),u=s(35250),m=(0,d.default)((0,u.jsx)("path",{d:"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"}),"WarningRounded");a.Z=m},10481:function(i,a,s){"use strict";s.d(a,{Z:function(){return S}});var c=s(91264),d=s(41015),u=s(70079),m=s(69577),p=s(52252),h=s(51025),f=s(4750),v=s(8483),y=s(35250);let b=["className","component"];var k=s(54760),T=s(69742),C=s(67285);let w=(0,T.Z)(),E=function(i={}){let{themeId:a,defaultTheme:s,defaultClassName:k="MuiBox-root",generateClassName:T}=i,C=(0,p.default)("div",{shouldForwardProp:i=>"theme"!==i&&"sx"!==i&&"as"!==i})(h.Z),w=u.forwardRef(function(i,u){let p=(0,v.Z)(s),h=(0,f.Z)(i),{className:w,component:E="div"}=h,S=(0,d.Z)(h,b);return(0,y.jsx)(C,(0,c.Z)({as:E,ref:u,className:(0,m.Z)(w,T?T(k):k),theme:a&&p[a]||p},S))});return w}({themeId:C.Z,defaultTheme:w,defaultClassName:"MuiBox-root",generateClassName:k.Z.generate});var S=E},58328:function(i,a,s){"use strict";var c=s(41015),d=s(91264),u=s(70079),m=s(19841),p=s(12335),h=s(18402),f=s(22838),v=s(72425),y=s(54104),b=s(35250);let k=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],useUtilityClasses=i=>{let{absolute:a,children:s,classes:c,flexItem:d,light:u,orientation:m,textAlign:h,variant:f}=i;return(0,p.Z)({root:["root",a&&"absolute",f,u&&"light","vertical"===m&&"vertical",d&&"flexItem",s&&"withChildren",s&&"vertical"===m&&"withChildrenVertical","right"===h&&"vertical"!==m&&"textAlignRight","left"===h&&"vertical"!==m&&"textAlignLeft"],wrapper:["wrapper","vertical"===m&&"wrapperVertical"]},y.V,c)},T=(0,f.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.root,s.absolute&&a.absolute,a[s.variant],s.light&&a.light,"vertical"===s.orientation&&a.vertical,s.flexItem&&a.flexItem,s.children&&a.withChildren,s.children&&"vertical"===s.orientation&&a.withChildrenVertical,"right"===s.textAlign&&"vertical"!==s.orientation&&a.textAlignRight,"left"===s.textAlign&&"vertical"!==s.orientation&&a.textAlignLeft]}})(({theme:i,ownerState:a})=>(0,d.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(i.vars||i).palette.divider,borderBottomWidth:"thin"},a.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},a.light&&{borderColor:i.vars?`rgba(${i.vars.palette.dividerChannel} / 0.08)`:(0,h.Fq)(i.palette.divider,.08)},"inset"===a.variant&&{marginLeft:72},"middle"===a.variant&&"horizontal"===a.orientation&&{marginLeft:i.spacing(2),marginRight:i.spacing(2)},"middle"===a.variant&&"vertical"===a.orientation&&{marginTop:i.spacing(1),marginBottom:i.spacing(1)},"vertical"===a.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},a.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:i,ownerState:a})=>(0,d.Z)({},a.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(i.vars||i).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:i,ownerState:a})=>(0,d.Z)({},a.children&&"vertical"===a.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(i.vars||i).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:i})=>(0,d.Z)({},"right"===i.textAlign&&"vertical"!==i.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===i.textAlign&&"vertical"!==i.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),C=(0,f.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.wrapper,"vertical"===s.orientation&&a.wrapperVertical]}})(({theme:i,ownerState:a})=>(0,d.Z)({display:"inline-block",paddingLeft:`calc(${i.spacing(1)} * 1.2)`,paddingRight:`calc(${i.spacing(1)} * 1.2)`},"vertical"===a.orientation&&{paddingTop:`calc(${i.spacing(1)} * 1.2)`,paddingBottom:`calc(${i.spacing(1)} * 1.2)`})),w=u.forwardRef(function(i,a){let s=(0,v.Z)({props:i,name:"MuiDivider"}),{absolute:u=!1,children:p,className:h,component:f=p?"div":"hr",flexItem:y=!1,light:w=!1,orientation:E="horizontal",role:S="hr"!==f?"separator":void 0,textAlign:x="center",variant:B="fullWidth"}=s,I=(0,c.Z)(s,k),D=(0,d.Z)({},s,{absolute:u,component:f,flexItem:y,light:w,orientation:E,role:S,textAlign:x,variant:B}),A=useUtilityClasses(D);return(0,b.jsx)(T,(0,d.Z)({as:f,className:(0,m.Z)(A.root,h),role:S,ref:a,ownerState:D},I,{children:p?(0,b.jsx)(C,{className:A.wrapper,ownerState:D,children:p}):null}))});a.Z=w},48494:function(i,a,s){"use strict";s.d(a,{ZP:function(){return F},ni:function(){return getAnchor},wE:function(){return isHorizontal}});var c=s(41015),d=s(91264),u=s(70079),m=s(19841),p=s(12335),h=s(63317),f=s(3379),v=s(8678),y=s(1772),b=s(92279),k=s(96762),T=s(35363),C=s(35250);let w=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function setTranslateValue(i,a,s){let c="function"==typeof s?s():s,d=function(i,a,s){let c;let d=a.getBoundingClientRect(),u=s&&s.getBoundingClientRect(),m=(0,T.Z)(a);if(a.fakeTransform)c=a.fakeTransform;else{let i=m.getComputedStyle(a);c=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}let p=0,h=0;if(c&&"none"!==c&&"string"==typeof c){let i=c.split("(")[1].split(")")[0].split(",");p=parseInt(i[4],10),h=parseInt(i[5],10)}return"left"===i?u?`translateX(${u.right+p-d.left}px)`:`translateX(${m.innerWidth+p-d.left}px)`:"right"===i?u?`translateX(-${d.right-u.left-p}px)`:`translateX(-${d.left+d.width-p}px)`:"up"===i?u?`translateY(${u.bottom+h-d.top}px)`:`translateY(${m.innerHeight+h-d.top}px)`:u?`translateY(-${d.top-u.top+d.height-h}px)`:`translateY(-${d.top+d.height-h}px)`}(i,a,c);d&&(a.style.webkitTransform=d,a.style.transform=d)}let E=u.forwardRef(function(i,a){let s=(0,b.Z)(),m={enter:s.transitions.easing.easeOut,exit:s.transitions.easing.sharp},p={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{addEndListener:h,appear:E=!0,children:S,container:x,direction:B="down",easing:I=m,in:D,onEnter:A,onEntered:P,onEntering:L,onExit:M,onExited:R,onExiting:O,style:z,timeout:V=p,TransitionComponent:F=f.ZP}=i,U=(0,c.Z)(i,w),Z=u.useRef(null),N=(0,y.Z)(S.ref,Z,a),normalizedTransitionCallback=i=>a=>{i&&(void 0===a?i(Z.current):i(Z.current,a))},j=normalizedTransitionCallback((i,a)=>{setTranslateValue(B,i,x),(0,k.n)(i),A&&A(i,a)}),H=normalizedTransitionCallback((i,a)=>{let c=(0,k.C)({timeout:V,style:z,easing:I},{mode:"enter"});i.style.webkitTransition=s.transitions.create("-webkit-transform",(0,d.Z)({},c)),i.style.transition=s.transitions.create("transform",(0,d.Z)({},c)),i.style.webkitTransform="none",i.style.transform="none",L&&L(i,a)}),W=normalizedTransitionCallback(P),q=normalizedTransitionCallback(O),$=normalizedTransitionCallback(i=>{let a=(0,k.C)({timeout:V,style:z,easing:I},{mode:"exit"});i.style.webkitTransition=s.transitions.create("-webkit-transform",a),i.style.transition=s.transitions.create("transform",a),setTranslateValue(B,i,x),M&&M(i)}),G=normalizedTransitionCallback(i=>{i.style.webkitTransition="",i.style.transition="",R&&R(i)}),Y=u.useCallback(()=>{Z.current&&setTranslateValue(B,Z.current,x)},[B,x]);return u.useEffect(()=>{if(D||"down"===B||"right"===B)return;let i=(0,v.Z)(()=>{Z.current&&setTranslateValue(B,Z.current,x)}),a=(0,T.Z)(Z.current);return a.addEventListener("resize",i),()=>{i.clear(),a.removeEventListener("resize",i)}},[B,D,x]),u.useEffect(()=>{D||Y()},[D,Y]),(0,C.jsx)(F,(0,d.Z)({nodeRef:Z,onEnter:j,onEntered:W,onEntering:H,onExit:$,onExited:G,onExiting:q,addEndListener:i=>{h&&h(Z.current,i)},appear:E,in:D,timeout:V},U,{children:(i,a)=>u.cloneElement(S,(0,d.Z)({ref:N,style:(0,d.Z)({visibility:"exited"!==i||D?void 0:"hidden"},z,S.props.style)},a))}))});var S=s(28321),x=s(11693),B=s(72425),I=s(22838),D=s(34289),A=s(39559);function getDrawerUtilityClass(i){return(0,A.Z)("MuiDrawer",i)}(0,D.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);let P=["BackdropProps"],L=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],overridesResolver=(i,a)=>{let{ownerState:s}=i;return[a.root,("permanent"===s.variant||"persistent"===s.variant)&&a.docked,a.modal]},useUtilityClasses=i=>{let{classes:a,anchor:s,variant:c}=i,d={root:["root"],docked:[("permanent"===c||"persistent"===c)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,x.Z)(s)}`,"temporary"!==c&&`paperAnchorDocked${(0,x.Z)(s)}`]};return(0,p.Z)(d,getDrawerUtilityClass,a)},M=(0,I.ZP)(h.Z,{name:"MuiDrawer",slot:"Root",overridesResolver})(({theme:i})=>({zIndex:(i.vars||i).zIndex.drawer})),R=(0,I.ZP)("div",{shouldForwardProp:I.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver})({flex:"0 0 auto"}),O=(0,I.ZP)(S.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.paper,a[`paperAnchor${(0,x.Z)(s.anchor)}`],"temporary"!==s.variant&&a[`paperAnchorDocked${(0,x.Z)(s.anchor)}`]]}})(({theme:i,ownerState:a})=>(0,d.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(i.vars||i).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===a.anchor&&{left:0},"top"===a.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===a.anchor&&{right:0},"bottom"===a.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===a.anchor&&"temporary"!==a.variant&&{borderRight:`1px solid ${(i.vars||i).palette.divider}`},"top"===a.anchor&&"temporary"!==a.variant&&{borderBottom:`1px solid ${(i.vars||i).palette.divider}`},"right"===a.anchor&&"temporary"!==a.variant&&{borderLeft:`1px solid ${(i.vars||i).palette.divider}`},"bottom"===a.anchor&&"temporary"!==a.variant&&{borderTop:`1px solid ${(i.vars||i).palette.divider}`})),z={left:"right",right:"left",top:"down",bottom:"up"};function isHorizontal(i){return -1!==["left","right"].indexOf(i)}function getAnchor(i,a){return"rtl"===i.direction&&isHorizontal(a)?z[a]:a}let V=u.forwardRef(function(i,a){let s=(0,B.Z)({props:i,name:"MuiDrawer"}),p=(0,b.Z)(),h={enter:p.transitions.duration.enteringScreen,exit:p.transitions.duration.leavingScreen},{anchor:f="left",BackdropProps:v,children:y,className:k,elevation:T=16,hideBackdrop:w=!1,ModalProps:{BackdropProps:S}={},onClose:x,open:I=!1,PaperProps:D={},SlideProps:A,TransitionComponent:V=E,transitionDuration:F=h,variant:U="temporary"}=s,Z=(0,c.Z)(s.ModalProps,P),N=(0,c.Z)(s,L),j=u.useRef(!1);u.useEffect(()=>{j.current=!0},[]);let H=getAnchor(p,f),W=(0,d.Z)({},s,{anchor:f,elevation:T,open:I,variant:U},N),q=useUtilityClasses(W),$=(0,C.jsx)(O,(0,d.Z)({elevation:"temporary"===U?T:0,square:!0},D,{className:(0,m.Z)(q.paper,D.className),ownerState:W,children:y}));if("permanent"===U)return(0,C.jsx)(R,(0,d.Z)({className:(0,m.Z)(q.root,q.docked,k),ownerState:W,ref:a},N,{children:$}));let G=(0,C.jsx)(V,(0,d.Z)({in:I,direction:z[H],timeout:F,appear:j.current},A,{children:$}));return"persistent"===U?(0,C.jsx)(R,(0,d.Z)({className:(0,m.Z)(q.root,q.docked,k),ownerState:W,ref:a},N,{children:G})):(0,C.jsx)(M,(0,d.Z)({BackdropProps:(0,d.Z)({},v,S,{transitionDuration:F}),className:(0,m.Z)(q.root,q.modal,k),open:I,ownerState:W,onClose:x,hideBackdrop:w,ref:a},N,Z,{children:G}))});var F=V},72023:function(i,a,s){"use strict";s.d(a,{Z:function(){return U}});var c=s(41015),d=s(91264),u=s(70079),m=s(19841),p=s(12335),h=s(74612),f=s(18402),v=s(11693),y=s(92279),b=s(22838),k=s(72425),T=s(34289),C=s(39559);function getLinearProgressUtilityClass(i){return(0,C.Z)("MuiLinearProgress",i)}(0,T.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var w=s(35250);let E=["className","color","value","valueBuffer","variant"],_=i=>i,S,x,B,I,D,A,P=(0,h.F4)(S||(S=_`
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
`)),L=(0,h.F4)(x||(x=_`
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
`)),M=(0,h.F4)(B||(B=_`
  0% {
    opacity: 1;
    background-position: 0 -23px;
  }

  60% {
    opacity: 0;
    background-position: 0 -23px;
  }

  100% {
    opacity: 1;
    background-position: -200px -23px;
  }
`)),useUtilityClasses=i=>{let{classes:a,variant:s,color:c}=i,d={root:["root",`color${(0,v.Z)(c)}`,s],dashed:["dashed",`dashedColor${(0,v.Z)(c)}`],bar1:["bar",`barColor${(0,v.Z)(c)}`,("indeterminate"===s||"query"===s)&&"bar1Indeterminate","determinate"===s&&"bar1Determinate","buffer"===s&&"bar1Buffer"],bar2:["bar","buffer"!==s&&`barColor${(0,v.Z)(c)}`,"buffer"===s&&`color${(0,v.Z)(c)}`,("indeterminate"===s||"query"===s)&&"bar2Indeterminate","buffer"===s&&"bar2Buffer"]};return(0,p.Z)(d,getLinearProgressUtilityClass,a)},getColorShade=(i,a)=>"inherit"===a?"currentColor":i.vars?i.vars.palette.LinearProgress[`${a}Bg`]:"light"===i.palette.mode?(0,f.$n)(i.palette[a].main,.62):(0,f._j)(i.palette[a].main,.5),R=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.root,a[`color${(0,v.Z)(s.color)}`],a[s.variant]]}})(({ownerState:i,theme:a})=>(0,d.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:getColorShade(a,i.color)},"inherit"===i.color&&"buffer"!==i.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===i.variant&&{backgroundColor:"transparent"},"query"===i.variant&&{transform:"rotate(180deg)"})),O=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.dashed,a[`dashedColor${(0,v.Z)(s.color)}`]]}})(({ownerState:i,theme:a})=>{let s=getColorShade(a,i.color);return(0,d.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===i.color&&{opacity:.3},{backgroundImage:`radial-gradient(${s} 0%, ${s} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,h.iv)(I||(I=_`
    animation: ${0} 3s infinite linear;
  `),M)),z=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.bar,a[`barColor${(0,v.Z)(s.color)}`],("indeterminate"===s.variant||"query"===s.variant)&&a.bar1Indeterminate,"determinate"===s.variant&&a.bar1Determinate,"buffer"===s.variant&&a.bar1Buffer]}})(({ownerState:i,theme:a})=>(0,d.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===i.color?"currentColor":(a.vars||a).palette[i.color].main},"determinate"===i.variant&&{transition:"transform .4s linear"},"buffer"===i.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:i})=>("indeterminate"===i.variant||"query"===i.variant)&&(0,h.iv)(D||(D=_`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    `),P)),V=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(i,a)=>{let{ownerState:s}=i;return[a.bar,a[`barColor${(0,v.Z)(s.color)}`],("indeterminate"===s.variant||"query"===s.variant)&&a.bar2Indeterminate,"buffer"===s.variant&&a.bar2Buffer]}})(({ownerState:i,theme:a})=>(0,d.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==i.variant&&{backgroundColor:"inherit"===i.color?"currentColor":(a.vars||a).palette[i.color].main},"inherit"===i.color&&{opacity:.3},"buffer"===i.variant&&{backgroundColor:getColorShade(a,i.color),transition:"transform .4s linear"}),({ownerState:i})=>("indeterminate"===i.variant||"query"===i.variant)&&(0,h.iv)(A||(A=_`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
    `),L)),F=u.forwardRef(function(i,a){let s=(0,k.Z)({props:i,name:"MuiLinearProgress"}),{className:u,color:p="primary",value:h,valueBuffer:f,variant:v="indeterminate"}=s,b=(0,c.Z)(s,E),T=(0,d.Z)({},s,{color:p,variant:v}),C=useUtilityClasses(T),S=(0,y.Z)(),x={},B={bar1:{},bar2:{}};if(("determinate"===v||"buffer"===v)&&void 0!==h){x["aria-valuenow"]=Math.round(h),x["aria-valuemin"]=0,x["aria-valuemax"]=100;let i=h-100;"rtl"===S.direction&&(i=-i),B.bar1.transform=`translateX(${i}%)`}if("buffer"===v&&void 0!==f){let i=(f||0)-100;"rtl"===S.direction&&(i=-i),B.bar2.transform=`translateX(${i}%)`}return(0,w.jsxs)(R,(0,d.Z)({className:(0,m.Z)(C.root,u),ownerState:T,role:"progressbar"},x,{ref:a},b,{children:["buffer"===v?(0,w.jsx)(O,{className:C.dashed,ownerState:T}):null,(0,w.jsx)(z,{className:C.bar1,ownerState:T,style:B.bar1}),"determinate"===v?null:(0,w.jsx)(V,{className:C.bar2,ownerState:T,style:B.bar2})]}))});var U=F},21623:function(i,a,s){"use strict";s(70079);var c=s(13503),d=s(35250);a.Z=(0,c.Z)((0,d.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},64622:function(i,a,s){"use strict";s(70079);var c=s(13503),d=s(35250);a.Z=(0,c.Z)((0,d.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},82486:function(i,a,s){"use strict";s.d(a,{SV:function(){return ErrorBoundary}});var c=s(46587),d=s(64266),u=s(66852),m=s(85039),p=s(37694),h=s(63899);s(26095);var f=s(70079);let v={componentStack:null,error:null,eventId:null};let ErrorBoundary=class ErrorBoundary extends f.Component{constructor(i){super(i),ErrorBoundary.prototype.__init.call(this),this.state=v,this._openFallbackReportDialog=!0;let a=(0,c.Gd)().getClient();a&&a.on&&i.showDialog&&(this._openFallbackReportDialog=!1,a.on("afterSendEvent",a=>{a.type||a.event_id!==this._lastEventId||(0,d.jp)({...i.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(i,{componentStack:a}){let{beforeCapture:s,onError:c,showDialog:h,dialogOptions:v}=this.props;(0,u.$e)(y=>{if(function(i){let a=i.match(/^([^.]+)/);return null!==a&&parseInt(a[0])>=17}(f.version)&&(0,m.VZ)(i)){let s=Error(i.message);s.name=`React ErrorBoundary ${i.name}`,s.stack=a,function(i,a){let s=new WeakMap;!function recurse(i,a){if(!s.has(i)){if(i.cause)return s.set(i,!0),recurse(i.cause,a);i.cause=a}}(i,a)}(i,s)}s&&s(y,i,a),y.addEventProcessor(i=>((0,p.EG)(i,{handled:!1}),i));let b=(0,u.Tb)(i,{contexts:{react:{componentStack:a}}});c&&c(i,a,b),h&&(this._lastEventId=b,this._openFallbackReportDialog&&(0,d.jp)({...v,eventId:b})),this.setState({error:i,componentStack:a,eventId:b})})}componentDidMount(){let{onMount:i}=this.props;i&&i()}componentWillUnmount(){let{error:i,componentStack:a,eventId:s}=this.state,{onUnmount:c}=this.props;c&&c(i,a,s)}__init(){this.resetErrorBoundary=()=>{let{onReset:i}=this.props,{error:a,componentStack:s,eventId:c}=this.state;i&&i(a,s,c),this.setState(v)}}render(){let{fallback:i,children:a}=this.props,s=this.state;if(s.error){let a;return(a="function"==typeof i?i({error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):i,f.isValidElement(a))?a:(i&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof a?a():a}}},98145:function(i,a,s){"use strict";s.d(a,{Z:function(){return addDays}});var c=s(23671),d=s(39795),u=s(12498);function addDays(i,a){(0,u.Z)(2,arguments);var s=(0,d.Z)(i),m=(0,c.Z)(a);return isNaN(m)?new Date(NaN):(m&&s.setDate(s.getDate()+m),s)}},68415:function(i,a,s){"use strict";s.d(a,{Z:function(){return endOfDay}});var c=s(39795),d=s(12498);function endOfDay(i){(0,d.Z)(1,arguments);var a=(0,c.Z)(i);return a.setHours(23,59,59,999),a}},5389:function(i,a,s){"use strict";s.d(a,{Z:function(){return isSameDay}});var c=s(9634),d=s(12498);function isSameDay(i,a){(0,d.Z)(2,arguments);var s=(0,c.Z)(i),u=(0,c.Z)(a);return s.getTime()===u.getTime()}},66791:function(i,a,s){"use strict";s.d(a,{Z:function(){return isWithinInterval}});var c=s(39795),d=s(12498);function isWithinInterval(i,a){(0,d.Z)(2,arguments);var s=(0,c.Z)(i).getTime(),u=(0,c.Z)(a.start).getTime(),m=(0,c.Z)(a.end).getTime();if(!(u<=m))throw RangeError("Invalid interval");return s>=u&&s<=m}},9634:function(i,a,s){"use strict";s.d(a,{Z:function(){return startOfDay}});var c=s(39795),d=s(12498);function startOfDay(i){(0,d.Z)(1,arguments);var a=(0,c.Z)(i);return a.setHours(0,0,0,0),a}},11943:function(i,a,s){var c=s(4070);i.exports=function(i){var a={},s=new c(i);a.trackNumber=s.nextUIntV(),a.timecode=s.nextInt16BE();var d=s.nextUInt8();return a.invisible=!!(8&d),a.keyframe=!!(128&d),a.discardable=!!(1&d),a.frames=function(i,a){if(!a)return[i.nextBuffer()];var s,c,d,u=[],m=i.nextUInt8()+1;if(2===a){if(i.length%m!=0)throw Error("Fixed-Size Lacing Error");for(s=0,c=i.length/m;s<m;s++)u.push(i.nextBuffer(c));return u}var p=[];if(1===a)for(s=0;s<m-1;s++){c=0;do c+=d=i.nextUInt8();while(255===d);p.push(c)}else if(3===a)for(c=i.nextUIntV(),p.push(c),s=1;s<m-1;s++)c+=i.nextIntV(),p.push(c);for(s=0;s<m-1;s++)u.push(i.nextBuffer(p[s]));return u.push(i.nextBuffer()),u}(s,(6&d)>>1),a}},4070:function(i,a,s){var c=s(68703);function BufferReader(i){this.buffer=i,this.offset=0}BufferReader.prototype.nextInt16BE=function(){var i=this.buffer.readInt16BE(this.offset);return this.offset+=2,i},BufferReader.prototype.nextUInt8=function(){var i=this.buffer.readUInt8(this.offset);return this.offset+=1,i},BufferReader.prototype.nextUIntV=function(){var i=c(this.buffer,this.offset);return this.offset+=i.length,i.value},BufferReader.prototype.nextIntV=function(){var i=c(this.buffer,this.offset,!0);return this.offset+=i.length,i.value},BufferReader.prototype.nextBuffer=function(i){var a=i?this.buffer.slice(this.offset,this.offset+i):this.buffer.slice(this.offset);return this.offset+=i||this.length,a},Object.defineProperty(BufferReader.prototype,"length",{get:function(){return this.buffer.length-this.offset}}),i.exports=BufferReader},68703:function(i){i.exports=function(i,a,s){a=a||0;for(var c,d=1;d<=8&&!(i[a]>=Math.pow(2,8-d));d++);if(d>8)throw Error("Unrepresentable length: "+d+" "+i.toString("hex",a,a+d));if(a+d>i.length)return null;var u=i[a]&(1<<8-d)-1;for(c=1;c<d;c++){if(7===c&&u>=35184372088832&&i[a+7]>0)return{length:d,value:-1};u*=256,u+=i[a+c]}return s&&(u-=Math.pow(2,7*d-1)-1),{length:d,value:u}}},89562:function(i,a,s){var c=s(5309).Buffer;i.exports={readVint:function(i,a){a=a||0;for(var s=1;s<=8&&!(i[a]>=Math.pow(2,8-s));s++);if(s>8)throw Error("Unrepresentable length: "+s+" "+i.toString("hex",a,a+s));if(a+s>i.length)return null;for(var c=i[a]&(1<<8-s)-1,d=1;d<s;d++){if(7===d&&c>=35184372088832&&i[a+7]>0)return{length:s,value:-1};c*=256,c+=i[a+d]}return{length:s,value:c}},writeVint:function(i){if(i<0||i>9007199254740992)throw Error("Unrepresentable value: "+i);for(var a=1;a<=8&&!(i<Math.pow(2,7*a)-1);a++);for(var s=new c(a),d=1;d<=a;d++){var u=255&i;s[a-d]=u,i-=u,i/=256}return s[0]=s[0]|1<<8-a,s}}},83487:function(i){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(i){return"function"==typeof i}function isObject(i){return"object"==typeof i&&null!==i}i.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(i){if("number"!=typeof i||i<0||isNaN(i))throw TypeError("n must be a positive number");return this._maxListeners=i,this},EventEmitter.prototype.emit=function(i){if(this._events||(this._events={}),"error"===i&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(a=arguments[1],a instanceof Error)throw a;var a,s,c,d,u,m,p,h=Error('Uncaught, unspecified "error" event. ('+a+")");throw h.context=a,h}if(void 0===(s=this._events[i]))return!1;if(isFunction(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:d=Array.prototype.slice.call(arguments,1),s.apply(this,d)}else if(isObject(s))for(u=0,d=Array.prototype.slice.call(arguments,1),c=(m=s.slice()).length;u<c;u++)m[u].apply(this,d);return!0},EventEmitter.prototype.addListener=function(i,a){var s,c;if(!isFunction(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",i,isFunction(a.listener)?a.listener:a),this._events[i]?isObject(this._events[i])?this._events[i].push(a):this._events[i]=[this._events[i],a]:this._events[i]=a,isObject(this._events[i])&&!this._events[i].warned&&(s=void 0===this._maxListeners?EventEmitter.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[i].length>s&&(this._events[i].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[i].length),"function"==typeof console.trace&&console.trace()),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(i,a){if(!isFunction(a))throw TypeError("listener must be a function");var s=!1;function g(){this.removeListener(i,g),s||(s=!0,a.apply(this,arguments))}return g.listener=a,this.on(i,g),this},EventEmitter.prototype.removeListener=function(i,a){var s,c,d,u;if(!isFunction(a))throw TypeError("listener must be a function");if(!this._events||!this._events[i])return this;if(d=(s=this._events[i]).length,c=-1,s===a||isFunction(s.listener)&&s.listener===a)delete this._events[i],this._events.removeListener&&this.emit("removeListener",i,a);else if(isObject(s)){for(u=d;u-- >0;)if(s[u]===a||s[u].listener&&s[u].listener===a){c=u;break}if(c<0)return this;1===s.length?(s.length=0,delete this._events[i]):s.splice(c,1),this._events.removeListener&&this.emit("removeListener",i,a)}return this},EventEmitter.prototype.removeAllListeners=function(i){var a,s;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[i]&&delete this._events[i],this;if(0==arguments.length){for(a in this._events)"removeListener"!==a&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events={},this}if(isFunction(s=this._events[i]))this.removeListener(i,s);else if(s)for(;s.length;)this.removeListener(i,s[s.length-1]);return delete this._events[i],this},EventEmitter.prototype.listeners=function(i){return this._events&&this._events[i]?isFunction(this._events[i])?[this._events[i]]:this._events[i].slice():[]},EventEmitter.prototype.listenerCount=function(i){if(this._events){var a=this._events[i];if(isFunction(a))return 1;if(a)return a.length}return 0},EventEmitter.listenerCount=function(i,a){return i.listenerCount(a)}},25756:function(i,a,s){var c=s(5309).Buffer;!function(i){var a,s="undefined",d=s!==typeof c&&c,u=s!==typeof Uint8Array&&Uint8Array,m=s!==typeof ArrayBuffer&&ArrayBuffer,p=[0,0,0,0,0,0,0,0],h=Array.isArray||function(i){return!!i&&"[object Array]"==Object.prototype.toString.call(i)};function factory(c,h,f){var v=h?0:4,y=h?4:0,b=h?0:3,k=h?1:2,T=h?2:1,C=h?3:0,w=h?fromPositiveBE:fromPositiveLE,E=h?fromNegativeBE:fromNegativeLE,S=Int64.prototype,x="is"+c,B="_"+x;return S.buffer=void 0,S.offset=0,S[B]=!0,S.toNumber=toNumber,S.toString=function(i){var a=this.buffer,s=this.offset,c=readInt32(a,s+v),d=readInt32(a,s+y),u="",m=!f&&2147483648&c;for(m&&(c=~c,d=4294967296-d),i=i||10;;){var p=c%i*4294967296+d;if(c=Math.floor(c/i),d=Math.floor(p/i),u=(p%i).toString(i)+u,!c&&!d)break}return m&&(u="-"+u),u},S.toJSON=toNumber,S.toArray=toArray,d&&(S.toBuffer=toBuffer),u&&(S.toArrayBuffer=toArrayBuffer),Int64[x]=function(i){return!!(i&&i[B])},i[c]=Int64,Int64;function Int64(i,c,d,h){return this instanceof Int64?function(i,c,d,h,f){if(u&&m&&(c instanceof m&&(c=new u(c)),h instanceof m&&(h=new u(h))),!c&&!d&&!h&&!a){i.buffer=newArray(p,0);return}if(!isValidBuffer(c,d)){var b=a||Array;f=d,h=c,d=0,c=new b(8)}i.buffer=c,i.offset=d|=0,s!==typeof h&&("string"==typeof h?function(i,a,s,c){var d=0,u=s.length,m=0,p=0;"-"===s[0]&&d++;for(var h=d;d<u;){var f=parseInt(s[d++],c);if(!(f>=0))break;p=p*c+f,m=m*c+Math.floor(p/4294967296),p%=4294967296}h&&(m=~m,p?p=4294967296-p:m++),writeInt32(i,a+v,m),writeInt32(i,a+y,p)}(c,d,h,f||10):isValidBuffer(h,f)?fromArray(c,d,h,f):"number"==typeof f?(writeInt32(c,d+v,h),writeInt32(c,d+y,f)):h>0?w(c,d,h):h<0?E(c,d,h):fromArray(c,d,p,0))}(this,i,c,d,h):new Int64(i,c,d,h)}function toNumber(){var i=this.buffer,a=this.offset,s=readInt32(i,a+v),c=readInt32(i,a+y);return f||(s|=0),s?4294967296*s+c:c}function writeInt32(i,a,s){i[a+C]=255&s,s>>=8,i[a+T]=255&s,s>>=8,i[a+k]=255&s,s>>=8,i[a+b]=255&s}function readInt32(i,a){return 16777216*i[a+b]+(i[a+k]<<16)+(i[a+T]<<8)+i[a+C]}}function toArray(i){var s=this.buffer,c=this.offset;return(a=null,!1!==i&&0===c&&8===s.length&&h(s))?s:newArray(s,c)}function toBuffer(i){var s=this.buffer,u=this.offset;if(a=d,!1!==i&&0===u&&8===s.length&&c.isBuffer(s))return s;var m=new d(8);return fromArray(m,0,s,u),m}function toArrayBuffer(i){var s=this.buffer,c=this.offset,d=s.buffer;if(a=u,!1!==i&&0===c&&d instanceof m&&8===d.byteLength)return d;var p=new u(8);return fromArray(p,0,s,c),p.buffer}function isValidBuffer(i,a){var s=i&&i.length;return a|=0,s&&a+8<=s&&"string"!=typeof i[a]}function fromArray(i,a,s,c){a|=0,c|=0;for(var d=0;d<8;d++)i[a++]=255&s[c++]}function newArray(i,a){return Array.prototype.slice.call(i,a,a+8)}function fromPositiveBE(i,a,s){for(var c=a+8;c>a;)i[--c]=255&s,s/=256}function fromNegativeBE(i,a,s){var c=a+8;for(s++;c>a;)i[--c]=255&-s^255,s/=256}function fromPositiveLE(i,a,s){for(var c=a+8;a<c;)i[a++]=255&s,s/=256}function fromNegativeLE(i,a,s){var c=a+8;for(s++;a<c;)i[a++]=255&-s^255,s/=256}factory("Uint64BE",!0,!0),factory("Int64BE",!0,!1),factory("Uint64LE",!1,!0),factory("Int64LE",!1,!1)}("string"!=typeof a.nodeName?a:this||{})},2362:function(i){"use strict";var a={128:{name:"ChapterDisplay",level:4,type:"m",multiple:!0,webm:!0,description:"Contains all possible strings to use for the chapter display."},131:{name:"TrackType",level:3,type:"u",mandatory:!0,description:"The `TrackType` defines the type of each frame found in the Track. The value **SHOULD** be stored on 1 octet."},133:{name:"ChapString",cppname:"ChapterString",level:5,type:"8",mandatory:!0,webm:!0,description:"Contains the string to use as the chapter atom."},134:{name:"CodecID",level:3,type:"s",mandatory:!0,description:"An ID corresponding to the codec, see [@!MatroskaCodec] for more info."},136:{name:"FlagDefault",cppname:"TrackFlagDefault",level:3,type:"u",mandatory:!0,default:"1",range:"0-1",description:"Set if that track (audio, video or subs) **SHOULD** be eligible for automatic selection by the player; see (#default-track-selection) for more details."},137:{name:"ChapterTrackUID",cppname:"ChapterTrackNumber",level:5,type:"u",mandatory:!0,multiple:!0,range:"not 0",description:"UID of the Track to apply this chapter to. In the absence of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absence of this Element indicates that the Chapter **SHOULD** be applied to any currently used Tracks."},142:{name:"Slices",level:3,type:"m",maxver:0,description:"Contains slices description."},143:{name:"ChapterTrack",level:4,type:"m",description:"List of tracks on which the chapter applies. If this Element is not present, all tracks apply"},145:{name:"ChapterTimeStart",level:4,type:"u",mandatory:!0,webm:!0,description:"Timestamp of the start of Chapter, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."},146:{name:"ChapterTimeEnd",level:4,type:"u",webm:!0,description:"Timestamp of the end of Chapter timestamp excluded, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks). The value **MUST** be greater than or equal to the `ChapterTimeStart` of the same `ChapterAtom`."},150:{name:"CueRefTime",level:5,type:"u",mandatory:!0,minver:2,description:"Timestamp of the referenced Block, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."},151:{name:"CueRefCluster",level:5,type:"u",mandatory:!0,minver:0,maxver:0,description:"The Segment Position of the Cluster containing the referenced Block."},152:{name:"ChapterFlagHidden",level:4,type:"u",mandatory:!0,default:"0",range:"0-1",description:"Set to 1 if a chapter is hidden. Hidden chapters **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapterflaghidden) on Chapter flags)."},154:{name:"FlagInterlaced",cppname:"VideoFlagInterlaced",level:4,type:"u",mandatory:!0,minver:2,webm:!0,default:"0",description:"Specify whether the video frames in this track are interlaced or not."},155:{name:"BlockDuration",level:3,type:"u",description:"The duration of the Block, expressed in Track Ticks; see (#timestamp-ticks). The BlockDuration Element can be useful at the end of a Track to define the duration of the last frame (as there is no subsequent Block available), or when there is a break in a track like for subtitle tracks."},156:{name:"FlagLacing",cppname:"TrackFlagLacing",level:3,type:"u",mandatory:!0,default:"1",range:"0-1",description:"Set to 1 if the track **MAY** contain blocks using lacing. When set to 0 all blocks **MUST** have their lacing flags set to No lacing; see (#block-lacing) on Block Lacing."},157:{name:"FieldOrder",cppname:"VideoFieldOrder",level:4,type:"u",mandatory:!0,minver:4,default:"2",description:"Specify the field ordering of video frames in this track."},159:{name:"Channels",cppname:"AudioChannels",level:4,type:"u",mandatory:!0,default:"1",range:"not 0",description:"Numbers of channels in the track."},160:{name:"BlockGroup",level:2,type:"m",multiple:!0,description:"Basic container of information containing a single Block and information specific to that Block."},161:{name:"Block",level:3,type:"b",mandatory:!0,description:"Block containing the actual data to be rendered and a timestamp relative to the Cluster Timestamp; see (#block-structure) on Block Structure."},162:{name:"BlockVirtual",level:3,type:"b",minver:0,maxver:0,description:"A Block with no data. It **MUST** be stored in the stream at the place the real Block would be in display order. "},163:{name:"SimpleBlock",level:2,type:"b",multiple:!0,minver:2,webm:!0,divx:!0,description:"Similar to Block, see (#block-structure), but without all the extra information, mostly used to reduced overhead when no extra feature is needed; see (#simpleblock-structure) on SimpleBlock Structure."},164:{name:"CodecState",level:3,type:"b",minver:2,description:"The new codec state to use. Data interpretation is private to the codec. This information **SHOULD** always be referenced by a seek entry."},165:{name:"BlockAdditional",level:5,type:"b",mandatory:!0,webm:!0,description:"Interpreted by the codec as it wishes (using the BlockAddID)."},166:{name:"BlockMore",level:4,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"Contain the BlockAdditional and some parameters."},167:{name:"Position",cppname:"ClusterPosition",level:2,type:"u",description:"The Segment Position of the Cluster in the Segment (0 in live streams). It might help to resynchronise offset on damaged streams."},170:{name:"CodecDecodeAll",level:3,type:"u",mandatory:!0,maxver:0,default:"1",range:"0-1",description:"Set to 1 if the codec can decode potentially damaged data."},171:{name:"PrevSize",cppname:"ClusterPrevSize",level:2,type:"u",description:"Size of the previous Cluster, in octets. Can be useful for backward playing."},174:{name:"TrackEntry",level:2,type:"m",mandatory:!0,multiple:!0,description:"Describes a track with all Elements."},175:{name:"EncryptedBlock",level:2,type:"b",multiple:!0,minver:0,maxver:0,description:"Similar to SimpleBlock, see (#simpleblock-structure), but the data inside the Block are Transformed (encrypt and/or signed)."},176:{name:"PixelWidth",cppname:"VideoPixelWidth",level:4,type:"u",mandatory:!0,range:"not 0",description:"Width of the encoded video frames in pixels."},178:{name:"CueDuration",level:4,type:"u",minver:4,webm:!0,description:"The duration of the block, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks). If missing, the track's DefaultDuration does not apply and no duration information is available in terms of the cues."},179:{name:"CueTime",level:3,type:"u",mandatory:!0,description:"Absolute timestamp of the seek point, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."},181:{name:"SamplingFrequency",cppname:"AudioSamplingFreq",level:4,type:"f",mandatory:!0,default:"0x1.f4p+12",range:"> 0x0p+0",description:"Sampling frequency in Hz."},182:{name:"ChapterAtom",level:3,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"Contains the atom information to use as the chapter atom (apply to all tracks)."},183:{name:"CueTrackPositions",level:3,type:"m",mandatory:!0,multiple:!0,description:"Contain positions for different tracks corresponding to the timestamp."},185:{name:"FlagEnabled",cppname:"TrackFlagEnabled",level:3,type:"u",mandatory:!0,minver:2,webm:!0,default:"1",range:"0-1",description:"Set to 1 if the track is usable. It is possible to turn a not usable track into a usable track using chapter codecs or control tracks."},186:{name:"PixelHeight",cppname:"VideoPixelHeight",level:4,type:"u",mandatory:!0,range:"not 0",description:"Height of the encoded video frames in pixels."},187:{name:"CuePoint",level:2,type:"m",mandatory:!0,multiple:!0,description:"Contains all information relative to a seek point in the Segment."},191:{name:"CRC-32",level:-1,type:"b",minver:1,webm:!1,description:"The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian.",crc:!0},192:{name:"TrickTrackUID",level:3,type:"u",minver:0,maxver:0,divx:!0,description:"The TrackUID of the Smooth FF/RW video in the paired EBML structure corresponding to this video track. See [@?DivXTrickTrack]."},193:{name:"TrickTrackSegmentUID",level:3,type:"b",minver:0,maxver:0,divx:!0,description:"The SegmentUID of the Segment containing the track identified by TrickTrackUID. See [@?DivXTrickTrack]."},196:{name:"TrickMasterTrackSegmentUID",level:3,type:"b",minver:0,maxver:0,divx:!0,description:"The SegmentUID of the Segment containing the track identified by MasterTrackUID. See [@?DivXTrickTrack]."},198:{name:"TrickTrackFlag",level:3,type:"u",minver:0,maxver:0,divx:!0,default:"0",description:"Set to 1 if this video track is a Smooth FF/RW track. If set to 1, MasterTrackUID and MasterTrackSegUID should must be present and BlockGroups for this track must contain ReferenceFrame structures. Otherwise, TrickTrackUID and TrickTrackSegUID must be present if this track has a corresponding Smooth FF/RW track. See [@?DivXTrickTrack]."},199:{name:"TrickMasterTrackUID",level:3,type:"u",minver:0,maxver:0,divx:!0,description:"The TrackUID of the video track in the paired EBML structure that corresponds to this Smooth FF/RW track. See [@?DivXTrickTrack]."},200:{name:"ReferenceFrame",level:3,type:"m",minver:0,maxver:0,divx:!0,description:"Contains information about the last reference frame. See [@?DivXTrickTrack]."},201:{name:"ReferenceOffset",level:4,type:"u",mandatory:!0,minver:0,maxver:0,divx:!0,description:"The relative offset, in bytes, from the previous BlockGroup element for this Smooth FF/RW video track to the containing BlockGroup element. See [@?DivXTrickTrack]."},202:{name:"ReferenceTimestamp",cppname:"ReferenceTimeCode",level:4,type:"u",mandatory:!0,minver:0,maxver:0,divx:!0,description:"The timestamp of the BlockGroup pointed to by ReferenceOffset, expressed in Track Ticks; see (#timestamp-ticks). See [@?DivXTrickTrack]."},203:{name:"BlockAdditionID",cppname:"SliceBlockAddID",level:5,type:"u",minver:0,maxver:0,default:"0",description:"The ID of the BlockAdditional Element (0 is the main Block)."},204:{name:"LaceNumber",cppname:"SliceLaceNumber",level:5,type:"u",minver:0,maxver:0,description:"The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc). Being able to interpret this Element is not **REQUIRED** for playback."},205:{name:"FrameNumber",cppname:"SliceFrameNumber",level:5,type:"u",minver:0,maxver:0,default:"0",description:"The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame)."},206:{name:"Delay",cppname:"SliceDelay",level:5,type:"u",minver:0,maxver:0,default:"0",description:"The delay to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks)."},207:{name:"SliceDuration",level:5,type:"u",minver:0,maxver:0,default:"0",description:"The duration to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks)."},215:{name:"TrackNumber",level:3,type:"u",mandatory:!0,range:"not 0",description:"The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number)."},219:{name:"CueReference",level:4,type:"m",multiple:!0,minver:2,description:"The Clusters containing the referenced Blocks."},224:{name:"Video",cppname:"TrackVideo",level:3,type:"m",description:"Video settings."},225:{name:"Audio",cppname:"TrackAudio",level:3,type:"m",description:"Audio settings."},226:{name:"TrackOperation",level:3,type:"m",minver:3,description:"Operation that needs to be applied on tracks to create this virtual track. For more details look at (#track-operation)."},227:{name:"TrackCombinePlanes",level:4,type:"m",minver:3,description:"Contains the list of all video plane tracks that need to be combined to create this 3D track"},228:{name:"TrackPlane",level:5,type:"m",mandatory:!0,multiple:!0,minver:3,description:"Contains a video plane track that need to be combined to create this 3D track"},229:{name:"TrackPlaneUID",level:6,type:"u",mandatory:!0,minver:3,range:"not 0",description:"The trackUID number of the track representing the plane."},230:{name:"TrackPlaneType",level:6,type:"u",mandatory:!0,minver:3,description:"The kind of plane this track corresponds to."},231:{name:"Timestamp",cppname:"ClusterTimecode",level:2,type:"u",mandatory:!0,description:"Absolute timestamp of the cluster, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks)."},232:{name:"TimeSlice",level:4,type:"m",multiple:!0,minver:0,maxver:0,description:"Contains extra time information about the data contained in the Block. Being able to interpret this Element is not **REQUIRED** for playback."},233:{name:"TrackJoinBlocks",level:4,type:"m",minver:3,description:"Contains the list of all tracks whose Blocks need to be combined to create this virtual track"},234:{name:"CueCodecState",level:4,type:"u",mandatory:!0,minver:2,default:"0",description:"The Segment Position of the Codec State corresponding to this Cue Element. 0 means that the data is taken from the initial Track Entry."},235:{name:"CueRefCodecState",level:5,type:"u",minver:0,maxver:0,default:"0",description:"The Segment Position of the Codec State corresponding to this referenced Element. 0 means that the data is taken from the initial Track Entry."},236:{name:"Void",level:-1,type:"b",minver:1,description:"Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use."},237:{name:"TrackJoinUID",level:5,type:"u",mandatory:!0,multiple:!0,minver:3,range:"not 0",description:"The trackUID number of a track whose blocks are used to create this virtual track."},238:{name:"BlockAddID",level:5,type:"u",mandatory:!0,webm:!0,default:"1",range:"not 0",description:"An ID to identify the BlockAdditional level. If BlockAddIDType of the corresponding block is 0, this value is also the value of BlockAddIDType for the meaning of the content of BlockAdditional."},240:{name:"CueRelativePosition",level:4,type:"u",minver:4,webm:!0,description:"The relative position inside the Cluster of the referenced SimpleBlock or BlockGroup with 0 being the first possible position for an Element inside that Cluster."},241:{name:"CueClusterPosition",level:4,type:"u",mandatory:!0,description:"The Segment Position of the Cluster containing the associated Block."},247:{name:"CueTrack",level:4,type:"u",mandatory:!0,range:"not 0",description:"The track for which a position is given."},250:{name:"ReferencePriority",level:3,type:"u",mandatory:!0,default:"0",description:"This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced."},251:{name:"ReferenceBlock",level:3,type:"i",multiple:!0,description:"A timestamp value, relative to the timestamp of the Block in this BlockGroup, expressed in Track Ticks; see (#timestamp-ticks). This is used to reference other frames necessary to decode this frame. The relative value **SHOULD** correspond to a valid `Block` this `Block` depends on. Historically Matroska Writer didn't write the actual `Block(s)` this `Block` depends on, but *some* `Block` in the past.  The value \"0\" **MAY** also be used to signify this `Block` cannot be decoded on its own, but without knownledge of which `Block` is necessary. In this case, other `ReferenceBlock` **MUST NOT** be found in the same `BlockGroup`.  If the `BlockGroup` doesn't have any `ReferenceBlock` element, then the `Block` it contains can be decoded without using any other `Block` data."},253:{name:"ReferenceVirtual",level:3,type:"i",minver:0,maxver:0,description:"The Segment Position of the data that would otherwise be in position of the virtual block."},16804:{name:"BlockAddIDName",level:4,type:"s",minver:4,description:"A human-friendly name describing the type of BlockAdditional data, as defined by the associated Block Additional Mapping."},16868:{name:"BlockAdditionMapping",level:3,type:"m",multiple:!0,minver:4,description:"Contains elements that extend the track format, by adding content either to each frame, with BlockAddID ((#blockaddid-element)), or to the track as a whole with BlockAddIDExtraData."},16871:{name:"BlockAddIDType",level:4,type:"u",mandatory:!0,minver:4,default:"0",description:"Stores the registered identifier of the Block Additional Mapping to define how the BlockAdditional data should be handled."},16877:{name:"BlockAddIDExtraData",level:4,type:"b",minver:4,description:"Extra binary data that the BlockAddIDType can use to interpret the BlockAdditional data. The interpretation of the binary data depends on the BlockAddIDType value and the corresponding Block Additional Mapping."},16880:{name:"BlockAddIDValue",level:4,type:"u",minver:4,range:">=2",description:"If the track format extension needs content beside frames, the value refers to the BlockAddID ((#blockaddid-element)), value being described. To keep MaxBlockAdditionID as low as possible, small values **SHOULD** be used."},16980:{name:"ContentCompAlgo",level:6,type:"u",mandatory:!0,default:"0",description:"The compression algorithm used."},16981:{name:"ContentCompSettings",level:6,type:"b",description:"Settings that might be needed by the decompressor. For Header Stripping (`ContentCompAlgo`=3), the bytes that were removed from the beginning of each frames of the track."},17026:{name:"DocType",level:1,type:"s",mandatory:!0,default:"matroska",minver:1,description:"A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files."},17029:{name:"DocTypeReadVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The minimum DocType version an interpreter has to support to read this file."},17030:{name:"EBMLVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The version of EBML parser used to create the file."},17031:{name:"DocTypeVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The version of DocType interpreter used to create the file."},17138:{name:"EBMLMaxIDLength",level:1,type:"u",mandatory:!0,default:"4",range:">=4"},17139:{name:"EBMLMaxSizeLength",level:1,type:"u",mandatory:!0,default:"8",range:"not 0"},17143:{name:"EBMLReadVersion",level:1,type:"u",mandatory:!0,default:1,minver:1,description:"The minimum EBML version a parser has to support to read this file."},17276:{name:"ChapLanguage",cppname:"ChapterLanguage",level:5,type:"s",mandatory:!0,multiple:!0,webm:!0,default:"eng",description:"A language corresponding to the string, in the bibliographic ISO-639-2 form [@!ISO639-2]. This Element **MUST** be ignored if a ChapLanguageIETF Element is used within the same ChapterDisplay Element."},17277:{name:"ChapLanguageIETF",level:5,type:"s",multiple:!0,minver:4,description:"Specifies a language corresponding to the ChapString in the format defined in [@!BCP47] and using the IANA Language Subtag Registry [@!IANALangRegistry]. If a ChapLanguageIETF Element is used, then any ChapLanguage and ChapCountry Elements used in the same ChapterDisplay **MUST** be ignored."},17278:{name:"ChapCountry",cppname:"ChapterCountry",level:5,type:"s",multiple:!0,webm:!0,description:"A country corresponding to the string, using the same 2 octets country-codes as in Internet domains [@!IANADomains] based on [@!ISO3166-1] alpha-2 codes. This Element **MUST** be ignored if a ChapLanguageIETF Element is used within the same ChapterDisplay Element."},17476:{name:"SegmentFamily",level:2,type:"b",multiple:!0,description:"A randomly generated unique ID that all Segments of a Linked Segment **MUST** share (128 bits)."},17505:{name:"DateUTC",level:2,type:"d",description:"The date and time that the Segment was created by the muxing application or library."},17530:{name:"TagLanguage",cppname:"TagLangue",level:4,type:"s",mandatory:!0,webm:!0,default:"und",description:"Specifies the language of the tag specified, in the Matroska languages form; see (#language-codes) on language codes. This Element **MUST** be ignored if the TagLanguageIETF Element is used within the same SimpleTag Element."},17531:{name:"TagLanguageIETF",level:4,type:"s",minver:4,description:"Specifies the language used in the TagString according to [@!BCP47] and using the IANA Language Subtag Registry [@!IANALangRegistry]. If this Element is used, then any TagLanguage Elements used in the same SimpleTag **MUST** be ignored."},17540:{name:"TagDefault",level:4,type:"u",mandatory:!0,webm:!0,default:"1",range:"0-1",description:"A boolean value to indicate if this is the default/original language to use for the given tag."},17541:{name:"TagBinary",level:4,type:"b",webm:!0,description:"The values of the Tag, if it is binary. Note that this cannot be used in the same SimpleTag as TagString."},17543:{name:"TagString",level:4,type:"8",webm:!0,description:"The value of the Tag."},17545:{name:"Duration",level:2,type:"f",range:"> 0x0p+0",description:"Duration of the Segment, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks)."},17588:{name:"TagDefaultBogus",level:4,type:"u",mandatory:!0,minver:0,maxver:0,default:"1",range:"0-1",description:"A variant of the TagDefault element with a bogus Element ID; see (#tagdefault-element)."},17677:{name:"ChapProcessPrivate",cppname:"ChapterProcessPrivate",level:5,type:"b",description:'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the "DVD level" equivalent; see (#menu-features) on DVD menus.'},17816:{name:"ChapterFlagEnabled",level:4,type:"u",mandatory:!0,default:"1",range:"0-1",description:"Set to 1 if the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie **SHOULD** skip all the content between the TimeStart and TimeEnd of this chapter; see (#chapter-flags) on Chapter flags."},17827:{name:"TagName",level:4,type:"8",mandatory:!0,webm:!0,description:"The name of the Tag that is going to be stored."},17849:{name:"EditionEntry",level:2,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"Contains all information about a Segment edition."},17852:{name:"EditionUID",level:3,type:"u",range:"not 0",description:"A unique ID to identify the edition. It's useful for tagging an edition."},17853:{name:"EditionFlagHidden",level:3,type:"u",mandatory:!0,default:"0",range:"0-1",description:"Set to 1 if an edition is hidden. Hidden editions **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapter-flags) on Chapter flags)."},17883:{name:"EditionFlagDefault",level:3,type:"u",mandatory:!0,default:"0",range:"0-1",description:"Set to 1 if the edition **SHOULD** be used as the default one."},17885:{name:"EditionFlagOrdered",level:3,type:"u",mandatory:!0,default:"0",range:"0-1",description:"Set to 1 if the chapters can be defined multiple times and the order to play them is enforced; see (#editionflagordered)."},18012:{name:"FileData",level:3,type:"b",mandatory:!0,description:"The data of the file."},18016:{name:"FileMimeType",cppname:"MimeType",level:3,type:"s",mandatory:!0,description:"MIME type of the file."},18017:{name:"FileUsedStartTime",level:3,type:"u",minver:0,maxver:0,divx:!0,description:"The timestamp at which this optimized font attachment comes into context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]."},18018:{name:"FileUsedEndTime",level:3,type:"u",minver:0,maxver:0,divx:!0,description:"The timestamp at which this optimized font attachment goes out of context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]."},18030:{name:"FileName",level:3,type:"8",mandatory:!0,description:"Filename of the attached file."},18037:{name:"FileReferral",level:3,type:"b",minver:0,maxver:0,description:"A binary value that a track/codec can refer to when the attachment is needed."},18046:{name:"FileDescription",level:3,type:"8",description:"A human-friendly name for the attached file."},18094:{name:"FileUID",level:3,type:"u",mandatory:!0,range:"not 0",description:"Unique ID representing the file, as random as possible."},18401:{name:"ContentEncAlgo",level:6,type:"u",mandatory:!0,webm:!0,default:"0",description:'The encryption algorithm used. The value "0" means that the contents have not been encrypted.'},18402:{name:"ContentEncKeyID",level:6,type:"b",webm:!0,description:"For public key algorithms this is the ID of the public key the the data was encrypted with."},18403:{name:"ContentSignature",level:6,type:"b",maxver:0,description:"A cryptographic signature of the contents."},18404:{name:"ContentSigKeyID",level:6,type:"b",maxver:0,description:"This is the ID of the private key the data was signed with."},18405:{name:"ContentSigAlgo",level:6,type:"u",maxver:0,default:"0",description:"The algorithm used for the signature."},18406:{name:"ContentSigHashAlgo",level:6,type:"u",maxver:0,default:"0",description:"The hash algorithm used for the signature."},18407:{name:"ContentEncAESSettings",level:6,type:"m",minver:4,webm:!0,description:"Settings describing the encryption algorithm used. If `ContentEncAlgo` != 5 this **MUST** be ignored."},18408:{name:"AESSettingsCipherMode",level:7,type:"u",mandatory:!0,minver:4,webm:!0,description:"The AES cipher mode used in the encryption."},19840:{name:"MuxingApp",level:2,type:"8",mandatory:!0,description:'Muxing application or library (example: "libmatroska-0.4.3").'},19899:{name:"Seek",level:2,type:"m",mandatory:!0,multiple:!0,description:"Contains a single seek entry to an EBML Element."},20529:{name:"ContentEncodingOrder",level:5,type:"u",mandatory:!0,webm:!0,default:"0",description:"Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder Elements in the TrackEntry that contains this ContentEncodingOrder element."},20530:{name:"ContentEncodingScope",level:5,type:"u",mandatory:!0,webm:!0,default:"1",description:"A bit field that describes which Elements have been modified in this way. Values (big-endian) can be OR'ed."},20531:{name:"ContentEncodingType",level:5,type:"u",mandatory:!0,webm:!0,default:"0",description:"A value describing what kind of transformation is applied."},20532:{name:"ContentCompression",level:5,type:"m",description:"Settings describing the compression used. This Element **MUST** be present if the value of ContentEncodingType is 0 and absent otherwise. Each block **MUST** be decompressable even if no previous block is available in order not to prevent seeking."},20533:{name:"ContentEncryption",level:5,type:"m",webm:!0,description:"Settings describing the encryption used. This Element **MUST** be present if the value of `ContentEncodingType` is 1 (encryption) and **MUST** be ignored otherwise."},21343:{name:"CueRefNumber",level:5,type:"u",minver:0,maxver:0,default:"1",range:"not 0",description:"Number of the referenced Block of Track X in the specified Cluster."},21358:{name:"Name",cppname:"TrackName",level:3,type:"8",description:"A human-readable track name."},21368:{name:"CueBlockNumber",level:4,type:"u",range:"not 0",description:"Number of the Block in the specified Cluster."},21375:{name:"TrackOffset",level:3,type:"i",minver:0,maxver:0,default:"0",description:"A value to add to the Block's Timestamp, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks). This can be used to adjust the playback offset of a track."},21419:{name:"SeekID",level:3,type:"b",mandatory:!0,description:"The binary ID corresponding to the Element name."},21420:{name:"SeekPosition",level:3,type:"u",mandatory:!0,description:"The Segment Position of the Element."},21432:{name:"StereoMode",cppname:"VideoStereoMode",level:4,type:"u",mandatory:!0,minver:3,webm:!0,default:"0",description:"Stereo-3D video mode. There are some more details in (#multi-planar-and-3d-videos)."},21433:{name:"OldStereoMode",level:4,type:"u",maxver:0,description:"DEPRECATED, DO NOT USE. Bogus StereoMode value used in old versions of libmatroska."},21440:{name:"AlphaMode",cppname:"VideoAlphaMode",level:4,type:"u",mandatory:!0,minver:3,webm:!0,default:"0",description:'Indicate whether the BlockAdditional Element with BlockAddID of "1" contains Alpha data, as defined by to the Codec Mapping for the `CodecID`. Undefined values **SHOULD NOT** be used as the behavior of known implementations is different (considered either as 0 or 1).'},21674:{name:"PixelCropBottom",cppname:"VideoPixelCropBottom",level:4,type:"u",mandatory:!0,default:"0",description:"The number of video pixels to remove at the bottom of the image."},21680:{name:"DisplayWidth",cppname:"VideoDisplayWidth",level:4,type:"u",range:"not 0",description:"Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements)."},21682:{name:"DisplayUnit",cppname:"VideoDisplayUnit",level:4,type:"u",mandatory:!0,default:"0",description:"How DisplayWidth & DisplayHeight are interpreted."},21683:{name:"AspectRatioType",cppname:"VideoAspectRatio",level:4,type:"u",minver:0,maxver:0,default:"0",description:"Specify the possible modifications to the aspect ratio."},21690:{name:"DisplayHeight",cppname:"VideoDisplayHeight",level:4,type:"u",range:"not 0",description:"Height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements)."},21691:{name:"PixelCropTop",cppname:"VideoPixelCropTop",level:4,type:"u",mandatory:!0,default:"0",description:"The number of video pixels to remove at the top of the image."},21708:{name:"PixelCropLeft",cppname:"VideoPixelCropLeft",level:4,type:"u",mandatory:!0,default:"0",description:"The number of video pixels to remove on the left of the image."},21725:{name:"PixelCropRight",cppname:"VideoPixelCropRight",level:4,type:"u",mandatory:!0,default:"0",description:"The number of video pixels to remove on the right of the image."},21930:{name:"FlagForced",cppname:"TrackFlagForced",level:3,type:"u",mandatory:!0,default:"0",range:"0-1",description:"Applies only to subtitles. Set if that track **SHOULD** be eligible for automatic selection by the player if it matches the user's language preference, even if the user's preferences would normally not enable subtitles with the selected audio track; this can be used for tracks containing only translations of foreign-language audio or onscreen text. See (#default-track-selection) for more details."},21931:{name:"FlagHearingImpaired",level:3,type:"u",minver:4,range:"0-1",description:"Set to 1 if that track is suitable for users with hearing impairments, set to 0 if it is unsuitable for users with hearing impairments."},21932:{name:"FlagVisualImpaired",level:3,type:"u",minver:4,range:"0-1",description:"Set to 1 if that track is suitable for users with visual impairments, set to 0 if it is unsuitable for users with visual impairments."},21933:{name:"FlagTextDescriptions",level:3,type:"u",minver:4,range:"0-1",description:"Set to 1 if that track contains textual descriptions of video content, set to 0 if that track does not contain textual descriptions of video content."},21934:{name:"FlagOriginal",level:3,type:"u",minver:4,range:"0-1",description:"Set to 1 if that track is in the content's original language, set to 0 if it is a translation."},21935:{name:"FlagCommentary",level:3,type:"u",minver:4,range:"0-1",description:"Set to 1 if that track contains commentary, set to 0 if it does not contain commentary."},21936:{name:"Colour",cppname:"VideoColour",level:4,type:"m",minver:4,webm:!0,description:"Settings describing the colour format."},21937:{name:"MatrixCoefficients",cppname:"VideoColourMatrix",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"2",description:"The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries. For clarity, the value and meanings for MatrixCoefficients are adopted from Table 4 of ISO/IEC 23001-8:2016 or ITU-T H.273."},21938:{name:"BitsPerChannel",cppname:"VideoBitsPerChannel",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"Number of decoded bits per channel. A value of 0 indicates that the BitsPerChannel is unspecified."},21939:{name:"ChromaSubsamplingHorz",cppname:"VideoChromaSubsampHorz",level:5,type:"u",minver:4,webm:!0,description:"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingHorz **SHOULD** be set to 1."},21940:{name:"ChromaSubsamplingVert",cppname:"VideoChromaSubsampVert",level:5,type:"u",minver:4,webm:!0,description:"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed vertically. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingVert **SHOULD** be set to 1."},21941:{name:"CbSubsamplingHorz",cppname:"VideoCbSubsampHorz",level:5,type:"u",minver:4,webm:!0,description:"The amount of pixels to remove in the Cb channel for every pixel not removed horizontally. This is additive with ChromaSubsamplingHorz. Example: For video with 4:2:1 chroma subsampling, the ChromaSubsamplingHorz **SHOULD** be set to 1 and CbSubsamplingHorz **SHOULD** be set to 1."},21942:{name:"CbSubsamplingVert",cppname:"VideoCbSubsampVert",level:5,type:"u",minver:4,webm:!0,description:"The amount of pixels to remove in the Cb channel for every pixel not removed vertically. This is additive with ChromaSubsamplingVert."},21943:{name:"ChromaSitingHorz",cppname:"VideoChromaSitHorz",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"How chroma is subsampled horizontally."},21944:{name:"ChromaSitingVert",cppname:"VideoChromaSitVert",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"How chroma is subsampled vertically."},21945:{name:"Range",cppname:"VideoColourRange",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"Clipping of the color ranges."},21946:{name:"TransferCharacteristics",cppname:"VideoColourTransferCharacter",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"2",description:"The transfer characteristics of the video. For clarity, the value and meanings for TransferCharacteristics are adopted from Table 3 of ISO/IEC 23091-4 or ITU-T H.273."},21947:{name:"Primaries",cppname:"VideoColourPrimaries",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"2",description:"The colour primaries of the video. For clarity, the value and meanings for Primaries are adopted from Table 2 of ISO/IEC 23091-4 or ITU-T H.273."},21948:{name:"MaxCLL",cppname:"VideoColourMaxCLL",level:5,type:"u",minver:4,webm:!0,description:"Maximum brightness of a single pixel (Maximum Content Light Level) in candelas per square meter (cd/m^2^)."},21949:{name:"MaxFALL",cppname:"VideoColourMaxFALL",level:5,type:"u",minver:4,webm:!0,description:"Maximum brightness of a single full frame (Maximum Frame-Average Light Level) in candelas per square meter (cd/m^2^)."},21968:{name:"MasteringMetadata",cppname:"VideoColourMasterMeta",level:5,type:"m",minver:4,webm:!0,description:"SMPTE 2086 mastering data."},21969:{name:"PrimaryRChromaticityX",cppname:"VideoRChromaX",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Red X chromaticity coordinate, as defined by CIE 1931."},21970:{name:"PrimaryRChromaticityY",cppname:"VideoRChromaY",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Red Y chromaticity coordinate, as defined by CIE 1931."},21971:{name:"PrimaryGChromaticityX",cppname:"VideoGChromaX",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Green X chromaticity coordinate, as defined by CIE 1931."},21972:{name:"PrimaryGChromaticityY",cppname:"VideoGChromaY",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Green Y chromaticity coordinate, as defined by CIE 1931."},21973:{name:"PrimaryBChromaticityX",cppname:"VideoBChromaX",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Blue X chromaticity coordinate, as defined by CIE 1931."},21974:{name:"PrimaryBChromaticityY",cppname:"VideoBChromaY",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"Blue Y chromaticity coordinate, as defined by CIE 1931."},21975:{name:"WhitePointChromaticityX",cppname:"VideoWhitePointChromaX",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"White X chromaticity coordinate, as defined by CIE 1931."},21976:{name:"WhitePointChromaticityY",cppname:"VideoWhitePointChromaY",level:6,type:"f",minver:4,webm:!0,range:"0-1",description:"White Y chromaticity coordinate, as defined by CIE 1931."},21977:{name:"LuminanceMax",cppname:"VideoLuminanceMax",level:6,type:"f",minver:4,webm:!0,range:">= 0x0p+0",description:"Maximum luminance. Represented in candelas per square meter (cd/m^2^)."},21978:{name:"LuminanceMin",cppname:"VideoLuminanceMin",level:6,type:"f",minver:4,webm:!0,range:">= 0x0p+0",description:"Minimum luminance. Represented in candelas per square meter (cd/m^2^)."},21998:{name:"MaxBlockAdditionID",level:3,type:"u",mandatory:!0,default:"0",description:"The maximum value of BlockAddID ((#blockaddid-element)). A value 0 means there is no BlockAdditions ((#blockadditions-element)) for this track."},22100:{name:"ChapterStringUID",level:4,type:"8",minver:3,webm:!0,description:"A unique string ID to identify the Chapter. Use for WebVTT cue identifier storage [@!WebVTT]."},22186:{name:"CodecDelay",level:3,type:"u",mandatory:!0,minver:4,webm:!0,description:"CodecDelay is The codec-built-in delay, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks). It represents the amount of codec samples that will be discarded by the decoder during playback. This timestamp value **MUST** be subtracted from each frame timestamp in order to get the timestamp that will be actually played. The value **SHOULD** be small so the muxing of tracks with the same actual timestamp are in the same Cluster."},22203:{name:"SeekPreRoll",level:3,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"After a discontinuity, SeekPreRoll is the duration of the data the decoder **MUST** decode before the decoded data is valid, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."},22337:{name:"WritingApp",level:2,type:"8",mandatory:!0,description:'Writing application (example: "mkvmerge-0.3.3").'},22612:{name:"SilentTracks",cppname:"ClusterSilentTracks",level:2,type:"m",minver:0,maxver:0,description:"The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking or to decide what track to use."},22743:{name:"SilentTrackNumber",cppname:"ClusterSilentTrackNumber",level:3,type:"u",multiple:!0,minver:0,maxver:0,description:"One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster."},24999:{name:"AttachedFile",cppname:"Attached",level:2,type:"m",mandatory:!0,multiple:!0,description:"An attached file."},25152:{name:"ContentEncoding",level:4,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"Settings for one content encoding like compression or encryption."},25188:{name:"BitDepth",cppname:"AudioBitDepth",level:4,type:"u",range:"not 0",description:"Bits per sample, mostly used for PCM."},25506:{name:"CodecPrivate",level:3,type:"b",description:"Private data only known to the codec."},25536:{name:"Targets",cppname:"TagTargets",level:3,type:"m",mandatory:!0,webm:!0,description:"Specifies which other elements the metadata represented by the Tag applies to. If empty or not present, then the Tag describes everything in the Segment."},25539:{name:"ChapterPhysicalEquiv",level:4,type:"u",description:'Specify the physical equivalent of this ChapterAtom like "DVD" (60) or "SIDE" (50); see (#physical-types) for a complete list of values.'},25540:{name:"TagChapterUID",level:4,type:"u",multiple:!0,default:"0",description:"A unique ID to identify the Chapter(s) the tags belong to."},25541:{name:"TagTrackUID",level:4,type:"u",multiple:!0,webm:!0,default:"0",description:"A unique ID to identify the Track(s) the tags belong to."},25542:{name:"TagAttachmentUID",level:4,type:"u",multiple:!0,default:"0",description:"A unique ID to identify the Attachment(s) the tags belong to."},25545:{name:"TagEditionUID",level:4,type:"u",multiple:!0,default:"0",description:"A unique ID to identify the EditionEntry(s) the tags belong to."},25546:{name:"TargetType",cppname:"TagTargetType",level:4,type:"s",webm:!0,description:'An informational string that can be used to display the logical level of the target like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc ; see Section 6.4 of [@!MatroskaTags].'},25906:{name:"SignedElement",level:2,type:"b",multiple:!0,webm:!1,description:"An element ID whose data will be used to compute the signature."},26148:{name:"TrackTranslate",level:3,type:"m",multiple:!0,description:"The mapping between this `TrackEntry` and a track value in the given Chapter Codec."},26277:{name:"TrackTranslateTrackID",level:4,type:"b",mandatory:!0,description:"The binary value used to represent this `TrackEntry` in the chapter codec data. The format depends on the `ChapProcessCodecID` used; see (#chapprocesscodecid-element)."},26303:{name:"TrackTranslateCodec",level:4,type:"u",mandatory:!0,description:"This `TrackTranslate` applies to this chapter codec of the given chapter edition(s); see (#chapprocesscodecid-element)."},26364:{name:"TrackTranslateEditionUID",level:4,type:"u",multiple:!0,description:"Specify a chapter edition UID on which this `TrackTranslate` applies."},26568:{name:"SimpleTag",cppname:"TagSimple",level:3,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"Contains general information about the target."},26826:{name:"TargetTypeValue",cppname:"TagTargetTypeValue",level:4,type:"u",mandatory:!0,webm:!0,default:"50",description:"A number to indicate the logical level of the target."},26897:{name:"ChapProcessCommand",cppname:"ChapterProcessCommand",level:5,type:"m",multiple:!0,description:"Contains all the commands associated to the Atom."},26914:{name:"ChapProcessTime",cppname:"ChapterProcessTime",level:6,type:"u",mandatory:!0,description:"Defines when the process command **SHOULD** be handled"},26916:{name:"ChapterTranslate",level:2,type:"m",multiple:!0,description:"The mapping between this `Segment` and a segment value in the given Chapter Codec."},26931:{name:"ChapProcessData",cppname:"ChapterProcessData",level:6,type:"b",mandatory:!0,description:"Contains the command information. The data **SHOULD** be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1, the data correspond to the binary DVD cell pre/post commands; see (#menu-features) on DVD menus."},26948:{name:"ChapProcess",cppname:"ChapterProcess",level:4,type:"m",multiple:!0,description:"Contains all the commands associated to the Atom."},26965:{name:"ChapProcessCodecID",cppname:"ChapterProcessCodecID",level:5,type:"u",mandatory:!0,default:"0",description:"Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used; see (#menu-features) on DVD menus. More codec IDs can be added later."},27045:{name:"ChapterTranslateID",level:3,type:"b",mandatory:!0,description:"The binary value used to represent this Segment in the chapter codec data. The format depends on the ChapProcessCodecID used; see (#chapprocesscodecid-element)."},27071:{name:"ChapterTranslateCodec",level:3,type:"u",mandatory:!0,description:"This `ChapterTranslate` applies to this chapter codec of the given chapter edition(s); see (#chapprocesscodecid-element)."},27132:{name:"ChapterTranslateEditionUID",level:3,type:"u",multiple:!0,description:"Specify a chapter edition UID on which this `ChapterTranslate` applies."},28032:{name:"ContentEncodings",level:3,type:"m",webm:!0,description:"Settings for several content encoding mechanisms like compression or encryption."},28135:{name:"MinCache",cppname:"TrackMinCache",level:3,type:"u",mandatory:!0,default:"0",description:"The minimum number of frames a player **SHOULD** be able to cache during playback. If set to 0, the reference pseudo-cache system is not used."},28152:{name:"MaxCache",cppname:"TrackMaxCache",level:3,type:"u",description:"The maximum cache size necessary to store referenced frames in and the current frame. 0 means no cache is needed."},28263:{name:"ChapterSegmentUID",level:4,type:"b",range:">0",description:"The SegmentUID of another Segment to play during this chapter."},28348:{name:"ChapterSegmentEditionUID",level:4,type:"u",range:"not 0",description:"The EditionUID to play from the Segment linked in ChapterSegmentUID. If ChapterSegmentEditionUID is undeclared, then no Edition of the linked Segment is used; see (#medium-linking) on medium-linking Segments."},28587:{name:"TrackOverlay",level:3,type:"u",multiple:!0,description:"Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap, see (#silenttracks-element) on SilentTracks, the overlay track **SHOULD** be used instead. The order of multiple TrackOverlay matters, the first one is the one that **SHOULD** be used. If not found it **SHOULD** be the second, etc."},29555:{name:"Tag",level:2,type:"m",mandatory:!0,multiple:!0,webm:!0,description:"A single metadata descriptor."},29572:{name:"SegmentFilename",level:2,type:"8",description:"A filename corresponding to this Segment."},29604:{name:"SegmentUID",level:2,type:"b",range:"not 0",description:"A randomly generated unique ID to identify the Segment amongst many others (128 bits)."},29636:{name:"ChapterUID",level:4,type:"u",mandatory:!0,webm:!0,range:"not 0",description:"A unique ID to identify the Chapter."},29637:{name:"TrackUID",level:3,type:"u",mandatory:!0,range:"not 0",description:"A unique ID to identify the Track."},29766:{name:"AttachmentLink",cppname:"TrackAttachmentLink",level:3,type:"u",maxver:3,range:"not 0",description:"The UID of an attachment that is used by this codec."},30113:{name:"BlockAdditions",level:3,type:"m",webm:!0,description:"Contain additional blocks to complete the main one. An EBML parser that has no knowledge of the Block structure could still see and use/skip these data."},30114:{name:"DiscardPadding",level:3,type:"i",minver:4,webm:!0,description:"Duration of the silent data added to the Block, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks) (padding at the end of the Block for positive value, at the beginning of the Block for negative value). The duration of DiscardPadding is not calculated in the duration of the TrackEntry and **SHOULD** be discarded during playback."},30320:{name:"Projection",cppname:"VideoProjection",level:4,type:"m",minver:4,webm:!0,description:"Describes the video projection details. Used to render spherical, VR videos or flipping videos horizontally/vertically."},30321:{name:"ProjectionType",cppname:"VideoProjectionType",level:5,type:"u",mandatory:!0,minver:4,webm:!0,default:"0",description:"Describes the projection used for this video track."},30322:{name:"ProjectionPrivate",cppname:"VideoProjectionPrivate",level:5,type:"b",minver:4,webm:!0,description:"Private data that only applies to a specific projection.  *  If `ProjectionType` equals 0 (Rectangular), then this element must not be present. *  If `ProjectionType` equals 1 (Equirectangular), then this element must be present and contain the same binary data that would be stored inside an ISOBMFF Equirectangular Projection Box ('equi'). *  If `ProjectionType` equals 2 (Cubemap), then this element must be present and contain the same binary data that would be stored inside an ISOBMFF Cubemap Projection Box ('cbmp'). *  If `ProjectionType` equals 3 (Mesh), then this element must be present and contain the same binary data that would be stored inside an ISOBMFF Mesh Projection Box ('mshp')."},30323:{name:"ProjectionPoseYaw",cppname:"VideoProjectionPoseYaw",level:5,type:"f",mandatory:!0,minver:4,webm:!0,default:"0x0p+0",range:">= -0xB4p+0, <= 0xB4p+0",description:"Specifies a yaw rotation to the projection.  Value represents a clockwise rotation, in degrees, around the up vector. This rotation must be applied before any `ProjectionPosePitch` or `ProjectionPoseRoll` rotations. The value of this element **MUST** be in the -180 to 180 degree range, both included.  Setting `ProjectionPoseYaw` to 180 or -180 degrees, with the `ProjectionPoseRoll` and `ProjectionPosePitch` set to 0 degrees flips the image horizontally."},30324:{name:"ProjectionPosePitch",cppname:"VideoProjectionPosePitch",level:5,type:"f",mandatory:!0,minver:4,webm:!0,default:"0x0p+0",range:">= -0x5Ap+0, <= 0x5Ap+0",description:"Specifies a pitch rotation to the projection.  Value represents a counter-clockwise rotation, in degrees, around the right vector. This rotation must be applied after the `ProjectionPoseYaw` rotation and before the `ProjectionPoseRoll` rotation. The value of this element **MUST** be in the -90 to 90 degree range, both included."},30325:{name:"ProjectionPoseRoll",cppname:"VideoProjectionPoseRoll",level:5,type:"f",mandatory:!0,minver:4,webm:!0,default:"0x0p+0",range:">= -0xB4p+0, <= 0xB4p+0",description:"Specifies a roll rotation to the projection.  Value represents a counter-clockwise rotation, in degrees, around the forward vector. This rotation must be applied after the `ProjectionPoseYaw` and `ProjectionPosePitch` rotations. The value of this element **MUST** be in the -180 to 180 degree range, both included.  Setting `ProjectionPoseRoll` to 180 or -180 degrees, the `ProjectionPoseYaw` to 180 or -180 degrees with `ProjectionPosePitch` set to 0 degrees flips the image vertically.  Setting `ProjectionPoseRoll` to 180 or -180 degrees, with the `ProjectionPoseYaw` and `ProjectionPosePitch` set to 0 degrees flips the image horizontally and vertically."},30901:{name:"OutputSamplingFrequency",cppname:"AudioOutputSamplingFreq",level:4,type:"f",range:"> 0x0p+0",description:"Real output sampling frequency in Hz (used for SBR techniques)."},31657:{name:"Title",level:2,type:"8",webm:!0,description:"General name of the Segment."},32123:{name:"ChannelPositions",cppname:"AudioPosition",level:4,type:"b",minver:0,maxver:0,description:"Table of horizontal angles for each successive channel."},32347:{name:"SignatureElements",level:1,type:"m",webm:!1,description:"Contains elements that will be used to compute the signature."},32379:{name:"SignatureElementList",level:2,type:"m",multiple:!0,webm:!1,i:"Cluster|Block|BlockAdditional",description:"A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex:  means that the BlockAdditional of all Blocks in all Clusters is used for encryption."},32394:{name:"SignatureAlgo",level:2,type:"u",webm:!1,description:"Signature algorithm used (1=RSA, 2=elliptic)."},32410:{name:"SignatureHash",level:2,type:"u",webm:!1,description:"Hash algorithm used (1=SHA1-160, 2=MD5)."},32421:{name:"SignaturePublicKey",level:2,type:"b",webm:!1,description:"The public key to use with the algorithm (in the case of a PKI-based signature)."},32437:{name:"Signature",level:2,type:"b",webm:!1,description:"The signature of the data (until a new."},2274716:{name:"Language",cppname:"TrackLanguage",level:3,type:"s",mandatory:!0,default:"eng",description:"Specifies the language of the track in the Matroska languages form; see (#language-codes) on language codes. This Element **MUST** be ignored if the LanguageIETF Element is used in the same TrackEntry."},2274717:{name:"LanguageIETF",level:3,type:"s",minver:4,description:"Specifies the language of the track according to [@!BCP47] and using the IANA Language Subtag Registry [@!IANALangRegistry]. If this Element is used, then any Language Elements used in the same TrackEntry **MUST** be ignored."},2306383:{name:"TrackTimestampScale",cppname:"TrackTimecodeScale",level:3,type:"f",mandatory:!0,maxver:3,default:"0x1p+0",range:"> 0x0p+0",description:"DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs)."},2313850:{name:"DefaultDecodedFieldDuration",cppname:"TrackDefaultDecodedFieldDuration",level:3,type:"u",minver:4,range:"not 0",description:"The period between two successive fields at the output of the decoding process, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks). see (#defaultdecodedfieldduration) for more information"},2327523:{name:"FrameRate",cppname:"VideoFrameRate",level:4,type:"f",minver:0,maxver:0,range:"> 0x0p+0",description:"Number of frames per second. This value is Informational only. It is intended for constant frame rate streams, and **SHOULD NOT** be used for a variable frame rate TrackEntry."},2352003:{name:"DefaultDuration",cppname:"TrackDefaultDuration",level:3,type:"u",range:"not 0",description:"Number of nanoseconds per frame, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks) (frame in the Matroska sense -- one Element put into a (Simple)Block)."},2459272:{name:"CodecName",level:3,type:"8",description:"A human-readable string specifying the codec."},2536e3:{name:"CodecDownloadURL",level:3,type:"s",multiple:!0,minver:0,maxver:0,description:"A URL to download about the codec used."},2807729:{name:"TimestampScale",cppname:"TimecodeScale",level:2,type:"u",mandatory:!0,default:"1000000",range:"not 0",description:"Base unit for Segment Ticks and Track Ticks, in nanoseconds. A TimestampScale value of 1.000.000 means scaled timestamps in the Segment are expressed in milliseconds; see (#timestamps) on how to interpret timestamps."},2807730:{name:"TimecodeScaleDenominator",level:2,type:"u",mandatory:!0,minver:4,default:"1000000000",description:"Timestamp scale numerator, see TimecodeScale."},3061028:{name:"UncompressedFourCC",cppname:"VideoColourSpace",level:4,type:"b",description:"Specify the uncompressed pixel format used for the Track's data as a FourCC. This value is similar in scope to the biCompression value of AVI's `BITMAPINFO` [@?AVIFormat]. See the YUV video formats [@?FourCC-YUV] and RGB video formats [@?FourCC-RGB] for common values."},3126563:{name:"GammaValue",cppname:"VideoGamma",level:4,type:"f",minver:0,maxver:0,range:"> 0x0p+0",description:"Gamma Value."},3839639:{name:"CodecSettings",level:3,type:"8",minver:0,maxver:0,description:"A string describing the encoding setting used."},3883072:{name:"CodecInfoURL",level:3,type:"s",multiple:!0,minver:0,maxver:0,description:"A URL to find information about the codec used."},3965867:{name:"PrevFilename",level:2,type:"8",description:"A filename corresponding to the file of the previous Linked Segment."},3979555:{name:"PrevUID",level:2,type:"b",description:"A unique ID to identify the previous Segment of a Linked Segment (128 bits)."},4096955:{name:"NextFilename",level:2,type:"8",description:"A filename corresponding to the file of the next Linked Segment."},4110627:{name:"NextUID",level:2,type:"b",description:"A unique ID to identify the next Segment of a Linked Segment (128 bits)."},272869232:{name:"Chapters",level:1,type:"m",webm:!0,description:"A system to define basic menus and partition data. For more detailed information, look at the Chapters explanation in (#chapters)."},290298740:{name:"SeekHead",level:1,type:"m",multiple:!0,description:"Contains the Segment Position of other Top-Level Elements."},307544935:{name:"Tags",level:1,type:"m",multiple:!0,webm:!0,description:"Element containing metadata describing Tracks, Editions, Chapters, Attachments, or the Segment as a whole. A list of valid tags can be found in [@!MatroskaTags]."},357149030:{name:"Info",level:1,type:"m",mandatory:!0,description:"Contains general information about the Segment."},374648427:{name:"Tracks",level:1,type:"m",description:"A Top-Level Element of information with many tracks described."},408125543:{name:"Segment",level:0,type:"m",mandatory:!0,description:"The Root Element that contains all other Top-Level Elements (Elements defined only at Level 1). A Matroska file is composed of 1 Segment."},423732329:{name:"Attachments",level:1,type:"m",description:"Contain attached files."},440786851:{name:"EBML",level:"0",type:"m",mandatory:!0,multiple:!1,minver:1,description:"Set the EBML characteristics of the data to follow. Each EBML document has to start with this."},458458727:{name:"SignatureSlot",level:1,type:"m",multiple:!0,webm:!1,description:"Contain signature of some (coming) elements in the stream."},475249515:{name:"Cues",level:1,type:"m",description:"A Top-Level Element to speed seeking access. All entries are local to the Segment."},524531317:{name:"Cluster",level:1,type:"m",multiple:!0,description:"The Top-Level Element containing the (monolithic) Block structure."}},s={};for(var c in a)s[a[c].name.replace("-","_")]=parseInt(c,10);i.exports={byEbmlID:a,byName:s}},5478:function(i,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(i,a){for(var s in a)Object.defineProperty(i,s,{enumerable:!0,get:a[s]})}(a,{noSSR:function(){return noSSR},default:function(){return dynamic}});let c=s(27597),d=(s(70079),c._(s(23605)));function convertModule(i){return{default:(null==i?void 0:i.default)||i}}function noSSR(i,a){return delete a.webpack,delete a.modules,i(a)}function dynamic(i,a){let s=d.default,c={loading:i=>{let{error:a,isLoading:s,pastDelay:c}=i;return null}};i instanceof Promise?c.loader=()=>i:"function"==typeof i?c.loader=i:"object"==typeof i&&(c={...c,...i}),c={...c,...a};let u=c.loader;return(c.loadableGenerated&&(c={...c,...c.loadableGenerated},delete c.loadableGenerated),"boolean"!=typeof c.ssr||c.ssr)?s({...c,loader:()=>null!=u?u().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete c.webpack,delete c.modules,noSSR(s,c))}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),i.exports=a.default)},18862:function(i,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"LoadableContext",{enumerable:!0,get:function(){return u}});let c=s(27597),d=c._(s(70079)),u=d.default.createContext(null)},23605:function(i,a,s){"use strict";/**
@copyright (c) 2017-present James Kyle <me@thejameskyle.com>
 MIT License
 Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
*/Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return f}});let c=s(27597),d=c._(s(70079)),u=s(18862),m=[],p=[],h=!1;function load(i){let a=i(),s={loading:!0,loaded:null,error:null};return s.promise=a.then(i=>(s.loading=!1,s.loaded=i,i)).catch(i=>{throw s.loading=!1,s.error=i,i}),s}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:i,_opts:a}=this;i.loading&&("number"==typeof a.delay&&(0===a.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},a.delay)),"number"==typeof a.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},a.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(i=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(i){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...i},this._callbacks.forEach(i=>i())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(i){return this._callbacks.add(i),()=>{this._callbacks.delete(i)}}constructor(i,a){this._loadFn=i,this._opts=a,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(i){return function(i,a){let s=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),c=null;function init(){if(!c){let a=new LoadableSubscription(i,s);c={getCurrentValue:a.getCurrentValue.bind(a),subscribe:a.subscribe.bind(a),retry:a.retry.bind(a),promise:a.promise.bind(a)}}return c.promise()}if(!h){let i=s.webpack?s.webpack():s.modules;i&&p.push(a=>{for(let s of i)if(a.includes(s))return init()})}function LoadableComponent(i,a){!function(){init();let i=d.default.useContext(u.LoadableContext);i&&Array.isArray(s.modules)&&s.modules.forEach(a=>{i(a)})}();let m=d.default.useSyncExternalStore(c.subscribe,c.getCurrentValue,c.getCurrentValue);return d.default.useImperativeHandle(a,()=>({retry:c.retry}),[]),d.default.useMemo(()=>{var a;return m.loading||m.error?d.default.createElement(s.loading,{isLoading:m.loading,pastDelay:m.pastDelay,timedOut:m.timedOut,error:m.error,retry:c.retry}):m.loaded?d.default.createElement((a=m.loaded)&&a.default?a.default:a,i):null},[i,m])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",d.default.forwardRef(LoadableComponent)}(load,i)}function flushInitializers(i,a){let s=[];for(;i.length;){let c=i.pop();s.push(c(a))}return Promise.all(s).then(()=>{if(i.length)return flushInitializers(i,a)})}Loadable.preloadAll=()=>new Promise((i,a)=>{flushInitializers(m).then(i,a)}),Loadable.preloadReady=i=>(void 0===i&&(i=[]),new Promise(a=>{let res=()=>(h=!0,a());flushInitializers(p,i).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let f=Loadable},81445:function(i,a,s){i.exports=s(5478)},43228:function(i,a,s){i.exports=s(29054)},86760:function(i,a,s){"use strict";s.d(a,{x:function(){return withContentRect}});var c=s(91264),d=s(41015),u=s(49833),m=s(70079),p=s(39519),h=s.n(p),f=function(){if("undefined"!=typeof Map)return Map;function getIndex(i,a){var s=-1;return i.some(function(i,c){return i[0]===a&&(s=c,!0)}),s}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(i){var a=getIndex(this.__entries__,i),s=this.__entries__[a];return s&&s[1]},class_1.prototype.set=function(i,a){var s=getIndex(this.__entries__,i);~s?this.__entries__[s][1]=a:this.__entries__.push([i,a])},class_1.prototype.delete=function(i){var a=this.__entries__,s=getIndex(a,i);~s&&a.splice(s,1)},class_1.prototype.has=function(i){return!!~getIndex(this.__entries__,i)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(i,a){void 0===a&&(a=null);for(var s=0,c=this.__entries__;s<c.length;s++){var d=c[s];i.call(a,d[1],d[0])}},class_1}()}(),v="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,y=void 0!==s.g&&s.g.Math===Math?s.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),b="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(y):function(i){return setTimeout(function(){return i(Date.now())},1e3/60)},k=["top","right","bottom","left","width","height","size","weight"],T="undefined"!=typeof MutationObserver,C=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(i,a){var s=!1,c=!1,d=0;function resolvePending(){s&&(s=!1,i()),c&&proxy()}function timeoutCallback(){b(resolvePending)}function proxy(){var i=Date.now();if(s){if(i-d<2)return;c=!0}else s=!0,c=!1,setTimeout(timeoutCallback,20);d=i}return proxy}(this.refresh.bind(this),0)}return ResizeObserverController.prototype.addObserver=function(i){~this.observers_.indexOf(i)||this.observers_.push(i),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(i){var a=this.observers_,s=a.indexOf(i);~s&&a.splice(s,1),!a.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var i=this.observers_.filter(function(i){return i.gatherActive(),i.hasActive()});return i.forEach(function(i){return i.broadcastActive()}),i.length>0},ResizeObserverController.prototype.connect_=function(){v&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),T?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){v&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(i){var a=i.propertyName,s=void 0===a?"":a;k.some(function(i){return!!~s.indexOf(i)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(i,a){for(var s=0,c=Object.keys(a);s<c.length;s++){var d=c[s];Object.defineProperty(i,d,{value:a[d],enumerable:!1,writable:!1,configurable:!0})}return i},getWindowOf=function(i){return i&&i.ownerDocument&&i.ownerDocument.defaultView||y},w=createRectInit(0,0,0,0);function toFloat(i){return parseFloat(i)||0}function getBordersSize(i){for(var a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];return a.reduce(function(a,s){return a+toFloat(i["border-"+s+"-width"])},0)}var E="undefined"!=typeof SVGGraphicsElement?function(i){return i instanceof getWindowOf(i).SVGGraphicsElement}:function(i){return i instanceof getWindowOf(i).SVGElement&&"function"==typeof i.getBBox};function createRectInit(i,a,s,c){return{x:i,y:a,width:s,height:c}}var S=function(){function ResizeObservation(i){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=i}return ResizeObservation.prototype.isActive=function(){var i=function(i){if(!v)return w;if(E(i)){var a;return createRectInit(0,0,(a=i.getBBox()).width,a.height)}return function(i){var a=i.clientWidth,s=i.clientHeight;if(!a&&!s)return w;var c=getWindowOf(i).getComputedStyle(i),d=function(i){for(var a={},s=0,c=["top","right","bottom","left"];s<c.length;s++){var d=c[s],u=i["padding-"+d];a[d]=toFloat(u)}return a}(c),u=d.left+d.right,m=d.top+d.bottom,p=toFloat(c.width),h=toFloat(c.height);if("border-box"===c.boxSizing&&(Math.round(p+u)!==a&&(p-=getBordersSize(c,"left","right")+u),Math.round(h+m)!==s&&(h-=getBordersSize(c,"top","bottom")+m)),i!==getWindowOf(i).document.documentElement){var f=Math.round(p+u)-a,v=Math.round(h+m)-s;1!==Math.abs(f)&&(p-=f),1!==Math.abs(v)&&(h-=v)}return createRectInit(d.left,d.top,p,h)}(i)}(this.target);return this.contentRect_=i,i.width!==this.broadcastWidth||i.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var i=this.contentRect_;return this.broadcastWidth=i.width,this.broadcastHeight=i.height,i},ResizeObservation}(),ResizeObserverEntry=function(i,a){var s,c,d,u,m,p=(s=a.x,c=a.y,d=a.width,u=a.height,defineConfigurable(m=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:s,y:c,width:d,height:u,top:c,right:s+d,bottom:u+c,left:s}),m);defineConfigurable(this,{target:i,contentRect:p})},x=function(){function ResizeObserverSPI(i,a,s){if(this.activeObservations_=[],this.observations_=new f,"function"!=typeof i)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=i,this.controller_=a,this.callbackCtx_=s}return ResizeObserverSPI.prototype.observe=function(i){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(i instanceof getWindowOf(i).Element))throw TypeError('parameter 1 is not of type "Element".');var a=this.observations_;a.has(i)||(a.set(i,new S(i)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(i){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(i instanceof getWindowOf(i).Element))throw TypeError('parameter 1 is not of type "Element".');var a=this.observations_;a.has(i)&&(a.delete(i),a.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var i=this;this.clearActive(),this.observations_.forEach(function(a){a.isActive()&&i.activeObservations_.push(a)})},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var i=this.callbackCtx_,a=this.activeObservations_.map(function(i){return new ResizeObserverEntry(i.target,i.broadcastRect())});this.callback_.call(i,a,i),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),B="undefined"!=typeof WeakMap?new WeakMap:new f,ResizeObserver=function ResizeObserver(i){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var a=C.getInstance(),s=new x(i,a,this);B.set(this,s)};["observe","unobserve","disconnect"].forEach(function(i){ResizeObserver.prototype[i]=function(){var a;return(a=B.get(this))[i].apply(a,arguments)}});var I=void 0!==y.ResizeObserver?y.ResizeObserver:ResizeObserver,D=["client","offset","scroll","bounds","margin"];function getTypes(i){var a=[];return D.forEach(function(s){i[s]&&a.push(s)}),a}function index_esm_getContentRect(i,a){var s={};if(a.indexOf("client")>-1&&(s.client={top:i.clientTop,left:i.clientLeft,width:i.clientWidth,height:i.clientHeight}),a.indexOf("offset")>-1&&(s.offset={top:i.offsetTop,left:i.offsetLeft,width:i.offsetWidth,height:i.offsetHeight}),a.indexOf("scroll")>-1&&(s.scroll={top:i.scrollTop,left:i.scrollLeft,width:i.scrollWidth,height:i.scrollHeight}),a.indexOf("bounds")>-1){var c=i.getBoundingClientRect();s.bounds={top:c.top,right:c.right,bottom:c.bottom,left:c.left,width:c.width,height:c.height}}if(a.indexOf("margin")>-1){var d=getComputedStyle(i);s.margin={top:d?parseInt(d.marginTop):0,right:d?parseInt(d.marginRight):0,bottom:d?parseInt(d.marginBottom):0,left:d?parseInt(d.marginLeft):0}}return s}function withContentRect(i){return function(a){var s,p;return p=s=function(s){function WithContentRect(){for(var a,c=arguments.length,d=Array(c),u=0;u<c;u++)d[u]=arguments[u];return(a=s.call.apply(s,[this].concat(d))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},a._animationFrameID=null,a._resizeObserver=null,a._node=null,a._window=null,a.measure=function(s){var c=index_esm_getContentRect(a._node,i||getTypes(a.props));s&&(c.entry=s[0].contentRect),a._animationFrameID=a._window.requestAnimationFrame(function(){null!==a._resizeObserver&&(a.setState({contentRect:c}),"function"==typeof a.props.onResize&&a.props.onResize(c))})},a._handleRef=function(i){null!==a._resizeObserver&&null!==a._node&&a._resizeObserver.unobserve(a._node),a._node=i,a._window=(s=a._node)&&s.ownerDocument&&s.ownerDocument.defaultView||window;var s,c=a.props.innerRef;c&&("function"==typeof c?c(a._node):c.current=a._node),null!==a._resizeObserver&&null!==a._node&&a._resizeObserver.observe(a._node)},a}(0,u.Z)(WithContentRect,s);var p=WithContentRect.prototype;return p.componentDidMount=function(){this._resizeObserver=null!==this._window&&this._window.ResizeObserver?new this._window.ResizeObserver(this.measure):new I(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),"function"==typeof this.props.onResize&&this.props.onResize(index_esm_getContentRect(this._node,i||getTypes(this.props))))},p.componentWillUnmount=function(){null!==this._window&&this._window.cancelAnimationFrame(this._animationFrameID),null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)},p.render=function(){var i=this.props,s=(i.innerRef,i.onResize,(0,d.Z)(i,["innerRef","onResize"]));return(0,m.createElement)(a,(0,c.Z)({},s,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},WithContentRect}(m.Component),s.propTypes={client:h().bool,offset:h().bool,scroll:h().bool,bounds:h().bool,margin:h().bool,innerRef:h().oneOfType([h().object,h().func]),onResize:h().func},p}}var A=withContentRect()(function(i){var a=i.measure,s=i.measureRef,c=i.contentRect;return(0,i.children)({measure:a,measureRef:s,contentRect:c})});A.displayName="Measure",A.propTypes.children=h().func},37010:function(i,a,s){"use strict";s.d(a,{Z:function(){return v}});var c=s(91264),d=s(41015),u=s(49833);function replaceClassName(i,a){return i.replace(RegExp("(^|\\s)"+a+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var m=s(70079),p=s(3379),h=s(38631),removeClass=function(i,a){return i&&a&&a.split(" ").forEach(function(a){i.classList?i.classList.remove(a):"string"==typeof i.className?i.className=replaceClassName(i.className,a):i.setAttribute("class",replaceClassName(i.className&&i.className.baseVal||"",a))})},f=function(i){function CSSTransition(){for(var a,s=arguments.length,c=Array(s),d=0;d<s;d++)c[d]=arguments[d];return(a=i.call.apply(i,[this].concat(c))||this).appliedClasses={appear:{},enter:{},exit:{}},a.onEnter=function(i,s){var c=a.resolveArguments(i,s),d=c[0],u=c[1];a.removeClasses(d,"exit"),a.addClass(d,u?"appear":"enter","base"),a.props.onEnter&&a.props.onEnter(i,s)},a.onEntering=function(i,s){var c=a.resolveArguments(i,s),d=c[0],u=c[1];a.addClass(d,u?"appear":"enter","active"),a.props.onEntering&&a.props.onEntering(i,s)},a.onEntered=function(i,s){var c=a.resolveArguments(i,s),d=c[0],u=c[1]?"appear":"enter";a.removeClasses(d,u),a.addClass(d,u,"done"),a.props.onEntered&&a.props.onEntered(i,s)},a.onExit=function(i){var s=a.resolveArguments(i)[0];a.removeClasses(s,"appear"),a.removeClasses(s,"enter"),a.addClass(s,"exit","base"),a.props.onExit&&a.props.onExit(i)},a.onExiting=function(i){var s=a.resolveArguments(i)[0];a.addClass(s,"exit","active"),a.props.onExiting&&a.props.onExiting(i)},a.onExited=function(i){var s=a.resolveArguments(i)[0];a.removeClasses(s,"exit"),a.addClass(s,"exit","done"),a.props.onExited&&a.props.onExited(i)},a.resolveArguments=function(i,s){return a.props.nodeRef?[a.props.nodeRef.current,i]:[i,s]},a.getClassNames=function(i){var s=a.props.classNames,c="string"==typeof s,d=c?(c&&s?s+"-":"")+i:s[i],u=c?d+"-active":s[i+"Active"],m=c?d+"-done":s[i+"Done"];return{baseClassName:d,activeClassName:u,doneClassName:m}},a}(0,u.Z)(CSSTransition,i);var a=CSSTransition.prototype;return a.addClass=function(i,a,s){var c,d=this.getClassNames(a)[s+"ClassName"],u=this.getClassNames("enter").doneClassName;"appear"===a&&"done"===s&&u&&(d+=" "+u),"active"===s&&i&&(0,h.Q)(i),d&&(this.appliedClasses[a][s]=d,c=d,i&&c&&c.split(" ").forEach(function(a){var s,c;return s=i,c=a,void(s.classList?s.classList.add(c):(s.classList?c&&s.classList.contains(c):-1!==(" "+(s.className.baseVal||s.className)+" ").indexOf(" "+c+" "))||("string"==typeof s.className?s.className=s.className+" "+c:s.setAttribute("class",(s.className&&s.className.baseVal||"")+" "+c)))}))},a.removeClasses=function(i,a){var s=this.appliedClasses[a],c=s.base,d=s.active,u=s.done;this.appliedClasses[a]={},c&&removeClass(i,c),d&&removeClass(i,d),u&&removeClass(i,u)},a.render=function(){var i=this.props,a=(i.classNames,(0,d.Z)(i,["classNames"]));return m.createElement(p.ZP,(0,c.Z)({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},CSSTransition}(m.Component);f.defaultProps={classNames:""},f.propTypes={};var v=f},62984:function(i,a,s){"use strict";s.d(a,{z:function(){return firstValueFrom}});var c=s(69756),d=s(28734);function firstValueFrom(i,a){var s="object"==typeof a;return new Promise(function(u,m){var p=new d.Hp({next:function(i){u(i),p.unsubscribe()},error:m,complete:function(){s?u(a.defaultValue):m(new c.K)}});i.subscribe(p)})}},61544:function(i,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var c,d,u=s(68936),m=s(25756),p=s(68936),h=s(2362).byEbmlID;(c=d||(d={}))[c.STATE_TAG=1]="STATE_TAG",c[c.STATE_SIZE=2]="STATE_SIZE",c[c.STATE_CONTENT=3]="STATE_CONTENT";var f=function(){function EBMLDecoder(){this._buffer=new u.Buffer(0),this._tag_stack=[],this._state=d.STATE_TAG,this._cursor=0,this._total=0,this._schema=h,this._result=[]}return EBMLDecoder.prototype.decode=function(i){this.readChunk(i);var a=this._result;return this._result=[],a},EBMLDecoder.prototype.readChunk=function(i){for(this._buffer=p.concat([this._buffer,new u.Buffer(i)]);this._cursor<this._buffer.length&&(this._state!==d.STATE_TAG||this.readTag())&&(this._state!==d.STATE_SIZE||this.readSize())&&(this._state!==d.STATE_CONTENT||this.readContent()););},EBMLDecoder.prototype.getSchemaInfo=function(i){return this._schema[i]||{name:"unknown",level:-1,type:"unknown",description:"unknown"}},EBMLDecoder.prototype.readTag=function(){if(this._cursor>=this._buffer.length)return!1;var i=u.readVint(this._buffer,this._cursor);if(null==i)return!1;var a=this._buffer.slice(this._cursor,this._cursor+i.length).reduce(function(i,a,s,c){return i+a*Math.pow(16,2*(c.length-1-s))},0),s=this.getSchemaInfo(a),c={EBML_ID:a.toString(16),schema:s,type:s.type,name:s.name,level:s.level,tagStart:this._total,tagEnd:this._total+i.length,sizeStart:this._total+i.length,sizeEnd:null,dataStart:null,dataEnd:null,dataSize:null,data:null};return this._tag_stack.push(c),this._cursor+=i.length,this._total+=i.length,this._state=d.STATE_SIZE,!0},EBMLDecoder.prototype.readSize=function(){if(this._cursor>=this._buffer.length)return!1;var i=u.readVint(this._buffer,this._cursor);if(null==i)return!1;var a=this._tag_stack[this._tag_stack.length-1];return a.sizeEnd=a.sizeStart+i.length,a.dataStart=a.sizeEnd,a.dataSize=i.value,-1===i.value?(a.dataEnd=-1,"m"===a.type&&(a.unknownSize=!0)):a.dataEnd=a.sizeEnd+i.value,this._cursor+=i.length,this._total+=i.length,this._state=d.STATE_CONTENT,!0},EBMLDecoder.prototype.readContent=function(){var i=this._tag_stack[this._tag_stack.length-1];if("m"===i.type){if(i.isEnd=!1,this._result.push(i),this._state=d.STATE_TAG,0===i.dataSize){var a=Object.assign({},i,{isEnd:!0});this._result.push(a),this._tag_stack.pop()}return!0}if(this._buffer.length<this._cursor+i.dataSize)return!1;var s=this._buffer.slice(this._cursor,this._cursor+i.dataSize);switch(this._buffer=this._buffer.slice(this._cursor+i.dataSize),i.data=s,i.type){case"u":i.value=s.readUIntBE(0,s.length);break;case"i":i.value=s.readIntBE(0,s.length);break;case"f":i.value=4===i.dataSize?s.readFloatBE(0):8===i.dataSize?s.readDoubleBE(0):(console.warn("cannot read "+i.dataSize+" octets float. failback to 0"),0);break;case"s":i.value=s.toString("ascii");break;case"8":i.value=s.toString("utf8");break;case"b":i.value=s;break;case"d":i.value=u.convertEBMLDateToJSDate(new m.Int64BE(s).toNumber())}if(null===i.value)throw Error("unknown tag type:"+i.type);for(this._result.push(i),this._total+=i.dataSize,this._state=d.STATE_TAG,this._cursor=0,this._tag_stack.pop();this._tag_stack.length>0;){var c=this._tag_stack[this._tag_stack.length-1];if(c.dataEnd<0){this._tag_stack.pop();break}if(this._total<c.dataEnd)break;if("m"!==c.type)throw Error("parent element is not master element");var a=Object.assign({},c,{isEnd:!0});this._result.push(a),this._tag_stack.pop()}return!0},EBMLDecoder}();a.default=f},13824:function(i,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var c=s(68936),d=s(68936),u=s(2362).byEbmlID,m=function(){function EBMLEncoder(){this._schema=u,this._buffers=[],this._stack=[]}return EBMLEncoder.prototype.encode=function(i){var a=this;return c.concat(i.reduce(function(i,s){return i.concat(a.encodeChunk(s))},[])).buffer},EBMLEncoder.prototype.encodeChunk=function(i){return"m"===i.type?i.isEnd?this.endTag(i):this.startTag(i):this.writeTag(i),this.flush()},EBMLEncoder.prototype.flush=function(){var i=this._buffers;return this._buffers=[],i},EBMLEncoder.prototype.getSchemaInfo=function(i){for(var a=Object.keys(this._schema).map(Number),s=0;s<a.length;s++){var c=a[s];if(this._schema[c].name===i)return new d.Buffer(c.toString(16),"hex")}return null},EBMLEncoder.prototype.writeTag=function(i){var a=i.name,s=this.getSchemaInfo(a),d=i.data;if(null==s)throw Error("No schema entry found for "+a);var u=c.encodeTag(s,d);if(this._stack.length>0){this._stack[this._stack.length-1].children.push({tagId:s,elm:i,children:[],data:u});return}this._buffers=this._buffers.concat(u)},EBMLEncoder.prototype.startTag=function(i){var a=i.name,s=this.getSchemaInfo(a);if(null==s)throw Error("No schema entry found for "+a);if(i.unknownSize){var u=c.encodeTag(s,new d.Buffer(0),i.unknownSize);this._buffers=this._buffers.concat(u);return}var m={tagId:s,elm:i,children:[],data:null};this._stack.length>0&&this._stack[this._stack.length-1].children.push(m),this._stack.push(m)},EBMLEncoder.prototype.endTag=function(i){i.name;var a=this._stack.pop();if(null==a||a.elm.name!==i.name)throw Error("EBML structure is broken");var s=a.children.reduce(function(i,a){if(null===a.data)throw Error("EBML structure is broken");return i.concat(a.data)},[]),d=c.concat(s);"m"===a.elm.type?a.data=c.encodeTag(a.tagId,d,a.elm.unknownSize):a.data=c.encodeTag(a.tagId,d),this._stack.length<1&&(this._buffers=this._buffers.concat(a.data))},EBMLEncoder}();a.default=m},9301:function(i,a,s){"use strict";var c,d=this&&this.__extends||(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var s in a)a.hasOwnProperty(s)&&(i[s]=a[s])},function(i,a){function __(){this.constructor=i}c(i,a),i.prototype=null===a?Object.create(a):(__.prototype=a.prototype,new __)});Object.defineProperty(a,"__esModule",{value:!0});var u=s(83487),m=s(68936),p=function(i){function EBMLReader(){var a=i.call(this)||this;return a.logGroup="",a.hasLoggingStarted=!1,a.metadataloaded=!1,a.chunks=[],a.stack=[],a.segmentOffset=0,a.last2SimpleBlockVideoTrackTimecode=[0,0],a.last2SimpleBlockAudioTrackTimecode=[0,0],a.lastClusterTimecode=0,a.lastClusterPosition=0,a.timecodeScale=1e6,a.metadataSize=0,a.metadatas=[],a.cues=[],a.firstVideoBlockRead=!1,a.firstAudioBlockRead=!1,a.currentTrack={TrackNumber:-1,TrackType:-1,DefaultDuration:null,CodecDelay:null},a.trackTypes=[],a.trackDefaultDuration=[],a.trackCodecDelay=[],a.trackInfo={type:"nothing"},a.ended=!1,a.logging=!1,a.use_duration_every_simpleblock=!1,a.use_webp=!1,a.use_segment_info=!0,a.drop_default_duration=!0,a}return d(EBMLReader,i),EBMLReader.prototype.stop=function(){for(this.ended=!0,this.emit_segment_info();this.stack.length;)this.stack.pop(),this.logging&&console.groupEnd();this.logging&&this.hasLoggingStarted&&this.logGroup&&console.groupEnd()},EBMLReader.prototype.emit_segment_info=function(){var i=this.chunks;if(this.chunks=[],this.metadataloaded){if(!this.use_segment_info)return;var a=this.lastClusterTimecode,s=this.duration,c=this.timecodeScale;this.emit("cluster",{timecode:a,data:i}),this.emit("duration",{timecodeScale:c,duration:s})}else{this.metadataloaded=!0,this.metadatas=i;var d=this.trackTypes.indexOf(1),u=this.trackTypes.indexOf(2);if(this.trackInfo=d>=0&&u>=0?{type:"both",trackNumber:d}:d>=0?{type:"video",trackNumber:d}:u>=0?{type:"audio",trackNumber:u}:{type:"nothing"},!this.use_segment_info)return;this.emit("metadata",{data:i,metadataSize:this.metadataSize})}},EBMLReader.prototype.read=function(i){var a=this,s=!1;if(!this.ended){if("m"===i.type){if(i.isEnd)this.stack.pop();else{var c=this.stack[this.stack.length-1];if(null!=c&&c.level>=i.level){this.stack.pop(),this.logging&&console.groupEnd(),c.dataEnd=i.dataEnd,c.dataSize=i.dataEnd-c.dataStart,c.unknownSize=!1;var d=Object.assign({},c,{name:c.name,type:c.type,isEnd:!0});this.chunks.push(d)}this.stack.push(i)}}if("m"===i.type&&"Segment"==i.name)0!=this.segmentOffset&&console.warn("Multiple segments detected!"),this.segmentOffset=i.dataStart,this.emit("segment_offset",this.segmentOffset);else if("b"===i.type&&"SimpleBlock"===i.name){var u=m.ebmlBlock(i.data),p=u.timecode,h=u.trackNumber,f=u.frames;if(1===this.trackTypes[h]){if(!this.firstVideoBlockRead&&(this.firstVideoBlockRead=!0,"both"===this.trackInfo.type||"video"===this.trackInfo.type)){var v=this.lastClusterTimecode+p;this.cues.push({CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:v}),this.emit("cue_info",{CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:this.lastClusterTimecode}),this.emit("cue",{CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:v})}this.last2SimpleBlockVideoTrackTimecode=[this.last2SimpleBlockVideoTrackTimecode[1],p]}else if(2===this.trackTypes[h]){if(!this.firstAudioBlockRead&&(this.firstAudioBlockRead=!0,"audio"===this.trackInfo.type)){var v=this.lastClusterTimecode+p;this.cues.push({CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:v}),this.emit("cue_info",{CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:this.lastClusterTimecode}),this.emit("cue",{CueTrack:h,CueClusterPosition:this.lastClusterPosition,CueTime:v})}this.last2SimpleBlockAudioTrackTimecode=[this.last2SimpleBlockAudioTrackTimecode[1],p]}this.use_duration_every_simpleblock&&this.emit("duration",{timecodeScale:this.timecodeScale,duration:this.duration}),this.use_webp&&f.forEach(function(i){if("9d012a"===i.slice(3,6).toString("hex")){var s=m.VP8BitStreamToRiffWebPBuffer(i),c=new Blob([s],{type:"image/webp"}),d=a.duration;a.emit("webp",{currentTime:d,webp:c})}})}else"m"===i.type&&"Cluster"===i.name&&!1===i.isEnd?(this.firstVideoBlockRead=!1,this.firstAudioBlockRead=!1,this.emit_segment_info(),this.emit("cluster_ptr",i.tagStart),this.lastClusterPosition=i.tagStart):"u"===i.type&&"Timecode"===i.name?this.lastClusterTimecode=i.value:"u"===i.type&&"TimecodeScale"===i.name?this.timecodeScale=i.value:"m"===i.type&&"TrackEntry"===i.name?i.isEnd?(this.trackTypes[this.currentTrack.TrackNumber]=this.currentTrack.TrackType,this.trackDefaultDuration[this.currentTrack.TrackNumber]=this.currentTrack.DefaultDuration,this.trackCodecDelay[this.currentTrack.TrackNumber]=this.currentTrack.CodecDelay):this.currentTrack={TrackNumber:-1,TrackType:-1,DefaultDuration:null,CodecDelay:null}:"u"===i.type&&"TrackType"===i.name?this.currentTrack.TrackType=i.value:"u"===i.type&&"TrackNumber"===i.name?this.currentTrack.TrackNumber=i.value:"u"===i.type&&"CodecDelay"===i.name?this.currentTrack.CodecDelay=i.value:"u"===i.type&&"DefaultDuration"===i.name?this.drop_default_duration?(console.warn("DefaultDuration detected!, remove it"),s=!0):this.currentTrack.DefaultDuration=i.value:"unknown"===i.name&&console.warn(i);!this.metadataloaded&&i.dataEnd>0&&(this.metadataSize=i.dataEnd),s||this.chunks.push(i),this.logging&&this.put(i)}},Object.defineProperty(EBMLReader.prototype,"duration",{get:function(){if("nothing"===this.trackInfo.type)return console.warn("no video, no audio track"),0;var i=0,a=0,s=0,c=this.trackDefaultDuration[this.trackInfo.trackNumber];if("number"==typeof c)i=c;else if("both"===this.trackInfo.type){if(this.last2SimpleBlockAudioTrackTimecode[1]>this.last2SimpleBlockVideoTrackTimecode[1]){i=(this.last2SimpleBlockAudioTrackTimecode[1]-this.last2SimpleBlockAudioTrackTimecode[0])*this.timecodeScale;var d=this.trackCodecDelay[this.trackTypes.indexOf(2)];"number"==typeof d&&(a=d),s=this.last2SimpleBlockAudioTrackTimecode[1]}else{i=(this.last2SimpleBlockVideoTrackTimecode[1]-this.last2SimpleBlockVideoTrackTimecode[0])*this.timecodeScale;var d=this.trackCodecDelay[this.trackTypes.indexOf(1)];"number"==typeof d&&(a=d),s=this.last2SimpleBlockVideoTrackTimecode[1]}}else if("video"===this.trackInfo.type){i=(this.last2SimpleBlockVideoTrackTimecode[1]-this.last2SimpleBlockVideoTrackTimecode[0])*this.timecodeScale;var d=this.trackCodecDelay[this.trackInfo.trackNumber];"number"==typeof d&&(a=d),s=this.last2SimpleBlockVideoTrackTimecode[1]}else if("audio"===this.trackInfo.type){i=(this.last2SimpleBlockAudioTrackTimecode[1]-this.last2SimpleBlockAudioTrackTimecode[0])*this.timecodeScale;var d=this.trackCodecDelay[this.trackInfo.trackNumber];"number"==typeof d&&(a=d),s=this.last2SimpleBlockAudioTrackTimecode[1]}return Math.floor(((this.lastClusterTimecode+s)*this.timecodeScale+i-a)/this.timecodeScale)},enumerable:!0,configurable:!0}),EBMLReader.prototype.addListener=function(a,s){return i.prototype.addListener.call(this,a,s)},EBMLReader.prototype.put=function(i){!this.hasLoggingStarted&&(this.hasLoggingStarted=!0,this.logging&&this.logGroup&&console.groupCollapsed(this.logGroup)),"m"===i.type?i.isEnd?console.groupEnd():console.group(i.name+":"+i.tagStart):"b"===i.type?console.log(i.name,i.type):console.log(i.name,i.tagStart,i.type,i.value)},EBMLReader}(u.EventEmitter);a.default=p},96195:function(i,a,s){"use strict";var c=s(61544);a.h=c.default,s(13824).default;var d=s(9301);a.Ej=d.default;var u=s(68936);a.rj=u,s(32885).i8},68936:function(i,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var c=s(25756),d=s(13824),u=s(5309),m=s(89562),p=s(11943);function WebPBlockFilter(i){return i.reduce(function(i,s){return"b"===s.type&&"SimpleBlock"===s.name&&a.ebmlBlock(s.data).frames.some(function(i){return"9d012a"===i.slice(3,6).toString("hex")})?i.concat(s):i},[])}function VP8BitStreamToRiffWebPBuffer(i){var s=createRIFFChunk("VP8 ",i);return createRIFFChunk("RIFF",concat([new a.Buffer("WEBP","ascii"),s]))}function createRIFFChunk(i,s){var c=new a.Buffer(4);return c.writeUInt32LE(s.byteLength,0),concat([new a.Buffer(i.substr(0,4),"ascii"),c,s,new a.Buffer(s.byteLength%2==0?0:1)])}function removeElement(i,a){for(var s=-1,c=0;c<a.length;c++){var d=a[c];if(d.name===i){if("m"===d.type){if(d.isEnd){if(-1==s)throw Error("Detected "+i+" closing element before finding the start");a.splice(s,c-s+1);return}s=c}else{a.splice(c,1);return}}}}function extractElement(i,a){for(var s=[],c=-1,d=0;d<a.length;d++){var u=a[d];if(u.name===i){if("m"===u.type){if(u.isEnd){if(-1==c)throw Error("Detected "+i+" closing element before finding the start");s=a.slice(c,d+1);break}c=d}else{s.push(a[d]);break}}}return s}function encodedSizeOfEbml(i){var a=new d.default;return i.reduce(function(i,s){return i.concat(a.encode([s]))},[]).reduce(function(i,a){return i+a.byteLength},0)}function insertTag(i,a,s,c){void 0===c&&(c=!1);for(var d=-1,u=0;u<i.length;u++){var m=i[u];if("m"===m.type&&m.name===a&&!1===m.isEnd){d=u;break}}d>=0?Array.prototype.splice.apply(i,[d+1,0].concat(s)):c?[].concat([{name:a,type:"m",isEnd:!1}],s,[{name:a,type:"m",isEnd:!0}]).reverse().forEach(function(a){i.unshift(a)}):(i.push({name:a,type:"m",isEnd:!1}),s.forEach(function(a){i.push(a)}),i.push({name:a,type:"m",isEnd:!0}))}function concat(i){for(var s=0,c=0;s<i.length;++s)c+=i[s].length;var d=a.Buffer.allocUnsafe(c),u=0;for(s=0;s<i.length;++s){var m=i[s];m.copy(d,u),u+=m.length}return d}function createUIntBuffer(i){for(var s=1;i>=Math.pow(2,8*s);s++);if(s>=7)return console.warn("7bit or more bigger uint not supported."),new c.Uint64BE(i).toBuffer();var d=new a.Buffer(s);return d.writeUIntBE(i,0,s),d}function createIntBuffer(i){for(var s=1;i>=Math.pow(2,8*s);s++);if(s>=7)return console.warn("7bit or more bigger uint not supported."),new c.Int64BE(i).toBuffer();var d=new a.Buffer(s);return d.writeIntBE(i,0,s),d}function createFloatBuffer(i,s){if(void 0===s&&(s=8),8===s){var c=new a.Buffer(8);return c.writeDoubleBE(i,0),c}if(4===s){var c=new a.Buffer(4);return c.writeFloatBE(i,0),c}throw Error("float type bits must 4bytes or 8bytes")}a.Buffer=u.Buffer,a.readVint=m.readVint,a.writeVint=m.writeVint,a.ebmlBlock=p,a.readBlock=function(i){return a.ebmlBlock(new a.Buffer(i))},a.encodeTag=function(i,s,c){return void 0===c&&(c=!1),concat([i,c?new a.Buffer("01ffffffffffffff","hex"):a.writeVint(s.length),s])},a.WebPFrameFilter=function(i){return WebPBlockFilter(i).reduce(function(i,s){return a.ebmlBlock(s.data).frames.reduce(function(i,a){var s=VP8BitStreamToRiffWebPBuffer(a),c=new Blob([s],{type:"image/webp"});return i.concat(c)},i)},[])},a.WebPBlockFilter=WebPBlockFilter,a.VP8BitStreamToRiffWebPBuffer=VP8BitStreamToRiffWebPBuffer,a.createRIFFChunk=createRIFFChunk,a.makeMetadataSeekable=function(i,s,c){var u=extractElement("EBML",i),m=encodedSizeOfEbml(u)+12,p=i[i.length-1].dataEnd-m,h=extractElement("Info",i);removeElement("Duration",h),h.splice(1,0,{name:"Duration",type:"f",data:createFloatBuffer(s,8)});for(var f=encodedSizeOfEbml(h),v=extractElement("Tracks",i),y=encodedSizeOfEbml(v),b=47,k=[],T=5+15*c.length,C=[],w=-1,E=0;E<10&&"break"!==function(i){var s=b,d=s+f,u=d+y,h=u+T-p;if((k=[]).push({name:"SeekHead",type:"m",isEnd:!1}),k.push({name:"Seek",type:"m",isEnd:!1}),k.push({name:"SeekID",type:"b",data:new a.Buffer([21,73,169,102])}),k.push({name:"SeekPosition",type:"u",data:createUIntBuffer(s)}),k.push({name:"Seek",type:"m",isEnd:!0}),k.push({name:"Seek",type:"m",isEnd:!1}),k.push({name:"SeekID",type:"b",data:new a.Buffer([22,84,174,107])}),k.push({name:"SeekPosition",type:"u",data:createUIntBuffer(d)}),k.push({name:"Seek",type:"m",isEnd:!0}),k.push({name:"Seek",type:"m",isEnd:!1}),k.push({name:"SeekID",type:"b",data:new a.Buffer([28,83,187,107])}),k.push({name:"SeekPosition",type:"u",data:createUIntBuffer(u)}),k.push({name:"Seek",type:"m",isEnd:!0}),k.push({name:"SeekHead",type:"m",isEnd:!0}),b=encodedSizeOfEbml(k),(C=[]).push({name:"Cues",type:"m",isEnd:!1}),c.forEach(function(i){var a=i.CueTrack,s=i.CueClusterPosition,c=i.CueTime;C.push({name:"CuePoint",type:"m",isEnd:!1}),C.push({name:"CueTime",type:"u",data:createUIntBuffer(c)}),C.push({name:"CueTrackPositions",type:"m",isEnd:!1}),C.push({name:"CueTrack",type:"u",data:createUIntBuffer(a)}),s-=m,s+=h,C.push({name:"CueClusterPosition",type:"u",data:createUIntBuffer(s)}),C.push({name:"CueTrackPositions",type:"m",isEnd:!0}),C.push({name:"CuePoint",type:"m",isEnd:!0})}),C.push({name:"Cues",type:"m",isEnd:!0}),T=encodedSizeOfEbml(C),w===h)return"break";if(w=h,9===i)throw Error("Failed to converge to a stable metadata size")}(E);E++);var S=[].concat.apply([],[u,{name:"Segment",type:"m",isEnd:!1,unknownSize:!0},k,h,v,C]);return new d.default().encode(S)},a.removeElement=removeElement,a.extractElement=extractElement,a.putRefinedMetaData=function(i,s){Array.isArray(s.cueInfos)&&!Array.isArray(s.cues)&&(console.warn("putRefinedMetaData: info.cueInfos property is deprecated. please use info.cues"),s.cues=s.cueInfos);for(var c,u=[],m=[],p=0;p<i.length;p++){var h=i[p];if("m"===h.type&&"Segment"===h.name){if(u=i.slice(0,p),m=i.slice(p),h.unknownSize){m.shift();break}throw Error("this metadata is not streaming webm file")}}if(!(m[m.length-1].dataEnd>0))throw Error("metadata dataEnd has wrong number");var f=m[m.length-1].dataEnd,v=u[u.length-1].dataEnd,y=new d.default().encode(u).byteLength-v,b=f-m[0].tagStart;m[0].tagStart,m[0].tagStart;var k=new a.Buffer([24,83,128,103]),T=new a.Buffer("01ffffffffffffff","hex"),C=k.byteLength+T.byteLength,w=b;for(c=1;c<20;c++){var E=function(i,s,c){var d=c.duration,u=c.clusterPtrs,m=c.cues,p=i.slice(0);if("number"==typeof d){var h=!1;p.forEach(function(i){"f"===i.type&&"Duration"===i.name&&(h=!0,i.data=createFloatBuffer(d,8))}),h||insertTag(p,"Info",[{name:"Duration",type:"f",data:createFloatBuffer(d,8)}])}Array.isArray(m)&&insertTag(p,"Cues",function(i,a){var s=[];return i.forEach(function(i){var c=i.CueTrack,d=i.CueClusterPosition,u=i.CueTime;s.push({name:"CuePoint",type:"m",isEnd:!1}),s.push({name:"CueTime",type:"u",data:createUIntBuffer(u)}),s.push({name:"CueTrackPositions",type:"m",isEnd:!1}),s.push({name:"CueTrack",type:"u",data:createUIntBuffer(c)}),s.push({name:"CueClusterPosition",type:"u",data:createUIntBuffer(d+a)}),s.push({name:"CueTrackPositions",type:"m",isEnd:!0}),s.push({name:"CuePoint",type:"m",isEnd:!0})}),s}(m,s));var f=[];return Array.isArray(u)&&(console.warn("append cluster pointers to seekhead is deprecated. please use cues"),f=function(i,s){var c=[];return i.forEach(function(i){c.push({name:"Seek",type:"m",isEnd:!1}),c.push({name:"SeekID",type:"b",data:new a.Buffer([31,67,182,117])}),c.push({name:"SeekPosition",type:"u",data:createUIntBuffer(i+s)}),c.push({name:"Seek",type:"m",isEnd:!0})}),c}(u,s)),insertTag(p,"SeekHead",f,!0),p}(m,y+(v+C+w-f),s),S=new d.default().encode(E).byteLength;if(S===w)return new d.default().encode([].concat(u,[{type:"m",name:"Segment",isEnd:!1,unknownSize:!0}],E));w=S}throw Error("unable to refine metadata, stable size could not be found in "+c+" iterations!")},a.concat=concat,a.encodeValueToBuffer=function(i){var s=new a.Buffer(0);if("m"===i.type)return i;switch(i.type){case"u":s=createUIntBuffer(i.value);break;case"i":s=createIntBuffer(i.value);break;case"f":s=createFloatBuffer(i.value);break;case"s":s=new a.Buffer(i.value,"ascii");break;case"8":s=new a.Buffer(i.value,"utf8");break;case"b":s=i.value;break;case"d":s=new c.Int64BE(i.value.getTime().toString()).toBuffer()}return Object.assign({},i,{data:s})},a.createUIntBuffer=createUIntBuffer,a.createIntBuffer=createIntBuffer,a.createFloatBuffer=createFloatBuffer,a.convertEBMLDateToJSDate=function(i){return i instanceof Date?i:new Date(new Date("2001-01-01T00:00:00.000Z").getTime()+Number(i)/1e3/1e3)}},36483:function(i,a,s){"use strict";s.d(a,{Q:function(){return r}});let t=i=>"object"==typeof i&&null!=i&&1===i.nodeType,e=(i,a)=>(!a||"hidden"!==i)&&"visible"!==i&&"clip"!==i,n=(i,a)=>{if(i.clientHeight<i.scrollHeight||i.clientWidth<i.scrollWidth){let s=getComputedStyle(i,null);return e(s.overflowY,a)||e(s.overflowX,a)||(i=>{let a=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(i){return null}})(i);return!!a&&(a.clientHeight<i.scrollHeight||a.clientWidth<i.scrollWidth)})(i)}return!1},o=(i,a,s,c,d,u,m,p)=>u<i&&m>a||u>i&&m<a?0:u<=i&&p<=s||m>=a&&p>=s?u-i-c:m>a&&p<s||u<i&&p>s?m-a+d:0,l=i=>{let a=i.parentElement;return null==a?i.getRootNode().host||null:a},r=(i,a)=>{var s,c,d,u;if("undefined"==typeof document)return[];let{scrollMode:m,block:p,inline:h,boundary:f,skipOverflowHiddenElements:v}=a,y="function"==typeof f?f:i=>i!==f;if(!t(i))throw TypeError("Invalid target");let b=document.scrollingElement||document.documentElement,k=[],T=i;for(;t(T)&&y(T);){if((T=l(T))===b){k.push(T);break}null!=T&&T===document.body&&n(T)&&!n(document.documentElement)||null!=T&&n(T,v)&&k.push(T)}let C=null!=(c=null==(s=window.visualViewport)?void 0:s.width)?c:innerWidth,w=null!=(u=null==(d=window.visualViewport)?void 0:d.height)?u:innerHeight,{scrollX:E,scrollY:S}=window,{height:x,width:B,top:I,right:D,bottom:A,left:P}=i.getBoundingClientRect(),{top:L,right:M,bottom:R,left:O}=(i=>{let a=window.getComputedStyle(i);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(i),z="start"===p||"nearest"===p?I-L:"end"===p?A+R:I+x/2-L+R,V="center"===h?P+B/2-O+M:"end"===h?D+M:P-O,F=[];for(let i=0;i<k.length;i++){let a=k[i],{height:s,width:c,top:d,right:u,bottom:f,left:v}=a.getBoundingClientRect();if("if-needed"===m&&I>=0&&P>=0&&A<=w&&D<=C&&I>=d&&A<=f&&P>=v&&D<=u)break;let y=getComputedStyle(a),T=parseInt(y.borderLeftWidth,10),L=parseInt(y.borderTopWidth,10),M=parseInt(y.borderRightWidth,10),R=parseInt(y.borderBottomWidth,10),O=0,U=0,Z="offsetWidth"in a?a.offsetWidth-a.clientWidth-T-M:0,N="offsetHeight"in a?a.offsetHeight-a.clientHeight-L-R:0,j="offsetWidth"in a?0===a.offsetWidth?0:c/a.offsetWidth:0,H="offsetHeight"in a?0===a.offsetHeight?0:s/a.offsetHeight:0;if(b===a)O="start"===p?z:"end"===p?z-w:"nearest"===p?o(S,S+w,w,L,R,S+z,S+z+x,x):z-w/2,U="start"===h?V:"center"===h?V-C/2:"end"===h?V-C:o(E,E+C,C,T,M,E+V,E+V+B,B),O=Math.max(0,O+S),U=Math.max(0,U+E);else{O="start"===p?z-d-L:"end"===p?z-f+R+N:"nearest"===p?o(d,f,s,L,R+N,z,z+x,x):z-(d+s/2)+N/2,U="start"===h?V-v-T:"center"===h?V-(v+c/2)+Z/2:"end"===h?V-u+M+Z:o(v,u,c,T,M+Z,V,V+B,B);let{scrollLeft:i,scrollTop:m}=a;O=0===H?0:Math.max(0,Math.min(m+O/H,a.scrollHeight-s/H+N)),U=0===j?0:Math.max(0,Math.min(i+U/j,a.scrollWidth-c/j+Z)),z+=m-O,V+=i-U}F.push({el:a,top:O,left:U})}return F}},32885:function(i){"use strict";i.exports={i8:"2.0.2"}}}]);