mirror of
https://github.com/owncast/owncast.git
synced 2025-01-04 15:47:41 +03:00
1 line
No EOL
20 KiB
JavaScript
Vendored
1 line
No EOL
20 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1051],{57096:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"}},26803:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"}},20054:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(a(32615));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=r,e.exports=r},56338:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(a(5661));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=r,e.exports=r},32615:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=_interopRequireWildcard(a(67294)),c=r(a(57096)),u=r(a(92074));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(_getRequireWildcardCache=function(e){return e?a:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=_getRequireWildcardCache(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=l?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,a&&a.set(e,r),r}var PlusOutlined=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};PlusOutlined.displayName="PlusOutlined";var i=o.forwardRef(PlusOutlined);t.default=i},5661:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=_interopRequireWildcard(a(67294)),c=r(a(26803)),u=r(a(92074));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(_getRequireWildcardCache=function(e){return e?a:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=_getRequireWildcardCache(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=l?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,a&&a.set(e,r),r}var UpOutlined=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};UpOutlined.displayName="UpOutlined";var i=o.forwardRef(UpOutlined);t.default=i},70502:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRenderPropValue=void 0,t.getRenderPropValue=function(e){return e?"function"==typeof e?e():e:null}},27847:function(e,t,a){"use strict";var r=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SizeContextProvider=void 0;var n=r(a(67294)),l=n.createContext("default");t.SizeContextProvider=function(e){var t=e.children,a=e.size;return n.createElement(l.Consumer,null,function(e){return n.createElement(l.Provider,{value:a||e},t)})},t.default=l},71511:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(10434)),o=n(a(38416)),c=n(a(18698)),u=n(a(27424)),i=n(a(94184)),s=n(a(48555)),f=a(75531),d=r(a(67294)),p=a(31929),v=n(a(60872)),m=a(67046);n(a(13594));var E=n(a(27847)),__rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},y=d.forwardRef(function(e,t){var a,r=d.useContext(E.default),n=d.useState(1),y=(0,u.default)(n,2),O=y[0],_=y[1],g=d.useState(!1),N=(0,u.default)(g,2),b=N[0],C=N[1],P=d.useState(!0),S=(0,u.default)(P,2),M=S[0],x=S[1],h=d.useRef(null),I=d.useRef(null),R=(0,f.composeRef)(t,h),w=d.useContext(p.ConfigContext).getPrefixCls,setScaleParam=function(){if(I.current&&h.current){var t=I.current.offsetWidth,a=h.current.offsetWidth;if(0!==t&&0!==a){var r=e.gap,n=void 0===r?4:r;2*n<a&&_(a-2*n<t?(a-2*n)/t:1)}}};d.useEffect(function(){C(!0)},[]),d.useEffect(function(){x(!0),_(1)},[e.src]),d.useEffect(function(){setScaleParam()},[e.gap]);var T=e.prefixCls,A=e.shape,U=void 0===A?"circle":A,j=e.size,L=void 0===j?"default":j,F=e.src,W=e.srcSet,D=e.icon,H=e.className,k=e.alt,K=e.draggable,q=e.children,z=e.crossOrigin,B=__rest(e,["prefixCls","shape","size","src","srcSet","icon","className","alt","draggable","children","crossOrigin"]),Z="default"===L?r:L,G=Object.keys("object"===(0,c.default)(Z)&&Z||{}).some(function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)}),V=(0,v.default)(G),Q=d.useMemo(function(){if("object"!==(0,c.default)(Z))return{};var e=Z[m.responsiveArray.find(function(e){return V[e]})];return e?{width:e,height:e,lineHeight:"".concat(e,"px"),fontSize:D?e/2:18}:{}},[V,Z]),Y=w("avatar",T),X=(0,i.default)((0,o.default)((0,o.default)({},"".concat(Y,"-lg"),"large"===Z),"".concat(Y,"-sm"),"small"===Z)),J=d.isValidElement(F),$=(0,i.default)(Y,X,(0,o.default)((0,o.default)((0,o.default)({},"".concat(Y,"-").concat(U),!!U),"".concat(Y,"-image"),J||F&&M),"".concat(Y,"-icon"),!!D),H),ee="number"==typeof Z?{width:Z,height:Z,lineHeight:"".concat(Z,"px"),fontSize:D?Z/2:18}:{};if("string"==typeof F&&M)a=d.createElement("img",{src:F,draggable:K,srcSet:W,onError:function(){var t=e.onError;!1!==(t?t():void 0)&&x(!1)},alt:k,crossOrigin:z});else if(J)a=F;else if(D)a=D;else if(b||1!==O){var et="scale(".concat(O,") translateX(-50%)"),ea="number"==typeof Z?{lineHeight:"".concat(Z,"px")}:{};a=d.createElement(s.default,{onResize:setScaleParam},d.createElement("span",{className:"".concat(Y,"-string"),ref:I,style:(0,l.default)((0,l.default)({},ea),{msTransform:et,WebkitTransform:et,transform:et})},q))}else a=d.createElement("span",{className:"".concat(Y,"-string"),style:{opacity:0},ref:I},q);return delete B.onError,delete B.gap,d.createElement("span",(0,l.default)({},B,{style:(0,l.default)((0,l.default)((0,l.default)({},ee),Q),B.style),className:$,ref:R}),a)});t.default=y},51289:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(38416)),o=n(a(94184)),c=n(a(45598)),u=r(a(67294)),i=a(31929),s=n(a(62443)),f=a(47419),d=n(a(71511)),p=a(27847);t.default=function(e){var t=u.useContext(i.ConfigContext),a=t.getPrefixCls,r=t.direction,n=e.prefixCls,v=e.className,m=e.maxCount,E=e.maxStyle,y=e.size,O=a("avatar-group",n),_=(0,o.default)(O,(0,l.default)({},"".concat(O,"-rtl"),"rtl"===r),void 0===v?"":v),g=e.children,N=e.maxPopoverPlacement,b=e.maxPopoverTrigger,C=(0,c.default)(g).map(function(e,t){return(0,f.cloneElement)(e,{key:"avatar-key-".concat(t)})}),P=C.length;if(m&&m<P){var S=C.slice(0,m),M=C.slice(m,P);return S.push(u.createElement(s.default,{key:"avatar-popover-key",content:M,trigger:void 0===b?"hover":b,placement:void 0===N?"top":N,overlayClassName:"".concat(O,"-popover")},u.createElement(d.default,{style:E},"+".concat(P-m)))),u.createElement(p.SizeContextProvider,{size:y},u.createElement("div",{className:_,style:e.style},S))}return u.createElement(p.SizeContextProvider,{size:y},u.createElement("div",{className:_,style:e.style},C))}},84960:function(e,t,a){"use strict";var r=a(64836).default;t.ZP=void 0;var n=r(a(71511)),l=r(a(51289)),o=n.default;o.Group=l.default,t.ZP=o},8799:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;t.Z=void 0;var l=n(a(10434)),o=n(a(38416)),c=n(a(18698)),u=n(a(27424)),i=n(a(5085)),s=n(a(56338)),f=n(a(94184)),d=n(a(82122)),p=r(a(67294)),v=a(31929),m=n(a(93319)),E=n(a(3236)),y=a(51130),O=a(46549),_=a(47419),g=a(71434),__rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},N=p.forwardRef(function(e,t){var a=p.useContext(v.ConfigContext),r=a.getPrefixCls,n=a.direction,N=p.useContext(E.default),b=p.useState(!1),C=(0,u.default)(b,2),P=C[0],S=C[1],M=p.useRef(null);p.useImperativeHandle(t,function(){return M.current});var x=e.className,h=e.size,I=e.disabled,R=e.prefixCls,w=e.addonBefore,T=e.addonAfter,A=e.prefix,U=e.bordered,j=void 0===U||U,L=e.readOnly,F=e.status,W=e.controls,D=__rest(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),H=r("input-number",R),k=(0,O.useCompactItemContext)(H,n),K=k.compactSize,q=k.compactItemClassnames,z=p.createElement(s.default,{className:"".concat(H,"-handler-up-inner")}),B=p.createElement(i.default,{className:"".concat(H,"-handler-down-inner")}),Z="boolean"==typeof W?W:void 0;"object"===(0,c.default)(W)&&(z=void 0===W.upIcon?z:p.createElement("span",{className:"".concat(H,"-handler-up-inner")},W.upIcon),B=void 0===W.downIcon?B:p.createElement("span",{className:"".concat(H,"-handler-down-inner")},W.downIcon));var G=(0,p.useContext)(y.FormItemInputContext),V=G.hasFeedback,Q=G.status,Y=G.isFormItemInput,X=G.feedbackIcon,J=(0,g.getMergedStatus)(Q,F),$=K||h||N,ee=p.useContext(m.default),et=null!=I?I:ee,ea=(0,f.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},"".concat(H,"-lg"),"large"===$),"".concat(H,"-sm"),"small"===$),"".concat(H,"-rtl"),"rtl"===n),"".concat(H,"-borderless"),!j),"".concat(H,"-in-form-item"),Y),(0,g.getStatusClassNames)(H,J),q,x),er=p.createElement(d.default,(0,l.default)({ref:M,disabled:et,className:ea,upHandler:z,downHandler:B,prefixCls:H,readOnly:L,controls:Z},D));if(null!=A||V){var en=(0,f.default)("".concat(H,"-affix-wrapper"),(0,g.getStatusClassNames)("".concat(H,"-affix-wrapper"),J,V),(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({},"".concat(H,"-affix-wrapper-focused"),P),"".concat(H,"-affix-wrapper-disabled"),e.disabled),"".concat(H,"-affix-wrapper-sm"),"small"===N),"".concat(H,"-affix-wrapper-lg"),"large"===N),"".concat(H,"-affix-wrapper-rtl"),"rtl"===n),"".concat(H,"-affix-wrapper-readonly"),L),"".concat(H,"-affix-wrapper-borderless"),!j),"".concat(x),!(w||T)&&x));er=p.createElement("div",{className:en,style:e.style,onMouseUp:function(){return M.current.focus()}},A&&p.createElement("span",{className:"".concat(H,"-prefix")},A),(0,_.cloneElement)(er,{style:null,value:e.value,onFocus:function(t){var a;S(!0),null===(a=e.onFocus)||void 0===a||a.call(e,t)},onBlur:function(t){var a;S(!1),null===(a=e.onBlur)||void 0===a||a.call(e,t)}}),V&&p.createElement("span",{className:"".concat(H,"-suffix")},X))}if(null!=w||null!=T){var el="".concat(H,"-group"),eo="".concat(el,"-addon"),ec=w?p.createElement("div",{className:eo},w):null,eu=T?p.createElement("div",{className:eo},T):null,ei=(0,f.default)("".concat(H,"-wrapper"),el,(0,o.default)({},"".concat(el,"-rtl"),"rtl"===n)),es=(0,f.default)("".concat(H,"-group-wrapper"),(0,o.default)((0,o.default)((0,o.default)({},"".concat(H,"-group-wrapper-sm"),"small"===N),"".concat(H,"-group-wrapper-lg"),"large"===N),"".concat(H,"-group-wrapper-rtl"),"rtl"===n),(0,g.getStatusClassNames)("".concat(H,"-group-wrapper"),J,V),x);er=p.createElement("div",{className:es,style:e.style},p.createElement("div",{className:ei},ec&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},ec)),(0,_.cloneElement)(er,{style:null,disabled:et}),eu&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},eu))))}return er});t.Z=N},16373:function(e,t,a){"use strict";var r=a(75263).default;t.default=void 0;var n=r(a(62704)),l=r(a(87412)),o=n.default;o.Header=n.Header,o.Footer=n.Footer,o.Content=n.Content,o.Sider=l.default,o._InternalSiderContext=l.SiderContext,t.default=o},62443:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(10434)),o=r(a(67294)),c=a(70502),u=a(53683),i=a(31929),s=n(a(94055)),__rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},Overlay=function(e){var t=e.title,a=e.content,r=e.prefixCls;return o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,c.getRenderPropValue)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,c.getRenderPropValue)(a)))},f=o.forwardRef(function(e,t){var a=e.prefixCls,r=e.title,n=e.content,c=e._overlay,f=e.placement,d=e.trigger,p=e.mouseEnterDelay,v=e.mouseLeaveDelay,m=e.overlayStyle,E=__rest(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),y=o.useContext(i.ConfigContext).getPrefixCls,O=y("popover",a),_=y(),g=o.useMemo(function(){return c||(r||n?o.createElement(Overlay,{prefixCls:O,title:r,content:n}):null)},[c,r,n,O]);return o.createElement(s.default,(0,l.default)({placement:void 0===f?"top":f,trigger:void 0===d?"hover":d,mouseEnterDelay:void 0===p?.1:p,mouseLeaveDelay:void 0===v?.1:v,overlayStyle:void 0===m?{}:m},E,{prefixCls:O,ref:t,overlay:g,transitionName:(0,u.getTransitionName)(_,"zoom-big",E.transitionName)}))});t.default=f},42698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return null}},1286:function(e,t,a){"use strict";var r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=useAnimateConfig;var n=r(a(18698)),l=r(a(10434)),o=a(53683),c={motionAppear:!1,motionEnter:!0,motionLeave:!0};function useAnimateConfig(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===a?{inkBar:!1,tabPane:!1}:!0===a?{inkBar:!0,tabPane:!0}:(0,l.default)({inkBar:!0},"object"===(0,n.default)(a)?a:{})).tabPane&&(t.tabPaneMotion=(0,l.default)((0,l.default)({},c),{motionName:(0,o.getTransitionName)(e,"switch")})),t}},47397:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=useLegacyItems;var l=n(a(10434)),o=r(a(67294)),c=n(a(45598));n(a(13594));var __rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};function filter(e){return e.filter(function(e){return e})}function useLegacyItems(e,t){return e||filter((0,c.default)(t).map(function(e){if(o.isValidElement(e)){var t=e.key,a=e.props||{},r=a.tab,n=__rest(a,["tab"]);return(0,l.default)((0,l.default)({key:String(t)},n),{label:r})}return null}))}},20838:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(38416)),o=n(a(10434)),c=n(a(40753)),u=n(a(26937)),i=n(a(20054)),s=n(a(94184)),f=n(a(93068)),d=r(a(67294)),p=a(31929),v=n(a(3236));n(a(13594));var m=n(a(1286)),E=n(a(47397)),y=n(a(42698)),__rest=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};function Tabs(e){var t,a=e.type,r=e.className,n=e.size,y=e.onEdit,O=e.hideAdd,_=e.centered,g=e.addIcon,N=e.children,b=e.items,C=e.animated,P=__rest(e,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),S=P.prefixCls,M=P.moreIcon,x=void 0===M?d.createElement(u.default,null):M,h=d.useContext(p.ConfigContext),I=h.getPrefixCls,R=h.direction,w=h.getPopupContainer,T=I("tabs",S);"editable-card"===a&&(t={onEdit:function(e,t){var a=t.key,r=t.event;null==y||y("add"===e?r:a,e)},removeIcon:d.createElement(c.default,null),addIcon:g||d.createElement(i.default,null),showAdd:!0!==O});var A=I(),U=(0,E.default)(b,N),j=(0,m.default)(T,C);return d.createElement(v.default.Consumer,null,function(e){var c=void 0!==n?n:e;return d.createElement(f.default,(0,o.default)({direction:R,getPopupContainer:w,moreTransitionName:"".concat(A,"-slide-up")},P,{items:U,className:(0,s.default)((0,l.default)((0,l.default)((0,l.default)((0,l.default)({},"".concat(T,"-").concat(c),c),"".concat(T,"-card"),["card","editable-card"].includes(a)),"".concat(T,"-editable-card"),"editable-card"===a),"".concat(T,"-centered"),_),r),editable:t,moreIcon:x,prefixCls:T,animated:j}))})}Tabs.TabPane=y.default,t.default=Tabs},93645:function(e,t,a){"use strict";a.d(t,{u:function(){return getRoundingMethod}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function getRoundingMethod(e){return e?r[e]:r.trunc}},59910:function(e,t,a){"use strict";a.d(t,{Z:function(){return differenceInMilliseconds}});var r=a(19013),n=a(13882);function differenceInMilliseconds(e,t){return(0,n.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,a){"use strict";a.d(t,{Z:function(){return differenceInSeconds}});var r=a(59910),n=a(13882),l=a(93645);function differenceInSeconds(e,t,a){(0,n.Z)(2,arguments);var o=(0,r.Z)(e,t)/1e3;return(0,l.u)(null==a?void 0:a.roundingMethod)(o)}},11163:function(e,t,a){e.exports=a(59974)},27712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=a.F1&&t<=a.F12)return!1;switch(t){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a.ZERO&&e<=a.NINE||e>=a.NUM_ZERO&&e<=a.NUM_MULTIPLY||e>=a.A&&e<=a.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.default=a}}]); |