Files
owncast/static/web/_next/static/chunks/2934-c96a01cbf005d5a7.js
2022-12-12 16:43:53 +00:00

1 line
10 KiB
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2934],{24019:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="ClockCircleOutlined";var l=i.forwardRef(c)},93069:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="WifiOutlined";var l=i.forwardRef(c)},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(97685),i=n(67294);function o(){var e=i.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var r=n(4942),i=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={};t.ZP={matchHandlers:{},dispatch:function(e){return s=e,c.forEach(function(e){return e(s)}),c.size>=1},subscribe:function(e){return c.size||this.register(),l+=1,c.set(l,e),e(s),l},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),c.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},s),(0,r.Z)({},t,o)))},c=window.matchMedia(n);c.addListener(o),e.matchHandlers[n]={mql:c,listener:o},o(c)})}}},11382:function(e,t,n){"use strict";var r=n(87462),i=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),v=n(96159),d=n(93355),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};(0,d.b)("small","default","large");var g=null,h=function(e){var t=e.spinPrefixCls,n=e.spinning,a=void 0===n||n,l=e.delay,d=e.className,h=e.size,b=void 0===h?"default":h,y=e.tip,w=e.wrapperClassName,x=e.style,C=e.children,Z=m(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return a&&(!a||!l||!!isNaN(Number(l)))}),E=(0,o.Z)(N,2),O=E[0],k=E[1];return f.useEffect(function(){var e=s()(function(){k(a)},l);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[l,a]),f.createElement(p.C,null,function(n){var o,a,l,s=n.direction,p=c()(t,(l={},(0,i.Z)(l,"".concat(t,"-sm"),"small"===b),(0,i.Z)(l,"".concat(t,"-lg"),"large"===b),(0,i.Z)(l,"".concat(t,"-spinning"),O),(0,i.Z)(l,"".concat(t,"-show-text"),!!y),(0,i.Z)(l,"".concat(t,"-rtl"),"rtl"===s),l),d),m=(0,u.Z)(Z,["indicator","prefixCls"]),h=f.createElement("div",(0,r.Z)({},m,{style:x,className:p,"aria-live":"polite","aria-busy":O}),(o=e.indicator,a="".concat(t,"-dot"),null===o?null:(0,v.l$)(o)?(0,v.Tm)(o,{className:c()(o.props.className,a)}):(0,v.l$)(g)?(0,v.Tm)(g,{className:c()(g.props.className,a)}):f.createElement("span",{className:c()(a,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),y?f.createElement("div",{className:"".concat(t,"-text")},y):null);if(void 0!==C){var N=c()("".concat(t,"-container"),(0,i.Z)({},"".concat(t,"-blur"),O));return f.createElement("div",(0,r.Z)({},m,{className:c()("".concat(t,"-nested-loading"),w)}),O&&f.createElement("div",{key:"loading"},h),f.createElement("div",{className:N,key:"container"},C))}return h})},b=function(e){var t=e.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",t),i=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:n});return f.createElement(h,(0,r.Z)({},i))};b.setDefaultIndicator=function(e){g=e},t.Z=b},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,v,d=0,m=!1,g=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=l,r=s;return l=s=void 0,d=t,f=e.apply(r,n)}function y(e){var n=e-v,r=e-d;return void 0===v||n>=t||n<0||g&&r>=u}function w(){var e,n,r,o=i();if(y(o))return x(o);p=setTimeout(w,(e=o-v,n=o-d,r=t-e,g?c(r,u-n):r))}function x(e){return(p=void 0,h&&l)?b(e):(l=s=void 0,f)}function C(){var e,n=i(),r=y(n);if(l=arguments,s=this,v=n,r){if(void 0===p)return d=e=v,p=setTimeout(w,t),m?b(e):f;if(g)return clearTimeout(p),p=setTimeout(w,t),b(v)}return void 0===p&&(p=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==p&&clearTimeout(p),d=0,l=v=s=p=void 0},C.flush=function(){return void 0===p?f:x(i())},C}},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},60057:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(4942),i=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(81263),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},p=[0,0],v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:p}},d=n(15105),m=n(75164),g=n(88603),h=d.Z.ESC,b=d.Z.TAB,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],w=c.forwardRef(function(e,t){var n,s,f,p,d,w,x,C,Z,N,E,O,k,P,T,z,R=e.arrow,M=void 0!==R&&R,S=e.prefixCls,A=void 0===S?"rc-dropdown":S,j=e.transitionName,V=e.animation,L=e.align,W=e.placement,F=e.placements,H=e.getPopupContainer,$=e.showAction,_=e.hideAction,I=e.overlayClassName,B=e.overlayStyle,D=e.visible,q=e.trigger,X=void 0===q?["hover"]:q,Y=e.autoFocus,G=(0,a.Z)(e,y),J=c.useState(),K=(0,o.Z)(J,2),Q=K[0],U=K[1],ee="visible"in e?D:Q,et=c.useRef(null);c.useImperativeHandle(t,function(){return et.current}),f=(s={visible:ee,setTriggerVisible:U,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,p=s.setTriggerVisible,d=s.triggerRef,w=s.onVisibleChange,x=s.autoFocus,C=c.useRef(!1),Z=function(){if(f&&d.current){var e,t,n,r;null===(e=d.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n),p(!1),"function"==typeof w&&w(!1)}},N=function(){var e,t,n,r,i=(0,g.tS)(null===(e=d.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(r=n.getElement)||void 0===r?void 0:r.call(n))[0];return null!=i&&!!i.focus&&(i.focus(),C.current=!0,!0)},E=function(e){switch(e.keyCode){case h:Z();break;case b:var t=!1;C.current||(t=N()),t?e.preventDefault():Z()}},c.useEffect(function(){return f?(window.addEventListener("keydown",E),x&&(0,m.Z)(N,3),function(){window.removeEventListener("keydown",E),C.current=!1}):function(){C.current=!1}},[f]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},er=function(){var e=en();return c.createElement(c.Fragment,null,M&&c.createElement("div",{className:"".concat(A,"-arrow")}),e)},ei=_;return ei||-1===X.indexOf("contextMenu")||(ei=["click"]),c.createElement(l.Z,(0,i.Z)((0,i.Z)({builtinPlacements:void 0===F?v:F},G),{},{prefixCls:A,ref:et,popupClassName:u()(I,(0,r.Z)({},"".concat(A,"-show-arrow"),M)),popupStyle:B,action:X,showAction:$,hideAction:ei||[],popupPlacement:void 0===W?"bottomLeft":W,popupAlign:L,popupTransitionName:j,popupAnimation:V,popupVisible:ee,stretch:(O=e.minOverlayWidthMatchTrigger,k=e.alignPoint,"minOverlayWidthMatchTrigger"in e?O:!k)?"minWidth":"",popup:"function"==typeof e.overlay?er:er(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;U(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},getPopupContainer:H}),(T=(P=e.children).props?P.props:{},z=u()(T.className,void 0!==(n=e.openClassName)?n:"".concat(A,"-open")),ee&&P?c.cloneElement(P,{className:z}):P))})}}]);