mirror of
https://github.com/owncast/owncast.git
synced 2025-01-05 08:07:58 +03:00
1 line
No EOL
12 KiB
JavaScript
Vendored
1 line
No EOL
12 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4938],{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"}},56338:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=_interopRequireDefault(a(5661));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=n,e.exports=n},5661:function(e,t,a){"use strict";var n=a(64836),r=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(42122)),o=_interopRequireWildcard(a(67294)),c=n(a(26803)),u=n(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"!==r(e)&&"function"!=typeof e)return{default:e};var a=_getRequireWildcardCache(t);if(a&&a.has(e))return a.get(e);var n={},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(n,o,c):n[o]=e[o]}return n.default=e,a&&a.set(e,n),n}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 d=o.forwardRef(UpOutlined);t.default=d},8799:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;t.Z=void 0;var l=r(a(10434)),o=r(a(38416)),c=r(a(18698)),u=r(a(27424)),d=r(a(5085)),i=r(a(56338)),f=r(a(94184)),s=r(a(82122)),p=n(a(67294)),m=a(31929),v=r(a(93319)),g=r(a(3236)),y=a(51130),b=a(46549),h=a(47419),w=a(71434),__rest=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},C=p.forwardRef(function(e,t){var a=p.useContext(m.ConfigContext),n=a.getPrefixCls,r=a.direction,C=p.useContext(g.default),O=p.useState(!1),x=(0,u.default)(O,2),_=x[0],E=x[1],N=p.useRef(null);p.useImperativeHandle(t,function(){return N.current});var j=e.className,I=e.size,k=e.disabled,P=e.prefixCls,M=e.addonBefore,S=e.addonAfter,R=e.prefix,Z=e.bordered,F=void 0===Z||Z,D=e.readOnly,W=e.status,T=e.controls,q=__rest(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),H=n("input-number",P),z=(0,b.useCompactItemContext)(H,r),B=z.compactSize,K=z.compactItemClassnames,L=p.createElement(i.default,{className:"".concat(H,"-handler-up-inner")}),U=p.createElement(d.default,{className:"".concat(H,"-handler-down-inner")}),A="boolean"==typeof T?T:void 0;"object"===(0,c.default)(T)&&(L=void 0===T.upIcon?L:p.createElement("span",{className:"".concat(H,"-handler-up-inner")},T.upIcon),U=void 0===T.downIcon?U:p.createElement("span",{className:"".concat(H,"-handler-down-inner")},T.downIcon));var G=(0,p.useContext)(y.FormItemInputContext),V=G.hasFeedback,J=G.status,Q=G.isFormItemInput,X=G.feedbackIcon,Y=(0,w.getMergedStatus)(J,W),$=B||I||C,ee=p.useContext(v.default),et=null!=k?k: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"===r),"".concat(H,"-borderless"),!F),"".concat(H,"-in-form-item"),Q),(0,w.getStatusClassNames)(H,Y),K,j),en=p.createElement(s.default,(0,l.default)({ref:N,disabled:et,className:ea,upHandler:L,downHandler:U,prefixCls:H,readOnly:D,controls:A},q));if(null!=R||V){var er=(0,f.default)("".concat(H,"-affix-wrapper"),(0,w.getStatusClassNames)("".concat(H,"-affix-wrapper"),Y,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"),_),"".concat(H,"-affix-wrapper-disabled"),e.disabled),"".concat(H,"-affix-wrapper-sm"),"small"===C),"".concat(H,"-affix-wrapper-lg"),"large"===C),"".concat(H,"-affix-wrapper-rtl"),"rtl"===r),"".concat(H,"-affix-wrapper-readonly"),D),"".concat(H,"-affix-wrapper-borderless"),!F),"".concat(j),!(M||S)&&j));en=p.createElement("div",{className:er,style:e.style,onMouseUp:function(){return N.current.focus()}},R&&p.createElement("span",{className:"".concat(H,"-prefix")},R),(0,h.cloneElement)(en,{style:null,value:e.value,onFocus:function(t){var a;E(!0),null===(a=e.onFocus)||void 0===a||a.call(e,t)},onBlur:function(t){var a;E(!1),null===(a=e.onBlur)||void 0===a||a.call(e,t)}}),V&&p.createElement("span",{className:"".concat(H,"-suffix")},X))}if(null!=M||null!=S){var el="".concat(H,"-group"),eo="".concat(el,"-addon"),ec=M?p.createElement("div",{className:eo},M):null,eu=S?p.createElement("div",{className:eo},S):null,ed=(0,f.default)("".concat(H,"-wrapper"),el,(0,o.default)({},"".concat(el,"-rtl"),"rtl"===r)),ei=(0,f.default)("".concat(H,"-group-wrapper"),(0,o.default)((0,o.default)((0,o.default)({},"".concat(H,"-group-wrapper-sm"),"small"===C),"".concat(H,"-group-wrapper-lg"),"large"===C),"".concat(H,"-group-wrapper-rtl"),"rtl"===r),(0,w.getStatusClassNames)("".concat(H,"-group-wrapper"),Y,V),j);en=p.createElement("div",{className:ei,style:e.style},p.createElement("div",{className:ed},ec&&p.createElement(b.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},ec)),(0,h.cloneElement)(en,{style:null,disabled:et}),eu&&p.createElement(b.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},eu))))}return en});t.Z=C},16373:function(e,t,a){"use strict";var n=a(75263).default;t.default=void 0;var r=n(a(62704)),l=n(a(87412)),o=r.default;o.Header=r.Header,o.Footer=r.Footer,o.Content=r.Content,o.Sider=l.default,o._InternalSiderContext=l.SiderContext,t.default=o},40987:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;t.Z=void 0;var l=r(a(10434)),o=r(a(38416)),c=r(a(628)),u=r(a(94184)),d=r(a(33413)),i=n(a(67294)),f=a(31929),s=r(a(93319)),p=r(a(3236));r(a(13594));var m=r(a(61539)),__rest=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},v=i.forwardRef(function(e,t){var a=e.prefixCls,n=e.size,r=e.disabled,v=e.loading,g=e.className,y=__rest(e,["prefixCls","size","disabled","loading","className"]),b=i.useContext(f.ConfigContext),h=b.getPrefixCls,w=b.direction,C=i.useContext(p.default),O=i.useContext(s.default),x=(null!=r?r:O)||v,_=h("switch",a),E=i.createElement("div",{className:"".concat(_,"-handle")},v&&i.createElement(c.default,{className:"".concat(_,"-loading-icon")})),N=(0,u.default)((0,o.default)((0,o.default)((0,o.default)({},"".concat(_,"-small"),"small"===(n||C)),"".concat(_,"-loading"),v),"".concat(_,"-rtl"),"rtl"===w),void 0===g?"":g);return i.createElement(m.default,{insertExtraNode:!0},i.createElement(d.default,(0,l.default)({},y,{prefixCls:_,className:N,disabled:x,ref:t,loadingIcon:E})))});v.__ANT_SWITCH=!0,t.Z=v},89277:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434));r(a(18698));var o=n(a(67294));r(a(13594));var c=r(a(28460)),__rest=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},u=o.forwardRef(function(e,t){var a=e.ellipsis,n=e.rel,r=__rest(e,["ellipsis","rel"]),u=(0,l.default)((0,l.default)({},r),{rel:void 0===n&&"_blank"===r.target?"noopener noreferrer":n});return delete u.navigate,o.createElement(c.default,(0,l.default)({},u,{ref:t,ellipsis:!!a,component:"a"}))});t.default=u},21987:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=n(a(67294)),c=r(a(28460)),u=o.forwardRef(function(e,t){return o.createElement(c.default,(0,l.default)({ref:t},e,{component:"div"}))});t.default=u},15394:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(18698)),c=r(a(18475)),u=n(a(67294));r(a(13594));var d=r(a(28460)),__rest=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};t.default=u.forwardRef(function(e,t){var a=e.ellipsis,n=__rest(e,["ellipsis"]),r=u.useMemo(function(){return a&&"object"===(0,o.default)(a)?(0,c.default)(a,["expandable","rows"]):a},[a]);return u.createElement(d.default,(0,l.default)({ref:t},n,{ellipsis:r,component:"span"}))})},53740:function(e,t,a){"use strict";var n=a(64836).default;t.default=void 0;var r=n(a(89277)),l=n(a(21987)),o=n(a(15394)),c=n(a(34528)),u=n(a(89652)).default;u.Text=o.default,u.Link=r.default,u.Title=c.default,u.Paragraph=l.default,t.default=u},93645:function(e,t,a){"use strict";a.d(t,{u:function(){return getRoundingMethod}});var n={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?n[e]:n.trunc}},59910:function(e,t,a){"use strict";a.d(t,{Z:function(){return differenceInMilliseconds}});var n=a(19013),r=a(13882);function differenceInMilliseconds(e,t){return(0,r.Z)(2,arguments),(0,n.Z)(e).getTime()-(0,n.Z)(t).getTime()}},11699:function(e,t,a){"use strict";a.d(t,{Z:function(){return differenceInSeconds}});var n=a(59910),r=a(13882),l=a(93645);function differenceInSeconds(e,t,a){(0,r.Z)(2,arguments);var o=(0,n.Z)(e,t)/1e3;return(0,l.u)(null==a?void 0:a.roundingMethod)(o)}},11163:function(e,t,a){e.exports=a(59974)},33413:function(e,t,a){"use strict";a.r(t);var n=a(4942),r=a(97685),l=a(45987),o=a(67294),c=a(94184),u=a.n(c),d=a(21770),i=a(15105),f=o.forwardRef(function(e,t){var a,c=e.prefixCls,f=void 0===c?"rc-switch":c,s=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,g=e.loadingIcon,y=e.checkedChildren,b=e.unCheckedChildren,h=e.onClick,w=e.onChange,C=e.onKeyDown,O=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,d.Z)(!1,{value:p,defaultValue:m}),_=(0,r.Z)(x,2),E=_[0],N=_[1];function triggerChange(e,t){var a=E;return v||(N(a=e),null==w||w(a,t)),a}function onInternalKeyDown(e){e.which===i.Z.LEFT?triggerChange(!1,e):e.which===i.Z.RIGHT&&triggerChange(!0,e),null==C||C(e)}function onInternalClick(e){var t=triggerChange(!E,e);null==h||h(t,e)}var j=u()(f,s,(a={},(0,n.Z)(a,"".concat(f,"-checked"),E),(0,n.Z)(a,"".concat(f,"-disabled"),v),a));return o.createElement("button",Object.assign({},O,{type:"button",role:"switch","aria-checked":E,disabled:v,className:j,ref:t,onKeyDown:onInternalKeyDown,onClick:onInternalClick}),g,o.createElement("span",{className:"".concat(f,"-inner")},E?y:b))});f.displayName="Switch",t.default=f}}]); |