filesbox/web/dist/p__Storage__Video.4ab58ef4....
2024-07-26 14:10:54 +08:00

2 lines
28 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[22746],{19675:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="CaretDownOutlined";var u=o.forwardRef(d)},28612:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="CaretUpOutlined";var u=o.forwardRef(d)},8212:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="EditOutlined";var u=o.forwardRef(d)},59465:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="MinusCircleOutlined";var u=o.forwardRef(d)},59879:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="ReloadOutlined";var u=o.forwardRef(d)},25592:function(Z,m,e){"use strict";e.d(m,{Z:function(){return u}});var l=e(28991),o=e(67294),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},h=C,O=e(27029),d=function(r,D){return o.createElement(O.Z,(0,l.Z)((0,l.Z)({},r),{},{ref:D,icon:h}))};d.displayName="SyncOutlined";var u=o.forwardRef(d)},34540:function(Z,m,e){"use strict";var l=e(28991),o=e(81253),C=e(85893),h=e(86190),O=e(67294),d=e(66758),u=e(47869),g=["fieldProps","proFieldProps"],r="dateRange",D=O.forwardRef(function(T,x){var i=T.fieldProps,j=T.proFieldProps,s=(0,o.Z)(T,g),E=(0,O.useContext)(d.Z);return(0,C.jsx)(u.Z,(0,l.Z)({ref:x,fieldProps:(0,l.Z)({getPopupContainer:E.getPopupContainer},i),valueType:r,proFieldProps:j,filedConfig:{valueType:r,lightFilterLabelFormatter:function(G){return(0,h.Z)(G,(i==null?void 0:i.format)||"YYYY-MM-DD")}}},s))});m.Z=D},19273:function(Z,m,e){"use strict";e.d(m,{Z:function(){return l}});function l(o){if(o==null)throw new TypeError("Cannot destructure undefined")}},99210:function(){},42139:function(Z,m,e){"use strict";var l=e(11849),o=e(39428),C=e(3182),h=e(57663),O=e(71577),d=e(67294),u=e(30672),g=e(85473),r=e(16894),D=e(37476),T=e(71975),x=e(1977),i=e(85893),j=s=>{var E=(0,u.YB)(),Q=(0,u.v9)(V=>V.common),G=Q.isMobile,Y=s.rowKey,N=Y===void 0?"":Y,re=s.dragSortKey,H=s.isLoading,ee=H===void 0?!1:H,le=s.columns,ie=le===void 0?[]:le,k=s.data,J=k===void 0?[]:k,w=s.scroll,M=w===void 0?{x:768}:w,t=s.toolbar,n=s.toolbarTitle,a=s.toolbarAuth,c=s.toolBarRender,P=s.pagination,S=s.pageChange,K=s.rowClassName,f=s.rowSelection,y=s.canDragSort,U=y===void 0?!1:y,F=s.handleDragSortEnd,L=s.triggerClick,p=s.modalType,$=s.modalWidth,B=$===void 0?550:$,te=s.title,z=s.visible,I=s.setVisible,v=s.modalChildren,_=s.afterClose,b=s.finish,R=s.isSubmitLoading,q=R===void 0?!1:R,se={title:te,width:G&&p!="modal"?"100%":B,scrollToFirstError:!0,visible:z,onVisibleChange:I,children:v,trigger:(0,i.jsx)(O.Z,{type:"primary",icon:(0,i.jsx)(x.Z,{}),disabled:a!==void 0?!a:!1,onClick:L,children:n||E.formatMessage({id:"common.add"})}),submitter:{submitButtonProps:{loading:q}},modalProps:{destroyOnClose:!0,maskClosable:!1,afterClose:_},drawerProps:{destroyOnClose:!0,maskClosable:!1,onClose:_,className:"selfDrawer",push:{distance:0}},onFinish:function(){var V=(0,C.Z)((0,o.Z)().mark(function de(W){return(0,o.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",b(W));case 1:case"end":return A.stop()}},de)}));function ce(de){return V.apply(this,arguments)}return ce}()},ae={className:"selfTable",loading:ee,rowKey:N,columns:ie,dataSource:J,scroll:M,rowClassName:K,rowSelection:f,pagination:P?(0,l.Z)((0,l.Z)({},P),{},{current:P==null?void 0:P.currentPage,showSizeChanger:!0}):!1,onChange:S,headerTitle:t?p==="modal"?(0,i.jsx)(D.Y,(0,l.Z)({},se)):(0,i.jsx)(T.a,(0,l.Z)({},se)):!1,toolBarRender:c};return U&&!G?(0,i.jsx)(g.Z,(0,l.Z)((0,l.Z)({},ae),{},{size:"small",search:!1,options:!1,tableAlertRender:!1,dragSortKey:re,onDragSortEnd:F})):(0,i.jsx)(r.ZP,(0,l.Z)((0,l.Z)({},ae),{},{size:"small",search:!1,options:!1,tableAlertRender:!1}))};m.Z=j},77796:function(Z,m,e){"use strict";var l=e(13062),o=e(71230),C=e(89032),h=e(15746),O=e(90387),d=e(89991),u=e(2824),g=e(67294),r=e(30672),D=e(30381),T=e.n(D),x=e(34540),i=e(85893),j=s=>{var E=(0,r.YB)(),Q=s.marginBtm10,G=s.defaultVal,Y=s.timeChange,N=s.isTimeStamp,re=(0,g.useState)(G||"nearlySevenDays"),H=(0,u.Z)(re,2),ee=H[0],le=H[1],ie=[{label:E.formatMessage({id:"admin.today"}),value:"today"},{label:E.formatMessage({id:"admin.yesterday"}),value:"yesterday"},{label:E.formatMessage({id:"admin.weekDay"}),value:"nearlySevenDays"},{label:E.formatMessage({id:"admin.monthDay"}),value:"theLastThirtyDays"},{label:E.formatMessage({id:"common.all"}),value:"all"},{label:E.formatMessage({id:"common.diy"}),value:"userDefined"}],k=M=>{var t=M.getFullYear(),n=M.getMonth()+1>9?M.getMonth()+1:"0"+(M.getMonth()+1),a=M.getDate()>9?M.getDate():"0"+M.getDate();return"".concat(t,"-").concat(n,"-").concat(a)},J=M=>{var t=new Date,n=new Date;return M===1?(t.setTime(t.getTime()-24*60*60*1e3),n.setTime(n.getTime()-24*60*60*1e3)):M>=0&&(t.setTime(t.getTime()-24*60*60*1e3*M),n.setTime(n.getTime())),{timeFrom:M==="all"?void 0:N?parseInt(T()(t).startOf("day").format("X")):k(t),timeTo:M==="all"?void 0:N?parseInt(T()(n).endOf("day").format("X")):k(n)}},w=M=>{var t={};switch(M){case"today":t=J(0);break;case"yesterday":t=J(1);break;case"nearlySevenDays":t=J(7);break;case"theLastThirtyDays":t=J(30);break;case"all":t=J("all");default:break}le(M),Object.keys(t).length&&Y(t)};return(0,g.useEffect)(()=>{w(ee)},[]),(0,i.jsxs)(o.Z,{gutter:[10,10],style:{marginBottom:Q?10:0},children:[(0,i.jsx)(h.Z,{children:(0,i.jsx)(d.Z,{options:ie,value:ee,onChange:w})}),ee==="userDefined"?(0,i.jsx)(h.Z,{children:(0,i.jsx)(x.Z,{fieldProps:{onChange:(M,t)=>{var n=M?M[0]._d:"",a=M?M[1]._d:"";Y({timeFrom:N?n?parseInt(T()(n).startOf("day").format("X")):void 0:t[0],timeTo:N?a?parseInt(T()(a).endOf("day").format("X")):void 0:t[1]})}}})}):(0,i.jsx)(i.Fragment,{})]})};m.Z=j},59800:function(Z,m,e){"use strict";e.r(m);var l=e(13062),o=e(71230),C=e(89032),h=e(15746),O=e(62350),d=e(24565),u=e(34792),g=e(48086),r=e(48736),D=e(27049),T=e(71153),x=e(60331),i=e(49111),j=e(19650),s=e(11849),E=e(19273),Q=e(47673),G=e(4107),Y=e(67294),N=e(30672),re=e(96486),H=e.n(re),ee=e(73218),le=e(25592),ie=e(59465),k=e(15873),J=e(42139),w=e(37406),M=e(77796),t=e(28096),n=e.n(t),a=e(85893),c="storage",P=G.Z.Search,S=K=>{(0,E.Z)(K);var f=(0,N.YB)(),y=(0,N.I0)(),U=(0,N.v9)(v=>(0,s.Z)((0,s.Z)({},v[c]),{},{loading:v.loading.effects["".concat(c,"/getConvertList")]})),F=U.page,L=U.searchParams,p=U.loading,$=p===void 0?!1:p,B=U.convertList,te=[{title:f.formatMessage({id:"common.name"}),dataIndex:"name",sorter:!0,render:v=>(0,a.jsxs)(j.Z,{align:"start",children:[(0,a.jsx)("img",{height:14,src:n()}),v]})},{title:f.formatMessage({id:"common.type"}),dataIndex:"fileType",width:"10%"},{title:f.formatMessage({id:"explorer.file.size"}),dataIndex:"size",width:"10%",sorter:!0,render:v=>(0,w.NR)(v)},{title:f.formatMessage({id:"explorer.file.modifyTime"}),dataIndex:"modifyTime",width:"10%",sorter:!0,render:(v,_)=>_.modifyTime?(0,w.tK)(_.modifyTime):"-"},{title:f.formatMessage({id:"explorer.file.editor"}),dataIndex:"nickname",width:"10%"},{title:f.formatMessage({id:"common.createTime"}),dataIndex:"createTime",width:"10%",sorter:!0,render:(v,_)=>_.createTime?(0,w.tK)(_.createTime):"-"},{title:f.formatMessage({id:"common.status"}),dataIndex:"stateSort",width:"10%",render:v=>v==0?(0,a.jsx)(x.Z,{icon:(0,a.jsx)(ee.Z,{}),color:"error",children:f.formatMessage({id:"storage-video-transFail"})}):v==1?(0,a.jsx)(x.Z,{icon:(0,a.jsx)(le.Z,{spin:!0}),color:"purple",children:f.formatMessage({id:"storage-video-transing"})}):v==2?(0,a.jsx)(x.Z,{icon:(0,a.jsx)(ie.Z,{}),color:"warning",children:f.formatMessage({id:"storage-video-noOriginal"})}):v==3?(0,a.jsx)(x.Z,{icon:(0,a.jsx)(k.Z,{}),color:"success",children:f.formatMessage({id:"storage-video-transSuccess"})}):(0,a.jsx)(a.Fragment,{})},{title:f.formatMessage({id:"common.remark"}),dataIndex:"remark",width:"10%"},{title:f.formatMessage({id:"explorer.file.action"}),valueType:"option",width:"15%",align:"center",render:(v,_)=>(0,a.jsxs)(a.Fragment,{children:[_.stateSort==0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{onClick:()=>{y({type:"".concat(c,"/execConvert"),payload:{sourceID:_.sourceID,fileID:_.fileID}})},children:f.formatMessage({id:"storage-video-retranscoding"})}),(0,a.jsx)(D.Z,{type:"vertical"})]}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)(d.Z,{title:f.formatMessage({id:"common.ifDel"}),onConfirm:()=>y({type:"".concat(c,"/removeConvert"),payload:{convertID:_.convertID},callback:()=>g.ZP.success(f.formatMessage({id:"explorer.removeSuccess"}))}),children:(0,a.jsx)("a",{children:f.formatMessage({id:"common.delete"})})},"delete"),_.stateSort!==2?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(D.Z,{type:"vertical"}),(0,a.jsx)(d.Z,{title:f.formatMessage({id:"common.ifDel"}),onConfirm:()=>y({type:"".concat(c,"/removeFile"),payload:{sourceID:_.sourceID},callback:()=>g.ZP.success(f.formatMessage({id:"explorer.removeSuccess"}))}),children:(0,a.jsx)("a",{children:f.formatMessage({id:"storage-video-deleteOriginal"})})},"deleteOrigin")]}):(0,a.jsx)(a.Fragment,{})]})}],z=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y({type:"".concat(c,"/update"),payload:(0,s.Z)({page:(0,s.Z)((0,s.Z)({},F),{},{currentPage:1},_)},b)}),y({type:"".concat(c,"/getConvertList")})},I=(v,_,b)=>{var R=v.current,q=v.pageSize,se=b.columnKey,ae=b.order,V={};ae&&(V={sortField:se,sortType:ae.slice(0,-3)}),z({currentPage:R,pageSize:q},{sortParams:V})};return(0,Y.useEffect)(()=>{Object.keys(L).length&&z()},[JSON.stringify(L)]),(0,Y.useEffect)(()=>()=>{y({type:"".concat(c,"/clear")})},[]),(0,a.jsxs)("div",{className:"layoutBox",children:[(0,a.jsxs)(o.Z,{className:"marginBtm10",gutter:[10,10],children:[(0,a.jsx)(h.Z,{children:(0,a.jsx)(M.Z,{defaultVal:"nearlySevenDays",timeChange:v=>y({type:"".concat(c,"/update"),payload:{searchParams:(0,s.Z)((0,s.Z)({},L),v)}})})}),(0,a.jsx)(h.Z,{children:(0,a.jsx)(P,{allowClear:!0,placeholder:f.formatMessage({id:"common.search"}),onChange:(0,re.debounce)(v=>{var _=v.target.value;y({type:"".concat(c,"/update"),payload:{searchParams:(0,s.Z)((0,s.Z)({},L),{},{keyword:_})}})},500)})})]}),(0,a.jsx)(J.Z,{rowKey:"convertID",isLoading:$,columns:te,data:B,scroll:{x:992},pagination:F,pageChange:I,search:!1,toolbar:!1})]})};m.default=S},28096:function(Z){Z.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAATD0lEQVR4Xu1de1BU1xn/CIiRqISqAR/UBE1ixCYBY9OkMbGmPknVcRjyT8cxjqMzMk2sRJvgtFa0TZBY1CbOxChWTTXBYEhj1URsRUWMUeIDwTQqiCjgAxdhkYWF7fzoXbvAsvfeve+z55u5gwn3nnO+3/lx7j3f+R5BxIUjYCACQQb2bZWuexBRTyLCz1DhCiai+zwuFxG1CVcrETmJqJmIWojIIVy4h0snBDgB/wcIyNRHuPoS0QNEFEZEvQTiKSUOyHdXuBqJqJ6I7gg/m5Q2buXnA5WAIFcEEf1IuHoLJDRiLrFS3iaiWuGyCSupEWPRvc9AISBemQOI6CHhJwhoVsErHIS8LlxYLZkVlgkI0kUR0SCBdPhvK4qdiK4JF17bTAmLBMRK92MiiiQiq5KuO5I1ENEV4cLmxvLCCgGxSw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seDjd0P2V21klsxEQ48MZMnbJyMxqxvFpQwt9WoULFc50b+jTnXgvZp5gbFCeFCLvxDXhd/hCAKsespQiX59fwUNawWtmAkJnmGiQkQsZWkWLyGgFksXbRWUibDQM/dbrDkOzE9A9bphpkCKYv5al/zUgXBKOBF6z00tvRts7rUJANwoIfAIR+VFe97yAyzwSQ5abYZMhRl+rEdCtD9KBIGUwMnRZVQexuZH7exDvokA80cSQchvX6n6rTx58DIcJ0XiBeqTXIPjr4TTDcLOKXKJanYCe34io7okrEGyIIBq8VWDP08VrRS6xpN7PCgE99R0gEBHfiawFyWO1w0qHC69cywuLBHRPCsw2IOEgIgIprUpGVJi8JlymNKUo+StgmYCeuIB8ICE2Lbh6KQFN42fxeq0VXq14veLMllkJFAJ2nkB8J0YIHjg4f8ZmxigsUM4KOZVBOlzINGW5zYS/fyFGge7veLV6Djto2BhBRFzI8gWSYqVUozwZjsJwDosLBmJ8y2FlwytVlRQXWgGjdbucgOIIg4A4iUGMM/6Nn/i+BGlxuTHEqoULNjiUp8LKhp/YLODyWq5UvHu27+AEZHt+Ta/dfwGZt6CZEZytsQAAAABJRU5ErkJggg=="},89991:function(Z,m,e){"use strict";e.d(m,{Z:function(){return M}});var l=e(96156),o=e(22122),C=e(90484),h=e(94184),O=e.n(h),d=e(28481),u=e(81253),g=e(28991),r=e(67294),D=e(21770),T=e(42550),x=e(98423),i=e(63441),j=e(8410),s=function(n){return n?{left:n.offsetLeft,right:n.parentElement.clientWidth-n.clientWidth-n.offsetLeft,width:n.clientWidth}:null},E=function(n){return n!==void 0?"".concat(n,"px"):void 0};function Q(t){var n=t.prefixCls,a=t.containerRef,c=t.value,P=t.getValueIndex,S=t.motionName,K=t.onMotionStart,f=t.onMotionEnd,y=t.direction,U=r.useRef(null),F=r.useState(c),L=(0,d.Z)(F,2),p=L[0],$=L[1],B=function(ne){var A,oe=P(ne),X=(A=a.current)===null||A===void 0?void 0:A.querySelectorAll(".".concat(n,"-item"))[oe];return(X==null?void 0:X.offsetParent)&&X},te=r.useState(null),z=(0,d.Z)(te,2),I=z[0],v=z[1],_=r.useState(null),b=(0,d.Z)(_,2),R=b[0],q=b[1];(0,j.Z)(function(){if(p!==c){var W=B(p),ne=B(c),A=s(W),oe=s(ne);$(c),v(A),q(oe),W&&ne?K():f()}},[c]);var se=r.useMemo(function(){return E(y==="rtl"?-(I==null?void 0:I.right):I==null?void 0:I.left)},[y,I]),ae=r.useMemo(function(){return E(y==="rtl"?-(R==null?void 0:R.right):R==null?void 0:R.left)},[y,R]),V=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},ce=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},de=function(){v(null),q(null),f()};return!I||!R?null:r.createElement(i.Z,{visible:!0,motionName:S,motionAppear:!0,onAppearStart:V,onAppearActive:ce,onAppearEnd:de},function(W,ne){var A=W.className,oe=W.style,X=(0,g.Z)((0,g.Z)({},oe),{},{"--thumb-start-left":se,"--thumb-start-width":E(I==null?void 0:I.width),"--thumb-active-left":ae,"--thumb-active-width":E(R==null?void 0:R.width)}),ue={ref:(0,T.sQ)(U,ne),style:X,className:O()("".concat(n,"-thumb"),A)};return r.createElement("div",ue)})}var G=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function Y(t){if(typeof t.title!="undefined")return t.title;if((0,C.Z)(t.label)!=="object"){var n;return(n=t.label)===null||n===void 0?void 0:n.toString()}}function N(t){return t.map(function(n){if((0,C.Z)(n)==="object"&&n!==null){var a=Y(n);return(0,g.Z)((0,g.Z)({},n),{},{title:a})}return{label:n==null?void 0:n.toString(),title:n==null?void 0:n.toString(),value:n}})}var re=function(n){var a=n.prefixCls,c=n.className,P=n.disabled,S=n.checked,K=n.label,f=n.title,y=n.value,U=n.onChange,F=function(p){P||U(p,y)};return r.createElement("label",{className:O()(c,(0,l.Z)({},"".concat(a,"-item-disabled"),P))},r.createElement("input",{className:"".concat(a,"-item-input"),type:"radio",disabled:P,checked:S,onChange:F}),r.createElement("div",{className:"".concat(a,"-item-label"),title:f},K))},H=r.forwardRef(function(t,n){var a,c,P=t.prefixCls,S=P===void 0?"rc-segmented":P,K=t.direction,f=t.options,y=t.disabled,U=t.defaultValue,F=t.value,L=t.onChange,p=t.className,$=p===void 0?"":p,B=t.motionName,te=B===void 0?"thumb-motion":B,z=(0,u.Z)(t,G),I=r.useRef(null),v=r.useMemo(function(){return(0,T.sQ)(I,n)},[I,n]),_=r.useMemo(function(){return N(f)},[f]),b=(0,D.Z)((a=_[0])===null||a===void 0?void 0:a.value,{value:F,defaultValue:U}),R=(0,d.Z)(b,2),q=R[0],se=R[1],ae=r.useState(!1),V=(0,d.Z)(ae,2),ce=V[0],de=V[1],W=function(oe,X){y||(se(X),L==null||L(X))},ne=(0,x.Z)(z,["children"]);return r.createElement("div",(0,o.Z)({},ne,{className:O()(S,(c={},(0,l.Z)(c,"".concat(S,"-rtl"),K==="rtl"),(0,l.Z)(c,"".concat(S,"-disabled"),y),c),$),ref:v}),r.createElement("div",{className:"".concat(S,"-group")},r.createElement(Q,{prefixCls:S,value:q,containerRef:I,motionName:"".concat(S,"-").concat(te),direction:K,getValueIndex:function(oe){return _.findIndex(function(X){return X.value===oe})},onMotionStart:function(){de(!0)},onMotionEnd:function(){de(!1)}}),_.map(function(A){return r.createElement(re,(0,o.Z)({key:A.value,prefixCls:S,className:O()(A.className,"".concat(S,"-item"),(0,l.Z)({},"".concat(S,"-item-selected"),A.value===q&&!ce)),checked:A.value===q,onChange:W},A,{disabled:!!y||!!A.disabled}))})))});H.displayName="Segmented",H.defaultProps={options:[]};var ee=H,le=e(53124),ie=e(97647),k=function(t,n){var a={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&n.indexOf(c)<0&&(a[c]=t[c]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,c=Object.getOwnPropertySymbols(t);P<c.length;P++)n.indexOf(c[P])<0&&Object.prototype.propertyIsEnumerable.call(t,c[P])&&(a[c[P]]=t[c[P]]);return a};function J(t){return(0,C.Z)(t)==="object"&&!!(t==null?void 0:t.icon)}var w=r.forwardRef(function(t,n){var a,c=t.prefixCls,P=t.className,S=t.block,K=t.options,f=K===void 0?[]:K,y=t.size,U=y===void 0?"middle":y,F=k(t,["prefixCls","className","block","options","size"]),L=r.useContext(le.E_),p=L.getPrefixCls,$=L.direction,B=p("segmented",c),te=r.useContext(ie.Z),z=U||te,I=r.useMemo(function(){return f.map(function(v){if(J(v)){var _=v.icon,b=v.label,R=k(v,["icon","label"]);return(0,o.Z)((0,o.Z)({},R),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(B,"-item-icon")},_),b&&r.createElement("span",null,b))})}return v})},[f,B]);return r.createElement(ee,(0,o.Z)({},F,{className:O()(P,(a={},(0,l.Z)(a,"".concat(B,"-block"),S),(0,l.Z)(a,"".concat(B,"-sm"),z==="small"),(0,l.Z)(a,"".concat(B,"-lg"),z==="large"),a)),options:I,ref:n,prefixCls:B,direction:$}))}),M=w},90387:function(Z,m,e){"use strict";var l=e(38663),o=e.n(l),C=e(99210),h=e.n(C)},20640:function(Z,m,e){"use strict";var l=e(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"},C="Copy to clipboard: #{key}, Enter";function h(d){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return d.replace(/#{\s*key\s*}/g,u)}function O(d,u){var g,r,D,T,x,i,j=!1;u||(u={}),g=u.debug||!1;try{D=l(),T=document.createRange(),x=document.getSelection(),i=document.createElement("span"),i.textContent=d,i.ariaHidden="true",i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(E){if(E.stopPropagation(),u.format)if(E.preventDefault(),typeof E.clipboardData=="undefined"){g&&console.warn("unable to use e.clipboardData"),g&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Q=o[u.format]||o.default;window.clipboardData.setData(Q,d)}else E.clipboardData.clearData(),E.clipboardData.setData(u.format,d);u.onCopy&&(E.preventDefault(),u.onCopy(E.clipboardData))}),document.body.appendChild(i),T.selectNodeContents(i),x.addRange(T);var s=document.execCommand("copy");if(!s)throw new Error("copy command was unsuccessful");j=!0}catch(E){g&&console.error("unable to copy using execCommand: ",E),g&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",d),u.onCopy&&u.onCopy(window.clipboardData),j=!0}catch(Q){g&&console.error("unable to copy using clipboardData: ",Q),g&&console.error("falling back to prompt"),r=h("message"in u?u.message:C),window.prompt(r,d)}}finally{x&&(typeof x.removeRange=="function"?x.removeRange(T):x.removeAllRanges()),i&&document.body.removeChild(i),D()}return j}Z.exports=O},11742:function(Z){Z.exports=function(){var m=document.getSelection();if(!m.rangeCount)return function(){};for(var e=document.activeElement,l=[],o=0;o<m.rangeCount;o++)l.push(m.getRangeAt(o));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return m.removeAllRanges(),function(){m.type==="Caret"&&m.removeAllRanges(),m.rangeCount||l.forEach(function(C){m.addRange(C)}),e&&e.focus()}}}}]);