mirror of
https://github.com/owncast/owncast.git
synced 2025-01-06 16:47:30 +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:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-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,n=(r=a(32615))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},56338:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(5661))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},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=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=i(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}(a(67294)),c=r(a(57096)),u=r(a(92074));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}var f=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};f.displayName="PlusOutlined";var s=o.forwardRef(f);t.default=s},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=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=i(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}(a(67294)),c=r(a(26803)),u=r(a(92074));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}var f=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};f.displayName="UpOutlined";var s=o.forwardRef(f);t.default=s},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)),f=n(a(48555)),s=a(75531),d=r(a(67294)),p=a(31929),v=n(a(60872)),m=a(67046);n(a(13594));var E=n(a(27847)),y=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},O=d.forwardRef(function(e,t){var a,r,n,O=d.useContext(E.default),N=d.useState(1),g=(0,u.default)(N,2),b=g[0],_=g[1],P=d.useState(!1),C=(0,u.default)(P,2),M=C[0],S=C[1],x=d.useState(!0),h=(0,u.default)(x,2),I=h[0],w=h[1],T=d.useRef(null),A=d.useRef(null),R=(0,s.composeRef)(t,T),U=d.useContext(p.ConfigContext).getPrefixCls,j=function(){if(A.current&&T.current){var t=A.current.offsetWidth,a=T.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(){S(!0)},[]),d.useEffect(function(){w(!0),_(1)},[e.src]),d.useEffect(function(){j()},[e.gap]);var F=e.prefixCls,L=e.shape,H=void 0===L?"circle":L,k=e.size,D=void 0===k?"default":k,K=e.src,z=e.srcSet,W=e.icon,B=e.className,Z=e.alt,G=e.draggable,V=e.children,Q=e.crossOrigin,q=y(e,["prefixCls","shape","size","src","srcSet","icon","className","alt","draggable","children","crossOrigin"]),Y="default"===D?O:D,X=Object.keys("object"===(0,c.default)(Y)&&Y||{}).some(function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)}),J=(0,v.default)(X),$=d.useMemo(function(){if("object"!==(0,c.default)(Y))return{};var e=Y[m.responsiveArray.find(function(e){return J[e]})];return e?{width:e,height:e,lineHeight:"".concat(e,"px"),fontSize:W?e/2:18}:{}},[J,Y]),ee=U("avatar",F),et=(0,i.default)((a={},(0,o.default)(a,"".concat(ee,"-lg"),"large"===Y),(0,o.default)(a,"".concat(ee,"-sm"),"small"===Y),a)),ea=d.isValidElement(K),er=(0,i.default)(ee,et,(r={},(0,o.default)(r,"".concat(ee,"-").concat(H),!!H),(0,o.default)(r,"".concat(ee,"-image"),ea||K&&I),(0,o.default)(r,"".concat(ee,"-icon"),!!W),r),B),en="number"==typeof Y?{width:Y,height:Y,lineHeight:"".concat(Y,"px"),fontSize:W?Y/2:18}:{};if("string"==typeof K&&I)n=d.createElement("img",{src:K,draggable:G,srcSet:z,onError:function(){var t=e.onError;!1!==(t?t():void 0)&&w(!1)},alt:Z,crossOrigin:Q});else if(ea)n=K;else if(W)n=W;else if(M||1!==b){var el="scale(".concat(b,") translateX(-50%)"),eo="number"==typeof Y?{lineHeight:"".concat(Y,"px")}:{};n=d.createElement(f.default,{onResize:j},d.createElement("span",{className:"".concat(ee,"-string"),ref:A,style:(0,l.default)((0,l.default)({},eo),{msTransform:el,WebkitTransform:el,transform:el})},V))}else n=d.createElement("span",{className:"".concat(ee,"-string"),style:{opacity:0},ref:A},V);return delete q.onError,delete q.gap,d.createElement("span",(0,l.default)({},q,{style:(0,l.default)((0,l.default)((0,l.default)({},en),$),q.style),className:er,ref:R}),n)});t.default=O},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),f=n(a(62443)),s=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),N=(0,o.default)(O,(0,l.default)({},"".concat(O,"-rtl"),"rtl"===r),void 0===v?"":v),g=e.children,b=e.maxPopoverPlacement,_=e.maxPopoverTrigger,P=(0,c.default)(g).map(function(e,t){return(0,s.cloneElement)(e,{key:"avatar-key-".concat(t)})}),C=P.length;if(m&&m<C){var M=P.slice(0,m),S=P.slice(m,C);return M.push(u.createElement(f.default,{key:"avatar-popover-key",content:S,trigger:void 0===_?"hover":_,placement:void 0===b?"top":b,overlayClassName:"".concat(O,"-popover")},u.createElement(d.default,{style:E},"+".concat(C-m)))),u.createElement(p.SizeContextProvider,{size:y},u.createElement("div",{className:N,style:e.style},M))}return u.createElement(p.SizeContextProvider,{size:y},u.createElement("div",{className:N,style:e.style},P))}},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)),f=n(a(56338)),s=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),N=a(47419),g=a(71434),b=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},_=p.forwardRef(function(e,t){var a=p.useContext(v.ConfigContext),r=a.getPrefixCls,n=a.direction,_=p.useContext(E.default),P=p.useState(!1),C=(0,u.default)(P,2),M=C[0],S=C[1],x=p.useRef(null);p.useImperativeHandle(t,function(){return x.current});var h=e.className,I=e.size,w=e.disabled,T=e.prefixCls,A=e.addonBefore,R=e.addonAfter,U=e.prefix,j=e.bordered,F=void 0===j||j,L=e.readOnly,H=e.status,k=e.controls,D=b(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),K=r("input-number",T),z=(0,O.useCompactItemContext)(K,n),W=z.compactSize,B=z.compactItemClassnames,Z=p.createElement(f.default,{className:"".concat(K,"-handler-up-inner")}),G=p.createElement(i.default,{className:"".concat(K,"-handler-down-inner")}),V="boolean"==typeof k?k:void 0;"object"===(0,c.default)(k)&&(Z=void 0===k.upIcon?Z:p.createElement("span",{className:"".concat(K,"-handler-up-inner")},k.upIcon),G=void 0===k.downIcon?G:p.createElement("span",{className:"".concat(K,"-handler-down-inner")},k.downIcon));var Q=(0,p.useContext)(y.FormItemInputContext),q=Q.hasFeedback,Y=Q.status,X=Q.isFormItemInput,J=Q.feedbackIcon,$=(0,g.getMergedStatus)(Y,H),ee=W||I||_,et=p.useContext(m.default),ea=null!=w?w:et,er=(0,s.default)((el={},(0,o.default)(el,"".concat(K,"-lg"),"large"===ee),(0,o.default)(el,"".concat(K,"-sm"),"small"===ee),(0,o.default)(el,"".concat(K,"-rtl"),"rtl"===n),(0,o.default)(el,"".concat(K,"-borderless"),!F),(0,o.default)(el,"".concat(K,"-in-form-item"),X),el),(0,g.getStatusClassNames)(K,$),B,h),en=p.createElement(d.default,(0,l.default)({ref:x,disabled:ea,className:er,upHandler:Z,downHandler:G,prefixCls:K,readOnly:L,controls:V},D));if(null!=U||q){var el,eo,ec=(0,s.default)("".concat(K,"-affix-wrapper"),(0,g.getStatusClassNames)("".concat(K,"-affix-wrapper"),$,q),(eo={},(0,o.default)(eo,"".concat(K,"-affix-wrapper-focused"),M),(0,o.default)(eo,"".concat(K,"-affix-wrapper-disabled"),e.disabled),(0,o.default)(eo,"".concat(K,"-affix-wrapper-sm"),"small"===_),(0,o.default)(eo,"".concat(K,"-affix-wrapper-lg"),"large"===_),(0,o.default)(eo,"".concat(K,"-affix-wrapper-rtl"),"rtl"===n),(0,o.default)(eo,"".concat(K,"-affix-wrapper-readonly"),L),(0,o.default)(eo,"".concat(K,"-affix-wrapper-borderless"),!F),(0,o.default)(eo,"".concat(h),!(A||R)&&h),eo));en=p.createElement("div",{className:ec,style:e.style,onMouseUp:function(){return x.current.focus()}},U&&p.createElement("span",{className:"".concat(K,"-prefix")},U),(0,N.cloneElement)(en,{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)}}),q&&p.createElement("span",{className:"".concat(K,"-suffix")},J))}if(null!=A||null!=R){var eu,ei="".concat(K,"-group"),ef="".concat(ei,"-addon"),es=A?p.createElement("div",{className:ef},A):null,ed=R?p.createElement("div",{className:ef},R):null,ep=(0,s.default)("".concat(K,"-wrapper"),ei,(0,o.default)({},"".concat(ei,"-rtl"),"rtl"===n)),ev=(0,s.default)("".concat(K,"-group-wrapper"),(eu={},(0,o.default)(eu,"".concat(K,"-group-wrapper-sm"),"small"===_),(0,o.default)(eu,"".concat(K,"-group-wrapper-lg"),"large"===_),(0,o.default)(eu,"".concat(K,"-group-wrapper-rtl"),"rtl"===n),eu),(0,g.getStatusClassNames)("".concat(K,"-group-wrapper"),$,q),h);en=p.createElement("div",{className:ev,style:e.style},p.createElement("div",{className:ep},es&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},es)),(0,N.cloneElement)(en,{style:null,disabled:ea}),ed&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},ed))))}return en});t.Z=_},16373:function(e,t,a){"use strict";var r=a(64836).default,n=a(75263).default;t.default=void 0;var l=n(a(62704)),o=r(a(87412)),c=l.default;c.Header=l.Header,c.Footer=l.Footer,c.Content=l.Content,c.Sider=o.default,t.default=c},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),f=n(a(94055)),s=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},d=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)))},p=o.forwardRef(function(e,t){var a=e.prefixCls,r=e.title,n=e.content,c=e._overlay,p=e.placement,v=e.trigger,m=e.mouseEnterDelay,E=e.mouseLeaveDelay,y=e.overlayStyle,O=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),N=o.useContext(i.ConfigContext).getPrefixCls,g=N("popover",a),b=N(),_=o.useMemo(function(){return c||(r||n?o.createElement(d,{prefixCls:g,title:r,content:n}):null)},[c,r,n,g]);return o.createElement(f.default,(0,l.default)({placement:void 0===p?"top":p,trigger:void 0===v?"hover":v,mouseEnterDelay:void 0===m?.1:m,mouseLeaveDelay:void 0===E?.1:E,overlayStyle:void 0===y?{}:y},O,{prefixCls:g,ref:t,overlay:_,transitionName:(0,u.getTransitionName)(b,"zoom-big",O.transitionName)}))});t.default=p},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=function(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};var n=r(a(18698)),l=r(a(10434)),o=a(53683),c={motionAppear:!1,motionEnter:!0,motionLeave:!0}},47397:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e||(0,c.default)(t).map(function(e){if(o.isValidElement(e)){var t=e.key,a=e.props||{},r=a.tab,n=u(a,["tab"]);return(0,l.default)((0,l.default)({key:String(t)},n),{label:r})}return null}).filter(function(e){return e})};var l=n(a(10434)),o=r(a(67294)),c=n(a(45598));n(a(13594));var u=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}},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)),f=n(a(94184)),s=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)),O=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 N(e){var t,a=e.type,r=e.className,n=e.size,y=e.onEdit,N=e.hideAdd,g=e.centered,b=e.addIcon,_=e.children,P=e.items,C=e.animated,M=O(e,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),S=M.prefixCls,x=M.moreIcon,h=void 0===x?d.createElement(u.default,null):x,I=d.useContext(p.ConfigContext),w=I.getPrefixCls,T=I.direction,A=I.getPopupContainer,R=w("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:b||d.createElement(i.default,null),showAdd:!0!==N});var U=w(),j=(0,E.default)(P,_),F=(0,m.default)(R,C);return d.createElement(v.default.Consumer,null,function(e){var c,u=void 0!==n?n:e;return d.createElement(s.default,(0,o.default)({direction:T,getPopupContainer:A,moreTransitionName:"".concat(U,"-slide-up")},M,{items:j,className:(0,f.default)((c={},(0,l.default)(c,"".concat(R,"-").concat(u),u),(0,l.default)(c,"".concat(R,"-card"),["card","editable-card"].includes(a)),(0,l.default)(c,"".concat(R,"-editable-card"),"editable-card"===a),(0,l.default)(c,"".concat(R,"-centered"),g),c),r),editable:t,moreIcon:h,prefixCls:R,animated:F}))})}N.TabPane=y.default,t.default=N},93645:function(e,t,a){"use strict";a.d(t,{u:function(){return n}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function n(e){return e?r[e]:r.trunc}},59910:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var r=a(19013),n=a(13882);function l(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 o}});var r=a(59910),n=a(13882),l=a(93645);function o(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(96885)},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}}]); |